LED Strip with BrickPi


#1

Hey all,

I am building a robot using Raspberry Pi which uses BrickPi to drive the LEGO Motors.
My Robot also needs to control an RGB LED strip (Or 3 seperate single-colored LED strips), which requires a PWM GPIO.
http://mitchtech.net/raspberry-pi-pwm-rgb-led-strip/

I think the Raspberry PI only has 1 PWM GPIO, and believe the BrickPi is using it.

Could you suggest a way to control an RGB LED Strip alongside 3 LEGO motors with the BrickPI?

Thanks!
Raz


#2

Hey RazK, it looks like your device uses PWM. It appears that you can generate PWM with python on GPIO17:
https://pythonhosted.org/RPIO/pwm_py.html

So you should be able to get this to work I think. All of the GPIO’s pass through the BrickPi.

Does this make sense?

This sounds like an awesome project, can you let us know how it goes?