LED Strip with BrickPi

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.

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?


Hey RazK, it looks like your device uses PWM. It appears that you can generate PWM with python on GPIO17:

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?