Motors And Microcontrollers 101

[youtube=http://www.youtube.com/watch?v=WnWJki-zwsE]

[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.

Meat Thermometer Using Predictive Filtering

meatthermoafteradjustment

The guys over at NerdKits put together a really informative video on a meat thermometer using predictive filtering which is viewable below. The video, supplemental text, and code is available on their website. The thermometer is constructed of a LM34 temperature sensor attached to a piece of 12 gauge solid copper wire. The thermometer signal is processed on an ATmega168 microcontroller and visualized using the pygame library for python. The real gem in this project is their excellent explanation of predictive filtering, which could easily be utilized for a large number of projects.

Continue reading “Meat Thermometer Using Predictive Filtering”

USB Servo Squirter

squirt

Here is a great project for learning how to control servos. They’ve made a USB controlled squirt gun using the USB NerdKit, a pump and a servo. This is a great tutorial to learn about PWM and controlling servos. The tutorial is very thorough, with great pictures and a video of it all , which you can see after the break.

Continue reading “USB Servo Squirter”

IPhone Controlled R/C Car

[youtube=http://www.youtube.com/watch?v=D2EJ2kouK7U]

Is controlling an R/C car with its own remote too mundane for you? Do you feel the need to involve a web server and an iPhone in the process? This project might just be perfect for you. By connecting the R/C controller to a microcontroller board, and feeding it signals via a website from your iPhone, you can control the car as if you had the original controller in your hand. In case you missed it, he’s lugging a laptop, a circuit board, and the original controller along with him. They do make a few improvements though, such as speed control by using pulse width modulation. I guess that makes up for having to lug the computer around too.

[thanks Humberto]