This is the first video I've ever seen on KZbin not to have a thumbs down.
@kenseastrand74285 жыл бұрын
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.
@Kermareg5 жыл бұрын
Thank you for your video which allows me to understand DMX protocol. I'll try the library tomorrow.
@samithadodangoda2813 Жыл бұрын
Thank you for providing every details source code and schematic. good luck!
@jenssejerchristiansen4 жыл бұрын
Seriously this is just amazing
@mkl1263 жыл бұрын
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.
@Dally_Sparkles5 жыл бұрын
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
@chuicoevenmerk2 жыл бұрын
finally thanks for this video. this is what I am looking for to begin with my thunder lighting effect RGBW project.
@GnuReligion6 жыл бұрын
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.
@GadgetReboot6 жыл бұрын
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.
@GnuReligion6 жыл бұрын
@@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
@GadgetReboot6 жыл бұрын
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.
@Sarikaduja4 жыл бұрын
Thank You. This was very educational, easy to follow and informative. I got my lamp working on the first try.
@peteabdu9179 Жыл бұрын
Awesome video, thanks for makng such a good one!
@juliusfan18434 жыл бұрын
VERY NICE VIDEO!!! THIS IS WHAT I NEED!!!!!!!!
@BooBar25214 жыл бұрын
Very very helpfull, thx for explaning this simple library. 👍🏻✌🏻
@jimsutton11795 жыл бұрын
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.
@GadgetReboot5 жыл бұрын
Thanks for the feedback. Sometimes I wonder if there’s too much info but I can’t help myself.
@grantlegend88723 жыл бұрын
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.
@emiliolangston97243 жыл бұрын
@Grant Legend Instablaster =)
@grantlegend88723 жыл бұрын
@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.
@grantlegend88723 жыл бұрын
@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
@electronic79796 жыл бұрын
Excellent project
@dieSpinnt4 жыл бұрын
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.
@rahulgkhs8 ай бұрын
Easy to understand tutorial- well done. But typing values are not practical. Does it have a GUI interfere?
@vinchelo5 жыл бұрын
great tutorial thx!. Is it possible to replace the arduino one by a nodemcu and achieve the same?
@PantherJagger4 жыл бұрын
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?
@Pandik-r4b4 ай бұрын
everything works well, but for some reason the 2nd spotlight does not turn on.
@faceless83373 жыл бұрын
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
@rykkers5 жыл бұрын
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!
@GadgetReboot5 жыл бұрын
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
@Ronaldo199243 жыл бұрын
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 .
@peace-elements Жыл бұрын
Hello. Can you tell me ir it works with resolume or madmapper? Thank you
@dvisuals9265 Жыл бұрын
does anyone know how you would could add this to your xlights sequence
@D-Khaz5 жыл бұрын
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?
@GadgetReboot5 жыл бұрын
They are on the RS 485 board being used.
@bartverboom66128 ай бұрын
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?
@GadgetReboot8 ай бұрын
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.
@dprice064684 жыл бұрын
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
@GadgetReboot4 жыл бұрын
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.
@eXWoLL5 жыл бұрын
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 !
@GadgetReboot5 жыл бұрын
I did a transmitter and receiver in another video including controlling WS2812 LEDs: kzbin.info/www/bejne/iIvChoqPd7Sdbq8
@MatebookExpert3 ай бұрын
Could I use a 5v to 5v dc/dc convert between mx485 and xls cable to ensure safety for the microcontroller?
@GadgetReboot3 ай бұрын
I made an isolated interface in another video kzbin.info/www/bejne/r5a5i6ZpqNyrmtU
@Parox3 жыл бұрын
Can i visualize music with this dmx controller?
@joestevens46394 жыл бұрын
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?
@GadgetReboot4 жыл бұрын
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. kzbin.info/www/bejne/iIvChoqPd7Sdbq8
@ignouliaignoulia75455 жыл бұрын
Can you make a video on how to make dmx to rgb decoder
@GadgetReboot5 жыл бұрын
This video controls WS2812, although I will be working on maybe something more universal but this was my first experiment. kzbin.info/www/bejne/iIvChoqPd7Sdbq8
@georgeeden58355 жыл бұрын
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?
@GadgetReboot5 жыл бұрын
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.
@madkillerbg24302 жыл бұрын
How to make it with fader
@faceless83373 жыл бұрын
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?
@GadgetReboot3 жыл бұрын
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
@faceless83373 жыл бұрын
@@GadgetReboot Figured so, thank you for clarifying!
@deepeshkushwah6073 жыл бұрын
Can help me to make a code for DMX stapper motor with encoder
@DrexProjects6 жыл бұрын
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.
@pileofstuff6 жыл бұрын
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
@pileofstuff6 жыл бұрын
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?
@GadgetReboot6 жыл бұрын
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.
@georgeeden58356 жыл бұрын
@@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.
@georgeeden58356 жыл бұрын
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.
@GadgetReboot6 жыл бұрын
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.
@georgeeden58356 жыл бұрын
Gadget Reboot thanks, do you think you will use a MAX458, if so I will get one.
@sixstringninja6664 жыл бұрын
Does anyone know how to make arduino IDE to step like other IDEs?
@spearsmt5 жыл бұрын
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?
@spearsmt5 жыл бұрын
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.
@GadgetReboot5 жыл бұрын
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.
@spearsmt5 жыл бұрын
@@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.
@GadgetReboot5 жыл бұрын
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.
@spearsmt5 жыл бұрын
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.
@coolberry983 жыл бұрын
up to how many channels can this work on?
@GadgetReboot3 жыл бұрын
I think it handles 512 channels but it's been years since I used it
@NoahBuehler5 жыл бұрын
can you do that with Rasperry aswell? and if yes how?
@GadgetReboot5 жыл бұрын
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.
@infernofury55675 жыл бұрын
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...
@GadgetReboot5 жыл бұрын
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.
@infernofury55675 жыл бұрын
@@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!
@2788west3 жыл бұрын
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?
@GadgetReboot3 жыл бұрын
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.
@PantherJagger4 жыл бұрын
Is there a way to trigger this with the beat of a bass drum?
@GadgetReboot4 жыл бұрын
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.
@PantherJagger4 жыл бұрын
@@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?
@GadgetReboot4 жыл бұрын
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.
@PantherJagger4 жыл бұрын
@@GadgetReboot Yes please....I have the DMX controller, just need the Arduino to trigger the scene changes
@GadgetReboot4 жыл бұрын
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.
@juri141119964 жыл бұрын
prefessional fixtures mostly use 5pin xlr.
@aldosuarez92514 жыл бұрын
how many universes do you have? 
@GadgetReboot4 жыл бұрын
I was just using one to see if I could even get anything working
@DaNy3LaMy5 жыл бұрын
it works for ableton live?
@GadgetReboot5 жыл бұрын
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.
@DaNy3LaMy5 жыл бұрын
@@GadgetReboot ty to answer me, love your work this is want i want to do kzbin.info/www/bejne/rIqYeIyEdq6hqKs Im trying with an audio interface to convert midi to dmx but it doesnt work help me please T_T
@technicalmind11992 жыл бұрын
Nice bhai
@Electronieks4 жыл бұрын
nice thing !
@shailendrasoni52144 жыл бұрын
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...
@technicalmind11992 жыл бұрын
Nice nice
@alvarobyrne6 жыл бұрын
just in time
@Krisss011. Жыл бұрын
Code
@Krisss011. Жыл бұрын
Link codeee
@mathiasensimon8 ай бұрын
Its in the description
@Rottwiler445 жыл бұрын
true dmx 512 does NOT use a three-pin XLR, it uses a five-pin XLR