Raspberry Pi 4B-Based Current Monitoring System with I2C OLED Display
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary of the Circuit
This circuit integrates a Raspberry Pi 4B with a current sensor, an OLED display, and an Adafruit ADS1115 16-bit I2C ADC (Analog-to-Digital Converter). The Raspberry Pi 4B serves as the central processing unit, interfacing with the OLED display and the ADC via the I2C communication protocol. The current sensor is connected to the ADC, which allows for precise current measurements to be read by the Raspberry Pi. The OLED display is used to output data or status information.
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.
Current Sensor
- Description: A sensor used to measure electrical current flowing through a conductor.
- Pins: Out, Burden, In_current, Out_current.
0.96" OLED
- Description: A small display for showing text and graphics.
- Pins: GND, VDD, SCK, SDA.
Adafruit ADS1115 16Bit I2C ADC
- Description: A high precision ADC with I2C interface.
- Pins: VDD, GND, SCL, SDA, ADDR, ALERT, AIN0, AIN1, AIN2, AIN3.
Wiring Details
Raspberry Pi 4B
- 3V3: Connected to VDD of the OLED and VDD of the ADS1115 ADC.
- GND: Connected to GND of the OLED and GND of the ADS1115 ADC.
- GPIO2 (SDA): Connected to SDA of the OLED and SDA of the ADS1115 ADC.
- GPIO3 (SCL): Connected to SCK of the OLED and SCL of the ADS1115 ADC.
Current Sensor
- Out: Connected to AIN0 of the ADS1115 ADC.
- Burden: Connected to AIN1 of the ADS1115 ADC.
0.96" OLED
- GND: Connected to GND of the Raspberry Pi and GND of the ADS1115 ADC.
- VDD: Connected to 3V3 of the Raspberry Pi.
- SCK: Connected to GPIO3 (SCL) of the Raspberry Pi.
- SDA: Connected to GPIO2 (SDA) of the Raspberry Pi.
Adafruit ADS1115 16Bit I2C ADC
- VDD: Connected to 3V3 of the Raspberry Pi.
- GND: Connected to GND of the Raspberry Pi.
- SCL: Connected to GPIO3 (SCL) of the Raspberry Pi.
- SDA: Connected to GPIO2 (SDA) of the Raspberry Pi.
- AIN0: Connected to Out of the current sensor.
- AIN1: Connected to Burden of the current sensor.
Documented Code
No code has been provided for the microcontrollers in the circuit. If code becomes available, it should be documented in this section with appropriate comments and explanations for each function and routine.