Тёмный

DMX Lighting Control with Arduino and Node-RED 

Playful Technology
Подписаться 49 тыс.
Просмотров 36 тыс.
50% 1

Опубликовано:

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 36   
@szaszafaja
@szaszafaja 4 года назад
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 10 месяцев назад
Excellent video. Can't wait to try it out!
@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.
@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.
@Steve_LSP
@Steve_LSP 2 года назад
Good. Clear and plain explained. Thank you
@kapdivyang
@kapdivyang 4 года назад
Great work. Very nice explanation. Very useful information about DMX and NodeRed.
@ivandavidcarmona8384
@ivandavidcarmona8384 Год назад
Thanks for sharing, your videos help me a lot.
@juliocaso
@juliocaso 4 года назад
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 4 года назад
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!
@rosco4659
@rosco4659 4 года назад
Come a long way since Clay Paky golden scans and Pulsar Disasterpiece
@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.
@itselfembedded2260
@itselfembedded2260 3 года назад
very nice video..did u have a video on wifi dmx512?
@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?
@Krisss011.
@Krisss011. Год назад
Ok ma puoi mettere un link del codice e dello schema
@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
@karlnaval
@karlnaval 4 года назад
How did you do the red and green button?
@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.
@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"
@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!
@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.
@JOHNWICK-hn3ng
@JOHNWICK-hn3ng 4 года назад
👍👍👍👍👍
@djc2342
@djc2342 4 года назад
who is the code
Далее
How to Build Your Own Modular DMX Lighting Rig
33:39
Просмотров 70 тыс.
iPhone 16 & beats 📦
00:30
Просмотров 162 тыс.
Китайка стучится Домой😂😆
00:18
НОВАЯ "БУХАНКА" 2024. ФИНАЛ
1:39:04
Просмотров 486 тыс.
Программирование dmx пульта
11:11
DMX Control for Robot Animatronics?
13:50
Просмотров 63 тыс.
iPhone 16 & beats 📦
00:30
Просмотров 162 тыс.