Friday, August 8, 2014

MAGIC IN THE DARK!

This post wouldn't be interesting if you already know about IR LED's and what they can do for you, but if you haven't then it would be exciting to get the idea about these magical lights...

IR LED's provide a great way to spy in the night! Since our eyes are not sensitive to infrared light but a camera which doesn't have IR filter in it, can detect it and allow you to see in the dark. All you need is some IR led's , a battery and a camera (your smartphone camera would work fine too). An ir led looks very much similar to a regular led with only difference that it doesn't emit any visible light:

(IR LED's)

Instead of buying these LED's, I thought to test it with the IR led built in a remote of a T.V. And voila it worked!



                                                                 





   Lights Out   ==>







                                                                             
                                                                                                                               

  
After searching on the web I found a lot of vendors selling IR torch, even UV's as well but It's fun to play with IR led's if you haven't done it yet. And also if  you would like to use it on your electronics project like for example: Night vision via Raspberry pi or Arduino, then you experience the usefulness of these simple yet wonderful devices.

Here is an example of a photo taken in the dark (using Raspberry Pi no-ir camera and bunch of ir led's):


So, now you should have got enough idea to use ir led's on your own electronics projects!



Thursday, August 7, 2014

ELECTRONIC SENSORS AND TRANSDUCERS

Sensors and transducers, as the name says, senses the external physical environment by varying some of their properties in accordance with their current physical environment. A lot of the sensors are based on few electrical properties like change in resistance (as in photo-resister), capacitance, closing of circuits as in case of photo-diode or something that depends on the phenomena of electromagnetic induction (as in a microphone).

Various types of sensors:

  • Light sensor: photo-diode and photo-resisters are excellent way to sense light level. A higher intensity of light increases/decreases the resistance and current (in case of photo- resister and diode respectively). Thus measuring the change, we are able to sense the light intensity.            
  • Temperature sensor: Again the easiest type of devices under this category are thermistor and thermocouple. Thermistor is just the temperature varying resister and thermocouple involve a metal junction of two dissimilar metals (a voltage is produced when temperature of any part is changed).
  • Position sensor: Simplest type in this category involves potentiometers and (rotary) encoders. Potentiometer is just a resistor with 3 leads (one of the lead is a wiper that is responsible for variable resistance, since its position determines the amount of resistance). Rotary encoders work very differently, for more info see: http://en.wikipedia.org/wiki/Rotary_encoder     
  • Sound sensor and transducers: Microphone being the simplest type of sound sensor, which converts sound signals to weak (that's why we need amplifiers) electrical signals. Piezoelectric crystal converts the pressure into electrical signals (they offer much more fun).
This is not by any means a complete list of all sensors but if you try one or two of them, you get the general idea of -- what sensors are and how they can be used in your own electronics projects. There are whole range of sensors (and actuators), some of them using mechanics like : MEMS (micro electro mechanical devices), motion sensors, gps, ir distance sensor and so on.
You can buy these sensors from vendors like adafruit.com. They usually embed a tiny microcontroller chip on the sensor board, so that you don't have to do all those conversions (i.e from current/resistance to light intensity). You just only need to know -- how to communicate with these sensors (via MISO and MOSI sort of protocols). And if you don't then there is another option as well--you can buy these sensors only (without microcontroller chip on board) from vendors like analog.com


You can learn more about these sensors and the one described above by following this link:


After reading this post, I hope you'd have got a very good idea of what a sensor is and where it can be used.