-
AD9854_MSP430_jiance_fudukey4
基于430单片机实现的AD9852信号发生器。可以实现键盘输入频率选择,也可实现频率范围内扫频,功能菜单由12864显示(the AD9852 signal productor based on 430 MCU ,the frequency of signal can be controled by 4*4 keyboard .)
- 2021-05-06 21:28:36下载
- 积分:1
-
TCD1200
用C51语言编程,实现了单片机AT89C51产生线阵CCD(TCD1200)驱动所需的时序。希望对大家有用。(With C51 language programming, microcontroller AT89C51 produce linear CCD (TCD1200) drive required timing. I hope useful.)
- 2021-02-23 08:39:40下载
- 积分:1
-
基于STM32的光立方源码
基于stm32单片机的全彩光立方的代码,注释清晰,拿来学习。(STM32 microcontroller based on the Quan Caiguang cube code, clear notes, to learn.)
- 2017-11-14 21:28:39下载
- 积分: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
-
zhe-ren-yi-biao
车辆CAN总线的实时监测的电池容量,剩余容量,电压,电流和警报的其他参数(Vehicles can bus for real-time monitoring of battery capacity, remaining capacity, voltage, current and other parameters of the alarm)
- 2014-10-09 21:46:56下载
- 积分:1
-
dianzizhuansuceliang
摘 要 电机转速是电机的一个极为重要的状态参数 文中介绍了几种基本的电机转速测量
方法 并对这些测量方法进行了比较 给出了基于加速度计进行电机转速测量的硬件电路设
计方法和测试系统的工作原理(Summary of the motor speed is an extremely important motor state parameters paper describes several basic motor speed measurement methods and these measurements were compared based on accelerometer gives the motor speed measurement hardware circuit design and test systems Works)
- 2013-09-01 18:28:27下载
- 积分:1
-
51单片机通信参考程序
NRF24L01无线通信,51单片机通信参考程序(24l01 wireless comunication)
- 2020-06-20 02:20:01下载
- 积分:1
-
UPS
说明: UPS的电路和制作教程 全部调试通过 包括sch和pcb(UPS circuit and produce all debug through the tutorial)
- 2010-04-12 18:00:06下载
- 积分:1
-
stm8
使用STM8配置TIME1、UART1、UART3,在STM8S007单片机控制使用空气温湿度传感器(SHT10)、温度传感器(DS18B20)(Using STM8 configuration, TIME1, UART1 and UART3, the STM8S007 microcontroller controls the use of air temperature and humidity sensors (SHT10) and temperature sensors (DS18B20))
- 2017-06-14 09:20:08下载
- 积分:1
-
F7
说明: stm32f7采集一遍往外打点一遍用AD采点然后将采样值返回给电脑(Stm32f7 collects points from outside once, uses AD to collect points, and then returns the sampled values to the computer.)
- 2020-06-30 14:00:01下载
- 积分:1