-
Notifications
You must be signed in to change notification settings - Fork 66
HOWTO Neopixel diagram & configuration
To use a neopixel you need a dedicated arduino. A small one , Arduino Nano or promini is enough.
You have 2 options to connect this 3rd arduino , Using RX/TX ( master - slave arduino ) or direct USB
Setup:
- Option 1 - easy - Using usb cable
1: Plug Neopixel wires like this ( you can use optional 1000 µF, 6.3V capacitor ) :
2: Upload MRLcomm Inside the dedicated arduino
3: Activate Neopixel Inside services/neopixel.config like this
( change of course NeopixelMasterPort=COM5 and pin=2 to Your values )
[MAIN]
isNeopixelActivated=1
NeopixelMasterPort=COM5
[NEOPIXEL]
pin=2
numberOfPixel=16
- Option 2 : Using RX/TX connection
It is usefull if you don't have enough usb ports
PLESE NOTE : WIRE CONNECTIONS NEED TO BE CROSSED RX>TX / TX>RX
1: you need to connect arduino slave to arduino master like this
new nervoboard :
old nervoboard :
neopixel:
PLEASE NOTE : WIRE CONNECTIONS NEED TO BE CROSSED RX>TX / TX>RX
2: Upload MRLcomm Inside the dedicated arduino
3: Activate Neopixel Inside services/neopixel.config like this
( change of course NeopixelMaster=left/right and pin=2 to Your values )
For information Serial2 ( RX2/TX2 ) is case sensitive
[MAIN]
isNeopixelActivated=1
NeopixelMasterPort=Serial2
NeopixelMaster=left
[NEOPIXEL]
pin=2
numberOfPixel=16