Transmit DMX over NRF24L01 to an Arduino controlled relay module
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
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
Step 7: Receiver Code
See attached file due to formatting
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