Motors and Microcontrollers 101

[Humberto] from NerdKits sends in the newest addition to their excellent collection of videos. This video goes over the basics of DC motor control with microcontrollers. They begin by showing nine experiments and observations that can be done by the average hacker with a multimeter, motor, LED, and jumperwire. Using the results from these they show how to model and calculate the properties of a motor. Lastly, it shows how to control a motor using PWM. They have supplemental text and demonstration code for an ATmega168 on their website.

Comments

  1. beaker says:

    this is great stuff, keep up the good work.

  2. Chris says:

    Their videos are always excellent, despite some basic topics they cover everything so clearly that it is great for explaining things.

  3. Sammy says:

    Their vids are really good. it is only the basics but i still learn something when i watch them.

  4. strider_mt2k says:

    awesome

    such good stuff here

  5. MrX says:

    The flyback diode is really a good point.

    Though, I think I don’t need it if the
    micro-controller powers the motor using a smooth
    transition from the off state. Am I right?

  6. svofski says:

    @mrx: you always need a flyback diode. a motor can come to a sudden stop, or imagine what happens when it’s not moving but someone turns the rotor.

  7. Brett_cgb says:

    mrx – If you’re just turning the motor on, you don’t need the diode. However, the first time you turn it off could also be the last time because the switch is damaged. This means you might not be able to turn it on a second time. (Notice that I didn’t say anything about what’s doing the switching.)

    Very nicely done videos!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 96,756 other followers