Chat freely about anything...

User avatar
By GengusKahn
#10529 Hi there, my original messing with the LPD chips included several points to switch ESP GPIO_5 (or GPIO_3 when I did not use Uart) on and off to control the strand of 12v 3528 via SS8050 in my frame. since I have still got "PC" issues with the compiler they are still left switched on in the video, until I can edit and compile the extra lines for the GPIO. Nothing to do with the firmware.

I have hooked up 16 ws2812 but not having much luck, the boot up reset doesn't happen to these, as it did when the LPD reset all at once in the last firmware, 1 at a time in your original, I have not been able to communicate to the LEDs but the ESP is flashing still.
User avatar
By sfranzyshen
#10532
GengusKahn wrote:Hi there, my original messing with the LPD chips included several points to switch ESP GPIO_5 (or GPIO_3 when I did not use Uart) on and off to control the strand of 12v 3528 via SS8050 in my frame. since I have still got "PC" issues with the compiler they are still left switched on in the video, until I can edit and compile the extra lines for the GPIO. Nothing to do with the firmware.

Do you want me to add your stuff to the code here? ... then upload firmware? Let me know :)

GengusKahn wrote:I have hooked up 16 ws2812 but not having much luck, the boot up reset doesn't happen to these, as it did when the LPD reset all at once in the last firmware, 1 at a time in your original, I have not been able to communicate to the LEDs but the ESP is flashing still.

What firmware did you use to do this? I have ws2812 (180+) & folny82 verified 512 leds ... I have been developing all of the chipsets in seperate firmwares (for now!) https://github.com/sfranzyshen/esp8266_tpm2net_ws2812 ... also did you follow the setup the hardware outlined by the original author of the code? https://github.com/cnlohr/ws2812esp8266
User avatar
By GengusKahn
#10537 Hi there,
I have an ESP8266-201 earmarked for that frame, if you would like to add a PWM ramp /|/|/|/| (incoming packet stream=ramp active, else off)on any available pin that would shorten the process.
It also has an HC-SR04 in the frame when it was an arduino powered light it activated the outputs for the LEDs at 100cm any contribution would be great. :D

The separate firmware for each LED type is the problem, I have still got LPD firmware inside ESP, I will pay more attention. :oops:
User avatar
By sfranzyshen
#10544
GengusKahn wrote:Hi there,
I have an ESP8266-201 earmarked for that frame, if you would like to add a PWM ramp /|/|/|/| (incoming packet stream=ramp active, else off)on any available pin that would shorten the process.
It also has an HC-SR04 in the frame when it was an arduino powered light it activated the outputs for the LEDs at 100cm any contribution would be great. :D

post your code somewhere so I can see exactly what you are talking about ... did you modify the tpm2net protocol ... ?

I was hoping that you wopuld test out this code for me ... it is my fork of popsodav/esp8266-lpd6803 with the tpm2net code added. It is the code you have + tpm2net + more modes

It adds the tpm2net mode. when the firmware starts (and NO incomming tpm2net data) it will jump into the rainbow mode ... when tpm2net data comes in ... it switches to tpm2net mode. after a bit of NO incomming tpm2net data ... it switches back to rainbow mode ... I have hard coded this for 25 leds ... but it will adjust to whatever you set the tpm2net frame size to.

https://github.com/sfranzyshen/esp8266-lpd6803

also this is my stripped down version of the code that also needs to be tested ... if you have time :)

https://github.com/sfranzyshen/esp8266_tpm2net_lpd6803

thanks :)