Connection
pH sensor – micro:bit
- Blue wire: Connect the sensor signal output to pin P0 on the micro:bit. This pin is used to read the measured values.
- Red wire: Connect the power wire to the 5V pin. The sensor requires a higher voltage than the standard 3,3V to function properly.
- Black wire: Connect the ground (GND) to the GND pin of the micro:bit.
LCD display – micro:bit
- VCC: Connect the 3V3 output of the micro:bit - it provides power to the display.
- GND: connect to the ground pin of the micro:bit (GND).
- SCL: connect to the SCL pin of the micro:bit – this is the clock signal for communication over the I2C bus.
- SDA: connect to the SDA pin of the micro:bit – it is used to transfer data between the micro:bit and the display.
Always make sure the micro:bit is disconnected from power before connecting any devices to avoid damaging the electronics.
Program
Program for probe V1
For the sensors to function properly, calibration is necessary. The procedure for performing the calibration can be found at manufacturer's website or in the enclosed instructions.
Program for probe V2
For the sensors to function properly, calibration is necessary. The procedure for performing the calibration can be found at manufacturer's website or in the enclosed instructions.
In conjunction with the microbit, the V1 probe can only be used for measurements up to pH < 12 (12 is the maximum value). Exceeding this limit may damage the microbit.




