Table of contents
1.1 Preface
1.2 Hardware design analysis
1.3 Physical display
1.1 Preface
Dear electronic enthusiasts, what I bring this time is a calculator designed based on Lichuang EDA, which has time memory function and rechargeable function. It is very helpful for students who have just started and want to further improve themselves, especially for laboratory project training in various universities. This will be a very good case, which is very practical and also tests the programming ability. Equipped with two download interfaces, supporting J-Link download and TTL download
1.2Hardware
The hardware is not very complicated and is divided into main control part, display part, and charging part.
Below is the main control part, which can switch between STC and STM32
The following is the 1602LCD display circuit. I will not introduce this module in detail here. It is a commonly used module for entry-level users.
The following is the charging circuit and power switching circuit. It is worth noting that when the external USB power supply is connected, the transistor is cut off, the battery stops discharging, and the battery enters charging mode. The charging chip is TP4057, and the maximum charging current is 500mA.
The following is the DS1302 clock circuit, which provides clock information and connects a 3V battery to power the chip.
The following circuit is for microcontroller switching. The main principle is to put the other microcontroller in reset state, so that only one microcontroller is working.
The program will be added in the attachment. Your comments and corrections are welcome!
1.3 Physical display
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet