pH Sensor Electronic Building Block
Introduction
The pH sensor can detect the acidity and alkalinity (pH value) of liquids.

Features
- Three-wire port design prevents incorrect insertion and enables easy use.
- 3V voltage support for micro:bit power supply.
Technical Specifications
| Item | Specification |
|---|---|
| SKU | EF04099 |
| Power Requirement | 3V-5.5V |
| Interface Type | BNC Connector |
| Pin Definition | 1-Signal, 2-VCC, 3-GND |
| Product Dimensions | 69mm (Length) × 32mm (Width) × 16mm (Height) |
| pH Measurement Range | 0-14 pH |
| Accuracy | ±0.3pH (at 25℃) |
| Response Time | ≤1min |
| Response Performance | Fast response and high sensitivity |
| Circuit | Simple driving circuit |
| Stability | Stable and durable |
External and Positioning Dimensions
Quick Start
Hardware Connection
Connect the pH sensor to the P1 port of the iot:bit, insert the micro:bit into the iot:bit, and connect the OLED to the I2C port of the iot:bit.
Write the Program as Shown in the Figure

Reference Program
Please refer to the program link: https://makecode.microbit.org/_bu8MeHhgkP4o You can also download the program directly through the webpage below; once downloaded, you can start running the program.
---Result
The pH sensor can detect the pH value (acidity and alkalinity) of liquids.