NEOPIXEL DMX Controller for a WS2812B LED Strip Using Arduino Uno
Gadget Reboot
How to use Arduino as a DMX controller and receiver to control commercial DMX fixtures as well as your own projects. This uses the Arduino to send and receive custom hard coded data with the DMX protocol, not meant to receive other standard controller data.
An American DJ microwash RGBW light is controlled to verify successful DMX data is being sent, and a strip of 60 WS2812B RGB LEDs are controlled.
The strip of LEDs are first controlled as a single unit where all pixels are the same color and brightness, replicating the American DJ light to verify operation.
Then each pixel on the LED strip is controlled discretely using 180 DMX channels (60 LEDs x R G B level data), creating an LED chaser scene.
This is mostly an Arduino protocol demo, an actual implementation would require power and data isolation, which I will do in a different video.
Sketch & Schematic: https://github.com/GadgetReboot/Arduino/tree/master/Uno/DMX_Serial_Tx_Rx
More on using WS2812 RGB LEDs: https://youtu.be/YgII4UYW5hU More on Arduino DMX: https://youtu.be/4PjBBBQB2m4
DMX Serial Arduino Library http://www.mathertel.de/Arduino/DMXSerial.aspx https://github.com/mathertel/DMXSerial
DMX Technical Reference https://www.element14.com/community/groups/open-source-hardware/blog/2017/08/24/dmx-explained-dmx512-and-rs-485-protocol-detail-for-lighting-applications
https://erg.abdn.ac.uk/users/gorry/eg3576/DMX-phy.html
RS485 Power and Data Isolation Device https://www.analog.com/en/analog-dialogue/articles/isolated-rs-485-in-dmx512-lighting.html
https://www.analog.com/media/en/technical-documentation/data-sheets/ADM2682E_2687E.pdf
Patreon: https://www.patreon.com/gadgetreboot Pinterest: https://www.pinterest.ca/GadgetReboot Twitter: @GadgetReboot https://twitter.com/gadgetreboot ... https://www.youtube.com/watch?v=RZ_UWYBOj8M
176188987 Bytes