-
ALIENTEK MINISTM32 实验38 综合测试实验(1)
说明: ministm32综合实验程序,包括9项功能,时钟,闹钟,记事本,画图等(ministm32comprehensive experimental program, including 9 functions, clock, alarm clock, notepad, drawing, etc.)
- 2019-06-19 23:16:48下载
- 积分:1
-
51单片机温度PID调节
说明: 51单片机的温度控制的一个小程序 特别的有意思(51 single chip microcomputer temperature control of a small program is particularly interesting)
- 2020-12-17 16:14:36下载
- 积分:1
-
E_LOCK_20151115
说明: 控制说话的内容输出,因为现在基本上都需要用到语音控制模块,在学校公司家庭等等。语音播放控制,家庭智能锁开门,门禁系统控制。(Control the content of the output, because now basically all need to use voice control module, school, company, home and so on. Voice playback control, home intelligent lock door, access control system control.)
- 2019-03-20 09:45:53下载
- 积分: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
-
STM32
实现电子钟功能 ,可设置闹钟,有闹铃,可设置时间和闹钟时间(Implement electronic clock function, can set the alarm clock, alarm clock, can be set up time and clock time)
- 2015-07-19 13:05:31下载
- 积分:1
-
4
说明: 单片机位移控制流水灯,C放言和汇编语言,proteus仿真(SCM displacement control water lamp, C release and assembly language, proteus simulation)
- 2018-06-05 18:36:24下载
- 积分:1
-
雷达仿真的c程序
雷达仿真的c程序,我自己写的
站长大人,情尽快开通帐号,救急(radar simulation c procedure, I wrote the director of adults, and a quick opening of account and save)
- 2007-04-11 19:01:01下载
- 积分:1
-
key
说明: 51单片机矩阵键盘程序
51单片机矩阵键盘程序
51单片机矩阵键盘程序
51单片机矩阵键盘程序(51 single-chip single-chip microcomputer 51 program matrix matrix keyboard keyboard keyboard matrix 51 SCM procedures procedures procedures keyboard matrix 51 SCM)
- 2021-04-23 16:58:47下载
- 积分:1
-
STM32L152例程
STM32L151的例程,包括ADC,DAC,DMA,PWM,EXTI等等,很全(STM32L151 routines, including ADC, DAC, DMA, PWM, EXTI, and so forth, very full)
- 2021-04-21 14:58:50下载
- 积分:1
-
modubs
说明: 该源码实现51单片机之间符合modbus通信协议的通信(This code can achieve communications between MCS51 by modbus protocol. )
- 2010-04-16 17:02:11下载
- 积分:1