Circuit Documentation
Summary of the Circuit
This circuit integrates an ESP32 microcontroller with a 0.96" OLED display and a LoRa Ra-02 SX1278 module. The ESP32 serves as the central processing unit, managing data communication between the OLED display and the LoRa module. The OLED display is used for visual output, while the LoRa module enables long-range communication capabilities. The circuit is designed to operate on a 3.3V power supply, with common ground connections across all components.
Component List
ESP32
- Description: A powerful microcontroller with Wi-Fi and Bluetooth capabilities, suitable for a wide range of IoT applications.
- Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, VIN, 3V3, D15, D2, D4, RX2, TX2, D5, D18, D19, D21, RX0, TX0, D22, D23, BOOT
0.96" OLED
- Description: A small display module for visual data output, interfacing via I2C.
- Pins: GND, VDD, SCK, SDA
LoRa Ra-02 SX1278
- Description: A long-range communication module based on the SX1278 chip, suitable for low-power wireless networks.
- Pins: GND, NSS, MOSI, MISO, SCK, D105, DI04, 3.3V, RST, DI00, DI01, D102, DI03
Wiring Details
ESP32
- D21 (SDA) connected to OLED SDA
- D22 (SCK) connected to OLED SCK
- 3V3 connected to OLED VDD and LoRa 3.3V
- GND connected to OLED GND and LoRa GND
- D19 (MISO) connected to LoRa MISO
- D32 connected to LoRa DI01
- D26 connected to LoRa DI00
- D27 (MOSI) connected to LoRa MOSI
- D14 (RST) connected to LoRa RST
- D5 (SCK) connected to LoRa SCK
- D18 (NSS) connected to LoRa NSS
0.96" OLED
- SDA connected to ESP32 D21 (SDA)
- SCK connected to ESP32 D22 (SCK)
- VDD connected to ESP32 3V3
- GND connected to ESP32 GND
LoRa Ra-02 SX1278
- MISO connected to ESP32 D19 (MISO)
- DI01 connected to ESP32 D32
- DI00 connected to ESP32 D26
- MOSI connected to ESP32 D27 (MOSI)
- RST connected to ESP32 D14 (RST)
- SCK connected to ESP32 D5 (SCK)
- NSS connected to ESP32 D18 (NSS)
- 3.3V connected to ESP32 3V3
- GND connected to ESP32 GND
Documented Code
No code has been provided for the microcontrollers in the circuit. The documentation of the code would typically include a description of the functionality, setup and loop functions, and any functions or libraries used to manage the communication between the ESP32, the OLED display, and the LoRa module. Since no code is available, this section remains empty until the code is provided for documentation.
