Raspberry Pi 4B-based Current Monitoring System with OLED Display
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary of the Circuit
This circuit integrates a Raspberry Pi 4B with an ADS1115 analog-to-digital converter (ADC), a 0.96" OLED display, a generic current sensor, and an ACS712 current sensor. The Raspberry Pi 4B serves as the central processing unit, interfacing with the ADC for analog signal processing and the OLED display for visual output. The ADS1115 is used to digitize analog signals from the current sensors, which are presumably used to measure electrical current in a system. The ACS712 provides an analog voltage output proportional to the current it senses, which is then read by the ADS1115. The generic current sensor's role is not explicitly defined but is connected to the ADS1115, suggesting it also provides an analog signal for measurement.
Component List
Raspberry Pi 4B
- Description: A powerful microcomputer with multiple GPIO pins for interfacing with various peripherals.
- Pins: 3V3, 5V, Multiple GPIOs, GND, ID_SD, ID_SC, TR01_TAP, TR00_TAP, TR03_TAP, TR02_TAP, RUN, GLOBAL_EN
ADS1115
- Description: A precision, low-power, 16-bit ADC with I2C interface.
- Pins: VDD, GND, SCL, SDA, ADDR, ALRT, A0, A1, A2, A3
0.96" OLED
- Description: A small OLED display for visual data output.
- Pins: GND, VDD, SCK, SDA
Current Sensor (Generic)
- Description: A sensor for measuring electrical current, specific details not provided.
- Pins: Out, Burden, In_current, Out_current
ACS712 Current Sensor 5A 20A 30A
- Description: A hall-effect-based linear current sensor with an analog output.
- Pins: 1, 2, GND, OUT, VCC
Wiring Details
Raspberry Pi 4B
- GPIO3 (SCL) connected to ADS1115 SCL and OLED SCK
- GPIO2 (SDA) connected to ADS1115 SDA and OLED SDA
- 5V connected to ADS1115 VDD, OLED VDD, ACS712 VCC, and generic current sensor Burden
- GND connected to ADS1115 GND, OLED GND, ACS712 GND
ADS1115
- SCL connected to Raspberry Pi GPIO3 and OLED SCK
- SDA connected to Raspberry Pi GPIO2 and OLED SDA
- VDD connected to Raspberry Pi 5V, OLED VDD, ACS712 VCC, and generic current sensor Burden
- GND connected to Raspberry Pi GND, OLED GND, ACS712 GND
- A1 connected to generic current sensor Out
- A0 connected to ACS712 OUT
0.96" OLED
- SCK connected to Raspberry Pi GPIO3 and ADS1115 SCL
- SDA connected to Raspberry Pi GPIO2 and ADS1115 SDA
- VDD connected to Raspberry Pi 5V, ADS1115 VDD, ACS712 VCC, and generic current sensor Burden
- GND connected to Raspberry Pi GND, ADS1115 GND, ACS712 GND
Current Sensor (Generic)
- Out connected to ADS1115 A1
- Burden connected to Raspberry Pi 5V, ADS1115 VDD, OLED VDD, ACS712 VCC
- In_current connected to ACS712 pin 1
- Out_current connected to ACS712 pin 2
ACS712 Current Sensor 5A 20A 30A
- 1 connected to generic current sensor In_current
- 2 connected to generic current sensor Out_current
- GND connected to Raspberry Pi GND, ADS1115 GND, OLED GND
- OUT connected to ADS1115 A0
- VCC connected to Raspberry Pi 5V, ADS1115 VDD, OLED VDD, and generic current sensor Burden
Documented Code
No code has been provided for the microcontrollers in the circuit. Therefore, there is no code documentation available at this time. When code becomes available, it should be documented here with descriptions of its functionality and any relevant algorithms or interfaces it interacts with.