Reading sensor values over long distance.

Hi,

i want to read distance values from couple of sensors
Ultrasonic Distance Sensor - HC-SR04(Ultrasonic Distance Sensor - HC-SR04 - SEN-15569 - SparkFun Electronics)

The sensors connected to arduino is located on top of a water tank (around 20meters)
i could power the arduino with 12v and reduce it to 5v. but how do i get the readings back ?

There is no wifi at the target location.

Powering the Arduino with 5 volt using a buck converter is good.

I doubt that the HC-SR04 will survive much long in the whet environment of a water tank.

Use example code to make the controller read the HC-SR04.

Railroader:
Powering the Arduino with 5 volt using a buck converter is good.

I doubt that the HC-SR04 will survive much long in the whet environment of a water tank.

Use example code to make the controller read the HC-SR04.

Sorry, i mean how do i get back the reading values from arduino to my pc across 20 meters?

maxhere:
There is no wifi at the target location.

If your PC has a WiFi radio (most do, or it can be added with a cheap dongle if not), you can make a direct connection over WiFi between the PC and the Arduino board. No Internet necessary.

But that's only one option. The nRF24L01 radios are pretty popular in the Arduino world. More powerful is LoRa (perhaps a bit overkill for only 20 m though?). You could probably even use Bluetooth if you make sure to get a radio that's rated for the range.

There are wired options like RS-485 and Ethernet as well if you don't want to go wireless.

There are limits to distances for WiFi So a nRF as mentioned or a 433 MHz sender/receiver might be better options.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.