It s a great way to learn how to code whilst also makin.
Digital water pressure sensor raspberry pi.
In particular i ll be using a water level detection sensor and a 200 psi pressure sensor.
With the help of the barometer bmp180 the air pressure in hpa bar can be determined via the i c bus of the raspberry pi.
The arduino can also be operated very easily on and with the raspberry pi e g.
It can for example also read analog sensors.
Unlike arduinos the raspberry pi doesn t have an adc which stands for analog to digital converter.
The raspberry pi can also be used as a micro controller but it has a lot more functions because it runs an operating system.
A true micro controller is e g.
2pcs dht11 temperature humidity sensor module digital temperature humidity sensor 3 3v 5v with wires for arduino raspberry pi 2 3 2pcs dht11 3 6 out of 5 stars 21 5 99 5.
Via usb or 433 mhz or 2 4 ghz radio.
How to determine the temperature and humidity with sensors has already been shown in previous tutorials.
You can sense almost anything with the large range of sensors we stock here at the pi hut.
An adc measures voltage on a pin and translates it to a number.
This tutorial demonstrates how to connect an analog sensor to a raspberry pi as well as i will deploy the project of water pressure and water level system using the raspberry pi.
Sensors add almost human sensing capabilities to your projects taking real world events and converting them to analogue or digital signals for your microcontroller to read.
For weather stations and similar projects it is often important to determine the air pressure.