Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes a pH sensor, a TDS sensor, an OLED display, and an Arduino Leonardo microcontroller. The circuit is designed to measure pH and TDS levels and display the readings on an OLED screen.
Component List
ph4502c
- Description: pH sensor module
- Pins: VCC, G1, G2, Po, Do, To
TDS Sensor
- Description: Total Dissolved Solids (TDS) sensor
- Pins: P1, P2, +, -, A
Arduino Leonardo (Rev3b)
- Description: Microcontroller board based on the ATmega32u4
- Pins: D0/RX, D1/TX, D2/SDA, D3 PWM/SCL, D4/A6, D5 PWM, D6 PWM/A7, D7, n.c., IOREF, RESET, 3V3, 5V, GND, VIN, A0, A1, A2, A3, A4, A5, D8/A8, D9 PWM/A9, D10 PWM/A10, D11 PWM, D12/A11, D13 PWM, AREF, SDA, SCL
0.96" OLED
- Description: OLED display module
- Pins: GND, VDD, SCK, SDA
Wiring Details
ph4502c
- VCC: Connected to Arduino Leonardo (Rev3b) VIN
- G1: Connected to Arduino Leonardo (Rev3b) GND and 0.96" OLED GND
- Do: Connected to Arduino Leonardo (Rev3b) A1
TDS Sensor
- +: Connected to Arduino Leonardo (Rev3b) 5V
- -: Connected to Arduino Leonardo (Rev3b) GND
- A: Connected to Arduino Leonardo (Rev3b) A0
Arduino Leonardo (Rev3b)
- VIN: Connected to ph4502c VCC
- GND: Connected to ph4502c G1 and 0.96" OLED GND
- A1: Connected to ph4502c Do
- 5V: Connected to TDS Sensor +
- GND: Connected to TDS Sensor -
- A0: Connected to TDS Sensor A
- 3V3: Connected to 0.96" OLED VDD
- SDA: Connected to 0.96" OLED SDA
- SCL: Connected to 0.96" OLED SCK
0.96" OLED
- GND: Connected to Arduino Leonardo (Rev3b) GND and ph4502c G1
- VDD: Connected to Arduino Leonardo (Rev3b) 3V3
- SDA: Connected to Arduino Leonardo (Rev3b) SDA
- SCK: Connected to Arduino Leonardo (Rev3b) SCL
Code
No code is provided for this circuit.
This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and code documentation. The wiring details section ensures that each component's connections are clearly outlined, facilitating easy assembly and troubleshooting.
