can anyone give me documentation on this sensor i need to research on it but having problems with the working principle and image description
Here are the links for Manual and Datasheet:
https://raw.githubusercontent.com/May-DFRobot/DFRobot/master/SEN0545User%20Manual.pdf
https://raw.githubusercontent.com/May-DFRobot/DFRobot/master/SEN0545Datasheet.pdf
Hello boss, I am a student majoring in automobiles, I have a project to design an automatic wiper system using this sensor, can I discuss more with you?
Since this is not specifically an Arduino related problem, you may be better off seeking information somewhere else.
Can't this project be done with arduino?![]()
![]()
![]()
Are you saying that a sensor that is marketed for use with the Arduino cannot be discussed. Specifically how did you determine this is not an Arduino RELATED problem?
Of course it can.
can you do it please help me
The documentation you asked for was provided.
what is your question?
having problems with the working principle
If you know the physics involved with the workings of this device then please explain.
The question about Arduino was asked AFTER my response.
what is your question?
If you bother to read @thanhan2543 posts you would know what he is asking.
If you don't understand then say so.
Light from an IR LED is projected at an angle through the "flexible transparent optical material" and the glass. When it reaches the outer glass surface it is reflected back to a photosensor.
If there is a water droplet there it changes the reflected angle and reduces the amount of IR light recieved by the photosensor.
The "flexible transparent optical material" is required because the sensor needs to be 4mm from the outer surface of the glass but not have any air between the sensor and glass as the IR light would be reflected off the back side of the glass greatly reducing sensitivity.
This "flexible transparent optical material" is designed to fill that space if the glass is thinner than 4mm.
This is likely cause of the sensitivity issue seen by the original OP. @papagino
My instructor disagrees with the working principle I presented in the above document. Instructor's request: Please describe with pictures and how the readings in the sensor will change according to rain conditions.
Wikipedia "Rain Sensor" has this
https://en.wikipedia.org/wiki/Rain_sensor
There is also a section on the physics of the rain sensor.
Thanks, I will redo the tutorial and update when I have results.
FYI, in my setup, I didn't use any clear medium between the glass and sensor. The 3D print case I designed allows for maybe 0.3 mm between the IR sensors and the glass when the case is attached to the windshield via double side tape (the double side tape has been cut where the IR sensor/detector are on the board).
This is working as is to detect rain. My Arduino code serial print the values of the amount of rain detected (no rain, light rain, medium rain, heavy rain) when spraying water on the windshield. Also you can adjust the sensibility of the sensor for different conditions / glass thickness as described in the pdf manual.
I will work on this project later this summer to improve the ability to detect snow better by playing with the many settings configuration available with the sensor, as this is the purpose of this project as it is used for my snow blowing tractor.
Have fun...
thanks boss, can i ask for the image of connecting the sensor to arduino and the full code
The sensor module comes with a connector with 4 wires.
Be careful as the Red Wire is Ground and Black is 3.3V on the connector (opposite of commonly used).
My Arduino code was posted on this thread already...
The code include portion to control intermittent wiper delay via a potentiometer
(sensorPin = A0; // Potentiometer for delay control)
Here is the connector that is on the sensor module...
While at it; ask your instructor if it's ok to let other do your homework.
I can consult many sources and chat groups to find solutions, I will also learn and research to defend the essay before the committee.
thank you very much boss, by habit i think red wire is power wire and black wire is ground wire
...ChatGPT may be your best friend in your situation...
just saying...
;o)

