毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

STM32单片机电容型触摸屏设计+程序

时间:2024-03-13 22:57来源:毕业论文
STM32单片机电容型触摸屏设计。基于单片机STM32的电容型触摸屏,该触摸屏主要由单片机控制模块、电容触摸屏输入模块和显示模块组成,文中设计了单片机控制电路、触摸屏输入模块和

摘要:触摸屏主要有电阻式触摸屏和电容触摸屏,电阻触摸屏存在外层膜容易被划伤导致触摸屏不可用,多层结构导致很大的光损失,透光性不好,电池消耗大等缺点。

    本文设计了基于单片机STM32的电容型触摸屏,该触摸屏主要由单片机控制模块、电容触摸屏输入模块和显示模块组成,文中设计了单片机控制电路、触摸屏输入模块和显示模块以及单片机的接口电路。当人手指接触屏幕时,触摸屏能计算出触摸点的精确信息并将该位置信息传递给单片机,单片机能根据该位置的菜单功能执行相应的程序,同时能将需要显示的信息通过显示模块显示。94686

    设计的电容型触摸屏可应用于手机屏幕、平板电脑、游戏娱乐、医疗设备等多个领域,具有一定的应用价值。

毕业论文关键词:电容触摸屏,STM32单片机,位置识别,显示屏。

Abstract: Touch screen mainly includes resistive  touch screen and capacitive touch screen。 Resistive touch screen has the outer membrane and it is easy to be scratched to lead to the touch screen out of commission。 What’s worse, multilayered structure can lead to several disadvantages, such as a large amount of light loss, bad transmission of light, low efficiency of battery and so on。

     This thesis designs capacitive touch screen based on MCU STM32。 This kind of touch screen is mainly made up of MCU control module, input module of capacitive touch screen and display module。 In this thesis, the author designs MCU control circuits, input and display module of touch screen and MCU interface circuits。 When the fingers touch the screen, it can calculate the precise information and transmit the location information to MCU。 At the same time, it can show the information which needs to be displayed in the display module。

     The designed capacitive touch screen can be applied in phone screens tablet computers, games and entertainment, medical equipment and other fields。 It has certain applicable value。

Key words: capacitive touch screen, STM32,Location Awareness,display screen。

目   录

1 概述 5

1。1背景及意义 5

1。2发展现状 5

1。3任务和要求 5

2系统总体设计 6

2。1系统框图 6

2。2 原器件选型 7

2。2。1 单片机选型 7

2。2。2触摸屏选型 7

3 系统硬件设计 8

3。1 最小系统 8

3。1。1 复位电路 8

3。1。2 晶振电路 8

3。1。3 电源电路 9

3。2 LCD显示电路 10

3。3 触摸屏接口电路 10

4 系统软件设计 11

4。1 LCD显示程序 11

4。2 触摸屏程序 11

4。3 主程序 12

4。3。1 主程序流程图 12

5 调试及性能分析 14

5。1 测试方法 14

5。2 测试结果 STM32单片机电容型触摸屏设计+程序:http://www.youerw.com/zidonghua/lunwen_202766.html

------分隔线----------------------------
推荐内容