Quote:
Originally Posted by billbo911
Simply put: "Arduino"
$35 and you are good to go. All you need to do then is learn a little coding for the FREE Development environment. That's right, FREE!!
The code to convert analog to PWM is EASY!!
10 bit A/D gives values from 0 -1024.
Set the dig out high, wait 1 millisecond + wait a number of microseconds equal to the digital value read from the pot, set the dig out low. Repeat every 20 milliseconds.
This is just a rough outline and may require a little tweaking, but it works. I know, I already did it.
|
I was thinking Arduino because when I'm done with my senior project, I can cannibalize it and use the Arduino for come other really cool stuff.
What shield or module would I use to be able to utilize two PWM outputs?
Actually, I have a friend who's done work with pwm output and an arduino (he made a two wheeled 'bot' that auto-balanced... think segway except smaller). I could probably ask him.