-
SD_FatFS
STM32F407ARM嵌入式SD卡烧写程序(SD card_program)
- 2015-01-04 22:30:47下载
- 积分:1
-
step
说明: 用proteus仿真实现BLDC无刷直流电机的控制,目前仅工作于开环状态,可以参考一下。(BLDC brushless DC motor control is realized by Proteus simulation. At present, BLDC brushless DC motor only works in open-loop state, which can be referred to.)
- 2019-07-10 15:01:55下载
- 积分:1
-
学习 .zip
某贸易中心共10层,设有载客电梯1部。为了处理问题的方便,有以下的限定条件: (1) 电梯的运行规则是:可到达每层。 (2) 每部电梯的最大乘员量均为K人(K值可以根据仿真情况在10~20人之间确定)。 (3) 仿真开始时,电梯随机地处于其符合运行规则的任意一层,为空梯。 (4) 仿真开始后,有N人(>20人)在该国际贸易中心的1层,开始乘梯活动。 (5) 每个人初次所要到达的楼层是随机的,开始在底层等待电梯到来。 (6) 每个人乘坐电梯到达指定楼层后,再随机地去往另一楼层,依此类推,当每人乘坐过L次(L值可以根据仿真情况在3~10次之间确定)电梯后,第L+1次为下至底层并结束乘梯行为。到所有人结束乘梯行为时,本次仿真结束。 (7) 电梯运行速度为S秒/层(S值可以根据仿真情况在1~5之间确定),每人上下时间为T秒(T值可以根据仿真情况在2~10之间确定)。 (8) 电梯运行的方向由先发出请求者决定,不允许后发出请求者改变电梯的当前运行方向,除非是未被请求的空梯。(a total of 10 layers, with a passenger elevator. To address the issue of convenience, have the following qualifications : (a) lift the operating rules is : can be reached on each floor. (2) each lift crew of the largest volume of all K (K value can be based on the simulation of the 10 to 20 between determined). (3) simulation at the beginning, randomly located in the lift line with its rules of operation arbitrary layer of air staircase. (4) simulation began, a N (gt; 20) at the International Trade Center in one layer, started by ladder activities. (5) Each person must first reach the floors are random, in the bottom wait for the elevator arrived. (6) Each person taken the lift arrived at the designated floor and then another random foot to the floor, and so on, when each rode L (L value c)
- 2021-04-22 14:48:48下载
- 积分:1
-
【19】DMA PWM WS2812 GPIO输出16组
STM32作为主控芯片,72Mhz,利用DMA+PWM实现驱动WS2812,创建16个并行800kBit / s数据流的想法如下:
使用定时器每1.25us创建一个800kHz的时基和一个DMA请求。
使用2个比较模块在低位时间(350ns)和高位时间(700ns)下创建DMA请求
1.25us DMA请求将GPIO端口的所有位设置为高电平
350ns DMA请求将数据从帧缓冲区传输到GPIO端口。如果该位为0,GPIO引脚将变为低电平,否则将保持高电平。
700ns DMA请求将所有GPIO引脚设置为低电平。
重复步骤1到3,直到发送所有位。
这产生脉冲周期为1.25us,脉冲宽度为350ns或700ns的脉冲流,具体取决于脉冲表示的位值,通过DMA将数据传输到GPIO端口意味着每16个LED每位需要一个字(两个字节)。每个LED 24位,每16个LED 24个字(48个字节)。(The idea to create 16 parallel 800kBit/s data streams is the following:
Use a Timer to create an 800kHz time base and a DMA request every 1.25us.
Use 2 compare modules to create DMA requests at the low bit time (350ns) and the high bit time (700ns)
The 1.25us DMA request sets all bits of the GPIO port high
The 350ns DMA request transfers the data from the frame buffer to the GPIO port. If the bit is a 0, the GPIO pin will go low, otherwise it will stay high.
The 700ns DMA request sets all GPIO pins low.
Repeat steps 1 to 3 until all bits have been transmitted.
This creates a stream of pulses with a pulse period of 1.25us and a pulse width of either 350ns or 700ns depending on the bit value the pulse represents.
Transferring the data via DMA to the GPIO port means that per 16 LEDs one half word (two bytes) is needed per bit. At 24 bits per LED that makes 24 half words (48 bytes) per 16 LEDs.)
- 2020-12-15 10:49:13下载
- 积分:1
-
HC-SR04超声波测距模块
说明: 基于51单片机的超声波测距模块使用,使用HC-SR04模块,定时器测量回波长度(Ultrasound Ranging Module Based on 51 Single Chip Microcomputer)
- 2020-06-21 17:20:01下载
- 积分:1
-
W5200_TCPS
STM32F103RBT6和W5200网络芯片的服务期端的测试程序,减少了很多不必要的设置,测试更方便(W5200 STM32F103RBT6 and end of service network chip testing procedures, to reduce a lot of unnecessary settings, the test is more convenient)
- 2013-07-21 15:14:34下载
- 积分:1
-
svpwm
DSP28335空间电压矢量调制SVPWM调制程序,浮点DSP编程(DSP28335 space vector modulation SVPWM modulation program)
- 2014-05-03 14:46:24下载
- 积分:1
-
sinaweather
包含新浪天气的获取,还有各省市的天气情况获取。适合以模块使用。(With access to Sina weather and weather conditions, various provinces and cities to obtain. Suitable for use in module.)
- 2014-04-10 00:58:39下载
- 积分:1
-
LaserMachine
激光切割上位机源码,生成NC刀路,不含NC扩展插件。(Laser cutting the host computer source code, generate NC knife road)
- 2021-02-18 12:09:45下载
- 积分:1
-
STM32_ucos
用stm32f103做的示波器源代码,在kiel环境,用ucos实时系统。(Stm32f103 to do with the oscilloscope the source code, in kiel environment, with uc os real-time systems.)
- 2010-01-19 15:37:54下载
- 积分:1