Raspberry Pi PWM

There is now an accurate way to do PWM on the Raspberry PI: pi-blaster. I decided, to make things easier than using a micro controller, to use a Raspberry Pi to control my aquarium light. I've tried using a few other PWM libraries, but pi-blaster is the first one not to flicker. Here's the little python script I wrote. I should try submitting a pull request to change pi-blaster to use sockets, and conform to the LSM by putting it's socket in /var/run or similar, but the pipe interface is a good idea compared to having to have a binding to each scripting language.

Popular posts from this blog

3D Printer ramblings

Balance Bot V2

Robot arm