ajfisher / node-pixel

Library for using addressable LEDs (such as NeoPixels/WS2812) with Firmata and JohnnyFive
MIT License
276 stars 70 forks source link

Add ESP8266 Controller #16

Open ajfisher opened 9 years ago

ajfisher commented 9 years ago

Add a controller to be able to send messages to the ESP8266 using a dedicated firmware for this.

@gorhgorh Maybe something you want to pick up??

gorhgorh commented 9 years ago

hey hey, I'm in berlin for a few day with no esp at hand but when i come back I'll be glad to have a shot at it

CubeSauce commented 8 years ago

Hello, I was wondering if there was any progress being made for the ESP8266 board since trying to compile the firmware for the ESP8266 is futile (AVR/io.h and co. are missing as ESP8266 is not an AVR device). Thanks in advance.

ajfisher commented 8 years ago

Slow progress at this point. The ESP* is a very capable device but it has some quirks and additionally the iteration time of just build& flash is quite time consuming.

Currently the standard node pixel firmware will build for esp* quite happily as that is just C. What I need to get working is the DMA -> I2S part so we can have decent frame rates on large numbers of pixels. My knowledge on this is pretty sketchy though.

It's definitely seeing active but slow development at the moment. If you're familiar with DMA / I2Sv then that's where I need help.

If you want something to just "work", then I've had very good success with arduino running node pixel firmata joined to an esp8266 running a UDP wifi to serial bridge works pretty well.

On Thu., 29 Sep. 2016, 19:41 Matija Martinec, notifications@github.com wrote:

Hello, I was wondering if there was any progress being made for the ESP8266 board since trying to compile the firmware for the ESP8266 is futile (AVR/io.h and co. are missing as ESP8266 is not an AVR device). Thanks in advance.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/ajfisher/node-pixel/issues/16#issuecomment-250419137, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHRo-xvAGVz8P0HBJkwTxxNvWaecRfNks5qu4etgaJpZM4EnQam .

ajfisher commented 7 years ago

Looks like I have a path forward with this given work I've done recently on ESP8266 and getting things working with MQTT etc. Need to rationalise some work done at https://github.com/ajfisher/espixel to back port that back to NP.

ajfisher commented 7 years ago

Approach will be:

ScreamZ commented 11 months ago

@ajfisher Is there any support today for ESP32 or ESP8266?

ajfisher commented 11 months ago

There's not. It's feasible to cross compile firmata to work on ESP32/8266 but there's definitely some differences around how the underlying hardware works which means things like how you run the stream of data isn't a direct port for the library. Am very time poor at the moment to try and tackle this however I'm very happy to discuss an approach for this if someone is up for tackling it as I have got a sketch for this sitting on my backburner.

On Tue, 21 Nov 2023 at 03:21, Andréas Hanss @.***> wrote:

@ajfisher https://github.com/ajfisher Is there any support today for ESP32 or ESP8266?

— Reply to this email directly, view it on GitHub https://github.com/ajfisher/node-pixel/issues/16#issuecomment-1819381720, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA5DI5M66G7HXFRXIHTIZLYFN7NXAVCNFSM4BE5A2TKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBRHEZTQMJXGIYA . You are receiving this because you were mentioned.Message ID: @.***>