Proximity Sensor (Light Based)

I often used to wonder why did the brightness of my phone and my friend`s MacbookPRO used to vary when we went closer.Its basically due to the light sensor which may also be called to proximity sensor.The closer you go the brighter the light.

LDR Proximity Sensor from Indian Tinker on Vimeo.

When you go closer the light decreases and so the led lights up..the screen shows the respective Analog values..

I did this quite a while back..However if anyone needs the code..you can ask for the same in the comment box!

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s