PCBWay 3D Printing and Fabrication: www.pcbway.com/rapid-prototyping/ Freenove ESP32 Boards: amzn.to/3TWXnRx Support the Channel with Patreon: www.patreon.com/sdgelectronics
What a loveky garden, Steve. I'm a little jelous, I only had a back tard growing up. Those lights look great and with a little programing will provide a beautiful glow for those autuminal evenings and a glass of wine. Thanks for sharing.
Wow, you decoded the protocol in minutes and now you have a very nice lighting system just the way you want it. I wish I knew half as much as you do about digits electronics so I could do cool stuff regardless of how challenging the problem. I sort of understand what you did in theory, but there’s no chance I could ever pull it off on my own. Thanks for sharing your success. It turned out really nice and quite the deal for pro lights.
Perfect timing! I was starting to figure out a way myself as well. Just for curiosity. And thanks for showing the PIC based stuff as well! The topology is more important to me than the actual code. The way of thinking can be implemented in another language, after all.
Interesting project, I use ESP32s and wled and then on my laptop i run JINX which means allows you to create some great effects and stream them to WLED. Great for doing light shows and can be done over wifi in combination with wled esp and jinx software live. I recently had a new smart meter fitted and wanted to get the readings into home assistant, similar project to this in terms of reverse engineering the serial stream from the in home display, extracting the current use and presenting it in HA. Always fun reverse engineering custom protocols.
Super interesting content! Where did you learn all this about uart and data signals? Is this taught at University? I know it’s not the point, but I’ve done similar in my garden with some 24v ws2811 pucks with 6 diodes per puck via AliExpress. Also have some UCS2904 pucks with dedicated white doing the same. Plug and play with an ESP32 and WLED out of the box. But I still do wish I had your skills to reverse engineer hardware and firmware like this and create PCBs and firmware. 😂😂
would it be posible to get your assistance on getting the dmx working on wled cus my esp seems to brick itself every time and i cant find anyone who can help so you would be my only hope for getting a project im wanting to get running done?
Going back to the 6402 UART from the 80's it only support 5/6/7/8 bit data, back then I don't remember any UART that supported 9 bit properly. A trick was to use the parity bit in combination with the 8 data bits to effectively extend the data to 9 bits.
I find the majority of WLED's built-in effects to be quite garish and that is my word for it as well. Lots of rather cumbersome tweaking is necessary to produce high quality results and thus I'm not entirely satisfied with WLED even though it's an amazing system. I didn't even know that it had a DMX compile option and am glad that exists, but its integration suggests that not many people are using it. The DMX module seems functional, but not polished, which is often what developers do when they're just making something for themselves to use ;).
Are you quite sure the data is actually 9 bits?The first or last bit might not actually be used. I've come across this before, and I just set it to 8 bits and 2 stop bits to absorb the unused bit. I've also never seen 9 bits in actual use, and not much really supports it.
8 bits and 2 stop could work for the receiver, but not the transmitter. Based on all the data I've captured, the PIC32 on the controller is transferring data by DMA, so that first byte isn't being manipulated by changing UART mode.
PCBWay 3D Printing and Fabrication: www.pcbway.com/rapid-prototyping/
Freenove ESP32 Boards: amzn.to/3TWXnRx
Support the Channel with Patreon: www.patreon.com/sdgelectronics
What a loveky garden, Steve. I'm a little jelous, I only had a back tard growing up. Those lights look great and with a little programing will provide a beautiful glow for those autuminal evenings and a glass of wine. Thanks for sharing.
Wow, you decoded the protocol in minutes and now you have a very nice lighting system just the way you want it. I wish I knew half as much as you do about digits electronics so I could do cool stuff regardless of how challenging the problem. I sort of understand what you did in theory, but there’s no chance I could ever pull it off on my own. Thanks for sharing your success. It turned out really nice and quite the deal for pro lights.
You make some of my favorite videos.
I love how you reused a great product I think many people would like to have that skill
Lovely bit of landscaping you've done well there! It's come up nicely.
Perfect timing! I was starting to figure out a way myself as well. Just for curiosity.
And thanks for showing the PIC based stuff as well! The topology is more important to me than the actual code. The way of thinking can be implemented in another language, after all.
You may make everything seem so easy! Looking forward to seeing the Halloween light display
What oscillicope do you use? I'm looking to purchase a good oscillicope for my bench?
Interesting project, I use ESP32s and wled and then on my laptop i run JINX which means allows you to create some great effects and stream them to WLED. Great for doing light shows and can be done over wifi in combination with wled esp and jinx software live. I recently had a new smart meter fitted and wanted to get the readings into home assistant, similar project to this in terms of reverse engineering the serial stream from the in home display, extracting the current use and presenting it in HA. Always fun reverse engineering custom protocols.
@@jamesw5584 I'll have to try this, I used jinx for some Xmas lights many years ago
Super interesting content! Where did you learn all this about uart and data signals? Is this taught at University?
I know it’s not the point, but I’ve done similar in my garden with some 24v ws2811 pucks with 6 diodes per puck via AliExpress. Also have some UCS2904 pucks with dedicated white doing the same. Plug and play with an ESP32 and WLED out of the box.
But I still do wish I had your skills to reverse engineer hardware and firmware like this and create PCBs and firmware. 😂😂
I have bought fnirsi HS-02B for SMD soldering did I choose right what do you say.
Yes, the Fnirsi is a good choice! Get some good cartridges and you'll have no issues soldering anything.
would it be posible to get your assistance on getting the dmx working on wled cus my esp seems to brick itself every time and i cant find anyone who can help so you would be my only hope for getting a project im wanting to get running done?
Going back to the 6402 UART from the 80's it only support 5/6/7/8 bit data, back then I don't remember any UART that supported 9 bit properly. A trick was to use the parity bit in combination with the 8 data bits to effectively extend the data to 9 bits.
If the parity bit is user controllable, this might actually be useful to keep in mind for my esp32 projects
@@AnnaVannieuwenhuyse I did look into this, but you can only do this with byte by byte transfers - it doesn't work for DMA transfers to the UART.
@@sdgelectronics ah that's a shame!
Nice!
Shock horror! magic numbers in your code. 🙂
I find the majority of WLED's built-in effects to be quite garish and that is my word for it as well. Lots of rather cumbersome tweaking is necessary to produce high quality results and thus I'm not entirely satisfied with WLED even though it's an amazing system.
I didn't even know that it had a DMX compile option and am glad that exists, but its integration suggests that not many people are using it. The DMX module seems functional, but not polished, which is often what developers do when they're just making something for themselves to use ;).
Are you quite sure the data is actually 9 bits?The first or last bit might not actually be used. I've come across this before, and I just set it to 8 bits and 2 stop bits to absorb the unused bit. I've also never seen 9 bits in actual use, and not much really supports it.
8 bits and 2 stop could work for the receiver, but not the transmitter. Based on all the data I've captured, the PIC32 on the controller is transferring data by DMA, so that first byte isn't being manipulated by changing UART mode.
Just out of curiosity, am I wrong or the logo on the board top left 08:03 is just like @pldlive Paul Daniels?
Sure, its just a generic logo.