Traditional Culture Encyclopedia - Traditional festivals - How to accurately obtain reference voltage and VCC by STC AD sampling
How to accurately obtain reference voltage and VCC by STC AD sampling
If the power supply is 4 volts, the reference voltage is still 2.5 volts, and the resulting value is greater than 128.
According to the difference of the collected values, the current power supply voltage can be calculated, and the collected values can be accurately obtained.
In addition, the reference voltage of stc microcontroller is voltage 0. A few volts lower than the supply voltage.
The computing power of single chip microcomputer is limited, so it is impossible to calculate the power supply voltage first every time, but the power supply can't change quickly, so it is necessary to calculate the benchmark dozens of times every time. Or collect it once every time you turn it on.
- Related articles
- What pigments are used to paint murals?
- The Moral and Symbolic Significance of Horses
- The practice of cement floor?
- Draw mandala, let mothers have a good mood!
- Nowadays, how to divide the military branch
- Catering tax points are a few points
- During the year, the central budget was 7 billion yuan to support pension and child care services, and A-share companies explored the layout.
- Birthday Wishes Idioms in Four Characters
- What girls don't dye their hair or burn their hands and have fashionable short hair styles?
- Civilization etiquette knowledge