-
平衡车
stm32f103c8t6主控两轮平衡小车程序,内含电路原理图。使用卡尔曼滤波mpu6050采集角度,使用串级pid控制小车平衡和速度。(Stm32f103c8t6 master two wheel balancing program, including circuit schematics. The Calman filter mpu6050 is used to collect the angle, and the cascade PID is used to control the balance and speed of the car.)
- 2017-08-30 12:28:15下载
- 积分:1
-
8位pwm呼吸灯控制
m128的pwm控制,控制呼吸灯,已经编译过了(PWM control of M128)
- 2020-06-20 21:40:02下载
- 积分:1
-
DTMF_controled_robot_atmega8_mini
dtmf controlled two motor driver using atmega8l avr. very small and efficien code.can be used to implement robotics
- 2013-03-12 20:11:58下载
- 积分:1
-
powerworld
电力系统可视化分析程序POWERWORLD(POWERWORLD)
- 2009-10-26 11:26:24下载
- 积分:1
-
YSF1_HAL-015. TIM-高级定时器定时
说明: 基于STM32的定时器的一些简单开发和应用(Simple development application of STM32)
- 2020-06-18 20:20:01下载
- 积分:1
-
采摘机器人程序·
机器人采摘程序设计,障碍物距离机器人比较远时,
移动机器人运动的就快,这时的转角也小(Robot picking programming)
- 2018-07-23 16:07:34下载
- 积分:1
-
Stepper-motor-works
步进电机的工作原理,可以详细了解步进电机的工作原理,对于时序问题,也是个很好的了解(Stepper motor works, you can learn more about the working principle of stepper motor, for the timing issue, but also a very good understanding of)
- 2011-08-16 14:13:18下载
- 积分:1
-
msp430库
最初始的IAR编程(包含ccs,gcc的软件的初始程序)(Initial IAR Programming (Initial Programming of Software Containing ccs, gcc))
- 2020-06-18 08:40:01下载
- 积分: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
-
PIC24Calculator
PIC24单片机实现的计算器,在protus下仿真实现(PIC24 MCU calculator, under Simulation in protus)
- 2011-11-14 22:35:33下载
- 积分:1