justinj
Apprentice elf
It took me a little longer to get around to posting this all but here we go, V1 of the Arduino Strobe code!
This should work on any 5v Arduino (Arduino Due will most likely not work). I have personally tested it on an Arduino Dueminolove/Uno and Mega 2560.
If you've never used an Arduino before, if you follow this guide you should be up and running in no time.
1. First we need to program the Arduino. If you don't already have it get the Arduino IDE from here http://arduino.googlecode.com/files/arduino-1.0.5-windows.zip and extract it to a folder somewhere convenient for you.
2. Connect your Arduino via USB and if Windows prompts you for drivers (Instead of getting them automatically for you) point them to the folder you extracted in step 1 and then the drivers subfolder.
3. After drivers have installed download the V1 zip attached to this post and extract it to [Folder you extracted to in step 1]\libraries.
4. Open up arduino.exe from the main folder in step 1.
5. Go to File > Examples > WS2811_Strobes > Standalone
6. If you like you can edit the values in the top section.
7. Go to Tools > Board and select the Arduino you have, then go to Tools > Serial port and select the serial port it has been assigned.
8. Go to File > Upload and it will upload the sketch to your Arduino.
9. Unplug the Arduino from your PC
10. Wire your Arduino and Strobes as per the below diagram. To trigger the strobes you need to trigger the relay you've connected to RELAY_PIN from your controller. Triggering the relay will short the RELAY_PIN and the strobes will remain flashing so long as that pin remains shorted to GND.
[smfattach]1[/smfattach]
Note: You can just put a wire between GND and RELAY_PIN for testing.
Apparently Banggood doesn't have stock of the Arduino Mega. This should also work and is the cheapest option I could find: http://www.ebay.com.au/itm/Uno-R3-Arduino-Compatible-USB-Cable-AU-Stock-Fast-Postage-/171107481619?pt=LH_DefaultDomain_15&hash=item27d6ccf813
Hope this helps a few of you and if you have suggestions let me know.
Edit: V1.1 supportsMEGA MULTIBALL erm I mean MultiStrings (Up to 9 separate strings and relay inputs) as requested. Follow the tutorial but obviously you'll have a lot more pins occupied on the Arduino. You'll also need to choose File > Examples > WS2811 Strobes > Multistring
This should work on any 5v Arduino (Arduino Due will most likely not work). I have personally tested it on an Arduino Dueminolove/Uno and Mega 2560.
If you've never used an Arduino before, if you follow this guide you should be up and running in no time.
1. First we need to program the Arduino. If you don't already have it get the Arduino IDE from here http://arduino.googlecode.com/files/arduino-1.0.5-windows.zip and extract it to a folder somewhere convenient for you.
2. Connect your Arduino via USB and if Windows prompts you for drivers (Instead of getting them automatically for you) point them to the folder you extracted in step 1 and then the drivers subfolder.
3. After drivers have installed download the V1 zip attached to this post and extract it to [Folder you extracted to in step 1]\libraries.
4. Open up arduino.exe from the main folder in step 1.
5. Go to File > Examples > WS2811_Strobes > Standalone
6. If you like you can edit the values in the top section.
7. Go to Tools > Board and select the Arduino you have, then go to Tools > Serial port and select the serial port it has been assigned.
8. Go to File > Upload and it will upload the sketch to your Arduino.
9. Unplug the Arduino from your PC
10. Wire your Arduino and Strobes as per the below diagram. To trigger the strobes you need to trigger the relay you've connected to RELAY_PIN from your controller. Triggering the relay will short the RELAY_PIN and the strobes will remain flashing so long as that pin remains shorted to GND.
[smfattach]1[/smfattach]
Note: You can just put a wire between GND and RELAY_PIN for testing.
Apparently Banggood doesn't have stock of the Arduino Mega. This should also work and is the cheapest option I could find: http://www.ebay.com.au/itm/Uno-R3-Arduino-Compatible-USB-Cable-AU-Stock-Fast-Postage-/171107481619?pt=LH_DefaultDomain_15&hash=item27d6ccf813
Hope this helps a few of you and if you have suggestions let me know.
Edit: V1.1 supports
Last edited by a moderator: