Subscribe
Showing posts with label Meters. Show all posts
Showing posts with label Meters. Show all posts

Electronic Torricelli Barometer

Posted by Circuit Labs on Monday, November 24, 2008

Although it does not have the same charm as real mercury barometers with long glass tubes on pieces of carved and polished wood, the Torricelli barometer discussed here is a functional equivalent and electronic replica of the Torricelli barometer.

Actually, rather than displaying the atmospheric pressure on the traditional digital displays, we preferred to reproduce the general look of this respected predecessor of electronic barometers. The mercury tube is, of course, replaced by a simple LED scale which, if not as beautiful, is still less toxic for the environment in case of breakage. As indicated on the drawing, the pressuresensor utilized is a Motorola MPX2200AP.

Click to enlarge...

This circuit is adapted for measuring absolute pressure and has a range well suited for atmospheric pressure. Without entering too deep into the technical details, such sensors deliver an output of voltage proportional not only to the measured pressure but, unfortunately, to their supply voltage as well. Hence they must be powered from a stable voltage which is ensured here by the use of IC1.

Since the output of the MPX2200 is differential and at a very low level, we had to resort to the use of four operational amplifiers IC4.A to IC4.D, contained in one LM324, to obtain levels that can be processed easily. As long as potentiometer P1 is adjusted correctly, this group of operational amplifiers delivers a voltage of 1 volt per atmospheric pressure of 1,000 hPa to the LM3914. Since the atmospheric pressure will be within the range 950 to 1040 hPa at sea level, we need to make an expanded-scale voltmeter with this LM3914 in order to better exploit the 10 LEDs that it can control. That is the role of resistors R7 and R8 which artificially raise the minimum voltage value the chip is capable of measuring.

Consequently, we can ‘calibrate’ our LED scale with one LED per 10 hPa and thus benefit from a measurement range which extends from 950 hPa to 1040 hPa. In principle, you should not have a need to go beyond that in either direction. The circuit may be conveniently powered
from a 9-volt battery but only if used very occasionally. Since this is usually not the case for a barometer, we advise you to use a mains adaptor instead supplying approximately 9 volts.

Calibration basically entails adjusting the potentiometer P1 to light the LED corresponding to the atmospheric pressure of your location at the time. Compare with an existing barometer or, even better, telephone the closest weather station. They will be happy to give you the information.

* After Evangelista Torricelli, 1608-1647, Italian physician who proved the existence of atmospheric pressure and invented the mercury barometer.

Author: Christian Tavernier

(Elektor Electronics Magazine – 2006)



* Download this article.
--> Read more...

Hyper-Simple Battery Capacity Tester

Posted by Circuit Labs on Friday, November 21, 2008

The circuit described here is eminently suitable to indicate the capacity of a battery. We use a cheap electric clock for this. By connecting a resistor across the battery terminals, the battery is discharged somewhat faster than with the clock alone. If we pick a resistor with a value of 5.6 Ω, the discharge current amounts to 1.2 V / 5.6 Ω = 214 mA. If we multiply this with the number of hours that the clock ran after the battery was connected up then we know (approximately) the capacity of the battery.060153uk

When discharging a NiCd battery we need to make sure we remove the battery the moment the clock stops running. NiCd batteries do not tolerate too deep a discharge very well. We therefore recommend keeping an eye on the voltage in one way or another, for example by connecting a multimeter in parallel with the resistor.

Author: J. Van der Sterre

(Elektor Electronics Magazine  2006)



* Download this article.
--> Read more...

Measuring Battery Charge

Posted by Circuit Labs on Wednesday, November 19, 2008

It is not generally known that it is possible to ascertain the extent of charge of a battery with a standard digital voltmeter. It does not apply to all kinds of battery, but it does to, for instance, Lithium-ion batteries. Although there are quite a few different types of Li-ion batteries, it is possible to generalize to a degree. The graphs in the figure (from Panasonic) show clearly that the terminal voltage of the cell drops in direct relation to the diminution of the charge. This means that a simple voltage measurement suffices to determine the state of charge of the battery. Note that the figure shows three graphs each relating to a given load. This means that the output voltage must be measured under load conditions to obtain a satisfactory result. Moreover, the value of the load must be known. Also, the battery must be under load for at least a minute.

064017

There are two ways to proceed. If the load is known and constant as, for instance, in a pocket torch, measure the voltage and read the corresponding charge from the graph. If there is no load, or it is not known or variable, apply a temporary load in the form of a resistor. If the value of this is 20 Ω, for instance, use the upper graph (0.2 C, 180 mA). If a single resistor is used, this will get quite hot, because it has to dissipate 0.66 W, whereas most standard resistors are only rated at 0.25 W to 0.33 W. It is therefore wise to use a number of resistors in parallel, for example, five of 100 Ω each.

To obtain more exact measurements, first draw the graph of your particular battery. Charge it fully and then connect the load, for instance, the five 100 Ω resistors. Measure the output voltage every five minutes and enter the results on an Excel sheet to give a nice curve. If the 5-minute intervals are not exact, enter the real times and choose ‘spread’ as curve. Only this type of sheet can cope with irregular measurement intervals. Moreover, Excel is able to transpose the time on the horizontal (x-) axis into charge. Calculate the current during an interval by dividing the mean voltage (start voltage plus final voltage divided by 2) by the resistance. The charge is the current thus computed times the elapsed time.

The graph shown applies to a battery of 900 mAh.

A current of 0.2 C is then 0.2 x 900 = 180 mA; 1 C is 900 mA; 2 C is 2 x 900 = 1.8 A.

The proposed method is not suitable for NiCd or NiMH batteries, but it is for lead-acid batteries, provided that the temperature is constant. Bear in mind that an old lead-acid battery has a slightly different graph from a new one.

 (Elektor Electronics Magazine – 07-08/2006)



Download this article (direct link #064017-uk.pdf)

--> Read more...

Increased Range for DVM

Posted by Circuit Labs on Thursday, November 13, 2008

040037ukVoltmeter modules are readily available, both as LCD- and LED-versions. A disadvantage of these modules is the standard measuring range of 200 mV DC. So, with such a module you can only measure DC voltages up to 0.2 volts. Fortunately it is not difficult to increase the measuring range to higher voltages. In addition, it is also possible to measure current with these modules.image

In order to measure higher voltages we have to reduce the voltage with a potential divider. For this purpose we add R1 and R2. R1 is connected in series with the + input of the module and R2 is connected in parallel with the inputs. In the table we can see the correct ratios of R1 and R2. These modules typically have an input impedance of more than 10 MΩ. With the attenuator in front of it the input impedance reduces to 1 MΩ, still high enough for most measurements.

To measure current with a voltmeter we first hav e to convert the current into an equivalent voltage. Resistor values for doing this are also shown in the table.

image

 

In contrast with the input impedance of a voltmeter, the input impedance of a current meter needs to be as low as possible. The input impedance of this circuit depends on the range and is practically identical to the value of R2. As a consequence, keep in mind that there is a voltage drop across the meter of up to 0.2 V. When making measurements you have to take into account that lethal voltages can be present in the circuit, particularly with the 200-V and 2000-V ranges. In addition, the specifications of your ordinary, common or garden resistor do not permit these kinds of voltages. When measuring these high voltages suitable resistors need to be used.

 (Elektor Electronics Magazine – 07/2006)



Download this article (#040037uk.pdf)

--> Read more...

LED Thermometer

Posted by Circuit Labs on

Author: Uwe Reiser030190uk

The circuit described here is the digital and display section of a thermometer; the analogue circuitry and signal conditioning required to use an LM35 temperature sensor are described elsewhere in this issue (‘LM35 to ADC’). The analogue-to-digital converter used here is hidden inside a PIC16F873 microcontroller behind the RA5 port pin. It has a resolution of 10 bits (1024 steps), allowing a temperature range of 128 °C to be divided into steps of exactly 128 °C / 1024 = 0.125 °C. Displaying a range of 1024 steps of one eighth of a degree, or even just 128 steps of one degree, on a row of LEDs is hardly practical. A better plan is to specify a desired temperature value and allow the microcontroller to indicate deviations from that temperature over a small range; effectively moving a magnifying glass over the temperature scale.

Figure 1

The BCD-encoded switches are used to set the desired centre temperature. When the measured temperature is equal to this value the centre two-color LED D6 will light green. If the temperature deviates from this value, the LED will light yellow. LEDs D1 to D5 indicate positive deviations and LEDs D7 to D11 indicate negative deviations in steps of one degree. If the overall measurement range is from –24 °C to +84 °C we can therefore set the centre point between –19 °C and +79 °C. Half-degree steps are indicated by two neighbouring LEDs lighting simultaneously. For example, between 19.75 °C and 20.25 °C just one LED will light; between 20.25 °C and 20.75 °C the next LED will also light; and between 20.75 °C and 21.25 °C just the second LED will light. If just the top or bottom LED is lit, it means that the temperature is outside the displayable range. The BCD encoded switches (S1 for the tens digit and S2 for the units) used to set the centre value have the advantage that there is no need for mental acrobatics converting between decimal and hexadecimal when setting or checking the value. Since negative numbers cannot be set using the switches, the value is expressed as the offset from the bottom of the temperature range. The software updates the displayed value every second if JP2 is fitted; if, however, port RA4 is high (jumper not fitted) a 900 ms delay loop in the software is bypassed and the display is updated at full speed.

 

Figure 2
Figure 2

A printed circuit board layout is available for the digital section of the thermometer (see Figure 2). The two BCD switches are in 6-pin DIL packages and can easily be fitted in sockets so that they can protrude through the lid of an enclosure. If the microcontroller is also be fitted in a socket it may become necessary to stack two or more sockets for the switches. The LEDs are situated at the edge of the board so that their leads can be bent through 90 ° if desired. When the board is populated (not forgetting the wire links near the resonator!) and the soldering has been checked on both boards, JP2 can be fitted and the circuit can be tested. During initialisation the microcontroller will run a power-on self test: the row of LEDs is lit in sequence from bottom to top. Each of the 23 possible display patters is shown for 100 ms. Finally the two-color LED flashes yellow twice, and the unit starts to display the temperature. Now switch off the power supply, remove JP1 on the digital board and set the BCD switches to the zero position. On the analogue board connect the LM35’s ground to the amplifier input (JP1 in position 0). Apply power and adjust P1 until LED D11 lights; this corresponds to the lower limit of the temperature measurement range.

COMPONENTS LIST

Resistors
R1 = 10kΩ
R2-R13 = 220Ω

Semiconductors
D1-D5,D7-D11 = LED, 5mm
D6 = TwinLED (DuoLED) green/yellow
IC1 = PIC16F873-20/SP, programmed, order code 030190-41

Capacitors
C1 = 100nF
C2 = 10μF 16V radial

Miscellaneous
X1 = 8MHz ceramic resonator (3 pins)
S1,S2 = BCD complement switch (APEM PT65-702)

 

 (Elektor Electronics Magazine – 07-08/2006)


Download this article (#030190-1uk.pdf)
  030190-11.zip

--> Read more...

Subscribe to: Posts (Atom)