-
BMS程序
电池电压测量以及电机控制程序,主要实现电池的最高电压以及截止电压测量。(Battery voltage measurement and motor control program, mainly to achieve the highest voltage and cutoff voltage measurement of the battery.)
- 2018-10-30 11:15:00下载
- 积分:1
-
IO_SOFT_UART_USE_TIMER
说明: 1. 本程序使用一个定时器和任意 2 个 I/O 口模拟一个串行口。
2. 1位起始位,8位数据位,1位停止位。发数据位时先发低位。
3. 支持半双工通讯。收、发波特率相同。
4. 应把定时器中断优先级设置为最高级。
5. 本程序每接收一个字节后就把它放到一个队列缓冲区中(也可使用环行缓冲区),
待缓冲区满后,将缓冲区中的内容原样发回。这是为了测试多字节连续收发的
能力和简化程序。实际应用中应防止缓冲区溢出。
6. 由接收转换到发送时要先调用 soft_send_enable ();
由发送转换到接收时要先调用 soft_receive_enable ()。
7. 发送最后一个字节后如果要立刻转为接收,必须等待最后一个字节后发送完毕
while ( rs_f_TI == 0) // 等待最后一个字节发送完毕(err)
- 2008-09-16 13:37:34下载
- 积分:1
-
LCD
用C语言编写STM32嵌入式程序,设计一个万年历系统,并用HX1230屏显示相关的时间信息。
基本要求:
1.C语言程序要求是模块化设计。
2.该万年历要求能显示时间(时、分、秒)、年月日及闹钟定时时间(分、秒)。
3.该系统由2-3个按键可调整显示的时间、年月日及闹钟定时时间,具体各个按键功能及编程方式自定。
4.该闹钟可以定时时间到,LED将发出提示闪光,且持续30s。
5.HX1230屏能驱动显示。
6.定时时间可被打断,即打断后恢复时继续计时。
7.设置闹钟报警功能;
8.利用STM32自带的温度传感器功能,使系统能显示当前环境温度值。(STM32 embedded program is written in C language, a calendar system is designed, and relevant time information is displayed on HX1230 screen.
Basic requirements:
1. The requirement of C language program is modular design.
The calendar requires that time (hours, minutes, seconds), year, month, day and alarm clock timing time (minutes, seconds) be displayed.
3. The system can adjust the display time, year, month, day and alarm clock timing time by 2-3 keys, and the function and programming mode of each key are self-determined.
4. The alarm clock can be scheduled to arrive, and the LED will give a prompt to flash, and lasts for 30 seconds.
5. HX1230 screen can drive display.
6. Timing time can be interrupted, i.e. when the interruption is resumed, the timing will continue.
7. Setting alarm function of alarm clock;
8. Using the temperature sensor function of STM32, the system can display the current environmental temperature)
- 2020-06-25 05:00:02下载
- 积分:1
-
AVRbootloader
有关AVR单片机的bootloader,外国人写的,很实用,内容详细(the AVR MCU Bootloader, foreigners write, and very practical, detailed)
- 2021-01-09 16:48:51下载
- 积分:1
-
额温计
说明: 这是一个额温枪公版原理图及PCB,供大家参考(This is an erwen gun version of the schematic and PCB, for your reference)
- 2020-11-30 20:19:29下载
- 积分:1
-
adc
实现ti公司的tm4c1294的板载12位adc采样(12-bit ADC sampling)
- 2020-07-23 23:08:43下载
- 积分:1
-
IIC
此程序为CRT显示器的IIC总线的驱动,主芯片为MYSON公司的MTV212MN64(This procedure for the CRT display IIC bus driver, the main chip for Myson' s MTV212MN64)
- 2009-02-03 15:57:17下载
- 积分:1
-
DMX-HOST
基于STC单片机的DMX主机程序,串口收发程序,有自动左右跑马、流水等功能(STC microcontroller-based DMX mainframe procedures, serial transceiver procedures, automatic around Happy Valley, water and other functions)
- 2016-01-18 22:35:01下载
- 积分:1
-
LEDkejianguangtongxin
可以实现LED可见光传输数据,非常好的开题报告。(LED transmit data using visible)
- 2013-04-26 12:48:17下载
- 积分:1
-
I2C_for_8051
51单片机的模拟I2C总线接口函数,附带完整注释。(51 microcontroller simulation I2C bus interface function, fringe integrity Notes.)
- 2005-03-28 09:12:20下载
- 积分:1