Arduino/DC Motors: Difference between revisions

From msgwiki
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
(Created page with "== Basics == == Driving them. == === On and Off === <br /> === Transistor === === Dedicated Board === <br />")
 
No edit summary
Line 1: Line 1:
== Basics ==
==Basics==


== Driving them. ==
==Driving them.==
 
===On and Off (Transistor)===
This is called bang-bang control.  You either have full voltage or 0 voltage.
 
Since the Arduino can only supply a few hundred mA it is best to power them from an outside source. 


=== On and Off ===
<br />
<br />


=== Transistor ===
===Pulse Width Modulation (PWM (Transistor))===
This feature is built into thje arduino The pins are labeled with a wavy symbol
 
On the UNO 3, 5, 6, 9, 10, and 11 have PWM capability.
 
All you are doing is switching the power on and off to simulate a lower voltage.
 
PWM through transistor


=== Dedicated Board ===
===Dedicated Board===
<br />
<br />

Revision as of 14:53, 14 May 2021

Basics

Driving them.

On and Off (Transistor)

This is called bang-bang control. You either have full voltage or 0 voltage.

Since the Arduino can only supply a few hundred mA it is best to power them from an outside source.


Pulse Width Modulation (PWM (Transistor))

This feature is built into thje arduino The pins are labeled with a wavy symbol

On the UNO 3, 5, 6, 9, 10, and 11 have PWM capability.

All you are doing is switching the power on and off to simulate a lower voltage.

PWM through transistor

Dedicated Board