Today we take a look at the light sensor from the flying fish series from mh.
Flying fish light sensor.
Module light conditions or light intensity reach the set threshold do port output high when the external ambient light intensity exceeds a set threshold the module d0 output low.
The digital output has a trim potentiometer that can be used to set a trigger light level.
This feature is not available right now.
In the following example we will use the analog output to measure light level.
Two types of code is provided so you can either use digital outp.
Illuminates when power is applied.
They are all based on the comparator ic lm393.
If you are interested in reading the digital output please refer to the pulse.
In this video you will learn how to turn ac bulb on at night and turn it off during the day.
The lm393 is a simple photo resistor light sensor that has both analog and digital outputs.
There are various similar models on e bay aliexpress and other places all vary slightly.
You can buy this mh series of cheap sensors often called flying fish in the arduino world.
It servs the amount of light from 0 very bright to 1024 very dark using the analog pin.
3 3 to 5 vdc supply input.
Hope this is useful to somebody.
It s a light detection sensor which i connected to the arduino nano to test its functionality.
Output that goes low when obstacle is in range.
They come in a range of configuration ldr ntc thermistor resistive water moisture detectors and more.
I add that the angle subtued by the fish at any distance will be so small that the reflected light from it will be minute compared to the background clutter and the ambient light.
Please try again later.
It ain t gonna work unless you dangle the fish a few inches in front of the ir stuff with your hand.
It is mainly about the brightness of ambient light sometimes also about invisible infrared light from cheap to expensive.
5v light detector analog digital flying fish mh sensor series took me a while to find the purpose of this little device i had in the mail recently.
There are a number of different sensors for measuring light available on the market.
I try to use the rain sensor to detect some dripping water in a drainage system of my house.