Introduction: NRF24L01 DMX Relay Module
Transmit DMX over NRF24L01 to an Arduino controlled relay module
Step 1: Materials
2x Adruino Uno
2x NFR24L01 2.4GHz Module
2x Socket Adapter plate Board for 8Pin NRF24L01 Module
2x MAX485 Module
1x 5v Relay Module
1x TM1637 4 Digit 7 Segment Display
1x Rotary Encoder (5pins, push switch)
1x 3D printed rotary encoder knob
1x Male 3pin DMX connector
2x Male 3pin DMX connector
Atleast 3 >5v LEDs
2x DC-DC SX1308 Step-UP Boost Converter 2-24V to 2-28V 2A
2x 3.7 A Batteries and battery holders
1x 12v Battery
1x 12v LED
Various resistors and wire based on your parts and set up
Step 2: Lay Out Your PCB Shield
I could not find a large enough PCB to use on Fritzing, so I left my diagrams on the breadboard, but the goal of this project is to produce PCB Shields for your Arduinos.
You will want two different shields, one for your transmitter and one for your receiver. I have attached a bunch of pictures of how I laid out my receiver, but this was my first time working on a PCB and I definitely think you can come up with a more efficient version of your own.
In the next steps I will have fritzing of the breadboard layouts so you can at least see where all the connections are made.
If you need a deeper step by step of the breadboard see my "DMX Relay Module" Instructable, but please note that some of the pins needed to change so you will need to watch that if you decide to look at those fritzings
Step 3: Transmitter Layout
Fritzing of Transmitter Layout, recommended you use your own PCB layout
Step 4: Reciever Layout
Fritzing of Reciever Layout, recommended you use your own PCB layout
Step 5: 3D Print an Encoder Knob
3D Print a knob for your Rotary Encoder if you want one or if its part of your assignment
Step 6: Transmitter Code
See file attached due to formatting
Attachments
Step 7: Receiver Code
See attached file due to formatting
Attachments
Step 8: Test
I am traveling and have not been able to verify a change in the code I have made. Previously I was able to receive DMX over wire on both modules and transmit that DMX over NRF24L01, but I was not able to receive that DMX over NRF24L01. The video above is previous test I did to confirm that my PCB was wired correctly. I think the code adjustments I have made have resolved that problem, but I will not be able to test that until 3/14/18. Please check back for updates then
5 Comments
3 years ago
This is what you should at least include in your poor work.
https://en.wikipedia.org/wiki/DMX512
Reply 3 years ago
who hurt you?
and good lord, don't you have anything better to do than be disparaging in the comment section of other peoples instructables?
5 years ago
Whats a DMX ?
Reply 4 years ago
If you have to ask then this project isn't for you. 😜
You can google it for a better definition, but it is a control protocol traditionally used to control stage lighting. It has evolved to allow all sorts of devices to be controlled using either a physical lighting desk, or software on a PC/Mac/Linux/Android/iOS etc.
So you could choose to use DMX to control all the lights/appliances in your house if you want. But it is more interesting to use it in actual stage lighting situations.
Reply 3 years ago
I think I will be the judge of what projects are for me .
If you use Nemonics then you should print out the full name when you first use it in any article.