Description
DC Motor Speed Control using PWM (Pulse-Width-Modulation) from Arduino's output pin 3. Uses a TIP112 NPN transistor to supply current from battery. PWM frequency is 490Hz with dutty cicles between 50 and 255. The dutty cicle value is set by an analog input of a potentiometer. Arduino Duemilanove board.
Arduino source code can be downloaded from the bottom of this page.
Source code of project "Real-time Data Acquisition from Arduino to Matlab" by Felipe Langellotti Silva is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.