Belgium
Asked — Edited

Neopixels

I was wondering that it was possible to connect an neopixel ring(16) directly to the ez b4? If so, where do i connect the com port to ? tnx


ARC Pro

Upgrade to ARC Pro

Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.

PRO
Synthiam
#1  

No - use an arduino or other small memory little micro to act as a neo pixel controller. Found this using search: https://synthiam.com/Community/Questions/7172&page=2

The EZ-B is not a micro controller, such as arduino. It is a robot controller which extends your PC or mobile device to control hardware. The neo pixel is not a complete component, as it requires signals to make it do anything. This means throwing a low memory cheap micro in the middle between the ez-b and the neo. So the gist is to add Serial communication to the arduino, which connects to the ez-b. And the arduino controls the neo. That way you don't have to use up valuable ez-b processing capability simply to make a neo pixel do something. Just have the ez-b connect to the arduino over a serial line and have the ez-b tell it what to do.

#2  

Tnx DJ, thank you for the super fast respons. But i 'm not used to work with arduino. How do i connect them together to make use of the plug in from ARC?

#5  

Tnx to all for the info. For the connection between the arduino and the ezB4, the pins 18 and 19 from the uart are used? (RX and TX) or... am i mistaking big time here? or is it D18 and D19 according the script?

#6  

For the neopixel, there is no reason to receive data back to the EZ-B from it. Really all that is needed is for the send from the EZ-B to be connected to the receive from the arduino. The arduino is connected to the neopixel. The ez-b sends the command to the arduino, which then determines what needs to happen on the neopixel, and sends the information to the neopixel.

If you use the tutorial, this page has the wiring for the script on the first page https://synthiam.com/Tutorials/UserTutorials/150/2

[edit] The wiring in the tutorial shows that you connect the send from the arduino to the receive on the EZ-B but the script provided has nothing in it that would send information back to the EZ-B so it is not necessary. [/edit]

PRO
Belgium
#7  

it does not say wihts color to use on the ezbv.

pin 18 black or red or white for the rx ? pin 19 black or white or red for tx ?

anyone has a pic from arduino tx rx

thank you

#8  

The color of the wire doesnt matter. RX and TX are not power. There will need to be a ground wire to the EZ-B from the arduino but really it could be connected connected to any black port on the EZ-B. The power for the arduino could be supplied by the EZ-B but I would suggest another power source as depending on the size of the Neopixel, you could need up to 1.5A or so to get full bright white.