Optical Rain Sensor With Broken Mouse

by ductin in Circuits > LEDs

1742 Views, 7 Favorites, 0 Comments

Optical Rain Sensor With Broken Mouse

Chưa_có_đề_mục_18_1080p_1_1[1].gif
optical-rain-sensor.jpg

I have read a pretty good article about optical rain sensors:
http://www.yoctopuce.com/EN/article/how-to-build-a...

But to do this, it requires too many hard to find components.

So I took advantage of the broken optical mouse to make my own optical rain sensor

Supplies

  • Old/broken optical mouse
  • Module light sensor here
  • 3D print file

Principle and Experiment

laser_test.gif
VideoCapture_20210112-061115[1].jpg
VID_20210107_035318_1[1].gif

Theory:

Light will enter the horizontal line. It is fully reflective when it meets an inclined surface (intersection between solids and gases).

When I put a drop of water on this point. It will no longer be fully reflective

As shown in the 2nd picture

Teardown:

We will need to get the prisms and LEDs in the optical mouse

As shown in the 1sti picture

Experiment:

I stick the light sensor to the lower part where the light will reach. Attach the LED bulb at the top

As shown in the 3rd picture

Finish

DIY cảm biến mưa quang học giá chỉ 7K | optical rain sensor

Use light sensor DO pin to connect to MCU (arduino, raspberrypi, esp8266 ...)

As in the picture I linked it to Esp8266 and brought it to my home assistant. This type of sensor will not rust like conventional sensors.

You can see more in my video in Vietnamese

or my website