首页 | 本学科首页   官方微博 | 高级检索  
     

基于STM32的简易频率计设计
引用本文:方鑫,陈旭,卢新祥.基于STM32的简易频率计设计[J].电子测试,2020(5):22-24.
作者姓名:方鑫  陈旭  卢新祥
作者单位:绍兴文理学院数理信息学院
基金项目:2018年国家级大学生创新创业训练计划项目(201810349005)
摘    要:本设计基于STM32微控制器,可同时对1Hz至10KHz频率范围内的四路PWM信号的频率及占空比进行测量,并可同时产生在该频率范围内四路频率相同、占空比不同的可调PWM信号。构建量程自动匹配算法、按键扫描、定时器配置等软件程序,使用LCD液晶屏、按键等外设模块,采用Keil C51开发环境进行设计,通过仿真器和硬件下载测试,验证了本次设计的可行性。

关 键 词:PWM信号  频率计  STM32微控制器

Design of a simple frequency meter based on STM32
Fang Xin,Chen Xu,Lu Xinxiang.Design of a simple frequency meter based on STM32[J].Electronic Test,2020(5):22-24.
Authors:Fang Xin  Chen Xu  Lu Xinxiang
Affiliation:(College of Mathematical and Information,Shaoxing University,Shaoxing Zhejiang,312000)
Abstract:This design is based on the STM32 microcontroller,which can simultaneously measure the frequency and duty cycle of four PWM signals in the frequency range of 1 Hz to 10 KHz,and can simultaneously generate four channels with the same frequency and different duty cycles in the frequency range adjustable PWM signal.Build software programs such as automatic range matching algorithm,key scan,timer configuration,and use peripheral modules such as LCD screen and buttons,and design with Keil C51 development environment.The simulation and hardware download tests verify the feasibility of the design.
Keywords:PWM signal  frequency meter  STM32 microcontroller
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号