-
Ultrasonic-range-finder
超声波测距仪设计文档,本设计主要是以74LS04和CX20106A为测距模块,DS18B20用于温度补偿,12864液晶显示,HC-SR04为超声波显示板,语音模块由音频功率放大器LM386、语音芯片WT588D、低压差电压调节LM1117组成。(Ultrasonic range finder design documents, the design is mainly based on 74LS04 and CX20106A ranging module, DS18B20 for temperature compensation, 12864 LCD, HC-SR04 ultrasonic display boards, voice module consists of audio power amplifier LM386, voice chip WT588D, LM1117 low dropout voltage regulator components.)
- 2013-11-26 21:40:18下载
- 积分:1
-
stm32Smartcar
这是飞思卡尔智能车电磁组的循迹小车程序,主要包括主函数,电机驱动函数,ADC函数等等(This is the Freescale smart car electromagnetic tracking car program, including the main program, motor driver, ADC program, etc.)
- 2020-11-23 15:29:34下载
- 积分:1
-
p16
PIC单片机C语言应用编程-红外遥控器解码程序(PIC microcontroller application programming- infrared remote control decoding program
)
- 2012-09-21 23:29:50下载
- 积分:1
-
2C_XC800_Core
英飞凌XC800系列单片机内核架构,本文介绍的是XC866(Infineon XC800 MCU core architecture, this paper is the XC866)
- 2010-09-14 11:12:58下载
- 积分:1
-
2.4G无线通信
基于StC89C52单片机的nRF24L01驱动及应用程序, 已经调试成功(Driver and application program of nRF24L01 based on STC89C52 MCU has been debugged successfully.)
- 2020-06-21 17:00:01下载
- 积分:1
-
una
用于MMC桥臂计算,特别适用于较为复杂的MMC平衡子模块电容电压的计算(MMC is used to calculate the arm, especially for more complex calculations MMC submodule capacitor voltage balance)
- 2016-10-29 10:42:30下载
- 积分:1
-
Dynamic-pressure
动压气体轴承的动态刚度和动态阻尼系数 (Dynamic pressure gas bearing dynamic stiffness and dynamic damping)
- 2021-01-12 18:48:48下载
- 积分:1
-
example6_TIM
本例展示了如何设置TIM,用它来测量一个外部输入信号的频率和占空比。
TIM2时钟设置为72MHz,预分频设置为0,TIM2计数器时钟可表达为:
TIM2 counter clock = TIMxCLK / (Prescaler +1) = 72 MHz,因此可测量的最小频率值为1100Hz。
设置TIM2工作在PWM输入模式(PWM Input Mode),把外部信号作为输入连接到TIM2通道2。
利用TIM2计数器中断来测量信号的频率和占空比。在TIM2_IRQHandler中,计算信号的频率和占空比,方法如下:
变量"Frequency"为由下式得到的外部信号频率:
Frequency = TIM2 counter clock / TIM2_CCR2 单位Hz
变量"Duty_Cycle"为由下式得到的外部信号占空比:
Duty_Cycle = (TIM2_CCR1*100)/(TIM2_CCR2) 单位
(This example shows how to set up the TIM, and use it to measure the frequency and duty cycle of an external input signal. TIM2 clock set to 72MHz and the prescaler is set to 0, TIM2 is counter clock can be expressed as: TIM2 is counter clock = TIMxCLK/(prescaler. Ppls1) = 72 MHz, the minimum measurable frequency value of 1100 Hz. Set TIM2 PWM input mode (PWM Input Mode), the external signal as an input connected to the the TIM2 Channel 2. TIM2 counter interrupt signal to measure frequency and duty cycle. Calculate the frequency and duty cycle of the signal in TIM2_IRQHandler as follows: variable " Frequency" on the grounds of the external signal frequency by the following formula: Frequency = TIM2 is counter clock/TIM2_CCR2 unit Hz variable Duty_Cycle " on the grounds of the following formula to get external duty cycle: Duty_Cycle = (TIM2_CCR1* 100)/(TIM2_CCR2) in )
- 2012-05-18 18:28:47下载
- 积分:1
-
RCT6 MPU6050六轴传感器实验
STM32F103,mpu6050,0.96寸OLED显示,可动态显示,也可传到串口显示(STM32F103, mpu6050, 0.96 inch OLED display, can be dynamically displayed, and can also be transmitted to the serial port display.)
- 2018-04-12 21:37:42下载
- 积分:1
-
vb_温湿度_Access
说明: 100% 可以运行的温湿度显示软件,数据保存在数据库之间的通信 串口通信(100% operational temperature and humidity display software, data stored in the database communication serial port)
- 2020-06-18 06:20:01下载
- 积分:1