Chat freely about anything...

User avatar
By sfranzyshen
#8528 ImageUPDATE: We are consolidating the code into a single driver as it is expanding quickly ... the new code set is locate here:
https://github.com/sfranzyshen/esp8266_tpm2net

This is a custom firmware for the esp8266 wifi module that will drive a strand of ws2812 LEDs using the TPM2NET protocol. I was successful at driving 132 LEDs (11x12 matrix) using this firmware and the pixelcontroller (v2.1.0-RC1) software. I expect it to operate more LEDs (hopefully up to 512 LEDs) ... This is based on work by Charles (cnlohr) and Frans (Frans-Willem)

https://github.com/sfranzyshen/esp8266_tpm2net_ws2812

there is also a rewrite of cnlohr's raw udp driver here ...

https://github.com/sfranzyshen/ws2812esp8266
Last edited by sfranzyshen on Mon Mar 23, 2015 10:49 am, edited 4 times in total.
User avatar
By stephane95
#9217 Hi
I'm really insterrested by testing your firmware but i'm a noob :-(
I've falshed it, I've created a 15*16 neopixel led matrix (tested with arduino and work fine) for exemple with a wonderful software : Jinx! http://www.live-leds.de/
But can I have more explanation on running tpm2net ?
Like dat a are on GPIO 0 or 2, how can I set the module as AP or can it join my own network ?
I seeking for that kind of stuff since one year I create my matrix but without handy solution to manage it.
Thank in advance for you help.
Regards Stéphane
User avatar
By folny82
#9337 Hi

Great work program works perfectly, I want to add support for http configurable by example esphttpd but it throws me this error do not know where the problem may be ?.

mingw32-make.exe -f C:/Espressif/examples/esphttpd/Makefile all
CC user/httpd.c
CC user/heatshrink_decoder.c
CC user/tpm2net.c
CC user/cgiwifi.c
CC user/espfs.c
CC user/base64.c
CC user/wifi.c
CC user/auth.c
CC user/ws2812.c
user/ws2812.c: In function 'ws2812_out':
user/ws2812.c:34:2: error: implicit declaration of function 'gpio_output_set' [-Werror=implicit-function-declaration]
GPIO_OUTPUT_SET(GPIO_ID_PIN(WSGPIO), 0);
^
user/ws2812.c:36:2: error: implicit declaration of function 'ets_intr_lock' [-Werror=implicit-function-declaration]
os_intr_lock();
^
user/ws2812.c:47:2: error: implicit declaration of function 'ets_intr_unlock' [-Werror=implicit-function-declaration]
os_intr_unlock();
^
user/ws2812.c: In function 'ws2812_init':
user/ws2812.c:52:2: error: implicit declaration of function 'ets_wdt_disable' [-Werror=implicit-function-declaration]
ets_wdt_disable();
^
cc1.exe: all warnings being treated as errors
mingw32-make.exe: *** [build/user/ws2812.o] Error 1
C:/Espressif/examples/esphttpd/Makefile:162: recipe for target 'build/user/ws2812.o' failed
User avatar
By sfranzyshen
#9361
folny82 wrote:Hi
Great work program works perfectly, I want to add support for http configurable by example esphttpd but it throws me this error do not know where the problem may be ?.

#include "ets_sys.h"