Arduino Nano-Based Battery-Powered Remote-Controlled Robotic System with NRF24L01
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an Arduino Nano microcontroller, an Electronic Speed Controller (ESC), multiple Tower Pro SG90 servos, a Lithium-ion Battery, a Brushless Motor, and an NRF24L01 wireless module with an adapter. The circuit is designed to control the servos and the brushless motor, and it includes wireless communication capabilities.
Component List
Arduino Nano
- Description: A small, complete, and breadboard-friendly board based on the ATmega328P.
- Pins: D1/TX, D0/RX, RESET, GND, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11/MOSI, D12/MISO, VIN, 5V, A7, A6, A5, A4, A3, A2, A1, A0, AREF, 3V3, D13/SCK
Electronic Speed Controller (ESC)
- Description: A device used to control the speed of an electric motor.
- Pins: Battery VCC, Battery GND, Signal, 5v out, GND out, M1, M2, M3
Tower Pro SG90 Servo
- Description: A micro servo motor commonly used in RC applications.
- Pins: Signal, +5V, GND
Lithium-ion Battery 10000mAh
- Description: A high-capacity rechargeable battery.
- Pins: 11.1V, GND
Brushless Motor
- Description: A motor that operates without brushes, commonly used in drones and RC vehicles.
- Pins: L1, L2, L3
NRF24L01
- Description: A wireless transceiver module for communication.
- Pins: IRQ (not used), MOSI, CSN, VCC (3V), GND, CE, SCK, MISO
NRF24L01 Adapter
- Description: An adapter for the NRF24L01 module to facilitate connections.
- Pins: CE, CSN, SCK, MOSI, MISO, IRQ, VCC, GND
Wiring Details
Arduino Nano
- D13/SCK connected to NRF24L01 Adapter SCK
- D12/MISO connected to NRF24L01 Adapter MISO
- D11/MOSI connected to NRF24L01 Adapter MOSI
- D10 connected to Tower Pro SG90 Servo Signal
- D9 connected to Tower Pro SG90 Servo Signal
- D8 connected to NRF24L01 Adapter CSN
- D7 connected to NRF24L01 Adapter CE
- D6 connected to Tower Pro SG90 Servo Signal
- D5 connected to Tower Pro SG90 Servo Signal
- D3 connected to Electronic Speed Controller (ESC) Signal
- GND connected to NRF24L01 Adapter GND, Lithium-ion Battery GND, Electronic Speed Controller (ESC) Battery GND, Tower Pro SG90 Servo GND, Electronic Speed Controller (ESC) GND out, Tower Pro SG90 Servo GND
- VIN connected to Lithium-ion Battery 11.1V, Electronic Speed Controller (ESC) Battery VCC
Electronic Speed Controller (ESC)
- Battery VCC connected to Arduino Nano VIN, Lithium-ion Battery 11.1V
- Battery GND connected to Arduino Nano GND, Lithium-ion Battery GND
- Signal connected to Arduino Nano D3
- 5v out connected to Tower Pro SG90 Servo +5V, NRF24L01 Adapter VCC
- GND out connected to Arduino Nano GND, Tower Pro SG90 Servo GND
- M1 connected to Brushless Motor L1
- M2 connected to Brushless Motor L2
- M3 connected to Brushless Motor L3
Tower Pro SG90 Servo
- Signal connected to Arduino Nano D10, Arduino Nano D9, Arduino Nano D6, Arduino Nano D5
- +5V connected to Electronic Speed Controller (ESC) 5v out
- GND connected to Arduino Nano GND, Electronic Speed Controller (ESC) GND out
Lithium-ion Battery 10000mAh
- 11.1V connected to Arduino Nano VIN, Electronic Speed Controller (ESC) Battery VCC
- GND connected to Arduino Nano GND, Electronic Speed Controller (ESC) Battery GND
Brushless Motor
- L1 connected to Electronic Speed Controller (ESC) M1
- L2 connected to Electronic Speed Controller (ESC) M2
- L3 connected to Electronic Speed Controller (ESC) M3
NRF24L01 Adapter
- SCK connected to Arduino Nano D13/SCK
- MISO connected to Arduino Nano D12/MISO
- MOSI connected to Arduino Nano D11/MOSI
- CSN connected to Arduino Nano D8
- CE connected to Arduino Nano D7
- VCC connected to Electronic Speed Controller (ESC) 5v out
- GND connected to Arduino Nano GND
Documented Code
Arduino Nano Code
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
This code is a basic template for the Arduino Nano. The setup function is used to initialize any settings or configurations, and the loop function contains the main code that runs repeatedly.