Battery-Powered Arduino Nano with MPU6050 and NRF24L01 for Wireless Motion Sensing
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 MPU6050 accelerometer and gyroscope sensor, an NRF24L01 wireless transceiver module, and two 18650 Li-ion batteries. The document includes a component list, wiring details, and the embedded code used in the microcontroller.
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
MPU6050
- Description: A 6-axis motion tracking device that combines a 3-axis gyroscope and a 3-axis accelerometer.
- Pins: vcc, gnd, scl, sda, xda, xcl, AD0, int, 3.3v
NRF24L01
- Description: A wireless transceiver module for low-power, high-speed communication.
- Pins: IRQ (not used), MOSI, CSN, VCC (3V), GND, CE, SCK, MISO
18650 Li-ion Battery x 2
- Description: Rechargeable lithium-ion batteries commonly used in portable electronics.
- Pins: +, -
Wiring Details
Arduino Nano
- 5V connected to MPU6050 vcc
- GND connected to NRF24L01 GND, 18650 Li-ion Battery -, MPU6050 gnd
- A4 connected to MPU6050 scl
- A3 connected to MPU6050 sda
- D11/MOSI connected to NRF24L01 MOSI
- D9 connected to NRF24L01 CSN
- 3V3 connected to NRF24L01 VCC (3V)
- D8 connected to NRF24L01 CE
- D13/SCK connected to NRF24L01 SCK
- D12/MISO connected to NRF24L01 MISO
- VIN connected to 18650 Li-ion Battery +
MPU6050
- vcc connected to Arduino Nano 5V
- gnd connected to Arduino Nano GND
- scl connected to Arduino Nano A4
- sda connected to Arduino Nano A3
NRF24L01
- GND connected to Arduino Nano GND
- MOSI connected to Arduino Nano D11/MOSI
- CSN connected to Arduino Nano D9
- VCC (3V) connected to Arduino Nano 3V3
- CE connected to Arduino Nano D8
- SCK connected to Arduino Nano D13/SCK
- MISO connected to Arduino Nano D12/MISO
18650 Li-ion Battery x 2
- - connected to Arduino Nano GND
- + connected to Arduino Nano VIN
Code
Arduino Nano Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Documentation (documentation.txt)
This concludes the documentation for the circuit. If you have any questions or need further assistance, please refer to the detailed wiring and code sections above.