esp8266_dmx_explorer: DMX with a web-based frontend + accepts raw UDP packets

Поделиться
HTML-код
  • Опубликовано: 20 сен 2020
  • I hooked some ipixelLED LEDs up to an esp8266 swadge today. It worked out quite well :)
    github.com/cnlohr/esp8266_dmx...
    ipixel-leds.com/index.php?id=489
    Declan DP With you: • Royalty Free Music for...
    PATREON: / cnlohr
  • НаукаНаука

Комментарии • 37

  • @romeucapelasa
    @romeucapelasa 3 года назад +48

    I can't handle how the cat is so ok with it like in no way it would be an normal thing for any animal to have random colored tubes flashing

    • @stranger7968
      @stranger7968 3 года назад +5

      cats have a lower visual range they can see. Maybe it mostly sees just flashing lights ?

  • @slipperytiger
    @slipperytiger 3 года назад +4

    Every time I check in on this channel I'm absolutely amazed by the shear amount of knowledge this dude has. Cool to see someone who has such a deep interest in this type of stuff.

  • @Baracurava
    @Baracurava 3 года назад +4

    Man, this is an excelent implementation of this chip

  • @michael-gary-scott
    @michael-gary-scott 3 года назад +1

    This is really cool! I've been wanting to play with DMX, this feels like a good starting point :)

  • @ralphyrocket5770
    @ralphyrocket5770 3 года назад +1

    F'n A!!!! That's some good work!!

  • @avejst
    @avejst 3 года назад

    Great project
    Thanks for sharing👍😀

  • @sebbes333
    @sebbes333 3 года назад +9

    Imagine this seen from the cats point of view... :D

    • @starogre
      @starogre 3 года назад +1

      "hooman finally coding the project i design for him"

  • @Scrogan
    @Scrogan 3 года назад

    I’ve never actually heard of the DMX standard before, this channel is kinda a goldmine for me! I imagine DMX is what those surrounding LEDs for TVs and monitors use.

    • @costynvd
      @costynvd 3 года назад +1

      DMX is used for large scale installations in theaters, nightclubs, festivals, etc. Not usually for small scale LED installations where controller and light are pretty much next to eachother.

  • @overlisted
    @overlisted 3 года назад +2

    Yes.

  • @Stabby666
    @Stabby666 3 года назад

    I've been using DMX512, and MODBUS (which uses the exact same technology - only the data is different) - I've always used RS485 line drivers like the MAX481, which are really cheap, but didn't realise you could use a cheaper method like this. Of course I doubt this method has anything like the same range, and doesn't have the isolation you need with a proper DMX setup, but it's a nice trick!

    • @CNLohr
      @CNLohr  3 года назад +1

      Yep. This is def a janky thing but it works most of the time.

  • @LelanVance
    @LelanVance 3 года назад +1

    Noice

  • @catbb
    @catbb 3 года назад

    nice

  • @filipenicoli_
    @filipenicoli_ 3 года назад

    I've had to deal with discovering unknown addresses before. You can connect one light at a time and try turning half of the addresses on and half off, let the user inform the light's state and select the correct group (on/off). Then you reapply the method to the group selected before. With 8 rounds of this you can find one address in 256.

    • @CNLohr
      @CNLohr  3 года назад

      THIS IS A REALLY GOOD IDEA. I could easily put buttons in the webpage to facilitate this.

    • @Stabby666
      @Stabby666 3 года назад

      @@CNLohr Just one button - "Is it on yet?" and let the code behind it step through the address ranges 😁

    •  3 года назад

      The good ol' binary search :D

  • @patagonaa
    @patagonaa 3 года назад +2

    Is there any reason not to use ArtNet/ArtDmx here? It's almost as simple as raw UDP packets (basically, UDP Packets with a header), supports broadcast and unicast and also has optional support for autodiscovery in the network.

    • @Dragonmastur24
      @Dragonmastur24 3 года назад

      If he wasnt using colorchord im sure he would use sACN or artnet to get the data to the esp.
      That's the magic of his colorchord though, its doing all the color drawing itself in real time on that esp thats also hosting a website and outputting dmx, amongst many other things

    • @CNLohr
      @CNLohr  3 года назад +1

      I just don't have experience with ArtNet.

  • @kalskirata2012
    @kalskirata2012 3 года назад

    One question: Is the color information preprogrammed for this track or generated on the fly?

    • @CNLohr
      @CNLohr  3 года назад

      ColorChord generates everything on the fly, so it's great for live music.

  • @503jmn
    @503jmn 9 месяцев назад

    I have an RGB DMX controller but it only does RGB. How would I control individually addressable LEDs like you have in your tubes? Is that DMX512? I need to dive into this :(

  • @CrucialMuzic
    @CrucialMuzic 3 года назад +3

    Sorry to be the elephant in the room, but seeing your circuit board
    sitting on carpet makes me nervous lol. No antistatic/ESD bag/mat anywhere :P
    Anyway this was pretty awesome, thanks for the amazing video :)

    • @procactus9109
      @procactus9109 3 года назад

      When was the last time you saw an operating circuit in a bag.
      Lol

    • @CrucialMuzic
      @CrucialMuzic 3 года назад

      @@procactus9109 Not IN the bag, but I would definitely have my circuit board sitting
      on the outside of the bag at the very least or on an ESD mat...

    • @CNLohr
      @CNLohr  3 года назад +8

      It's fine. It's an ESP. Every year at MAGFest, we have literally thousands of unprotected circuit boards dangling from people's necks, and in general only a handful breaks, none of which due to ESD. Modern *good* chips protect against ESD. No need for extra precautions.

    • @JamesChurchill
      @JamesChurchill 3 года назад

      @@CrucialMuzic IC's on assembled PCB's almost never have ESD-related failures. It's the loose ICs prior to assembly that need more protection, and even that is intended more to maximise yield than because they die from being looked at funny.

    • @CrucialMuzic
      @CrucialMuzic 3 года назад

      @@CNLohr I'm sure it's fine, it's just good practice that's all. Thanks for the reply! :)

  • @parvprobots797
    @parvprobots797 3 года назад

    plz make smallest esp board

    • @CNLohr
      @CNLohr  3 года назад

      In a few videos.

  • @Bahurs1
    @Bahurs1 3 года назад

    Have you seen this tho?:
    github.com/forkineye/E131
    Damn I still wish I took up electrical/software engineering. Always wanted a project/product that I could easily sequence in vixen lights and just switch to your colorchord if I had nothing for a song that comes up. For a hobbyist like me its too difficult and time consuming to understand how to use your work/code. I don't think I have too wild ideas, but until that day comes when I have enough willpower to sit-down or find someone to help me sort the details I will always find your videos entertaining and motivational to keep coming back to the soldering iron. Thank you for the videos.

    • @CNLohr
      @CNLohr  3 года назад +1

      I had not seen that.