Sharp GP2DXX Infrared Detectors

Over the years, Sharp has introduced a range of precision infra-red detectors. These detectors boast a small package, very little current consumption,and a variety of output options.Recently found one good web article offers an overview of the various types, information on interfacing them, and hints and tips.


With the introduction of the GP2DXX line of Sharp detectors, a new approach was developed that not only gives object detection at a longer range than the previous method, but also offers range information, in the case of the GP2D12, GP2D120, and GP2DY0A ('0A') detectors. These new rangers offer much better immunity to ambient lighting conditions because of the new method of ranging.

These new rangers all use triangulation and a small linear CCD array to compute the distance and/or presence of objects in the field of view. The basic idea is this: a pulse of IR light is emitted by the emitter. This light travels out in the field of view and either hits an object or just keeps on going. In the case of no object, the light is never reflected and the reading shows no object. If the light reflects off an object, it returns to the detector and creates a triangle between the point of reflection, the emitter, and the detector.

The angles in this triangle vary based on the distance to the object. The receiver portion of these new detectors is actually a precision lens that transmits the reflected light onto various portions of the enclosed linear CCD array based on the angle of the triangle described above. The CCD array can then determine what angle the reflected light came back at and therefore, it can calculate the distance to the object.

Read more from the source by clicking HERE

A Practical Guide To Basic Electronics

Electronics is a science, and a very accessible science at that. With other areas of scientific study, expensive equipment is generally required to perform any non-trivial experiments. Not so with electronics ! Many advanced concepts may be explored using electronic components and equipments totaling under a few hundred Rupees.This is good, because hands-on experimentation is vital to gaining scientific knowledge about any subject.


In order for someone to teach themselves a science such as electronics, they must engage in hands-on experimentation.Knowledge reaped from books alone has limited use, especially in scientific endeavors.Here I am giving a simple guide to experimentation along with the text on theory, so that the individual learning on their own has a resource to guide their experimental adventures.You can read and/or download the "Practical Guide To Basic Electronics" tutorial by clicking HERE 

Semiconductor Combustible Gas Sensor MQ-2

How to design and fabricate a reliable Combustible Gas Detector Alarm using easy to use and inexpensive components?One good answer to the question is MQ-2.Yes,we can build such a useful circuit (suitable for detecting of LPG, i-butane, propane, methane ,alcohol, Hydrogen,smoke) using the MQ-2 Semiconductor Gas Sensor!
MQ-2 is a Semiconductor Sensor for Combustible Gas.MQ-2 gas sensor has high sensitity to LPG, Propane and Hydrogen, also could be used to Methane and other combustible steam, it is with low cost and suitable for different application.Sensitive material of MQ-2 gas sensor is SnO2, which with lower conductivity in clean air. When the target combustible gas exist, The sensor’s conductivity is more higher along with the gas concentration rising.Just use simple electrocircuit, Convert change of conductivity to correspond output signal of gas concentration.

Features of MQ-2

*Good sensitivity to Combustible gas in wide range

* High sensitivity to LPG, Propane and Hydrogen

* Long life and low cost

Application of MQ-2

* Domestic gas leakage detector

* Industrial Combustible gas detector

* Portable gas detector


Basic test circuit of the sensor is shown here.The sensor need to be put 2 voltage,heater voltage(VH) and test voltage(VC).VH used to supply certified working temperature to the sensor, while VC used to detect voltage (VRL) on load resistance (RL)whom is in series with sensor. The sensor has light polarity, Vc need DC power. VC and VH could use same power circuit with precondition to assure performance of sensor. In order to make the sensor with better performance, suitable RL value is needed: Power of Sensitivity body(Ps): Ps=Vc2×Rs/(Rs+RL)2.


MQ-2 sensor is composed by micro AL2O3 ceramic tube, Tin Dioxide (SnO2) sensitive layer, measuring electrode and heater are fixed into a crust made by plastic and stainless steel net. The heater provides necessary work conditions for work of sensitive components. The enveloped MQ-2 have 6 pin, 4 of them are used to fetch signals, and other 2 are used for providing heating current.


For more details,click HERE

Emergency Laptop Charger

Emergency Laptop Charger means a true-portable circuit to charge Laptop computer from a commonly available power supply source.Described here is a simple circuit to charge laptop computer from any 12V car battery.This circuit can be connected to the cigar-lighter socket of the car to produce clean and stable DC supply of near 19V/5A,from the 12V battery supply.Enough and more for many laptops!


The circuit,from Elektor Electronics (UK), is built around the ubiquitous IC UC 3843 (IC1),from Fairchild (http://www.fairchildsemi.com/). The UC3843 is a fixed frequency current-mode PWM controller,specially designed for Off-Line and DC to DC converter applications with minimum external components. This IC features a trimmed oscillator for precise duty cycle control, a temperature compensated reference, high gain error amplifier, current sensing comparator and a high current totempole output for driving a Power MOSFET.

Features of UC3843
• Low Start up Current
• Maximum Duty Clamp
• UVLO With Hysteresis
• Operating Frequency up to 500KHz

In this circuit IRL2505 (T1) power mosfet is used as the inductor driver.IRL 2505,the Fifth Generation HEXFET from International Rectifier (http://www.irf.com/)  utilize advanced processing techniques to achieve extremely low on-resistance per silicon area.

Features of IRL2505
  • Advanced Process Technology
  • Ultra Low On-Resistance
  • Dynamic dv/dt Rating
  • 175°C Operating Temperature
  • Fast Switching
  • Fully Avalanche Rated
  • Logic-Level Gate Drive
Another major component is the 56uH power inductor.A preset-pot (P1) is added here to "fine tune" the output volatge level.After construction on a suitable piece of veroboard,enclose the whole circuit in an attractive and convenient plastic/metal box of your choice.

Computer/Microcontroller Programming Primer-Part 1

This article,prepared with inputs from some web articles, covers basic concepts of computer/microcontroller programming, going under the presumption that the reader is a complete novice.

A computer program is a sequence of step-by-step instructions for the computer to follow. The computer will do exactly what you tell it to do, no more no less. The computer only knows what's in the program, not what you intended. Thus the origin of the phrase, "Garbage in, garbage out".

The set of valid instructions comes from the particular programming language used. There are many languages, including C, C++, Java, Ada, Lisp, Fortran, Basic, Pascal, Perl, and a thousand others.The Arduino  uses a simplified variation of the C programming language.

For any programming language, the instructions must be entered in a specific syntax in order for the computer to interpret them properly. Typically, the interpretation is a two step process. A compiler takes the language specific text you enter for the program and converts it into a machine readable form that is downloaded into the processor. When the program executes, the processor executes the machine code line by line.
Fundamentals of Programming Languages

All sequential programming languages have four categories of instructions. First are operation commands that evaluate an expression, perform arithmetic, toggle states of I/O lines, and many other operations. Second are jump commands that cause the program to jump immediately toanother part of the program that is tagged with a label. Jumps are one way to break out of the normal line-by-line processing mode. For example, if you want a program to repeat over and over without stopping, have the last line of the program be a jump command that takes the program back to its first line. Third are branch commands that evaluate a condition and jump if the condition is true. For example, you might want to jump only if a number is greater than zero.Or, you might want to jump only if the state of an i/o line is low. Fourth are loop commands that repeat a section of code a specified number of times. For example, with a loop you can have a light flash on and off exactly six times.Most programming languages contain a relatively small number of commands. The complexity of computers comes from combining and repeating the instructions several million times a second.

Here's a generic program.

1. Do this

2. Do that

3. Jump to instruction 6

4. Do the other thing

5. All done, sleep

6. If switch closed, do that thing you do

7. Jump to instruction 4

The computer will execute this line by line. The art of programming is simply a matter of translating your intent into a sequence of instructions that match. Here is an example of a for loop command followed by a branch command that uses an IF statement.

for (i=0;i<6,i++) {

instructions

}

if (j > 4) goto label

instructions

The commands inside the loop will be repeated six times. Following this, if the value of the variable j is greater than 4, the program will skip to the instruction tagged with the specified label, and if not, the line following the if statement will be executed. In addition to the basic commands, languages have the ability to call functions which are independent sections of code that perform a specific task. Functions are a way of calling a section of code from a number of different places in the program and then returning from that section to the line that follows the calling line.

Here's one example

apples();

instructions

apples();

more instructions

void apples() {

instructions

}

The function apples is everything between the set of braces that follows “apples()”. When the function completes, the program jumps back to the line following the line that called the function.

Digital Numbers

When working with a microcontroller that interacts with the real world, you have to dig a little below the surface to understand numbering systems and data sizes. A binary (base 2) variable has two states, off and on, or 0 and 1, or low and high. At their core, all computers work in binary since their internal transistors can only be off or on and nothing between. Numbers are built up from many digits of binary numbers, in much the same way that in the base 10 system we create numbers greater than 9 by using multiple digits. A bit is one binary digit that can take on values of either 0 or 1. A byte is a number comprised of 8 bits, or 8 binary digits. By convention, the bits that make up a byte are labeled right to left with bit 0 being the rightmost.

In a computer, variables are used to store numbers. A bit variable can take on two values, 0 and 1, and is typically used as a true/false flag in a program. A byte variable can take on integer values 0-255 decimal while a 16-bit word variable can take on integer values 0-65,535. Variables can be either signed (positive and negative values) or unsigned (positive only).

(To be continued)

Hall Effect Sensor IC- MH183

Hall Sensor IC is not a familiar component to many electronic hobbyists.The Hall-Effect principle is named for physicist Edwin Hall. In 1879 he discovered that when a conductor or semiconductor with current flowing in one direction was introduced perpendicular to a magnetic field a voltage could be measured at right angles to the current path.

Now Hall Sensor ICs are widely available at very reasonable rates and it is easy to design interesting circuits using such tiny chips.Here is the data of MH183-one popular CMOS Unipolar Hall Switch from MST.


MH 183 is a unipolar Hall effect sensor IC. It incorporates advanced chopper stabilization technology to provide accurate and stable magnetic switch points. The design, specifications and performance have been optimized for applications of solid state switches. The output transistor will be switched on in the presence of a sufficiently strong South pole magnetic field facing the marked side of the package. Similarly, the output will be switched off in the presence of a weaker South field and remain off with “0” field.

Features and Benefits
  • CMOS Hall IC Technology
  • Solid-State Reliability
  • Chopper stabilized amplifier stage
  • Unipolar, output switches with absolute value of South pole from magnet
  • Operation down to 2.5V
  • High Sensitivity for direct reed switch replacement applications
  • Small Size in TO 92S or Sot 23 package.
  • Custom sensitivity / Temperature selection are available.

Applications
  • Solid state switch
  • Limit switch
  • Current limit
  • Interrupter
  • Current sensing
  • Magnet proximity sensor for reed switch replacement in low duty cycle applications
Absolute Maximum Ratings
  • Supply Voltage (Operating), VDD 28V
  • Supply Voltage (Reverse) VDD -0.3V
  • Supply Current (Fault), IDD 50mA
  • Output Voltage, VOUT 24V
  • Output reverse Voltage, VOUT -0.3V
  • Output Current (Fault), IOUT 50mA
Warning: Do not apply reverse voltage to VDD and VOUT Pin, It may be caused for Malfunction or damaged device.


For more about Hall Sensors CLICK HERE