Neopixel Ring

This plugin is for people with onboard computers to control the Neopixel ring from ARC. This is used in Rafiki.

+ How To Add This Control To Your Project (Click to Expand)
  1. Make sure you have the latest version of ARC installed.
  2. Select the Get button in this page to download the archive file.
  3. Double click the downloaded archive file to execute installer.
  4. The installer will add this control to ARC.
  5. Load ARC and press the Project -> Add Control button from the menu.
  6. Choose the Misc category tab.
  7. Press the Neopixel Ring icon to add the control to your project.


I will work on adding the ability to have this run from a script. All of this is doable through a script anyway, but I wanted to give a user interface to the work that has been done.

This update displays the command that needs to be passed via serial. you can copy and paste this command. Also, it allows you to either run the light or not based on a check box. It allows you to quickly test, and then copy the commands for the arduino sketch that runs the NeoPixel listed below.

At some point, I will put out an update that will allow this to run from an EZ-B port.

I have included the code for this project if anyone wants to modify it. The only requirement is that you share your code. This is common for development based on someone else's shared code.

There are a couple of bugs in this. I wanted to put this out for a friend who is trying to do something similar to what I am doing. This would be a good tool to use to allow you to quickly change settings so that you know what scripting commands to use and bypass this tool.

Your Arduino controller will run the code found at this
forum post.

The code below works with Arduino IDE 1.6.3 with the 1.0.3 version of the Adafruit NeoPixel library,

To download this version of the Arduino IDE ==> (previous versions link)

To get the correct version of the NeoPixel library, in the Arduino IDE, choose Sketch, then Include Library, then Manage Libraries. Find Adafruit NeoPixel in the list and then set the version to 1.0.3 and choose the Install button.

Shared code =

Hi DJ Sures, 
my name is Mitch and I have an ezb tiny and an Arduino nano , i have a code for neopixel ring on my nano  and im using d5 on tiny to send serial to RX on nano . after reading this tutorial where you entered COM6 do I put RX , my problem im having is I can see the tiny connected on my computer (I can see temp ,battery voltage etc) but when I try and send serial commands too change the colour nothing happens im sure the code on nano is fine and baud rate is set to 9600 as it also says in code on nano .
so im not sure what I may be doing wrong .
any help would be appreciated.
regards mitch
Hi DJ,
Mitch here, can i use an arduino nano with the ezb tiny .
I have a code for neopixels on my nano and ezb serial from D5 to rx on nano but cant get it to communicate, not sure weather i was using wrong add on or its because im using a nano. 
Any help or links would be appreciated, I've looked at so many tutorials and videos but haven't found one using the rx as serial input. 
Regards mitch
#3   — Edited
Mitch - you can follow the instructions on this skill control for neo pixels

The IoTiny can't use the same code as the EZ-B when it comes to serial as it doesn't have a hardware UART. You can't use UARTwrite(). You will instead have to use the SendSerial() command.
#7   — Edited
Hi Jeremie, I have it working know on my computer I've uploaded it to the cloud to public, the only issue I have now is I wanted to use this on the mobile phone app but it doesn't seem to work with a touch screen
I checked out your app on my phone and I see where the issue is. The script manager control isn't supported in the mobile interface. This doesn't mean you can't activate your scripts with mobile, it just means you can't use the script manager to do it. What you want to do is add a "mobile interface control" to your ARC project and then you can make mobile buttons to activate your scripts. Once you save the app to the cloud again, select to have the mobile interface appear as default, that will make it easy to press the buttons (activate the scripts) you made.

Please spend some time looking into the mobile interface builder, I guarantee you'll have fun building your own app!
Thanks Jeremie, i started playing with that addon last night before it got to late, it looks promising. Thankyou
#10   — Edited
Jeremie, do i need something else in my controller i can change colors with my buttons using mobile interface on pc but not on mobile phone ezb is connected to it says do i need some other wifi addon .
Regards mitch
#11   — Edited
User-inserted image
Are there errors in the log? Look at the log and see what it reads after you’ve connected to the ezb and pressed the buttons.
Thanks Dj i will have a look tomorrow and see what the log says, its getting late here in Australia
#13   — Edited
User-inserted image

User-inserted image
DJ Sures here's my log, I had it connected with the mobile interface and tried changing colours, with no effect on it and that was the log.
Regards Mitch
I tried it again and it worked
The plugin has a problem with the migration to ARC... Can't load or update it;)