Why are voltage dividers useful?Electronic circuits are often built up of smaller subsystems that carry out a particular function. A complex circuit may be made up of an INPUT stage, a PROCESSING stage, and an OUTPUT stage, each of these communicate by sending signals as changing voltages. A sensor subsystem can use a voltage divider to create an appropriate voltage signal for processing (in our case, by the PICAXE-08 chip). What are voltage dividers? Most High School students learn about series and parallel circuits. A common use of resistors in series is to divide voltages into different values from a fixed source of voltage. This means resistors connected in series are an ideal means for a sensor to create an appropriate output voltage signal. If two resistors are used, the voltage applied across the resistors is divided into two parts that depend on the resistor values used. Lets look at an example circuit:
Our voltage divider above has two resistors, across which a voltage is applied, with the output being taken from the junction of the resistors. The voltage out to the load is less than the input voltage.
The output voltage depends on the ratio of R1 to R2. If R2 is small compared to R1 then the output voltage is small. As the value of R2 increases, so does the output voltage.
BEFORE WE START - NEED HELP SETTING UP YOUR PICAXE?
Signals from switches / touch sensorsWhat happens if one of the resistors in the voltage divider is replaced by a switch? The switch can be used to provide a voltage signal to our PICAXE which can trigger it into action. The circuit can be built in either of two ways:
In circuits which process logic signals, a LOW voltage is called 'logic 0' or just '0', while a HIGH voltage is called 'logic1' or '1'. These voltage divider circuits are perfect for providing input signals for logic systems. We used this system in The Bike Indicator Science Fair project. Apart from normal toggle switches or push button switches, another variety of push button switch is called a miniature tactile switch. You could experiment with magnetically-operated reed switches, tilt switches and pressure pads, all useful in alarm applications. Mighty Mouse could use this system to provide a sense of touch via wire whiskers acting as contact switches. Andrew Hornblow suggests using a 5 Mohm resistor as the pull up resistor and replace the switch with direct human interaction via skin resistance. If you use the ADC pin 1 you might be able to fashion a Lie Detector circuit!
A light sensor as part of a voltage divider.
What happens if one of the resistors in the voltage divider is replaced by an LDR? Again, like the switches above, it can be used to provide a voltage signal to our PICAXE which can trigger it into action. The circuit can be built in either of two ways:
Sometimes there is too much light creating a "false" signal. An alternative is to use a Infra-red Phototransistor. We used this system in our Science Fair Laser Wars! combat game. The transistor is sensitive to infra-red so can be more useful in areas that are brightly lit. TV remote controls use IR LED's to trigger a phototransistor in the TV. "Normal" daylight does not cause a "false" alarm since our sensor reacts to "invisible" IR light. Mighty Mouse uses LDR's to either run away from light or move toward light. You can even get him/her to follow a line drawn on the floor or desk!
Temperature sensorsA temperature-sensitive resistor is called a thermistor. There are several different types.
It is possible to manufacture positive temperature coefficient, or ptc, thermistors. These are made of different materials and show an increase in resistance with temperature.
Lots of different types of thermistor
are manufactured, each has its own characteristic
pattern of resistance change with temperature.
Suppliers catalogues usually give the resistance at 25°C, which was 100 kOhm in the case of the Black Box! data logger. Usually, catalogues also specify a 'Beta' or 'B-value'. When these two numbers are specified, it is possible to calculate an approximate value for the resistance of the thermistor at any particular temperature from the equation: Where:
Using a spreadsheet it is possible to to generate characteristic curves for any thermistor by calculating resistance values for a range of temperatures. You can apply this equation to make sure that the voltage dividers you build will always be as sensitive as possible within an useful range of temperatures. We used this system in our Black Box! data logger.
Sound sensorsAnother name for a sound sensor is a microphone. The diagram shows a cermet microphone:
To make them work properly, cermet microphones need a voltage, usually around 1.5 V across them. A SUITABLE CIRCUIT FOR OUTPUT TO A PICAXE-08 WILL BE UPLOADED SOON. We used a sound sensor in The Professors electronic ear - a classroom noise level alarm; a must for all teachers!
Resistance ChartResistors are too small to print resistance values on. Instead, a standard colour code is used.
The resistor above has four bands; two represent the first and second digit of the resistor value, the next band is the multiplier and the last band represents the tolerance. Some resistors have five bands.
Capacitor TableCapacitors may be marked to
show their capacitance value, voltage
rating and polarity, however, the value
and voltage rating identification can
be difficult because of the variety of
systems in use. Units Values: Larger capacitors are marked in microfarads and indicate this by the abbreviations 'µF', 'µ' or even the obsolete 'MFD'. Smaller capacitors are marked in nanofarads or picofarads and may abbreviate the unit to 'n' or 'p'. If the value contains a decimal point the 'µ','n' or 'p' is sometimes put in place of the decimal point. Therefore a 4.7pF capacitor can be marked as 4p7. If no unit is given, a judgement, based on the capacitor's physical size, must be made to determine which unit is intended. For example, a small ceramic capacitor marked '4.7' is probably 4.7 pF, whereas a large plastic capacitor marked '4.7' is more likely to be 4.7µF. If the value is in nF then this is always written. Another marking system uses 3 numeric digits to indicate the value in picofarads. The first two digits represent the first two digits of the value and the third digit is the multiplier or number of zeroes. For example, a capacitor marked 104, such as those used for noise suppressionon Mighty Mouse, would be read as 1, 0, 0000. This would be formatted as 100,000 pF and would commonly be known as 100nF or 0.1µF. Likewise a capacitor marked 472 would be 4700pF, also known as 4.7 nF. Some common values and their possible markings:
(*) Not normally expressed in this form. Voltage Rating: Voltage rating is usually marked and is often identified by the symbol 'V'. Most electrolytic capacitors clearly indicate their voltage rating. If the capacitance and voltage rating are both marked, a unit is also marked for at least one of the quantities so that the two cannot be confused. Polarity sensitive capacitors, such as electrolytics, are usually marked with a '+' or '-' symbol adjacent to one lead to indicate polarity.
TRY THESE:-
NEW!RIGEL - Real-world interactive games and electronics link. A SMARTboard capable interactive real-world game interface, datalogger and proces control system. Suitable for teaching, research and industrial applications.
|
|
|