Arduino Mega 2560-Based Wireless Joystick-Controlled Display with RTC
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an Arduino Mega 2560 microcontroller, a DS3231 RTC module, an NRF24L01 wireless module, a KY-023 Dual Axis Joystick Module, a 4x4 Keypad, a TM1637 display module, and various power and ground connections. The circuit is designed to interface these components with the Arduino Mega 2560 for various functionalities.
Component List
Arduino Mega 2560
- Description: A microcontroller board based on the ATmega2560.
- Pins: IOREF, RESET, 3V3, 5V, GND, VIN, A0-A15, D21/SCL, D20/SDA, D19/RX1, D18/TX1, D17 PWM/RX2, D16 PWM/TX2, D15/RX3, D14/TX3, D0 RX0, D1 TX0, D2-D13 PWM, AREF, SDA, SCL, D22-D53.
DS3231 RTC
- Description: A real-time clock module with an I2C interface.
- Pins: 32K, SQW, SCL, SDA, VCC, GND.
NRF24L01
- Description: A wireless transceiver module.
- Pins: IRQ (not used), MOSI, CSN, VCC (3V), GND, CE, SCK, MISO.
KY-023 Dual Axis Joystick Module
- Description: A joystick module with two potentiometers and a switch.
- Pins: GND, +5V, VRx, VRy, SW.
4x4 Keypad (Simulator)
- Description: A 4x4 matrix keypad.
- Pins: R1, C4, R2, C2, R3, R4, C1, C3.
TM1637
- Description: A 4-digit 7-segment display module.
- Pins: CLK, DIO, VCC, GND.
5V L
- Description: A 5V power supply.
- Pins: 5V.
3V R
- Description: A 3.3V power supply.
- Pins: 3.3 V.
Erde Oben/Unten
- Description: Ground connection.
- Pins: GND.
Ceramic Capacitor
- Description: A capacitor with a capacitance of 0.00001 Farads.
- Pins: pin0, pin1.
12v Battery
- Description: A 12V battery.
- Pins: -, +.
Wiring Details
KY-023 Dual Axis Joystick Module
- +5V to Arduino Mega 2560 5V
- GND to Arduino Mega 2560 GND
- VRx to Arduino Mega 2560 A0
- VRy to Arduino Mega 2560 A1
DS3231 RTC
- SDA to Arduino Mega 2560 A4
- SCL to Arduino Mega 2560 A5
- VCC to 3V R 3.3 V
- GND to Erde Oben/Unten GND
TM1637
- CLK to Arduino Mega 2560 D2 PWM
- DIO to Arduino Mega 2560 D3 PWM
- GND to Arduino Mega 2560 GND
- VCC to 5V L 5V
NRF24L01
- SCK to Arduino Mega 2560 D52
- MISO to Arduino Mega 2560 D50
- CE to Arduino Mega 2560 D48
- MOSI to Arduino Mega 2560 D51
- CSN to Arduino Mega 2560 D49
- VCC (3V) to Ceramic Capacitor pin1 and 3V L 3.3V
- GND to Ceramic Capacitor pin0 and Erde L/R GND
4x4 Keypad (Simulator)
- C4 to Arduino Mega 2560 D36
- C3 to Arduino Mega 2560 D34
- C2 to Arduino Mega 2560 D32
- C1 to Arduino Mega 2560 D30
- R4 to Arduino Mega 2560 D28
- R3 to Arduino Mega 2560 D26
- R2 to Arduino Mega 2560 D24
- R1 to Arduino Mega 2560 D22
12v Battery
- + to 2 Anschlüsse GND
- - to 2 Anschlüsse VCC
Documented Code
Arduino Mega 2560 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 document provides a comprehensive overview of the circuit, including the components used, their connections, and the code running on the Arduino Mega 2560.