Community
cancel
Showing results for 
Search instead for 
Did you mean: 
bbob1
Beginner
1,554 Views

Control Neopixels/WS2128B LEDs with the MCU

Using the latest Edison firmware should it be possible to control WS2128B LEDs using the MCU?

I've seen some older posts stating it cannot be done but they seem to be from before the most recent update to the Edison was released.

0 Kudos
4 Replies
idata
Community Manager
85 Views

Hi Steven___,

Thanks for your interest in the Intel Edison Platform.

When you mean W2128B do you mean W2812B? If you are then I would recommend to read this link (https://github.com/pololu/pololu-led-strip-arduino GitHub - pololu/pololu-led-strip-arduino: Arduino library for addressable RGB LED strips from Pololu ) where it explains which platforms are supported, in this case the Edison is not included.

If you are talking about the W2128B, could you provide me the links of the old posts that you found?

I hope you find this information useful, have a nice day!

Best Regards,

 

-Jose.
bbob1
Beginner
85 Views

Yes I meant to write WS2812 sorry for the confusion.

Controlling the lights should be possible if the MCU can toggle GPIO pins on and off fast enough. It looks like 0.5 us is the longest time that would work based on this https://wp.josh.com/2014/05/13/ws2812-neopixels-are-not-so-finicky-once-you-get-to-know-them/ https://wp.josh.com/2014/05/13/ws2812-neopixels-are-not-so-finicky-once-you-get-to-know-them/

A couple people have created github repos making use of the mraa library from the main CPU but I'd rather offload this to the MCU as I had other plans for the main CPU.

https://github.com/Drunkar/NeoPixel-edison-mraa GitHub - Drunkar/NeoPixel-edison-mraa: NeoPixel library for edison via mraa gpio.

https://github.com/nonNoise/Edison-NeoPixel GitHub - nonNoise/Edison-NeoPixel: Edison-NeoPixel

I would look into the speed the IOs can be toggled at with the MCU a bit more by myself, but until I get back to school I have no access to any tools to do so.

idata
Community Manager
85 Views

 

Hi Steven_____,

 

 

Thanks for providing this links!

 

 

Looking at this link https://wp.josh.com/2014/05/13/ws2812-neopixels-are-not-so-finicky-once-you-get-to-know-them/ https://wp.josh.com/2014/05/13/ws2812-neopixels-are-not-so-finicky-once-you-get-to-know-them/ , seems that it might be possible to control the NeoPixels with the Edison, still I will recommend to look at this information (https://software.intel.com/en-us/node/545142 Creating applications with the MCU SDK for the Intel® Edison board | Intel® Software ), in order to know the limitations of the MCU.

 

 

Also looking at the GitHub libraries be careful with which image this repos have been validated, remember that the default image of the Edison is Yocto.

 

 

Hope you find this information useful, have a nice day!

 

 

Best Regards,

 

-Jose

 

idata
Community Manager
85 Views

Hi Steven____,

 

 

Do you have any more questions regarding the Neopixels? Please let us know in order to assist you.

 

 

We will be waiting for your reply, have a nice day!

 

 

Best Regards,

 

-Jose.
Reply