Circuit Documentation
Summary
This document provides a detailed overview of a circuit that integrates a Raspberry Pi 5, a LoRa module, an AC Dimmer Lamp Module, an I2C LCD, an Air Heater, and an AC source. The circuit is designed to control an AC lamp and an air heater, while also providing wireless communication via LoRa and displaying information on an I2C LCD.
Component List
Raspberry Pi 5
- Description: A powerful single-board computer used for controlling the circuit.
- Pins: Type-C, Micro HDMI 1, Micro HDMI 2, Camera 1, Camera 2, PoE, Fan, PCIe, USB 3.0, USB 2.0, Ethernet, 5V, GND, 3.3v, GPIO 14, GPIO 15, GPIO 18, GPIO 23, GPIO 24, GPIO 25, GPIO 8, GPIO 7, GPIO 1, GPIO 12, GPIO 16, GPIO 20, GPIO 21, GPIO 2, GPIO 3, GPIO 4, GPIO 17, GPIO 27, GPIO 22, GPIO 10, GPIO 9, GPIO 11, GPIO 0, GPIO 5, GPIO 6, GPIO 13, GPIO 19, GPIO 26
LoRa Module
- Description: A module for long-range wireless communication.
- Pins: M0, M1, RXD, TXD, AUX, VCC, GND
AC Dimmer Lamp Module
- Description: A module to control the brightness of an AC lamp.
- Pins: VCC, GND, Z-C, PWM, N, L
I2C LCD
- Description: An LCD display with I2C interface.
- Pins: GND, VCC, SDA, SCL
Air Heater
- Description: A device to heat air.
- Pins: L, GND
AC Source
- Description: Provides AC power to the circuit.
- Pins: +, -
Wiring Details
Raspberry Pi 5
- 5V is connected to VCC of the AC Dimmer Lamp Module, LoRa Module, and I2C LCD.
- GND is connected to GND of the AC Dimmer Lamp Module, LoRa Module, I2C LCD, and Air Heater.
- GPIO 15 is connected to RXD of the LoRa Module.
- GPIO 14 is connected to TXD of the LoRa Module.
- GPIO 18 is connected to PWM of the AC Dimmer Lamp Module.
- GPIO 2 is connected to SDA of the I2C LCD.
- GPIO 3 is connected to SCL of the I2C LCD.
LoRa Module
- VCC is connected to 5V of the Raspberry Pi 5.
- GND is connected to GND of the Raspberry Pi 5.
- RXD is connected to GPIO 15 of the Raspberry Pi 5.
- TXD is connected to GPIO 14 of the Raspberry Pi 5.
AC Dimmer Lamp Module
- VCC is connected to 5V of the Raspberry Pi 5.
- GND is connected to GND of the Raspberry Pi 5.
- PWM is connected to GPIO 18 of the Raspberry Pi 5.
- N is connected to - of the AC Source.
- L is connected to L of the Air Heater and + of the AC Source.
I2C LCD
- VCC is connected to 5V of the Raspberry Pi 5.
- GND is connected to GND of the Raspberry Pi 5.
- SDA is connected to GPIO 2 of the Raspberry Pi 5.
- SCL is connected to GPIO 3 of the Raspberry Pi 5.
Air Heater
- L is connected to L of the AC Dimmer Lamp Module and + of the AC Source.
- GND is connected to GND of the AC Dimmer Lamp Module.
AC Source
- + is connected to L of the AC Dimmer Lamp Module and Air Heater.
- - is connected to N of the AC Dimmer Lamp Module.
Code
No code is provided for this circuit.
This document provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and code documentation.
