Circuit Documentation
Summary of the Circuit
This circuit integrates an Arduino Nano microcontroller with a LoRa Ra-02 SX1278 module for long-range communication and a 128x64 OLED display for data visualization. The Arduino Nano serves as the central processing unit, controlling the LoRa module for wireless communication and the OLED display for user interface. The LoRa module is connected to the Arduino Nano via SPI (Serial Peripheral Interface) for high-speed data transfer, and the OLED display is interfaced through I2C (Inter-Integrated Circuit) communication. The ground and power connections are shared among all components to establish a common reference point and power distribution.
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.
LoRa Ra-02 SX1278
- Description: A long-range wireless communication module based on the SX1278 chip.
- Pins: GND, NSS, MOSI, MISO, SCK, D105, DI04, 3.3V, RST, DI00, DI01, D102, DI03.
128x64 OLED Display (I2C IIC SPI Serial)
- Description: A small graphical OLED display with I2C communication.
- Pins: GND, SDA, SCL, VCC.
Wiring Details
Arduino Nano
- GND connected to common ground.
- 3V3 connected to 3.3V power line.
- D2 connected to LoRa Ra-02 SX1278 DI00.
- A5 connected to 128x64 OLED Display SCL.
- A4 connected to 128x64 OLED Display SDA.
- D9 connected to LoRa Ra-02 SX1278 RST.
- D10 connected to LoRa Ra-02 SX1278 NSS.
- D11/MOSI connected to LoRa Ra-02 SX1278 MOSI.
- D12/MISO connected to LoRa Ra-02 SX1278 MISO.
- D13/SCK connected to LoRa Ra-02 SX1278 SCK.
LoRa Ra-02 SX1278
- GND connected to common ground.
- 3.3V connected to 3.3V power line.
- DI00 connected to Arduino Nano D2.
- RST connected to Arduino Nano D9.
- NSS connected to Arduino Nano D10.
- MOSI connected to Arduino Nano D11/MOSI.
- MISO connected to Arduino Nano D12/MISO.
- SCK connected to Arduino Nano D13/SCK.
128x64 OLED Display (I2C IIC SPI Serial)
- GND connected to common ground.
- VCC connected to 3.3V power line.
- SCL connected to Arduino Nano A5.
- SDA connected to Arduino Nano A4.
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:
}
Additional Notes (documentation.txt)
No additional code documentation provided.
