ARDUINO DMX512 CONTROLLER

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024

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

  • @lalchandra4590
    @lalchandra4590 5 лет назад +9

    Unique video on whole RUclips about DMX.

  • @rickr7115
    @rickr7115 5 лет назад +9

    This is the first video I've ever seen on RUclips not to have a thumbs down.

    • @kenseastrand7428
      @kenseastrand7428 4 года назад +1

      That is something is it not? I have seen some really great videos that have 100 or more thumbs down, I just don't get why some people are just not happy with them selves let along someone trying to give them help full info.

  • @ElihuStevens
    @ElihuStevens 5 лет назад +12

    Love ALL the detailed explanation in your video!

  • @Kermareg
    @Kermareg 5 лет назад +3

    Thank you for your video which allows me to understand DMX protocol. I'll try the library tomorrow.

  • @samithadodangoda2813
    @samithadodangoda2813 Год назад

    Thank you for providing every details source code and schematic. good luck!

  • @eagonsiahaan5682
    @eagonsiahaan5682 5 лет назад +15

    THIS IS WHAT I NEEDED

  • @jenssejerchristiansen
    @jenssejerchristiansen 4 года назад +4

    Seriously this is just amazing

  • @Dally_Sparkles
    @Dally_Sparkles 5 лет назад +7

    love your video very easy to follow.. i'm at risk of starting a new hobby when i already have 6 - 7 on the go

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

    Thank you so much! I dont know how many tutorials I have tried and none worked until this one. Luckily I had a similar setup.

  • @GnuReligion
    @GnuReligion 5 лет назад +2

    Well, you taught me something new. Had not heard of this standard.
    Your MAX485 could use a couple of 4-pin belt-buckle connectors and a little 3-D printed housing.

    • @GadgetReboot
      @GadgetReboot  5 лет назад

      A 3-D printer is on my long-term shopping acquisition list. I’ve never tried using a service to print things in the meantime. It would be convenient to have a printer for little projects.
      I forget when and how I found out about DMX years ago, and I’ve always wanted to experiment with it and didn’t know how easy it is with an Arduino. I’m sure I can come up with lots of related projects now like turning it into wirelessly controlled DMX and maybe a phone app to do that control or something.

    • @GnuReligion
      @GnuReligion 5 лет назад +1

      @@GadgetReboot I read about MAX485, but since I have no need to run a UART 1/2 mile, have never played with one. Would be almost trivial to make an ESP into a wireless relay for DMX. Code exists already converts one to a wireless serial port. github.com/jeelabs/esp-link

    • @GadgetReboot
      @GadgetReboot  5 лет назад

      Wireless serial ports are another topic I will be looking at even for RS-232 to use old dial-up modems on Wi-Fi. So many plans, so little time.

  • @peteabdu9179
    @peteabdu9179 11 месяцев назад +1

    Awesome video, thanks for makng such a good one!

  • @rahulgkhs
    @rahulgkhs 5 месяцев назад

    Easy to understand tutorial- well done. But typing values are not practical. Does it have a GUI interfere?

  • @Sarikaduja
    @Sarikaduja 4 года назад +1

    Thank You. This was very educational, easy to follow and informative. I got my lamp working on the first try.

  • @chuicoevenmerk
    @chuicoevenmerk 2 года назад

    finally thanks for this video. this is what I am looking for to begin with my thunder lighting effect RGBW project.

  • @jimsutton1179
    @jimsutton1179 5 лет назад +3

    Excellent video! Really appreciated the background information leading into the project. Great pace for grasping how to put the basic pieces of a DMX Arduino project together. Thanks for explaining the schematics with highlights.

    • @GadgetReboot
      @GadgetReboot  5 лет назад +2

      Thanks for the feedback. Sometimes I wonder if there’s too much info but I can’t help myself.

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

      I dont mean to be so off topic but does anyone know of a way to log back into an instagram account?
      I was dumb lost my login password. I love any tips you can give me.

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

      @Grant Legend Instablaster =)

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

      @Emilio Langston thanks for your reply. I got to the site through google and Im waiting for the hacking stuff now.
      Looks like it's gonna take quite some time so I will reply here later when my account password hopefully is recovered.

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

      @Emilio Langston it did the trick and I now got access to my account again. Im so happy:D
      Thanks so much, you saved my ass :D

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

    VERY NICE VIDEO!!! THIS IS WHAT I NEED!!!!!!!!

  • @dieSpinnt
    @dieSpinnt 4 года назад +1

    Thanks for the great video.
    Let's nitpick: There is no such thing as a level in EIA-485. Always speak about the differential input voltage. That magnitude of Voa-Vob < −200 mV = High and Voa-Vob > +200 mV = Low defines the standard. No one speaks about "levels" in the EIA paper, only about the magnitude of the differential input voltage, V_id, varying from 200 mV to 10 V, that is required to maintain correct operation over a common-mode voltage varying from -7 V to 7 V.

  • @BooBar2521
    @BooBar2521 4 года назад +1

    Very very helpfull, thx for explaning this simple library. 👍🏻✌🏻

  • @joestevens4639
    @joestevens4639 4 года назад +1

    Awesome video. Rather than controlling DMX lights from the Arduino, I want to use DMX output from PC software to trigger MP3 audio. Is that a similar hardware setup?

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

      Yeah same hardware on both ends of the DMX transmit and receive sides. I did another project doing transmit and receive so it should also be able to receive DMX from PC and then that can trigger anything desired. ruclips.net/video/RZ_UWYBOj8M/видео.html

  • @vinchelo
    @vinchelo 5 лет назад +2

    great tutorial thx!. Is it possible to replace the arduino one by a nodemcu and achieve the same?

  • @eXWoLL
    @eXWoLL 5 лет назад +1

    Thanks for the video! Helped a lot to convince myself that this is indeed possible!
    One question: If I would like the Arduino to act as a RECEIVER for the DMX signal, how would I have to wire it?
    I'm thinking about a project where the arduino would control some led tubes on/off via DMX !

    • @GadgetReboot
      @GadgetReboot  5 лет назад

      I did a transmitter and receiver in another video including controlling WS2812 LEDs: ruclips.net/video/RZ_UWYBOj8M/видео.html

  • @dprice06468
    @dprice06468 4 года назад +1

    Great video. Can I ask where I can find the dmx adapter that you used? I’m looking for one I can incorporate into a protoboard. Thanks

    • @GadgetReboot
      @GadgetReboot  4 года назад +1

      I basically got everything on eBay, using the Arduino as the controller, then a little RS 485 to TTL module to translate between Arduino and DMX signal levels, and since my American DJ light uses the three pin instead of five pin standard connecter I just ordered a three pin on eBay.

  • @electronic7979
    @electronic7979 5 лет назад +1

    Excellent project

  • @PantherJagger
    @PantherJagger 4 года назад +1

    Can you do a DMX input and output, so you can put it in your light show from a Mega? and can you connect the Out to an In of a Pixel Decoder to send the Mega information to a Led Strip?

  • @DmitriyKhazansky
    @DmitriyKhazansky 5 лет назад +1

    You didn’t mention the Rt resistors that are shown in the chip diagram. Are those excluded in this demo or are they integrated into your cable connectors?

    • @GadgetReboot
      @GadgetReboot  5 лет назад

      They are on the RS 485 board being used.

  • @rykkers
    @rykkers 5 лет назад +1

    Hey, just wondering, I've read that there must be separation between the microcontroller and the DMX line. Does this RS-485 module allow this? Or is this a quick and dirty approach and more serious installs must make use of a DC-DC converter and Octocouplers? Thanks!

    • @GadgetReboot
      @GadgetReboot  5 лет назад +1

      This was just an Arduino protocol test, a real implementation would need isolation and these particular modules don’t do it but I am working up toward another isolation demo.
      I recently did a DC to DC isolated converter video and I’m still waiting for another one to arrive so I can isolate two sides of a cable.
      For the data isolation I might either use auto couplers or one of those ADUM digital isolators www.analog.com/media/en/technical-documentation/data-sheets/ADuM1200_1201.pdf

  • @bartverboom6612
    @bartverboom6612 5 месяцев назад

    Just wondering.. How long can the output data cable be? Let 's say the lights are at 50m distance? Do you need an amplifier? How does that work?

    • @GadgetReboot
      @GadgetReboot  5 месяцев назад

      According to this page, the cable has to be less than 300m (and assuming a proper DMX cable with the right impedance), and it says an amplifier may be needed after that point, or if there's more than 25-32 items connected
      insights.acuitybrands.com/eldoled-blog/how-to-wire-a-dmx-system#:~:text=Therefore%2C%20the%20maximum%20cable%20length,connected%20to%20one%20DMX%20cable.

  • @pileofstuff
    @pileofstuff 5 лет назад +1

    Nice one.
    I wish this stuff was available (and at such affordability) back when I was doing sound and lighting gigs back in the '90s.
    I've got a couple of those MAX485 modules somewhere in the pile I was meaning to get around to eventually. I wonder what else I can do with them?

    • @GadgetReboot
      @GadgetReboot  5 лет назад +1

      It’s hard to think of uses for them today because I don’t really have a noisy signal environment to deal with at the workbench and any communication of any distance I would probably start thinking about Wi-Fi or wired ethernet.
      It almost makes me want to go out of my way to think of a project just to use them because I think I have five. Maybe a DMX receiver so I can turn some LEDs into DMX lights.

    • @georgeeden5835
      @georgeeden5835 5 лет назад

      @@GadgetReboot Did you manage to get to receiving dmx, I need a way that I can use an Arduino to receive dmx and turn on LEDs etc, I am fine with LEDs, ws2812's and transistors etc but I just don't understand how to go about receiving dmx.

    • @georgeeden5835
      @georgeeden5835 5 лет назад

      I know that you could use the dmxserial and dmxserial2 library for receiving dmx but I don't know how to go about wiring the dmx to the Arduino for receiving data.

    • @GadgetReboot
      @GadgetReboot  5 лет назад +1

      I will take a look at it and see if it really is as straightforward as it was to send it out. Since I already know I’m sending out valid control codes for a real DMX light, I can use that code as a test and then see if I can get another Arduino to receive it and turn on some LEDs or something and if so, I’ll do a video to have a complete series covered.

    • @georgeeden5835
      @georgeeden5835 5 лет назад

      Gadget Reboot thanks, do you think you will use a MAX458, if so I will get one.

  • @peace-elements
    @peace-elements 10 месяцев назад

    Hello. Can you tell me ir it works with resolume or madmapper? Thank you

  • @georgeeden5835
    @georgeeden5835 5 лет назад

    Thank you so much for the code to make the DMX receiver work, but I was wondering have you tried making a USB to DMX interface like a DIY arduino version of the Enttec Open DMX USB Interface using an RS485?

    • @GadgetReboot
      @GadgetReboot  5 лет назад

      I haven't done anything lately, I even fell behind in normal videos this past week so I need to get caught up on that before I get totally buried. But I'm waiting for some parts to come so I can at least try adding power and signal isolation to the existing DMX setup and make it more robust as-is. Maybe some day it'll grow into something bigger.

  • @Pandik-r4b
    @Pandik-r4b Месяц назад

    everything works well, but for some reason the 2nd spotlight does not turn on.

  • @MatebookExpert
    @MatebookExpert 25 дней назад

    Could I use a 5v to 5v dc/dc convert between mx485 and xls cable to ensure safety for the microcontroller?

    • @GadgetReboot
      @GadgetReboot  25 дней назад

      I made an isolated interface in another video ruclips.net/video/yeVZs3swxds/видео.html

  • @faceless8337
    @faceless8337 2 года назад

    Great video! My question is would this be compatible with a 5 pin XLR? I believe the first 3 pins of the 5 pin would be the same as the 3 pin, although what would I do with 4 and 5 on the 5 pin?

    • @GadgetReboot
      @GadgetReboot  2 года назад

      The extra two pins on a five pin are for an optional second communication channel so they just get left unconnected
      interactive-online.com/resources/faq/dmx-512-connector-pinouts

    • @faceless8337
      @faceless8337 2 года назад +1

      @@GadgetReboot Figured so, thank you for clarifying!

  • @faceless8337
    @faceless8337 2 года назад

    Hey, I am running into a very confusing issue. The light will only update constantly when its ground on pin 1 is disconnected. Thank you for any suggestions

  • @2788west
    @2788west 3 года назад +1

    This is amazing, thanks for the great tutorial. I have a project where I need to use a SAMD-based Arduino, which DmxSimple is not compatible with. Do you know of any good way to drive DMX lights from a SAMD based Arduino?

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

      I haven't tried that platform yet, but I eventually will. I might lean toward ESP32 also. So I'll just be googling for any existing libraries, someone must have done it by now.

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

    Hi, I'm trying this project,then I tried to write the channel in to serial monitor but nothing happen. The light never change and nothing happen . Can you help me about this ? I use different rs 485 , and different type of light .

  • @Parox
    @Parox 2 года назад

    Can i visualize music with this dmx controller?

  • @ignouliaignoulia7545
    @ignouliaignoulia7545 4 года назад +1

    Can you make a video on how to make dmx to rgb decoder

    • @GadgetReboot
      @GadgetReboot  4 года назад

      This video controls WS2812, although I will be working on maybe something more universal but this was my first experiment.
      ruclips.net/video/RZ_UWYBOj8M/видео.html

  • @dvisuals9265
    @dvisuals9265 Год назад

    does anyone know how you would could add this to your xlights sequence

  • @DrexProjects
    @DrexProjects 5 лет назад +1

    I have a tinkerkit DMX on an Arduino hat. I never tried it. I bet I can't even find it in my mess of stuff.

    • @pileofstuff
      @pileofstuff 5 лет назад

      If it doesn't turn up, you can always pop by Princess Auto and grab another one. (you know you want to go there anyway...)
      www.princessauto.com/en/detail/dmx-master-shield/A-p8641656e

  • @shailendrasoni5214
    @shailendrasoni5214 4 года назад

    Hi, I really love your way to explain the project. I have used your method with Ltech DMX decoder and now I am able to control upto 512 DMX channels with Arduino UNO board. It will be a great help if you explain, how to control more than 512 DMX channels...

  • @spearsmt
    @spearsmt 5 лет назад

    I tried with a simple light I have and was unsuccessful. I then tried with a different light and it worked fine. I figured my light was bad, but I could manually set it to a color through its panel and it worked. I decided to test something and moved the light's DMX channel to 1, and it worked fine. I then moved the light to the previous channel of 150, and it will not work. Do you think it could be the generic MAX485 board I bought?

    • @spearsmt
      @spearsmt 5 лет назад

      Upon further testing... It is a 6 channel light. 1 is "set to individual color control when value is 255". 2 is red. If I set the light's first channel to 147, then send 147c 255v and 148c 255v, I get red. If I set the light's first channel to 148, then send 148c 255v and 149c 255v, I get nothing. Combinations below 147 for the first channel seem to work and above do not seem to work.

    • @GadgetReboot
      @GadgetReboot  5 лет назад

      I don't think it would be the MAX485 because being just a communication hardware interface, if it works in a certain channel range it should communicate fine no matter what is transmitted.
      Did you get the other light working at those higher channels? Trying to figure out if the Arduino sketch and hardware interface at least work, I don't remember if I tested at high channels and right now it's all disassembled so I can't quickly test it.
      I don't suppose that light for some reason doesn't work above certain channels, although I can't imagine why...what is the model number? I wonder if anyone else has run into issues similar to this.
      Also, just for the sake of voodoo when all else fails, I wonder if there's just some weird combination of addresses that exploit a glitch, maybe in the Arduino sketch. Did you try some other random higher channels just to see, maybe something over 200 in case there's an odd behaviour around 148...
      I'll be hooking up the DMX hardware at some point to continue projects, maybe I can do more testing with my American DJ microwash lights.

    • @spearsmt
      @spearsmt 5 лет назад +1

      @@GadgetReboot Thank you for the reply. So, I wonder if it is just that one light I decided to experiment with. I added the second light to try higher channels, and the first light is working at the higher channels, using the same sketch from yesterday because I plugged the sedan light in without modifying the sketch, as well as the second light. I removed the second light, and the first seems inconsistent. Maybe it just has to do with the resistance on the DMX side. I was only testing with one light, just to make sure it worked. I had ripped everything out of the code except static DmxSimple.write commands in the setup routing. Regardless, your tutorial was well done and easy to follow. Thank you for it.

    • @GadgetReboot
      @GadgetReboot  5 лет назад

      I wonder if it has something to do with the termination. I can’t remember if my lights have a built-in 120 ohm termination but I was only using very short wiring so maybe if you have longer cables you might need to make sure it is terminated properly. And I guess that would include if you have two lights joined together, only the one at the far end should be terminated. And presumably the RS-485 board has a termination resistor on it, mine does.

    • @spearsmt
      @spearsmt 5 лет назад

      Gadget Reboot I do have a terminator on the out of the last light, but I have never experimented with my usb-to-DMX adapter and just that one light.

  • @technicalmind1199
    @technicalmind1199 2 года назад

    Nice bhai

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

    nice thing !

  • @technicalmind1199
    @technicalmind1199 2 года назад

    Nice nice

  • @NoahBuehler
    @NoahBuehler 5 лет назад

    can you do that with Rasperry aswell? and if yes how?

    • @GadgetReboot
      @GadgetReboot  5 лет назад +1

      I’m sure there’s projects out there with raspberry pi controlling DMX but I haven’t tried before so I don’t know any right now.

  • @madkillerbg2430
    @madkillerbg2430 2 года назад

    How to make it with fader

  • @infernofury5567
    @infernofury5567 5 лет назад +1

    Hi! I've got the RS485 breakout board by Sparkfun.. would you maybe be able to tell me how I could connect this up to my arduino? It is for a halloween project DMX/Sound trigger the sound and trigger part I've got figured out, only the DMX through rs485 breakout is the thing I can't get to work...

    • @GadgetReboot
      @GadgetReboot  5 лет назад +1

      Is this the board with SP3485:
      www.sparkfun.com/products/10124
      And what kind of Arduino, 5 V or 3.3 V I/O?
      I see that chip needs to be powered by 3.3 V and it vaguely says interoperable with 5 V logic but I didn’t see anything in the chip data sheet that clearly guaranteed it can be powered at 3.3 V and hook up to 5V I/O.
      Aside from that, the A and B terminals would be the same as the A and B terminals in my RS 485 breakout board schematic,
      RX-I is the same as DI on my board,
      TX-O is the same as RO on my board.
      The grounds will go to the same place I have them but VCC would be 3.3 V and if the data sheet can be trusted, it says it should still work at 5 V logic levels otherwise if it’s 3.3 V logic it should obviously work.

    • @infernofury5567
      @infernofury5567 5 лет назад +1

      @@GadgetReboot thanks for the reply! It's the board from the link indeed! I own a few Uno's and a few nano clones, the clones say they have 3.3v and 5v, so that should work. I'm gonna see if it works out with yout instructions!

  • @alvarobyrne
    @alvarobyrne 5 лет назад +1

    just in time

  • @coolberry98
    @coolberry98 2 года назад

    up to how many channels can this work on?

    • @GadgetReboot
      @GadgetReboot  2 года назад +1

      I think it handles 512 channels but it's been years since I used it

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

    Can help me to make a code for DMX stapper motor with encoder

  • @juri14111996
    @juri14111996 4 года назад

    prefessional fixtures mostly use 5pin xlr.

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

    Does anyone know how to make arduino IDE to step like other IDEs?

  • @aldosuarez9251
    @aldosuarez9251 4 года назад

    how many universes do you have?

    • @GadgetReboot
      @GadgetReboot  4 года назад

      I was just using one to see if I could even get anything working

  • @PantherJagger
    @PantherJagger 4 года назад

    Is there a way to trigger this with the beat of a bass drum?

    • @GadgetReboot
      @GadgetReboot  4 года назад

      there’s always a way depending what signals are available. If there’s an actual trigger signal indicating when the other sound is playing, that can be used as an input to Arduino to do some thing. Otherwise if it’s just raw audio then a filter can be used to detect a certain frequency and use that to trigger.

    • @PantherJagger
      @PantherJagger 4 года назад

      @@GadgetReboot So do think I can use a Mic to XLR to "What" and get the Arduino to sense the beat and trigger the DMX lights, just like what would be done at a concert?

    • @GadgetReboot
      @GadgetReboot  4 года назад +1

      A circuit like a color organ would take the sound and be able to trigger when certain frequencies are detected and then that could trigger the input of an Arduino and the code would have to then generate whatever DMX is required to turn on whatever lights in a certain color for a certain amount of time once triggered. Basically it sounds like an interesting project idea that I might consider doing.

    • @PantherJagger
      @PantherJagger 4 года назад

      @@GadgetReboot Yes please....I have the DMX controller, just need the Arduino to trigger the scene changes

    • @GadgetReboot
      @GadgetReboot  4 года назад

      is the controller also an Arduino or is it some sort of commercial product? I’ve never used a commercial controller so I don’t know if they have options for an external interface to do things like trigger scenes but if the Arduino itself is also the controller, then it’s easy.

  • @DaNy3LaMy
    @DaNy3LaMy 5 лет назад +1

    it works for ableton live?

    • @GadgetReboot
      @GadgetReboot  5 лет назад +1

      I’ve never used that but doing a brief search I assume Ableton is a controller and this project is also a controller so it sounds like it’s a choice between one or the other to control a fixture.

    • @DaNy3LaMy
      @DaNy3LaMy 5 лет назад

      @@GadgetReboot ty to answer me, love your work
      this is want i want to do
      ruclips.net/video/vY5GYNAInrI/видео.html
      Im trying with an audio interface to convert midi to dmx but it doesnt work
      help me please T_T

  • @Rottwiler44
    @Rottwiler44 5 лет назад

    true dmx 512 does NOT use a three-pin XLR, it uses a five-pin XLR

  • @Krisss011.
    @Krisss011. Год назад

    Code

  • @Krisss011.
    @Krisss011. Год назад

    Link codeee

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

    Can you do the same with raspberry pi and maybe with python? :D