DMX Lighting Control with Arduino and Node-RED

  Рет қаралды 37,006

Playful Technology

Playful Technology

Күн бұрын

Пікірлер: 38
@LiveeviL6969
@LiveeviL6969 4 жыл бұрын
I love how as he changes color on the wheel, the cameras auto WB is trying like crazy to correct it back to white. Turning off the auto WB might have helped with keeping the real color. Just found that interesting.
@szaszafaja
@szaszafaja 5 жыл бұрын
Good explanation of the dmx protocol, thank you! For pin definitions in arduino I always use #define instead of constants, you can save a few bytes of ram that way.
@alastairaitchison6787
@alastairaitchison6787 4 жыл бұрын
#define is a preprocessor directive that will replace occurrences of the specified value prior to compilation (a bit like an automatic "search and replace"). But the value it references still has to come from somewhere - either as an immediate constant as part of an instruction, or from a program memory table, so it doesn't use any less memory than a const value declared in code (you can verify this by swapping your #defines for consts and recompiling your code - then look at the memory usage reported in the status window ;) ). And the advantages of using const are that your variable is explictly typed (and, potentially, scoped) - you're saying what it is and how it should be used, which leads to much more robust code both in terms of human-readibility and chances of unexpected behaviour.
@bikerguitardude
@bikerguitardude Жыл бұрын
Excellent video. Can't wait to try it out!
@juliocaso
@juliocaso 5 жыл бұрын
Could be possible to start differents effects of lights and sounds that you show in the video, using sensors, or time instead of click in the app? For me this would be very usefull, if i can make turn lights and sound on or off if the time search, for example 5:00 mins or if someone is near a door for example too
@PlayfulTechnology
@PlayfulTechnology 5 жыл бұрын
Yes, of course. Instead of using a button node to start the flow, you'd have an Arduino node that detects when a sensor pin is changed, or a Serial In node, or an MQTT message received node.... whatever you want!
@shopdat
@shopdat 4 жыл бұрын
great videos. Love how you created the chapters and they're visible in the youtube timeline. didn't even know how that was possible. going to figure that out.
@Steve_LSP
@Steve_LSP 2 жыл бұрын
Good. Clear and plain explained. Thank you
@itselfembedded2260
@itselfembedded2260 3 жыл бұрын
very nice video..did u have a video on wifi dmx512?
@karlnaval
@karlnaval 4 жыл бұрын
How did you do the red and green button?
@jonathanvaningen9824
@jonathanvaningen9824 4 жыл бұрын
Hey guys wondered if anyone had a similar problem, when i tried this I got an incomplete Input error code after it printed 1 255 3 128 in the serial monitor . Thanks in advance.
@ivandavidcarmona8384
@ivandavidcarmona8384 Жыл бұрын
Thanks for sharing, your videos help me a lot.
@kapdivyang
@kapdivyang 4 жыл бұрын
Great work. Very nice explanation. Very useful information about DMX and NodeRed.
@djc2342
@djc2342 4 жыл бұрын
who is the code
@Krisss011.
@Krisss011. Жыл бұрын
Ok ma puoi mettere un link del codice e dello schema
@steveheggen-aquarelle813
@steveheggen-aquarelle813 3 жыл бұрын
Hello Alastair, thanks for this presentation. Do you think that it would be a Big deal to do it via ESP32 and mqtt ?
@matthewcahill-rowley1398
@matthewcahill-rowley1398 2 жыл бұрын
I'm also considering that, if you did it already can you let me know what you used to connect your ESP32 to DMX?
@fritshuikeshoven
@fritshuikeshoven 4 жыл бұрын
where to find the arduino code please
@alastairaitchison6787
@alastairaitchison6787 4 жыл бұрын
github.com/playfultechnology/node-redscape/tree/master/Arduino/DMX
@rickastley6
@rickastley6 2 жыл бұрын
the patreon
@drangel11
@drangel11 4 жыл бұрын
Can you send color information to just one of the lights (or different informations - one lamp red, the other blue) or do they have in separate dmx-lines then?
@alastairaitchison6787
@alastairaitchison6787 4 жыл бұрын
Every device only has a single physical DMX line-in connected to it, but they typically have an "offset" that you can set which is the DMX channel that they start listening from. So let's say you have two lights, each of which had 3 DMX channel inputs: RGB. If they both listened with an offset of 0, then setting channels 1, 2, 3 would control the RGB channels of both lights together. But if you set the offset of the second light to "3", then its RGB components would be set by channels 4,5,6 instead. And if you had an offset of 1, then Channel 3 would set the B component of the first light, but the R component of the second light, say.
@drangel11
@drangel11 4 жыл бұрын
@@alastairaitchison6787 thanks for this good explanation. I world try this one time I have some DMX lights. Go on with your channel. I love it.
@paufenollosa
@paufenollosa 2 жыл бұрын
When I send the json text via serial it has the same behaviour as the tutorial but _also_ prints this: *deserializeJson() failed: EmptyInput* Any idea to fix this? (I have no line ending configured like the tutorial)
@ImmersiveScott
@ImmersiveScott 2 жыл бұрын
I'd been getting this error every time too, and the issue was when I copy and pasted the values from the serial monitor, it was putting an extra space after the last { Double check that there's no space and I think it won't have that error.
@paufenollosa
@paufenollosa 2 жыл бұрын
@@ImmersiveScott I'm gonna try it. Thanks!
@dreadnoise4637
@dreadnoise4637 3 жыл бұрын
When sending a message from the serial I'm getting a "EmptyInput" error coming up after the output info appears, Does anyone know how to fix this? I'm currently using the CQRobot DMX Shield MAX485.
@dreadnoise4637
@dreadnoise4637 3 жыл бұрын
solved it was due to not having the jumpers in the correct position, if anyone else is in this positon, make sure your tx and rx jumpers are tx-10 and rx-10 position, the slave/de is on the DE side, and the EN/EN over score is towards the EN side.
@rosco4659
@rosco4659 4 жыл бұрын
Come a long way since Clay Paky golden scans and Pulsar Disasterpiece
@coolberry98
@coolberry98 2 жыл бұрын
deserializeJson() failed: InvalidInputdeserializeJson() failed: EmptyInput
@coolberry98
@coolberry98 2 жыл бұрын
im using the ctc-dra-10-r2
@paufenollosa
@paufenollosa 2 жыл бұрын
Put the Monitor with "No line ending" instead of "New line"
@JOHNWICK-hn3ng
@JOHNWICK-hn3ng 5 жыл бұрын
👍👍👍👍👍
Realtime Monitoring of Arduino Inputs on a Webpage using Node RED
19:06
Playful Technology
Рет қаралды 28 М.
DMX Control for Robot Animatronics?
13:50
James Bruton
Рет қаралды 64 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Give your Arduino project a chatGPT AI brain - for ALMOST free
5:30
Programming Electronics Academy
Рет қаралды 334 М.
This diy DMX Light Rig will Change Your Live Shows
12:51
Super Valid Designs
Рет қаралды 328 М.
Create your own Escape Room control software using Node RED
53:31
Playful Technology
Рет қаралды 30 М.
homemade DMX512 controller - tinkering and experimenting
14:15
pileofstuff
Рет қаралды 6 М.
Control DMX Lights with Arduino
10:56
AnotherMaker
Рет қаралды 26 М.
Using Arduino with Node-RED to create a Simple Web Dashboard
12:53
Playful Technology
Рет қаралды 125 М.
DMX 512 LED controller 24 Channel for your own led strips
14:42
markusfuller
Рет қаралды 132 М.
MQTT Network Controller
51:13
Playful Technology
Рет қаралды 141 М.
Control RGB LEDs with Arduino || Arduino Essentials #1
4:23
Nerdforge
Рет қаралды 667 М.