Arduino UNO and NRF24L01 Controlled Multi-Relay DC Motor System
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit involves an Arduino UNO microcontroller interfaced with an NRF24L01 wireless module, multiple 1 Channel 5V Relay Modules, DC motors, a 12V 5Ah battery, and an LM78xx Voltage Regulator. The Arduino UNO controls the relays, which in turn control the DC motors. The NRF24L01 module is used for wireless communication. The LM78xx Voltage Regulator ensures the Arduino UNO receives a stable voltage supply.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
NRF24L01
- Description: A wireless transceiver module.
- Pins: IRQ (not used), MOSI, CSN, VCC (3V), GND, CE, SCK, MISO
1 Channel 5V Relay Module
- Description: A relay module used to control high voltage devices.
- Pins: VCC+, VCC- (GND), IN, N.O., COM, N.C.
DC Motor
- Description: A simple DC motor.
- Pins: pin 1, pin 2
12V 5Ah Battery
- Description: A 12V battery used to power the circuit.
- Pins: 12v +, 12v -
LM78xx Voltage Regulator
- Description: A voltage regulator to provide a stable voltage output.
- Pins: Input, GND, Output
Wiring Details
Arduino UNO
- D11 connected to NRF24L01 MOSI
- D8 connected to NRF24L01 CSN
- 3.3V connected to NRF24L01 VCC (3V)
- GND connected to NRF24L01 GND
- D9 connected to NRF24L01 CE
- D13 connected to NRF24L01 SCK
- D12 connected to NRF24L01 MISO
- 5V connected to 1 Channel 5V Relay Module VCC+ (multiple instances)
- A4 connected to 1 Channel 5V Relay Module VCC- (GND) (multiple instances)
- Vin connected to LM78xx Voltage Regulator Output
- A0 connected to 1 Channel 5V Relay Module IN
- A1 connected to 1 Channel 5V Relay Module IN
- A2 connected to 1 Channel 5V Relay Module IN
- A3 connected to 1 Channel 5V Relay Module IN
- A5 connected to 1 Channel 5V Relay Module IN
- D3 connected to 1 Channel 5V Relay Module IN
- D2 connected to 1 Channel 5V Relay Module IN
- GND connected to 1 Channel 5V Relay Module N.O. (multiple instances)
- GND connected to LM78xx Voltage Regulator GND
NRF24L01
- MOSI connected to Arduino UNO D11
- CSN connected to Arduino UNO D8
- VCC (3V) connected to Arduino UNO 3.3V
- GND connected to Arduino UNO GND
- CE connected to Arduino UNO D9
- SCK connected to Arduino UNO D13
- MISO connected to Arduino UNO D12
1 Channel 5V Relay Module
- VCC+ connected to Arduino UNO 5V (multiple instances)
- VCC- (GND) connected to Arduino UNO A4 (multiple instances)
- IN connected to Arduino UNO A0, A1, A2, A3, A5, D3, D2 (one instance each)
- COM connected to DC Motor pin 2 (multiple instances)
- N.O. connected to Arduino UNO GND (multiple instances)
- N.C. connected to LM78xx Voltage Regulator Input (multiple instances)
DC Motor
- pin 1 connected to 1 Channel 5V Relay Module COM (multiple instances)
- pin 2 connected to 1 Channel 5V Relay Module COM (multiple instances)
12V 5Ah Battery
- 12v + connected to 1 Channel 5V Relay Module N.C. (multiple instances)
- 12v - connected to 1 Channel 5V Relay Module N.O. (multiple instances)
LM78xx Voltage Regulator
- Input connected to 1 Channel 5V Relay Module N.C. (multiple instances)
- GND connected to Arduino UNO GND
- Output connected to Arduino UNO Vin
Documented Code
Arduino UNO Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Documentation (documentation.txt)
This documentation provides a comprehensive overview of the circuit, including a detailed component list, wiring details, and the code used in the Arduino UNO microcontroller.