Arduino Nano-Based Wireless Motion Detection System with ADXL335 Accelerometer and NRF24L01 Transceiver
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary of the Circuit
This circuit integrates an Arduino Nano microcontroller with an AITrip ADXL335 GY-61 accelerometer and an NRF24L01 wireless transceiver module. The Arduino Nano serves as the central processing unit, interfacing with the accelerometer to read motion data and with the NRF24L01 module to communicate wirelessly. A 9V battery provides power to the system, with the Arduino Nano regulating voltage for the NRF24L01 module.
Component List
Arduino Nano
- Description: A compact microcontroller 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.
Battery 9V
- Description: A standard 9V battery used to power the circuit.
- Pins: VCC, GND.
AITrip ADXL335 GY-61
- Description: An analog accelerometer for measuring acceleration in three axes.
- Pins: GND, Z-Out, Y-Out, X-Out, VCC.
NRF24L01
- Description: A 2.4GHz wireless transceiver module for communication between devices.
- Pins: IRQ (not used), MOSI, CSN, VCC (3V), GND, CE, SCK, MISO.
Wiring Details
Arduino Nano
- GND connected to common ground.
- D8 connected to NRF24L01 CE.
- D10 connected to NRF24L01 CSN.
- D11/MOSI connected to NRF24L01 MOSI.
- D12/MISO connected to NRF24L01 MISO.
- VIN connected to 9V Battery VCC.
- 5V connected to AITrip ADXL335 GY-61 VCC.
- A1 connected to AITrip ADXL335 GY-61 Y-Out.
- A0 connected to AITrip ADXL335 GY-61 X-Out.
- 3V3 connected to NRF24L01 VCC (3V).
- D13/SCK connected to NRF24L01 SCK.
Battery 9V
- VCC connected to Arduino Nano VIN.
- GND connected to common ground.
AITrip ADXL335 GY-61
- GND connected to common ground.
- VCC connected to Arduino Nano 5V.
- Y-Out connected to Arduino Nano A1.
- X-Out connected to Arduino Nano A0.
NRF24L01
- GND connected to common ground.
- CE connected to Arduino Nano D8.
- CSN connected to Arduino Nano D10.
- MOSI connected to Arduino Nano D11/MOSI.
- MISO connected to Arduino Nano D12/MISO.
- VCC (3V) connected to Arduino Nano 3V3.
- SCK connected to Arduino Nano D13/SCK.
Documented 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:
}
Note: The provided code is a template and does not include specific functionality. It should be expanded to initialize the accelerometer and NRF24L01 module, read sensor data, and transmit it wirelessly.