ARDUINO DMX512 CONTROLLER

  Рет қаралды 110,539

Gadget Reboot

Gadget Reboot

Күн бұрын

Пікірлер: 121
@ElihuStevens
@ElihuStevens 5 жыл бұрын
Love ALL the detailed explanation in your video!
@GadgetReboot
@GadgetReboot 5 жыл бұрын
Thank you!
@lalchandra4590
@lalchandra4590 5 жыл бұрын
Unique video on whole KZbin about DMX.
@rickr7115
@rickr7115 5 жыл бұрын
This is the first video I've ever seen on KZbin not to have a thumbs down.
@kenseastrand7428
@kenseastrand7428 5 жыл бұрын
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.
@Kermareg
@Kermareg 5 жыл бұрын
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!
@jenssejerchristiansen
@jenssejerchristiansen 4 жыл бұрын
Seriously this is just amazing
@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.
@Dally_Sparkles
@Dally_Sparkles 5 жыл бұрын
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
@chuicoevenmerk
@chuicoevenmerk 2 жыл бұрын
finally thanks for this video. this is what I am looking for to begin with my thunder lighting effect RGBW project.
@GnuReligion
@GnuReligion 6 жыл бұрын
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 6 жыл бұрын
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 6 жыл бұрын
@@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 6 жыл бұрын
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.
@Sarikaduja
@Sarikaduja 4 жыл бұрын
Thank You. This was very educational, easy to follow and informative. I got my lamp working on the first try.
@peteabdu9179
@peteabdu9179 Жыл бұрын
Awesome video, thanks for makng such a good one!
@juliusfan1843
@juliusfan1843 4 жыл бұрын
VERY NICE VIDEO!!! THIS IS WHAT I NEED!!!!!!!!
@BooBar2521
@BooBar2521 4 жыл бұрын
Very very helpfull, thx for explaning this simple library. 👍🏻✌🏻
@jimsutton1179
@jimsutton1179 5 жыл бұрын
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 жыл бұрын
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
@electronic7979
@electronic7979 6 жыл бұрын
Excellent project
@dieSpinnt
@dieSpinnt 4 жыл бұрын
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.
@rahulgkhs
@rahulgkhs 8 ай бұрын
Easy to understand tutorial- well done. But typing values are not practical. Does it have a GUI interfere?
@vinchelo
@vinchelo 5 жыл бұрын
great tutorial thx!. Is it possible to replace the arduino one by a nodemcu and achieve the same?
@PantherJagger
@PantherJagger 4 жыл бұрын
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-r4b
@Pandik-r4b 4 ай бұрын
everything works well, but for some reason the 2nd spotlight does not turn on.
@faceless8337
@faceless8337 3 жыл бұрын
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
@rykkers
@rykkers 5 жыл бұрын
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 жыл бұрын
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
@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 .
@peace-elements
@peace-elements Жыл бұрын
Hello. Can you tell me ir it works with resolume or madmapper? Thank you
@dvisuals9265
@dvisuals9265 Жыл бұрын
does anyone know how you would could add this to your xlights sequence
@D-Khaz
@D-Khaz 5 жыл бұрын
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.
@bartverboom6612
@bartverboom6612 8 ай бұрын
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 8 ай бұрын
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.
@dprice06468
@dprice06468 4 жыл бұрын
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 жыл бұрын
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.
@eXWoLL
@eXWoLL 5 жыл бұрын
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: kzbin.info/www/bejne/iIvChoqPd7Sdbq8
@MatebookExpert
@MatebookExpert 3 ай бұрын
Could I use a 5v to 5v dc/dc convert between mx485 and xls cable to ensure safety for the microcontroller?
@GadgetReboot
@GadgetReboot 3 ай бұрын
I made an isolated interface in another video kzbin.info/www/bejne/r5a5i6ZpqNyrmtU
@Parox
@Parox 3 жыл бұрын
Can i visualize music with this dmx controller?
@joestevens4639
@joestevens4639 4 жыл бұрын
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 4 жыл бұрын
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
@ignouliaignoulia7545
@ignouliaignoulia7545 5 жыл бұрын
Can you make a video on how to make dmx to rgb decoder
@GadgetReboot
@GadgetReboot 5 жыл бұрын
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
@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.
@madkillerbg2430
@madkillerbg2430 2 жыл бұрын
How to make it with fader
@faceless8337
@faceless8337 3 жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
@@GadgetReboot Figured so, thank you for clarifying!
@deepeshkushwah607
@deepeshkushwah607 3 жыл бұрын
Can help me to make a code for DMX stapper motor with encoder
@DrexProjects
@DrexProjects 6 жыл бұрын
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 6 жыл бұрын
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
@pileofstuff
@pileofstuff 6 жыл бұрын
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 6 жыл бұрын
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 6 жыл бұрын
@@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 6 жыл бұрын
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 6 жыл бұрын
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 6 жыл бұрын
Gadget Reboot thanks, do you think you will use a MAX458, if so I will get one.
@sixstringninja666
@sixstringninja666 4 жыл бұрын
Does anyone know how to make arduino IDE to step like other IDEs?
@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 жыл бұрын
@@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.
@coolberry98
@coolberry98 3 жыл бұрын
up to how many channels can this work on?
@GadgetReboot
@GadgetReboot 3 жыл бұрын
I think it handles 512 channels but it's been years since I used it
@NoahBuehler
@NoahBuehler 5 жыл бұрын
can you do that with Rasperry aswell? and if yes how?
@GadgetReboot
@GadgetReboot 5 жыл бұрын
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.
@infernofury5567
@infernofury5567 5 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@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!
@2788west
@2788west 3 жыл бұрын
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.
@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 жыл бұрын
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.
@juri14111996
@juri14111996 4 жыл бұрын
prefessional fixtures mostly use 5pin xlr.
@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
@DaNy3LaMy
@DaNy3LaMy 5 жыл бұрын
it works for ableton live?
@GadgetReboot
@GadgetReboot 5 жыл бұрын
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 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
@technicalmind1199
@technicalmind1199 2 жыл бұрын
Nice bhai
@Electronieks
@Electronieks 4 жыл бұрын
nice thing !
@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...
@technicalmind1199
@technicalmind1199 2 жыл бұрын
Nice nice
@alvarobyrne
@alvarobyrne 6 жыл бұрын
just in time
@Krisss011.
@Krisss011. Жыл бұрын
Code
@Krisss011.
@Krisss011. Жыл бұрын
Link codeee
@mathiasensimon
@mathiasensimon 8 ай бұрын
Its in the description
@Rottwiler44
@Rottwiler44 5 жыл бұрын
true dmx 512 does NOT use a three-pin XLR, it uses a five-pin XLR
DMX 512 LED controller 24 Channel for your own led strips
14:42
markusfuller
Рет қаралды 133 М.
Building a MIDI Controller Using Arduino
15:41
Switch & Lever
Рет қаралды 647 М.
УЛИЧНЫЕ МУЗЫКАНТЫ В СОЧИ 🤘🏻
0:33
РОК ЗАВОД
Рет қаралды 7 МЛН
Who is More Stupid? #tiktok #sigmagirl #funny
0:27
CRAZY GREAPA
Рет қаралды 10 МЛН
$1 vs $500,000 Plane Ticket!
12:20
MrBeast
Рет қаралды 122 МЛН
«Жат бауыр» телехикаясы І 30 - бөлім | Соңғы бөлім
52:59
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 340 М.
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
This diy DMX Light Rig will Change Your Live Shows
12:51
Super Valid Designs
Рет қаралды 329 М.
Arduino UNO - cheap vs. expensive
10:39
upir
Рет қаралды 31 М.
Программирование dmx пульта
11:11
rulil34
Рет қаралды 248 М.
DMX512. Device Overview
31:44
Электроника в объективе
Рет қаралды 121 М.
DMX Control for Robot Animatronics?
13:50
James Bruton
Рет қаралды 64 М.
HOW TO USE WS2812B NEOPIXELS WITH FASTLED ON ARDUINO
24:32
Gadget Reboot
Рет қаралды 185 М.
How to Build Your Own Modular DMX Lighting Rig
33:39
Super Valid Designs
Рет қаралды 77 М.
Control DMX Lights with Arduino
10:56
AnotherMaker
Рет қаралды 26 М.
DIY Laser Projector - Built from an old hard drive
20:07
Ben Makes Everything
Рет қаралды 1,4 МЛН
УЛИЧНЫЕ МУЗЫКАНТЫ В СОЧИ 🤘🏻
0:33
РОК ЗАВОД
Рет қаралды 7 МЛН