Connect dfrobot UV sensor to Arduino!

Very basic question - how do I connect the UV sensor to the Arduino using the supplied cable?
image

Do I have to use 3 wires or can I just plug this in directly? I am sure I used to be able to do this but have forgotten since it has been a few years

2 Likes

Links below to 2 Core Electronic DFRobot UV sensors. Unsure which one you have.
Click the Wiki Doc link, takes you to the DFRobot page, has a pic of how to connect the 3 wires.
Wires are +5V, GND and Analog Output.

Cheers
Jim

2 Likes

Thanks - yes I needed to use the 3 wires! I had forgotten

What I have is a DFRobot UV Sensor UV_sensor_SKU__SEN0162-DFRobot

this is specced at 200 - 370 nm

My use case was to test the RAT test supplied UV flashlight uses 365 NM so is probably out of range. In any case I could not get a reading from the UV sensor.

2 Likes

Sensor range of 200 to 370nm is quite large.
I suspect these sensors are designed to detect UV index (as per DFRobot page) rather than an actual frequency. The UV out of the flashlight at 365nm may not be enough to trigger the sensor.

You could prove the sensor is working by placing it in Sunlight and check the readings.

Cheers
Jim

1 Like