Difference between revisions of "Cheap ULN2803A Motor Driver"

From diychristmas.org wiki
Jump to navigation Jump to search
Line 1: Line 1:
:Normally, a PIC or other chip can't output enough current and/or voltage to drive a DC motor, and if the DC motor you need to control requires 500ma current or less at more than 5vdc, here's a cheap way to drive it. A typical, small hobby motor that needs 3.3vdc, 5vdc or even 12vdc is an example. To start, here's an outline of connections to the ULN2803A:
+
:Normally, a PIC or other chip can't output enough current and/or voltage to drive a DC motor, and if the DC motor you need to control requires 500ma current or less, or if it requires more more than 5vdc power, here's a cheap way to drive it. A typical, small hobby motor that needs 3.3vdc, 5vdc or even 12vdc is an example. To start, here's an outline of connections to the ULN2803A:
  
 
[[File:Cheap motor driver.png | 350px|center]]
 
[[File:Cheap motor driver.png | 350px|center]]

Revision as of 12:26, 17 August 2017

Normally, a PIC or other chip can't output enough current and/or voltage to drive a DC motor, and if the DC motor you need to control requires 500ma current or less, or if it requires more more than 5vdc power, here's a cheap way to drive it. A typical, small hobby motor that needs 3.3vdc, 5vdc or even 12vdc is an example. To start, here's an outline of connections to the ULN2803A:
Cheap motor driver.png
And here's how you'd connect your computer or controller to it, using input #1 as an example:
Cheap motor driver example.png
Additional information:
  • Any controller that outputs a positive control signal should work, such as the Ren48LSD.
  • The ULN2803A could conceivably control up to 8 motors, depending on their current draw (total < 500ma)
  • The motor speed can also be controlled further by using common PWM operation in the PIC firmware
  • The ULN2803A has a maximum voltage rating of 50vdc.