Last time we covered basic transistors. Just turning an LED on and off and driving a DC motor. This time we will look at creating an H bridge to drive a DC motor forwards and backwards. We will also be going a little more in depth about transistors.
Feel free to bring your own DC motor. We have a small collection of motors at the space. Also bring a multi meter if you have one. It’s nice to be able to check the current draw to make sure there are no shorts.
It is suggested to bring a full sized bread board since this will take up a little bit of room!
Agenda:
- Review of transistors
- Functional difference between PNP and NPN
- Explanation of an H bridge
- Review datasheets
- Wire up the H bridge
- Write a little code
- Drive a DC motor with a 9 volt battery
If you cannot attend the class in person, E-Mail arduino@unallocatedspace.org and ask to be added to the Google Hangout. The hangout will be started just before class (6:45-7:15 PM). If you have not gotten an invite by 7:15 PM, then please E-Mail arduino@unallocatedspace.org.
The slides for the upcoming and previous classes can be found here. The slides are generally made during the three days before a class.
Required Items:
- An Arduino board of some kind (Uno, Due, Mega, Boarduino, Duemilanove, etc)
- If your board does not have USB programming built in, you will need a programmer (AVRISP, Bus Pirate, Bus Blaster, AVR Dragon, another Arduino, etc)
- Breadboard (the long one if possible, though the small square-ish ones are okay for now)
- USB cable for your board and/or programmer
- Laptop with the Arduino IDE installed (Linux, Windows, or Mac)
- Jumper wires for your breadboard
Provided Items:
- Transistor (part number TBD)
- DC motor
- 4 Diodes
- 9 Volt battery
- Alligator clips (for the battery)
Since Unallocated Space runs off of donations, we would like to mention that the recommended donation for this class is $5. It is by no means a requirement, but it does help us keep the lights on! Attendance to the space, and this class, is 100% free to all!
Related