Read and display the water level of a cistern.
The Super sonic sensor is connected to
- VCC => +5V
- TRG => PIN 13
- ECHO => PIN 12
- GND => GND
The 16x2 LCD display (I2S) is connected to
- Using address 0x27
- VCC => 5V
- GND => GND
- SDA => A4
- SCL => A5
This is my first attempt to use PlatformIO and Visual Studio Code as environment
for an Ardunio project. So I'm not too familiar with the features PlatformIO offers.
I've deleted the lib
and the test
folders and also .travis.yml
as by now I don't need them.
All proposals to improve the project are welcome.
Determine min and max value in cistern to not display only a distance in cm but a concrete water level of the cistern itself.