Hacked Gadgets Forum

November 3, 2006

PIC Dial Speed Controller

at 5:21 am. Filed under Electronic Hacks

Reconn’s World has an interesting article with sample code of a stepper motor speed controller.

“While the stepper motor could be completely computer-controlled, I’d like to be able to change the speed of the motor by turning a dial. for this i’m using a linear potentiometer from radioshack (10kohm, RadioShack #271-1715.) I’ll read the voltage off of the middle pin — turning the potentiometer will cause this middle-pin voltage to swing from ground to +Vcc (5v in my case). I will read this voltage in via the PIC’s analog-to-digital converter and control the motor’s speed accordingly.”


 


Related Posts

DTMF Phone Dialer - PIC Microcontroller Based
DIY Electronic Speed Controller for $15.00
Dial-a-Time Watch
Portable Skype Phone
Speed Stabilizer for Dremel Drill
Diode based Fan Controller
6 Axis PC Controller
NES Controller Cellphone Mod

 


 

2 Responses to “PIC Dial Speed Controller”

  1. MadScott Says:

    Not to be a smartypants, but you’ve connected a potentiometer to program a motor controller to vary the speed of a stepping motor. Wouldn’t it be simpler to run a DC motor with varying voltage?

    That said, I can think of a dozen reasons to do this, not the least of which being “because I can”. Good job!

  2. andrew Says:

    Hehe,

    the “because i can” excuse is certainly a good one :). and yes you could vary the voltage of a dc motor, the problem (depending on your goal) is that you have no idea what speed the motor is running. with a stepper motor (when it’s not under heavy load and slipping) you know the speed it’s rotating depending on how quickly you pulse it. in my application i want to have a good idea of it’s speed w/out building a feedback circuit (though i did use a mechanical switch to verify operation)

    check out the verfication bit at http://www.reconnsworld.com/plog/archives/7-PIC-Code,-Verified.html#extended

Leave a Reply

 

Internal Links:


Categories:

Search:

Google
Hacked Gadgets
Web

Site Sponsors:

 

Recent Comments:

ingiltere vizesi on Hacked Gadgets March Comment Contest

Berni on Name the Thing Contest - 63

Jonathan on IR LEDs used to defeat Security Cameras

Curtisbeef on Digital Caliper Serial Interface

Tony on Tachometer made from a Bicycle Computer

Kevin Luo on Interactive Dance Floor

Jack on Digital Caliper Serial Interface

Steve on Steal Credit Card Numbers Wireless using RFID

rodrigo medina on UV LED Controller using a PIC 16F628A Microcontroller

Jean De Melo on Joe Pitz - Hacked Gadgets Author

Lego V8 - Race Video Forums on LEGO V8 Engine

eman on Induction Heating Demonstration

Sanctus on Automatic Slide Digital Converting Machine using a AVR Microcontroller

Bill on Digital Caliper Serial Interface

Russ on Interactive Dance Floor

Site Rating:

Technology blogs

Technology Blogs - Blog Flare

Technology Blogs - Blog Top Sites

Top Technology blogs

Technology Blogs

Best blogs on Technology and Science

More RSS Feed Options

Most Popular This Month:

Top 5 Crazy Watches from Tokyoflash
Home-Built Robotic Sentry Gun
Skull Bike
Open Source Gift Guide
Sketch Furniture by FRONT
NES Guitar Mod
Hacking Microsoft Xbox 360 - DVD Drive Firmware flashing
The Missing Secrets Of Nikola Tesla
PS3 Grill
Making the Sonar Blu Ray Wicked Laser

Site Sponsors:

 

Interesting Sites:

Sony Vaio SZ
ThinkGeek
Apple TV Hacks
Gadget India
Top HDTV Reviews
VoIP Phone
Technology Blog
Free Phone Number Trace
How To Hack
PSP Mods and Hacks

 

Site Videos:

Incoming Links:

Recent Readers:

Forum Activity:

Get this widget!