I made a water drop detector to connect with Arduino Yun and the webcam.

My purpose is letting the webcam to take a picture automatically like this when the water drop is detected by the photo interrupter. But I was too idealistic…

11571-two-valve-drops-1000

interupters-1024x768

The Water drop detector works like this:

qq%e6%88%aa%e5%9b%be20161205120812

qq%e6%88%aa%e5%9b%be20161205120726But unfortunately, it looked like the camera couldn’t focus when being used as a camera. Even though I already adjust it when I connected it directly to my computer and just used it as a webcam. These are the pictures I got when the webcam triggered by Arduino Yun:

image

1480137847