If you enjoy my work, please consider a small donation to help my future efforts...

Click here to lend your support to: ROBOTICS AND AUTOMATION and make a donation at www.pledgie.com !

Saturday, January 2, 2010

7.3--- SENSORS Part 4 (DS18S20)

i dont know anything about DS18S20 (digital) sensor. neither have i used one nor i have seen anyone using it. But i have heard it is used in applications include thermostatic controls, industrial systems, consumer products, thermometers, or any thermally sensitive system.

The DS18S20 Digital Thermometer provides 9–bit centigrade temperature measurements and has an alarm function with nonvolatile user-programmable upper and lower trigger points. The DS18S20 communicates over a 1-wire bus that by definition requires only one data line (and ground) for communication with a central microprocessor/microcontroller. It has an operating temperature range of –55°C to +125°C and is accurate to ±0.5°C over the range of –10°C to +85°C. In addition, the DS18S20 can derive power directly from the data line (“parasite power”), eliminating the need for an external power supply.

Each DS18S20 has a unique 64-bit serial code, which allows multiple DS18S20s to function on the same 1–wire bus; thus, it is simple to use one microprocessor to control many DS18S20s distributed over a large area. Applications that can benefit from this feature include HVAC environmental controls, temperature monitoring systems inside buildings, equipment or machinery, and process monitoring and control systems.


One DS18S20 costs around Rs 200.

Here is how it looks like


7.3--- SENSORS Part 3 (LM35)

Coming to LM35… The LM35 series are precision integrated-circuit temperature sensors, whose output voltage is linearly proportional to the Celsius (Centigrade) temperature. The LM35 thus has an advantage over linear temperature sensors calibrated in ° Kelvin, as the user is not required to subtract a large constant voltage from its output to obtain convenient Centigrade scaling. The LM35 does not require any external calibration or trimming to provide typical accuracies of ±1/4 °C at room temperature and ±3/4°C over a full -55 to +150°C temperature range. Low cost is assured by trimming and calibration at the wafer level. The LM35's low output impedance, linear output, and precise inherent calibration make interfacing to readout or control circuitry especially easy. It can be used with single power supplies, or with plus and minus supplies. As it draws only 60 mA from its supply, it has very low self-heating, less than 0.1°C in still air.



A picture of LM35 and its pin diagram are given below

click on the images for a better view.





Friday, January 1, 2010

7.2--- SENSORS Part 2 (Filtered photodiodes and TSOP 1738 - IR pair)

Filtered photodiodes work as normal photodiodes. But we have got some problems as photodiodes give outputs even when sunlight falls on them. Thus to overcome this problem we use filtered photodiodes. Most of them have daylight blocking filter matched with 870 nm to 890 nm emitters.

A picture of the filtered photodiode and an IR led is given below.
The black one is the photodiode and the transparent one is the IR led.

just note the legs of any LED. One leg is always a little longer than the other. The longer leg denoted the positive terminal and the shorter the negative.




Now let’s go into TSOP 1738 and IR pair. TSOP 17XX is a product of Vishay Semiconductors. The TSOP17XX – series are miniaturized receivers for infrared remote control systems. PIN diode and preamplifier are assembled on lead frame, the epoxy package is designed as IR filter. The demodulated output signal can directly be decoded by a microcontroller. TSOP17XX is the standard IR remote control receiver series, supporting all major transmission codes. XX represents the frequency that it will detect i.e. for example if we want use a TSOP1738 detector we should use 38 KHz modulated IR. We can use a 555 timer to generate 38 KHz square wave.


This is how a TSOP 1738 looks like :)





Here is the circuit diagram of how to connect an IR and a TSOP1738 in 'one' circuit. It is better to use readymade modules from the market as they are already tested or else it takes a lot of time in adjusting the circuit. But I believe it is really necessary to make the circuit at least once as then only we can make it if it’s not available in the market or not allowed in competitions.

CLICK ON THE IMAGE FOR A BETTER VIEW.






We can directly connect the TSOP directly in one circuit and IR led in another which is very much simpler than the given circuit. For testing we can point a working TV remote control at the TSOP and see its output change. I even used lappy remote control for testing purposes as TV remote is not available in my hostel room :) Anyways for testing if an IR is working or not we can check it out using any camera, be it the lappy, cell phone or any digital camera. If we look at a working IR led through camera we can see a reddish-whitish violet colour bulb glowing.