Aimlbot icon Aimlbot Localized AIML chatbot with editable AIML files, ez-script support, session memory and ControlCommand API; integrates with speech and robot skills. Try it →
Tutorial
Published — Updated

Neopixel Ring With Arduino As Control Board

Step 4 of 4
If you have more or less pixels that 24, or you use a different pin on the Arduino to connect to the NeoPixel

If you want to change the pin that the arduino is connecting to the NeoPixel on, change the 2nd parameter in line 321 in the sketch. If you want to change the number of NeoPixles in the ring or device, change the first parameter in line 321.

Example


NeoPatterns Ring1(24, 6, NEO_GRB + NEO_KHZ800, &Ring1Complete);

is for a 24 pixel NeoPixel that has its input pin connected to pin 6 on the Arduino.


ARC Pro

Upgrade to ARC Pro

Unleash your creativity with the power of easy robot programming using Synthiam ARC Pro

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#2  

Are they neopixel led strips? Then yes. If they’re not then, no.

Author Avatar
PRO
USA
LinkedIn Twitter Google+ YouTube
#3   — Edited

With this set up....is it NOT possible to use dynamixels at same time as the Neopixels, because they both use D5?

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#4  

There’s 3 uart on the EZ-B v4. Which means you can use Dynamixels by having this run on a different port.

Maybe I’ll demonstrate neopixelon next hack night if you’d like?

Author Avatar
PRO
USA
LinkedIn Twitter Google+ YouTube
#5  

That would be fantastic!

Author Avatar
PRO
USA
LinkedIn Twitter Google+ YouTube
#7  

I know we all ran outta juice on Friday night:), so do you think you could cover this on the next Hack?