Waterproof ultrasonic distance sensor
Ultrasonic distance sensor for arduino, domoticz, raspberry pi, Creasol DomBus1.
Waterproof sensor with 2.5m cable connected to the electronic board, that transmits a pulse which duration is proportional with the distance between sensor and reflecting surface.
Can be used to measure level of water or other liquid inside a tank, for example.
Can be easily interface with Raspberry + Domoticz using Creasol DomBus1 as interface.
Email: store@creasol.it - Telegram: CreasolTech - Whatsapp: +393283730010
Priority mail: fast and cheap - Express Courier: fast and safe
Before returning products, please contact us
Ultrasonic distance sensor for arduino, domoticz, raspberry pi, Creasol DomBus1.
Waterproof sensor with 2.5m cable connected to the electronic board, that transmits a pulse which duration is proportional with the distance between sensor and reflecting surface.
Can be used to measure level of water or other liquid inside a tank, for example.
Can be easily interface with Raspberry + Domoticz using Creasol DomBus1 as interface.
Specifications
Ultrasonic distance sensor for arduino, domoticz, raspberry pi, Creasol DomBus1.
Waterproof sensor with 2.5m cable connected to the electronic board, that transmits a pulse which duration is proportional with the distance between sensor and reflecting surface.
Can be used to measure level of water or other liquid inside a tank, for example.
Can be easily interface with Raspberry + Domoticz using Creasol DomBus1 as interface.
Specifications
Ultrasonic distance sensor for arduino, domoticz, raspberry pi, Creasol DomBus1.
Waterproof sensor with 2.5m cable connected to the electronic board, that transmits a pulse which duration is proportional with the distance between sensor and reflecting surface.
Can be used to measure level of water or other liquid inside a tank, for example.
Can be easily interface with Raspberry + Domoticz using Creasol DomBus1 as interface.
Specifications
Operating voltage | 3-5 V |
Operating current | 30 mA |
Quiescent current | 5 mA |
Frequency | 40 kHz |
Measuring range | 25-450 cm |
Resolution | 2 mm |
Measuring angle | 45-75 degrees |
Sensor dimensions | 23.5 x 20 mm, 2.5 m long cable |
PCB dimensions | 41 x 28.5 mm |
Mounting hole | 18 mm |
Application notes
Measures the level of a water tank, activates a valve for watering the garden, turns on/off the night light and read magnetic contact sensors of door+blind
The following schema shows how to connect a waterproof ultrasonic distance sensor to Creasol DomBus1 to measure the level of water tank, so the garden irrigation program on Domoticz can determine if there is anough water in the tank. DomBus1 returns the distance value in mm, and it's possible to program the device to get a linear transformation of this measure using the formula VALUE=A*mm+B. In this example, distance is measured in cm, the tank height is 200cm from the sensor, so to measure the level of water A=-0.1 and B=200 , so when DomBus1 returns 1800mm of distance (from sensor, placed in the top of tank, to water level), VALUE=-0.1*1800+200=-180+200=20cm (level of water from the bottom of tank).
These parameters can be easily set in the device description: enter Switches panel, locate and edit the IN2 switch, and write in the description DISTANCE,A=-0.1,B=200 and save: the DomBus plugin automatically remove the device from the switch list and create a device in the Utility panel, showing the correct value compute with the parameter A and B indicated.
DomBus supports at max 2 distance devices, connected to IN1 and IN2; trigger to distance meters is sent using the IN3 port, that is reserved for this function and can be disabled on the Setup -> Devices (clickin on the left arrow ).
As the Creasol DomBus1 device has many inputs and outputs, in this application note the same DomBus is used also to activate the garden watering pump, activate the night lights, and control the magnetic contact sensors for a door and blind, as like as the MCS tamper.