Lemontree

STC12C5A60S2 drives LCD1602 voltage and ammeter

 
Overview

The circuit is relatively simple. It is an LM358 amplified current sample, which is sent to the STC microcontroller for AD conversion, and a 1602 meter is added for display. Made improvements to the proofreading process. The button calibration program also adds the function of displaying the power supply voltage and the second input voltage, which can be switched by pressing the button. It can display voltage, current, supply voltage, elapsed time, discharge capacity and other parameters, and comes with a calibration function. A 10-bit AD converter can only achieve 2% accuracy at best. It is sufficient for general applications. The most important thing is that it is low cost and can be built using the remaining components on hand.

The calibration method is as follows:
When the power is off, press and hold the button and then power on. In turn, accurately input 10 volts to VIN1 and press the button; input 3 amps of current, and then press the button; accurately input 10 volts to the second test point VIN2, and then press the button; accurately input 10 volts to the power supply, and then press the button to complete the calibration. .

 

normal working status

 

Displays the supply voltage, No. 2 voltage.

 

front.

 

back

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2024-11-14 23:33:25

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号