-
music51_1
51单片机驱动无源蜂鸣器进行音乐输出1
使用了定时器,使用C51编译(51 Microprocessor Passive buzzer for the use of music output of a timer, the use of C51 compiler)
- 2007-02-26 11:54:49下载
- 积分:1
-
ATmega8-32p
基于atmega8的直流伺服驱动器,有全套图纸,源代码,还有成品照片。(Atmega8 based DC servo drives, a full set of drawings, source code, as well as the finished photos.)
- 2013-12-22 09:34:15下载
- 积分:1
-
Infrared-receiving-timer
标题: NEC红外线接收解码程序引用定时器
效果: 运行程序,按遥控器按键,在数码管上显示相应的地址码-控制码(以16进制显示)
分两段,前段是地址码,后段为控制码,用点隔开,显示两字节,忽略反码(Title: NEC infrared receiver decoder program reference timer effect: run the program, press the button of the remote control, digital display corresponding address code- control code (displayed in hexadecimal) separated into two parts, the preceding address code, after paragraph control codes, separated by dots, two bytes, to ignore the anti-code)
- 2012-09-25 23:34:57下载
- 积分:1
-
112.基于单片机设计的数字电子秤(毕业设计)
基于51单片机的数字电子秤,有文档的详细说明(A digital electronic scale based on 51 single chip microcomputer with detailed description of the document)
- 2018-02-28 11:11:47下载
- 积分:1
-
RS.WSC.2.0.GENR.2.2.0.1.3.1
wifi直连模块RS-WC-201的开发固件以及wifi-AP的测试代码。(wifi direct module RS-WC-201' s firmware, and wifi-AP developed the test code.)
- 2013-07-31 10:05:53下载
- 积分:1
-
traffic-light
交通灯功能程序,包含了中断计数和小灯的变化分配,同时还有详细的注视信息(traffic light)
- 2016-08-04 14:44:19下载
- 积分:1
-
Stest_temmpC
利用单片机SCMAD口与热敏电阻阻简单实现测温电路及程序可直接使用。
(SCMAD mouth with the use of single-chip thermistor temperature measurementt circuit to achieve a simple and complete source code can be used directly.
)
- 2012-05-07 16:27:35下载
- 积分:1
-
PS_2
51单片机模拟PS2键盘,当接收到触发信号时,向PC发送特定键值,从而达到预期的目的,可以用在很多工控场合。本程序已经通过开机自检,可以在设备管理器里面看到。(51 single-chip analog PS2 keyboard, when receiving the trigger signal to the PC to send a specific key, so as to achieve the intended purpose, can be used in many industrial applications. This program has passed POST, you can see inside the device manager.)
- 2020-06-26 22:40:01下载
- 积分:1
-
STM32-ENC424J600SPI_driver
原创代码,实现了ENC424j600底层的基本驱动,初始化,读写函数。可以直接试用(Original code and achieve ENC424j600 underlying basic drive, initialize, read and write functions. Can try)
- 2020-09-23 15:07:49下载
- 积分: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