Ultrasonic sensor
-
Hi,
Is there a way to connect and read distance from ultrasonic sensor like this one? -
Hi @honza-muller,
this module is based on measuring very fast time - 100s of microseconds. Our devices don't have support for such measurements. The measurement would have to be done in SW, but not with this precision, since the execution of the software is not time-deterministic.I don't know what you are trying to measure, but people in most cases use these type of sensors for measuring water level. For that, I suggest to use this sensor: 4-20mA Water Level Sensor Submersible Liquid Level Transmitter Transducer 0-5m.
Best regards,
Martin -
Ok, thx for answer. Another way is probably to use MCU together with ultrasonic sensor and setup some kind of modbus server on it and than unipi should read from it easily, hm? Am i right?
Thx
-
Hi @honza-muller,
yes, that will work as well. Arduino + MAX485 is tried and true. Just be aware, that the Unipi 1.1 doesn't have RS485, only Neuron / Patron / Gate.