Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.
0

Microcontroller for NeoPixels
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Microcontroller for NeoPixels

by mtyeager on Fri Apr 10, 2020 10:38 am

I have a Raspberry Pi robot that uses a pair of 8x8 NeoPixel boards and a 6" circle of NeoPixels - total of 188 NeoPixels, to communicate with the user.

Not really happy with using RPi cycles for this purpose.

What would be a good board for offloading, from the RPi, the driving of the NeoPixels?

Thanks.

mtyeager
 
Posts: 18
Joined: Sat Jan 11, 2020 4:23 pm

Re: Microcontroller for NeoPixels

by mikeysklar on Fri Apr 10, 2020 1:53 pm

Any of our Feather Boards M0 or M4 based would be a solid choice. They can run CircuitPython and that means the python code you had been using to drive them on the RPi will be relatively the same.

Personally, I would use the ItsyBitsy M4. It saves you a few dollars and is quite powerful.

https://www.adafruit.com/product/3800

mikeysklar
 
Posts: 1243
Joined: Mon Aug 01, 2016 8:10 pm

Re: Microcontroller for NeoPixels

by tannewt on Fri Apr 10, 2020 2:24 pm

I highly recommend an M4 board over M0 for CircuitPython. The faster CPU and larger memory is totally worth the extra few dollars.

Here is the DigiKey link for the Itsy Bitsy M4. They have over 200 in stock: https://www.digikey.com/short/zp4jr2

tannewt
 
Posts: 1685
Joined: Thu Oct 06, 2016 8:48 pm

Re: Microcontroller for NeoPixels

by mtyeager on Fri Apr 10, 2020 3:52 pm

Thanks!

Is there any sample code showing how to call subroutines on the ItsyBitsy M4 over a serial connection from python code running on the RPi?

mtyeager
 
Posts: 18
Joined: Sat Jan 11, 2020 4:23 pm

Re: Microcontroller for NeoPixels

by tannewt on Mon Apr 13, 2020 6:11 pm

Not that I know of. You'll need to do the serialization yourself. You can use `input()` in CircuitPython to read the next line of text from the serial link.

tannewt
 
Posts: 1685
Joined: Thu Oct 06, 2016 8:48 pm

Please be positive and constructive with your questions and comments.