trizz
Posts: 1
Joined: Wed Jun 06, 2012 1:56 pm

Controlling LED-strip Arduino-like?

Fri Jun 08, 2012 2:42 pm

Hi all,

First: I don't have any experience with electronics and circuits etc. I found this article about controlling a LED-strip with an Arduino. If I use the GPIO pins on my RPi, can I use this article as a start? Or do the pins on the Arduino differs a lot from the RPi? I understand that I can't use the code as provided in that article, but the programming part is the most interesting part for me.

If someone has a nice article on how to control a RGB strip with the RPi, it would be nice.

FinleysDad
Posts: 7
Joined: Wed Jun 06, 2012 9:33 am

Re: Controlling LED-strip Arduino-like?

Fri Jun 08, 2012 3:35 pm

I'm pretty new to all this myself so no expect (at all) but quite interested in this one.

I had a look at the article and one thing I notice is that it uses an analog pin on the arduino.

As far as I am aware there aren't any analog pins on the RasPi

If you want to see my simple set up for controling 4 red LEDs I'm happy to share it.

I would be interested in seeing how you get on with the RGB please keep us posted.

User avatar
rurwin
Forum Moderator
Forum Moderator
Posts: 4258
Joined: Mon Jan 09, 2012 3:16 pm
Contact: Website

Re: Controlling LED-strip Arduino-like?

Fri Jun 08, 2012 4:21 pm

The analogue pin is only used for the potentiometer, and there are other ways to get the control, such as a GUI. However the AVR is capable of driving 20mA out of its digital outputs, and the GPIO cannot do that. You'd have to check the datasheet for the LED strip.

mvsopen
Posts: 9
Joined: Sun Aug 26, 2012 10:38 pm

Re: Controlling LED-strip Arduino-like?

Fri Sep 28, 2012 5:45 pm

There are several websites which explain how to hack/interface the General Electric "GE 35" LED Christmas lights in order to make them controllable by an Arduino. Can a Pi controller be far behind?

http://www.deepdarc.com/2010/11/27/hack ... as-lights/

(Costco has these lights in stock now, for around $60)

There is a new thread starting up about Christmas lights using a Pi, but it has very little traffic so far.

This might be the easiest, most powerful way to get things flashing....

Return to “Other projects”