This part of the project establish Arduino code that with no effort allows you to communicate with your LED strips. Project is focused on WS2812b LED strips as they are one of the cheapest and powerful available on the market.
- Any Arduino board. Uno is just perfect to start
- Addressable LED strip compatible with Adafruit NeoPixel
- Smartphone with Android 4.0.3 or higher
Just download Arduino code and put it on the board.
You have to also download mobile app. As it is open source you can download it from Google Play Store or assembly on your own.
- Repository - https://github.com/tmaxxdd/LEDController
- Google Play Store - https://play.google.com/store/apps/details?id=com.czterysery.ledcontroller
WS28212b standard uses three pins (5V, GND, DIN) and they must be connected to Arduino board. For default it uses pin number 6 to send digital signals (DIN).
First you need configure number of your pixels on the strip.
#define DIODECOUNT 5
Next select serial commands receiver. During development was used HC-05 Bluetooth module.
SoftwareSerial bt(10, 11); // RX, TX
For development reason you may want to uncomment all serial prints which should help to find out what commands are properly handled.
// Serial.println(F("LED receiver started"));
And mostly is that all! Still you can modify illuminations or combine more independent strips, but this will require some time.
I am willing to consider any contributions on this project. For me it is pre-final version and development isn't planned at this moment. If you find a bug please submit an issue in the appropriate Github's tab.