Arduino and proper proximity sensor

Discussion in 'Embedded Systems and Microcontrollers' started by mcamiea, Jun 26, 2016.

  1. mcamiea

    Thread Starter New Member

    Feb 19, 2016
    5
    1
    Hi guys. I want to use a proximity sensor and an arduino to know when a person is in the shower. What I have in mind if that if the sensor measures a range of distance it would mean that the person is in the shower. I have made some research and the infrared Sharp GP2Y0A21YK0F seems appropriate for the distance range I need that is around 20-60 cm depending on the size of the shower. However I am ignorant in this topic and I want to know if the water from the shower will make an interference when measuring the distance and generally speaking if this is a suitable sensor for my objective. additionally I read that the voltage output from this type of sensor is not linear, would it be difficult to actually know the distance?
    Many thanks in advance :)
     
    nilesha likes this.
  2. shteii01

    AAC Fanatic!

    Feb 19, 2010
    3,383
    495
Loading...