By on May 14, 2015

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:

  1. Review of transistors
  2. Functional difference between PNP and NPN
  3. Explanation of an H bridge
  4. Review datasheets
  5. Wire up the H bridge
  6. Write a little code
  7. 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:

  1. An Arduino board of some kind (Uno, Due, Mega, Boarduino, Duemilanove, etc)
  2. 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)
  3. Breadboard (the long one if possible, though the small square-ish ones are okay for now)
  4. USB cable for your board and/or programmer
  5. Laptop with the Arduino IDE installed (Linux, Windows, or Mac)
  6. Jumper wires for your breadboard

Provided Items:

  1. Transistor (part number TBD)
  2. DC motor
  3. 4 Diodes
  4. 9 Volt battery
  5. 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!


Leave a Reply