Menu English Ukrainian russian Home

Free technical library for hobbyists and professionals Free technical library


ENCYCLOPEDIA OF RADIO ELECTRONICS AND ELECTRICAL ENGINEERING
Free library / Schemes of radio-electronic and electrical devices

DC voltmeter with automatic range selection. Encyclopedia of radio electronics and electrical engineering

Free technical library

Encyclopedia of radio electronics and electrical engineering / Measuring technology

Comments on the article Comments on the article

When developing this device, the task was set - to make a digital DC voltmeter as simple as possible with an automatic selection of limits, providing voltage measurement up to 999 V and consuming a small current. The scheme of the developed device is shown in fig. 1. Its basis is the DD1 microcontroller, which works according to the program, the codes of which are shown in the table.

DC voltmeter with automatic range selection
Fig. 1

The measured voltage is fed to the input of the ADC built into the microcontroller (pin 3) through resistive voltage dividers and a C1R5 low-pass filter that suppresses high-frequency noise. As a reference voltage for the ADC, a 2,56 V voltage source built into the microcontroller was used. At an input voltage of less than 10 V, the PBI and PB2 port lines (pins 6 and 7) of the DD1 microcontroller are in a high resistance state. In this case, the division ratio of the input voltage divider of the ADC is 4 (the upper arm of the divider is R3 and R6, the lower arm is R2) and the input voltage is measured with an accuracy of hundredths of a volt.

If the input voltage exceeds 10 V, using the PB1 port line, the DD1 microcontroller will connect the resistor R2 in parallel with the resistor R9, increasing the input voltage division factor to 40. In this case, the upper measurement limit will be 999 V. When the voltage at this limit becomes less than 10 V, the lines PB1 and PB2 ports (pins 6 and 7) of the DD1 microcontroller will switch to a high resistance state and the division factor of the input divider will again decrease to 4. If the input voltage reaches 100 V or more, using the PB2 port line, the DD1 microcontroller will additionally connect a resistor in parallel with the resistor R2 R8, In this case, the input voltage division ratio will increase to 400, and the upper measurement limit will be 999 V. When the input voltage exceeds 999 V (overload), "- -" characters are displayed in the first and second (rightmost) digits.

The device also provides for measuring the voltage of the G1 battery with an accuracy of hundredths of a volt. To do this, a voltage proportional to the battery voltage from the resistive divider R1R4 is fed to the PB4 input, which is configured by software as another input of the built-in ADC. All information is displayed on a ten-digit LCD indicator HG1. On the left side is the battery voltage, and on the right side is the measured voltage.

Separation of integers and tenths of a volt is carried out by an empty familiarity. Due to the limited number of input-output ports of the microcontroller, data is transmitted over one PB5 line (pin 5) with pulse-time coding (transmission time 1 is approximately ten times greater than 0, and the pause between them is equal to the duration of 1). With a short signal duration, the capacitor C3 does not have time to charge, and during the pause it is completely discharged, therefore, with a short pulse duration during its decline, there is a low level on the DAT data line (pin 4 of the HG1 indicator) and the LCD controller perceives this as 0. With a large pulse duration, by the time the pulse falls, capacitor C3 has time to charge to a high level and the LCD controller registers this as 1.

To power the device, a battery from a cell phone is suitable. At a voltage of 4,2 V, the current consumption does not exceed 5 mA. The HL1 LED is not used as a light indicator, but as a voltage regulator for the LCD supply. The voltmeter remains operational when the supply voltage drops to 3 V.

Most of the elements, except for the battery G1, the power switch SA1, the indicator HG1 and the resistor R3, are mounted on a printed circuit board made of one-sided foil fiberglass, the drawing of which is shown in fig. 2.

DC voltmeter with automatic range selection DC voltmeter with automatic range selection
Fig. 2

The board is installed in a plastic case of a suitable size. Resistors R1-4, MLT, C2-23 are used, the oxide capacitor is imported, capacitors C1, C3 are K10-17. LCD indicator - KO-4V2 (with controller W-1611-04) or NT-1611 manufactured by Telesystems. The LED, power switch, and cell phone battery can be any type.

To establish the device, you will need an exemplary voltmeter. First, it is connected to the battery and with a selection of resistor R4, the readings on the left side of the indicator are equalized with the readings of an exemplary voltmeter. Then, the "+" input of the device is connected to the positive terminal of the capacitor C2 and, with a selection of resistor R9, the readings on the right side of the LCD indicator are equalized with the readings of a reference voltmeter. Next, this voltmeter is connected to the input of the device, a voltage of about 30 V is applied to it from a stabilized power source, and by selecting a resistor, the readings on the right side of the LCD indicator are again equalized with the readings of the exemplary voltmeter. The input voltage is increased to 150 V, and the readings are again equalized by selecting the resistor R8.

Since the maximum divider current does not exceed 1 mA (at an input voltage of 1000 V it is about 0,6 mA), internal protective diodes quite cope with protecting the microcontroller from overloads and abnormal voltages at the input of the built-in ADC.

Text and program codes for the voltmeter microcontroller

Author: Ozolin M.

See other articles Section Measuring technology.

Read and write useful comments on this article.

<< Back

Latest news of science and technology, new electronics:

Machine for thinning flowers in gardens 02.05.2024

In modern agriculture, technological progress is developing aimed at increasing the efficiency of plant care processes. The innovative Florix flower thinning machine was presented in Italy, designed to optimize the harvesting stage. This tool is equipped with mobile arms, allowing it to be easily adapted to the needs of the garden. The operator can adjust the speed of the thin wires by controlling them from the tractor cab using a joystick. This approach significantly increases the efficiency of the flower thinning process, providing the possibility of individual adjustment to the specific conditions of the garden, as well as the variety and type of fruit grown in it. After testing the Florix machine for two years on various types of fruit, the results were very encouraging. Farmers such as Filiberto Montanari, who has used a Florix machine for several years, have reported a significant reduction in the time and labor required to thin flowers. ... >>

Advanced Infrared Microscope 02.05.2024

Microscopes play an important role in scientific research, allowing scientists to delve into structures and processes invisible to the eye. However, various microscopy methods have their limitations, and among them was the limitation of resolution when using the infrared range. But the latest achievements of Japanese researchers from the University of Tokyo open up new prospects for studying the microworld. Scientists from the University of Tokyo have unveiled a new microscope that will revolutionize the capabilities of infrared microscopy. This advanced instrument allows you to see the internal structures of living bacteria with amazing clarity on the nanometer scale. Typically, mid-infrared microscopes are limited by low resolution, but the latest development from Japanese researchers overcomes these limitations. According to scientists, the developed microscope allows creating images with a resolution of up to 120 nanometers, which is 30 times higher than the resolution of traditional microscopes. ... >>

Air trap for insects 01.05.2024

Agriculture is one of the key sectors of the economy, and pest control is an integral part of this process. A team of scientists from the Indian Council of Agricultural Research-Central Potato Research Institute (ICAR-CPRI), Shimla, has come up with an innovative solution to this problem - a wind-powered insect air trap. This device addresses the shortcomings of traditional pest control methods by providing real-time insect population data. The trap is powered entirely by wind energy, making it an environmentally friendly solution that requires no power. Its unique design allows monitoring of both harmful and beneficial insects, providing a complete overview of the population in any agricultural area. “By assessing target pests at the right time, we can take necessary measures to control both pests and diseases,” says Kapil ... >>

Random news from the Archive

Low temperature record for quantum devices 07.02.2016

A group of scientists from the VTT Technical Research Center (Finland), Lancaster University and the Aivon Society (UK) have succeeded in cooling electrons in a new nanoelectronic device to a temperature only a few thousandths of a degree higher than absolute zero.

Although methods exist today to cool even massive pieces of metal below one millikelvin (ten to minus a third kelvin), it has not been possible to achieve similar cooling for electrons in small devices.

The new research opens up new possibilities in the field of quantum technologies, including the construction of quantum computers and sensors. As you know, quantum technologies use quantum mechanical effects, which can outperform any technology based only on classical physics. Many highly sensitive magnetic field sensors and radiation detectors require low temperatures - they are detrimental to thermal noise.

The nanoelectronic device used in the experiment is the so-called primary thermometer, i.e. thermometer that does not require calibration. This makes it very attractive for use in the field of low temperature instruments and meteorology.

Leading scientists and experts in the field of nanotechnology and high-performance sensors from Finland and the UK took part in its creation.

Professor Rich Haley of Lancaster University says it's very important that the new experiment finally breaks the 4-millikelvin barrier that has been held in such structures for fifteen years. Scientists are pleased that they have not only managed to achieve a new record, but also found a way to even lower temperatures.

Other interesting news:

▪ SANYO Moves to OLED Displays

▪ Sound waves are sources of negative gravity that have a negative mass

▪ When boarding a flight, show a working gadget

▪ LTC5508 Subminiature Broadband Power Detector

▪ Fluorescent sensors will indicate organic water contaminants

News feed of science and technology, new electronics

 

Interesting materials of the Free Technical Library:

▪ section of the site Encyclopedia of radio electronics and electrical engineering. Article selection

▪ article Dot the i's. Popular expression

▪ article Which Soviet marshal was sued by a foreign government for the murder of a prostitute? Detailed answer

▪ article by Prangos Lipsky. Legends, cultivation, methods of application

▪ article Single-band rapid deployment antenna. Encyclopedia of radio electronics and electrical engineering

▪ article Switching power supply for UMZCH. Encyclopedia of radio electronics and electrical engineering

Leave your comment on this article:

Name:


Email (optional):


A comment:





All languages ​​of this page

Home page | Library | Articles | Website map | Site Reviews

www.diagram.com.ua

www.diagram.com.ua
2000-2024