- August 26, 2015
- 22
- 2
- 30
- Home Country
- Brazil
I am not using the Arduino together with the Rpi, im just saying when tested separatedly it had the same problem. The sketch used was the same you passed to me. Is it better for me to use both together? how can i test it with both? I did reboot all times i have chaged RGB settings
Copied the tutorial we had and made some adjustments for testing the led strip:
- First we have to wire everything to the Arduino like this:
- Install Arduino IDE:
http://arduino.cc/en/main/software
- Download FastLed library:
https://github.com/FastLED/FastLED/archive/master.zip
- Extract the master.zip to your Arduino Library folder:
My Documents/Arduino/Libraries
- Afterwards you should have this folder:
My Documents/Arduino/Libraries/FastSPI
- Now load up a sample sketch with the Arduino application, this example is for the WS2801 led type and uses data and clock pin from the above picture:
https://gist.github.com/RickDB/ca59ff69ee857a5f5973
Used 122 leds as I believe that was your total but if not can change that at the top of the sketch, RGB is the default color order but can change that as well if needed (sometimes those are different per chip/brand).
- From the Arduino top menu select Tools - > Boards -> Arduino Uno
- From the Arduino top menu select Tools - > Ports -> COM port of Arduino (typically the second one and never COM1)
- From the Arduino top menu select Sketch -> Upload
- If no errors popup your Arduino will blink shortly and the leds will rotate beween red / green / blue every 500ms.