April 26, 2013 AT 4:00 am

Led Dimming & Motor Speed Control with Soft PWM in RPi.GPIO 0.5.2a #piday #raspberrypi @Raspberry_Pi

How to drive leds and motors with PWM & RPi.GPIO on the Raspberry Pi:

In part 1 of this series, we looked at the basic commands for using software pulse-width modulation (PWM) in RPi.GPIO 0.5.2a and higher. In this article we’ll get a bit more hands-on and into some practical applications for it. It’s all very well being able to make nice square-wave pulses on an oscilloscope, but what’s it actually useful for?

Source code and more here!


998Each Friday is PiDay here at Adafruit, be sure to check out our posts, tutorials and new Raspberry Pi related products. Have you tried the new “Adafruit Raspberry Pi Educational Linux Distro”? It’s our tweaked distribution for teaching electronics using the Raspberry Pi. But wait, there’s more! Try our new Raspberry Pi WebIDE! The easiest way to learn programming on a Raspberry Pi.

We now have Raspberry Pi Model B with 512MB RAM in stock and shipping now!

Related

No Comments

No comments yet.

Sorry, the comment form is closed at this time.