newrudeman

scientific calculator

 
Overview

Function overview: A scientific calculator implemented using the STC32G microcontroller core board (to reduce the welding difficulty for novices to weld the LQFP48 chip), using the internal RTC (eliminating the need for expensive external RTC chips) to run, and the internal FLASH to simulate E2 for parameter saving. The core calculation part draws on a scientific calculator from some b-sites, re-optimizes the code structure on the original basis, enhances code readability, adds a multi-level menu framework for a microcontroller, and adds a host computer simulation for ISP Only one core board is needed to realize the virtual demonstration of the calculator. The code part has two sets of operation processing. The usage method can be quickly modified through a macro definition. You can either use the virtual oled12864+virtual keyboard on the STC-ISP with an stc32 core board display, or you can use the hardware shown in the video to run the real thing. In addition, a lithium battery charging circuit is designed on the board, which can be directly connected to the lithium battery for use.
Implementation functions: ordinary and complex number calculations, matrix operations, function image display, equation solving, statistics and parameter settings. In addition to the most basic addition, subtraction, multiplication and division functions, it also includes sin/cos/tan/asin/acos/atan/ln/sinh/cosh/tanh/exponentiation/root sign, etc. It supports automatic bracket calculation priority and cursor switching. Mobile, supports rationality checking of calculations and other functions. Of course, the program framework is clear, and you can add functions at will. The layers are clear, and you can easily add what you need.
 
Complete hardware demonstration: https://www.bilibili.com/video/BV1HK411Z7ML/?spm_id_from=333.337.search-card.all.click&vd_source=b380c55fef0c524510fea4f429233289
Software virtual demonstration: https://stcai.com/spys
 
 
Program partially parsed text Post: http://www.stcaimcu.com/forum.php?mod=forumdisplay&fid=55
The complete code and drawings are all open source. You can go to STCAI.com to download the source code, or you can enter the Q group 884047237 to download all the files, or you can Download the code in the attachment (Fujian may not be able to update in time, please know). Of course, please feel free to comment below if you have any thoughts.
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2024-11-23 00:29:53

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号