public:wire-around-pipe
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
public:wire-around-pipe [2025/07/03 10:10] – lukas | public:wire-around-pipe [2025/07/03 10:31] (current) – lukas | ||
---|---|---|---|
Line 3: | Line 3: | ||
[[https:// | [[https:// | ||
==== Archived ==== | ==== Archived ==== | ||
- | https:// | + | [[https:// |
==== Youtube Video ==== | ==== Youtube Video ==== | ||
Line 11: | Line 11: | ||
- | Abstract: | + | ==== Abstract: |
This entry describes a water level sensor which has a long battery life, uses cheap and readily available components. Users can easily read out the actual water level and state of the battery over a web interface. | This entry describes a water level sensor which has a long battery life, uses cheap and readily available components. Users can easily read out the actual water level and state of the battery over a web interface. | ||
- | Technical implementation: | + | ==== Technical implementation: |
The main components of the sensor are a low-power microcontroller and a low-power radio transceiver. For the microcontroller a MSP430G2553 from Texas Instruments is used. It has a standby current of only 0.5µA typically. The used 2.4GHz radio transmitter nRF24L01 from Nordic Semiconductor has a standby current of 0.9µA typically. So the standby current of the sensor would be 1.4µA. For the sensing element a simple two core cable is wound around a pipe. Between the two cores a capacity could be measured. This capacity will change if the cable is submerged into the water and therefore the capacity could indicate the water level. The microcontroller charge the capacitor over a series resistor of 100kΩ for 46µs and then measure the voltage with its build-in 10 bit ADC. This voltage is dependent on the capacitance and therefore also indicates the water level. The equation for the voltage across the water level sensor is V(t) = VCC*(1-exp(-t/ | The main components of the sensor are a low-power microcontroller and a low-power radio transceiver. For the microcontroller a MSP430G2553 from Texas Instruments is used. It has a standby current of only 0.5µA typically. The used 2.4GHz radio transmitter nRF24L01 from Nordic Semiconductor has a standby current of 0.9µA typically. So the standby current of the sensor would be 1.4µA. For the sensing element a simple two core cable is wound around a pipe. Between the two cores a capacity could be measured. This capacity will change if the cable is submerged into the water and therefore the capacity could indicate the water level. The microcontroller charge the capacitor over a series resistor of 100kΩ for 46µs and then measure the voltage with its build-in 10 bit ADC. This voltage is dependent on the capacitance and therefore also indicates the water level. The equation for the voltage across the water level sensor is V(t) = VCC*(1-exp(-t/ | ||
Line 21: | Line 21: | ||
For receiving of the sensor data a RaspberryPi is used. It is connected to a nRF24L01 radio transceiver module over SPI. Furthermore the RaspberryPi uses Node-Red for hosting a user interface web page. | For receiving of the sensor data a RaspberryPi is used. It is connected to a nRF24L01 radio transceiver module over SPI. Furthermore the RaspberryPi uses Node-Red for hosting a user interface web page. | ||
- | BOM cost for one sensor unit: | + | ==== BOM cost for one sensor unit: ==== |
1 x MSP430G2553IPW20R 0.95€ | 1 x MSP430G2553IPW20R 0.95€ | ||
1 x nRF24L01P-R 1.46€ | 1 x nRF24L01P-R 1.46€ | ||
Line 27: | Line 27: | ||
= 2.91€ total* | = 2.91€ total* | ||
- | BOM cost for the receiving unit: | + | ==== BOM cost for the receiving unit: ==== |
1 x Raspberry Pi Zero - Version 1.3 4.46€ | 1 x Raspberry Pi Zero - Version 1.3 4.46€ | ||
1 x nRF24L01P-R 1.46€ | 1 x nRF24L01P-R 1.46€ | ||
Line 36: | Line 37: | ||
- | nspiration | + | ==== Inspiration ==== |
This sensor could be used for every water level measurements. Because of the capacitive measurement no electrical part has to be in contact with water and the sensor could be build according to IP68 (waterproof), | This sensor could be used for every water level measurements. Because of the capacitive measurement no electrical part has to be in contact with water and the sensor could be build according to IP68 (waterproof), |
public/wire-around-pipe.1751537418.txt.gz · Last modified: by lukas