Using the HC-SR04 for level detection in a bottle

Hi Sparkfun.

I am evaluating the module HC-SR04 in order to use it for level detection in a bottle.

The bottle I am using is 90 x 120 x 210 mm.

Attached you will find my first test of the device, which I actually finds quite OK :slight_smile:

You also see at photo indicating the setup I am using. I have the Transmitter placed in the center of the opening of the bottle.

I can see that the reported distance can be affected if I am pressing on the sides of the bottle so the dimension of 90 mm becomes e.g. 70 mm, which I understand.

The datasheet report a beam og 15 degree. Is this +/- 15 degree or is it the full beam angle?

Is it possible to lower this beam angle?

Is it possible to decrease the distance between the transmitter and the receiver?

Best Regards

Frans Ravn

ChemoMetec A/S

www.chemometec.com

Response.pdf (214 KB)

Hi Frans. Thanks for your post.

We don’t make the HC-SR04 and don’t have a lot of information on it so I don’t have an answer on the beam angle.

For decreasing the distance between the transmitter and receiver, you might try mounting them on a separate board and see what happens. I would imagine you could move them around a bit before they stop working.

Hi Chris. Are you able to answer my question regarding the beam angle. The datasheet report a beam og 15 degree. Is this +/- 15 degree or is it the full beam angle?

Best Frans.

Sorry, I don’t have an answer on the beam angle.

TS-Chris:
Hi Frans. Thanks for your post.

We don’t make the HC-SR04 and don’t have a lot of information on it so I don’t have an answer on the beam angle.

For decreasing the distance between the transmitter and receiver, you might try mounting them on a separate board and see what happens. I would imagine you could move them around a bit before they stop working.

I would go for a 15° (like +/- 7.5° if you will) beam angle. I come from a back ground of antennae and light reflectors and know “beam angle” to be the angle of a cone who’s tip or point is at the transmitter or receiver (sensor).

Pete