当前位置:网站首页>STM32F1与STM32CubeIDE编程实例-金属触摸传感器驱动
STM32F1与STM32CubeIDE编程实例-金属触摸传感器驱动
2022-06-28 00:48:00 【视觉智能】
金属触摸传感器驱动
KY-036金属触摸传感器模块采用KRS13达林顿NPN晶体管,其信号由电路部分控制,电路部分集成LM393,内部有两个比较器。 当触摸弯曲在晶体管上的裸线(由晶体管的基极表示)时,环境的 50 Hz 信号被注入到高增益放大器中。放大器的输出连接到比较器,然后将正弦交流信号转换为方波。

本文将演示如何在STM32CubeIDE中使用金属触摸传感器。本次使用的传感器模块,当有触摸时,输出高电平。
1、金属触摸传感器配置
开发环境搭建、系统时钟配置、调试配置及串口配置,请参考:
- STM32F1与STM32CubeIDE快速入门-开发环境搭建
- STM32F1与STM32CubeIDE快速入门-GPIO概述与点亮LED
- STM32F1与STM32CubeIDE快速入门-USART/UART串口通信
传感器配置如下:
边栏推荐
- Based on am335x development board arm cortex-a8 -- acontis EtherCAT master station development case
- LeetCode - Easy - 197
- Anonymous Mount & named mount
- 【历史上的今天】6 月 17 日:术语“超文本”的创造者出生;Novell 首席科学家诞生;探索频道开播
- 【历史上的今天】6 月 7 日:Kubernetes 开源版本发布;《魔兽世界》登陆中国;分组交换网络发明者出生
- Interpretation of the source code of scheduledthreadpoolexecutor (II)
- Differences between cesium polygon extrudedheight and height
- File transfer protocol --ftp
- 【历史上的今天】6 月 20 日:MP3 之父出生;富士通成立;谷歌收购 Dropcam
- To understand what is synchronous, asynchronous, serial, parallel, concurrent, process, thread, and coroutine
猜你喜欢

Jenkins - email notification plug-in

简单文件传输协议TFTP

架构高可靠性应用知识图谱 ----- 微服务架构图谱

批阅2022春季学期课程小论文提交情况

Skills in schematic merging

【历史上的今天】6 月 13 日:分组交换网路的“亲子纠纷”;博弈论创始人出生;交互式电视初现雏形

Based on am335x development board arm cortex-a8 -- acontis EtherCAT master station development case

Dynamic Host Configuration Protocol

Jenkins - Groovy Postbuild 插件丰富 Build History 信息

Embedded must learn! Detailed explanation of hardware resource interface - based on arm am335x development board (Part 2)
随机推荐
Practice of low code DSL in data warehouse
Redis~geospatial (geospatial), hyperloglog (cardinality Statistics)
JS random number (random number decimal)
JS implementation of Slide Puzzle verification
【历史上的今天】6 月 19 日:iPhone 3GS 上市;帕斯卡诞生;《反恐精英》开始测试
Protocole de transfert de fichiers - - FTP
Cesium obtains the latitude and longitude range of the screen
Jenkins - Pipeline syntax
文件傳輸協議--FTP
High reliability application knowledge map of Architecture -- the path of architecture evolution
Starting sequence of Turing machine
Jenkins - 訪問 Jenkins 自定義參數變量,處理變量值中含有空格
CVPR22收录论文|基于标签关系树的层级残差多粒度分类网络
SQL injection bypass (V)
如何以数据驱动「客户全生命周期管理」,提高线索转化率及客户满意度?
Redis~Geospatial(地理空间)、Hyperloglog(基数统计)
投资同业存单基金是靠谱吗,同业存单基金安全吗
毕业总结
SQL injection bypass (2)
【历史上的今天】6 月 1 日:Napster 成立;MS-DOS 原作者出生;谷歌出售 Google SketchUp