Forum >Infrared Proximity Sensor "latching" on
RoboticsGeneral

Infrared Proximity Sensor "latching" on

userHead rdpoor 2016-11-22 20:18:55 3471 Views3 Replies
We recently got a DF Robot Infrared Proximity Sensor (SKU:SEN0019) and it's exhibiting odd behavior.

From an off state, the sensor will detect an approaching object and will enter an 'on' state. But when the object is removed, the sensor stays in the 'on' state until put my hand on (or very close to) the base of the sensor.

I've eliminated stray light as being a possible cause -- this happens with all other sources of light turned off. It's more like a noise problem, where the capacitance of my hand smooths out the noise enough for the sensor to return to the 'off' state.

I demonstrate an example of this inmake_clickable_callback(MAGIC_URL_FULL, ' ', 'https://youtu.be/pobUWtRVKgo', '', ' class="postlink"')

Other info: The SEN0019 is plugged into a DF Robot GPIO Shield on an Arduino 101, using the Arduino's +5 supply and driven from a 9VDC wall adaptor. There are no other peripherals plugged into the Arduino or the GPIO board.

Any ideas on what's going on?
2016-11-24 01:04:12 Hi Sir,

As I know, the operating voltage of the 101 is 3.3V, but the working voltage of the sensor is 5V. So when the jumper on the shield to 3.3V or 5V, the sensor will not be able to work well. Please use the 5V controller to control the sensor and set the jumper to 5V side.

Hope this will help you. :)
userHeadPic Wendy.Hu
2016-11-22 22:31:50 This appears to be a false alarm, but worth documenting: when I hooked up the DR Robot GPIO shield to an external power supply (and switched the on-board jumpers to use the external power rather than the +5 coming from the Arduino 101), the proximity sensor started working dependably. userHeadPic rdpoor
2016-11-22 20:25:48 P.S.: It exhibits the behavior independent of the sensitivity setting. The sensitivity control DOES make it detect things closer or further away, but regardless, the device latches into the "on" state until touched, even at the lowest sensitivity setting. userHeadPic rdpoor