Close
0%
0%

Pixel Led Wifi Controller Tpm2.net

We develop a Esp8266 Wifi controller for more than 1500 pixel Led. Using the tpm2.net protocol it can be used with any dj software like JinX

Similar projects worth following
We used only a Esp8266 and we could manage 1460 neo pixel leds (WS2182b) with tpm2.net.
Data input from led Ws2182b is conected to the D1 pin of thw Esp8266 NodeMcu AMICA.
We used: ESP8266WiFi.h, WiFiUdp.h and Adafruit_NeoPixel.h libraries.
The main body of the code is:
if (blocktype == 0xDA)
{
int packetindex;

if (cb >= framelength + 7 && packetBuffer[6 + framelength] == 0x36)
{
int i = 0;
packetindex = 6;
if(packagenum == 1)
{
led_index =0;
}
while(packetindex < (framelength + 6))
{
led.r=((int)packetBuffer[packetindex]);
led.g=((int)packetBuffer[packetindex+1]);
led.b=((int)packetBuffer[packetindex+2]);
pixels.setPixe

MPEG-4 Video - 8.92 MB - 11/07/2017 at 07:29

Download

3gpp - 9.54 MB - 07/10/2017 at 20:06

Download

MPEG-4 Video - 6.14 MB - 07/10/2017 at 20:05

Download

3gpp - 9.72 MB - 07/10/2017 at 20:05

Download

jinx-2.4.zip

Programa para hacer efectos y pasarlos via Tpm2.net

Zip Archive - 1.07 MB - 07/10/2017 at 20:04

Download

View all 6 files

  • 1 × Esp8266 WiFi Amica Nodemcu
  • 1000 × Led ws2812b
  • 1 × Power supply 12 v 20amp

Enjoy this project?

Share

Discussions

edmund wrote 08/23/2020 at 07:46 point

Hi, great project, my problem: no  outpu (from Jinx?) I uncommented all "serials", wifi is connected (seen on serial monitor)  but then no serial messages any more, matrix is black , matrix is (54 *13) in Jinx are 2106 channels  organised as 702  x  3  What can I do? 

Thanks in advance, Edmund

  Are you sure? yes | no

Dj Panchu wrote 06/27/2020 at 17:04 point

hola amigos. necesito esto pero que no sea IP FIJA. 

  Are you sure? yes | no

mashoudul.plabon wrote 11/20/2019 at 12:29 point

Now i have a Esp8266 WiFi Amica Nodemcu . But Code is 100% upload no

error,  serial monitor not show ip address    WiFi is not connected .

how can i upload u code

  Are you sure? yes | no

mashoudul.plabon wrote 11/09/2019 at 20:15 point

dear

  Are you sure? yes | no

mashoudul.plabon wrote 11/09/2019 at 20:15 point

dear 

  Are you sure? yes | no

echu1985 wrote 04/26/2019 at 00:07 point

Hola santira, como esta? tendrias la config que usas en Jinx?, tamaño de la matrix como config del tpm2, para la cantidad de canales? , estoy probando tu codigo pero no me funciona. un abrazo

  Are you sure? yes | no

Santira243 wrote 05/06/2019 at 01:24 point

Hola! En Jinx tenés que tener en cuenta que cada led ocupa 3 canales! Y lo máximo por canales es 1354. Si tenés 100 led tenés que configurarlo como 300 canales. Espero que funcione así

  Are you sure? yes | no

echu1985 wrote 05/06/2019 at 02:11 point

Mucha gracias por la ayuda genio, por suerte ya lo tengo funcionando pero tengo algunos fallos que resolver, no se si te paso tambien, por ejemplo cuando enciendo todo se queda colgada la ESP8266, tengo que darle tension primero a la placa y un vez que conecta  la red, ahi enchufar los leds, sino no arranca, y despues cada tanto tiene unos tirones con cualquier efecto que ponga y lo hace aleatorio, como una caida de fps. probe otro router, otra pc, pero me esta volviendo loco jaja. un abrazo!!

  Are you sure? yes | no

Santira243 wrote 05/06/2019 at 12:09 point

Si, varios hemos experimentado ese problema con muchos led. Es un problema que no pude resolver, estuve luchando bastante con el código pero lo sigue haciendo. Si lo resolves te pido lo compartas. Anda bien hasta que de pronto pluff... Se cae. Y después retoma pero más lento. 

  Are you sure? yes | no

nah wrote 08/16/2018 at 16:09 point

hola intente controlar 1200 pixels dividido en 3 bloques.. funciona pero da un reset cada tanto

Exception (29):
epc1=0x4000e1b2 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: sys 
sp: 3ffffce0 end: 3fffffb0 offset: 01a0

>>>stack>>>
3ffffe80:  3fff2bfc 0000002c 00000000 401004f4  
3ffffe90:  4021147e 4021143c 00000000 40107088  
3ffffea0:  60000600 00000000 3ffea144 402114bf  
3ffffeb0:  40000f83 00000030 00000011 ffffffff  
3ffffec0:  40000f3d 00000023 00000000 3fffd9d0  
3ffffed0:  00000000 00000000 00000000 fffffffe  
3ffffee0:  ffffffff 3fffc6fc 00000001 3fffdab0  
3ffffef0:  00000000 3fffdad0 3ffeea50 00000030  
3fffff00:  00000000 4020f185 3ffed670 4021143c  
3fffff10:  3fff2bfc 3ffea1d6 3fff2bfc 40211446  
3fffff20:  3ffed670 00000000 0000000d 3ffeddb8  
3fffff30:  4020f203 3ffed670 3fff2bfc 00000000  
3fffff40:  4020efd3 3ffed688 3ffedde0 01f41539  
3fffff50:  00000000 3ffed688 3ffedde0 01f41539  
3fffff60:  4020f47c 009c25d4 3ffedde0 60000600  
3fffff70:  40219ad1 3ffed688 3ffedde0 01f3e9af  
3fffff80:  40219b16 3fffdab0 00000000 3fffdcb0  
3fffff90:  3ffeddf0 3fffdad0 3ffeea50 40203467  
3fffffa0:  40000f49 40000f49 3fffdab0 40000f49  
<<<stack<<<

 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

no entiendo por q razon .. tal ves estoy configurando mal el jinx?

gracias

  Are you sure? yes | no

nah wrote 07/29/2018 at 06:10 point

hola santira.. estoy implementando tu codigo.. pero no susede nada.. estoy compartiendo las masas. conectando todo al pin D1 pero no susede absoluta mente nada.. en que podria estar fallando?? saludos

  Are you sure? yes | no

Santira243 wrote 07/29/2018 at 14:49 point

Es muy probable que el problema sea la configuración de jinx. Mándame una foto por privado de la captura de pantalla (sromeroayala@teembu.com)

  Are you sure? yes | no

nah wrote 08/06/2018 at 01:07 point

ok mail enviado.. gracias

  Are you sure? yes | no

jeremy.leroy wrote 07/08/2018 at 07:54 point

Wow, really good job, and very impressed you used 1600 pixel on 1 output.

Do you think it's possible to use your technic with xlights program, for christmas lights?

Thanks for your good job :)

  Are you sure? yes | no

Santira243 wrote 07/08/2018 at 14:27 point

Hi I never used xlights but I ll check it. We tested 1460 pixel, not sure if can manage 1600 due to a buffer limit. Thanks for your comment 

  Are you sure? yes | no

jeremy.leroy wrote 07/08/2018 at 14:46 point

Hi, thanks for your reply. My goal is 1000 pixel with 1 ESP8266, but with Xlights. Jinx is very good program, but not for christmas lights.

With arduino, I never exceed 480 pixel i think, That's why i tested with ESP now.

If you find solution, or find a track to help me in this goal, I would be very happy.

https://xlights.org/

Thanks

  Are you sure? yes | no

Santira243 wrote 07/08/2018 at 14:41 point

Hi, I think xlights don't have tpm2.net protocol for using with this software

  Are you sure? yes | no

Santira243 wrote 07/08/2018 at 18:13 point

You have two ways to make your project. One is to ask the xlights Creators for implementing tpm2.net protocol compatibility. Or to implement a DMX protocol in the esp8266 like this https://github.com/forkineye/E131

  Are you sure? yes | no

fevzi hayırlı wrote 05/22/2018 at 08:14 point

thank you.

Paket boyutu için # 600 piksel matrisi = 1357 böyle bir erişim.
1357 sabit mi?

  Are you sure? yes | no

Santira243 wrote 05/27/2018 at 12:38 point

1357 sabit değil, değiştirilebilir ama alabileceği maksimum değer. 600 piksel için, piksel başına 1 kanonun olduğunu düşünmeniz gerekiyor, bu yüzden 1800 pakete ihtiyacınız var. 1357'de varsa, pikselleri "yenilemek" için iki tam paket alacaksınız.

  Are you sure? yes | no

Santira243 wrote 05/22/2018 at 00:35 point

Great Work!!!  #define packet_size = 1357; this is defined in JINX.

  Are you sure? yes | no

Santira243 wrote 05/22/2018 at 00:38 point

but too much latency and pixel jumps... I saw the video... I think is some problem with your computer processor or may be the router connection. 

  Are you sure? yes | no

fevzi hayırlı wrote 05/02/2018 at 21:44 point

hi

please help me!!!

I tried, but too much latency and pixel jumps.

I have a mistake or missing somewhere.

my pixel screen , 40x15=600 pixel  1800 channel

jinx! software or code    chan/blok= ?

code                              #define packet_size =?

fevzihayirli2014@hotmail.com


thanks.

  Are you sure? yes | no

fevzi hayırlı wrote 05/01/2018 at 12:20 point

what?

#define packet_size = 1357;

  Are you sure? yes | no

diegorabbia wrote 01/25/2018 at 01:40 point

1.buenas noches, estuvieron probando Este codigo Mismo Con El Esp8266 Wi-Fi? andan hasta 1200 2812b

  Are you sure? yes | no

matzeb74 wrote 12/14/2017 at 23:20 point

Hello, i just tried this out and must say it´s great. I´ve build a Matrix with 150 ws2813. I´ve two problems.

First Problem ist that my first 2 LED always flicker in another Color every two seconds. They Flicker always in red. Looks similar to a Statuslight. I don´t know why.

Second Problem is that my Matrix has not the right Colors at all and after running a few minutes the whole Matrix is going crazy. If i use Jinx in wired Mode, then the Matrix runs stable for hours. Maybe u know how to solve the Problems.

Greetz

Beliar

  Are you sure? yes | no

Santira243 wrote 10/29/2017 at 02:25 point

Thanks Emilio!! When you said: " Talking about Jinx i could also understand that you should assgin 3 bits for each led (R G B)" its important to mention that if you have 30 leds, then in jinx you have to assign 90 channel. 

  Are you sure? yes | no

Emilio wrote 10/26/2017 at 11:53 point

Thanks for ypur  predisposition and collaboration to help me connect and configuate the nodemcu and led´s strip 

 

it was not so complex but for begginers as me it could be a little bit dificult

I did configurate the wifi led and assignesd  an ip modifying th code line 

IPAddress ip(192,168,8,120);
IPAddress gateway(192,168,8,1);



 and taking out the comment of the line where the variables are defined 

WiFi.config(ip,gateway,subnet);



 Talking about Jinx i could also understand that you should assgin 3 bits for each led (R G B)

I´ll be making more tests with more  quantity of leds strip

It was a pleacere to be in touch with you  and to  get into arduino´s programmation world

cheers

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates