Build
The physical build is relatively simple and uses the following GPIO pins.
3.3V
SCL
SDA
Ground
Analogue pin
Notes:
The OLED display and the water sensor both require 3.3V so I took one wire from the pin and split it to power both boards.
I have used a 132×32 OLED display. If you use a different size one you will need to adjust the width and height in the main code.
3 Responses