-
本设计以P89V51RD2FN单片机为电动小车的控制核心,采用MSA
本设计以P89V51RD2FN单片机为电动小车的控制核心,采用MSA-LD2.0倾角传感器实时测量跷跷板的倾斜角,用ST198光电传感器检测黑色引导线监测小车运动。光电传感器和倾角传感器模块把实时测量信号馈送至单片机,利用专用细分芯片TA8435H驱动步进电机,以脉宽调制式斩波方式对步进电机步进角进行细分,控制和调节小车速度。采用增量式PID控制算法确保小车能够达到平衡;用RT128×64M液晶显示时间、角度等参数。经测试表明:小车各项性能指标达到设计要求,能够实现30秒内小车行驶到规定点,并保持跷跷板平衡;在跷跷板一端配重可调整的情况下,小车也能自动找到平衡点并保持跷跷板平衡。-The single-chip design for the electric car P89V51RD2FN control of the core, the MSA-LD2.0 seesaw angle sensor real-time measurement of the tilt angle, the detection of black ST198 photoelectric sensor to monitor vehicle movement and guide lines.Photoelectric sensors and angle sensors in real-time measurement module to feed the signal to the microcontroller, using a dedicated sub-chip stepper motor driver TA8435H to PWM chopper-type stepper motor on the sub-stepping angle, control and regulation vehicle speed. The use of incremental PID control algorithm to ensure that the car can achieve balance with LCD RT128 × 64M time, angle and other parameters.After the test showed that: the performance car
- 2023-09-02 02:10:04下载
- 积分:1
-
SPI接口型E2PROM内部存储器的组织及读.写控制方法.
SPI接口型E2PROM内部存储器的组织及读.写控制方法.-SPI Interface-type E2PROM internal memory of the organization and read. Write control methods.
- 2022-04-09 02:29:25下载
- 积分:1
-
通讯规则:
1:时钟7.3728 MHz/波特率9600/9个数据位/奇校验/1个停止位/硬件多机通讯功能/
2:通讯连接采用硬件MAX485,双向...
通讯规则:
1:时钟7.3728 MHz/波特率9600/9个数据位/奇校验/1个停止位/硬件多机通讯功能/
2:通讯连接采用硬件MAX485,双向单工
3:每个上行/下行的数据包的字节个数都是一样的(通讯数据量)
4:每个上行/下行的数据包都采用CRC8校验
5:数据接收采用中断+查询的方式
6:总是由主机向从机发送一个数据包,从机收到数据包后向主机回复一个数据包
7:不管是主机还是从机,如果收到的数据包有任何错误,都将丢弃该数据包,等效于没有接收
8:从机之间不能相互通讯,必须通过主机才能交换数据
9:无效地址是0,主机地址是1,从机地址是2.3.4......广播地址是255 -err
- 2022-03-20 16:12:37下载
- 积分:1
-
个人做的基于AVR单片机的一个简易数字钟,用C语言写的,希望各位多多指教。...
个人做的基于AVR单片机的一个简易数字钟,用C语言写的,希望各位多多指教。-Individual to do a simple microcontroller-based AVR digital clock, using C language to write, and hope that the exhibitions.
- 2022-08-21 02:36:48下载
- 积分:1
-
51 IO口模拟串口通讯C源程序,IO 口模拟232通讯程序
使用两种方式的C程序 占用定时器0...
51 IO口模拟串口通讯C源程序,IO 口模拟232通讯程序
使用两种方式的C程序 占用定时器0
-51 IO serial communications simulation C source, I simulated 232 IO communication procedures use two forms of occupation C program timer 0
- 2023-02-15 13:30:02下载
- 积分:1
-
用于无线POS 数据传输的原程序。通过调制解条芯片实现
用于无线POS 数据传输的原程序。通过调制解条芯片实现-POS data for wireless transmission of the original procedure. Solutions through modulation of the chip
- 2022-09-25 14:20:02下载
- 积分:1
-
msp430F149 timer module procedures, good use
msp430F149 timer模块程序,很好用-msp430F149 timer module procedures, good use
- 2022-02-20 23:48:40下载
- 积分:1
-
micocanopen好的学习源代码,包括CANopen实现源码…
MicoCANOpen很好的学习源代码,包括了CANOpen实现的源代码以及在C51和P591单片机上的实现。-MicoCANOpen good learning source code, including the CANOpen realize the source code as well as in C51 and P591 on the realization of single-chip microcomputer.
- 2022-06-19 03:24:31下载
- 积分:1
-
PIC24单片机程序示例。
目前这方面的资料较少。自己先顶一下。...
PIC24单片机程序示例。
目前这方面的资料较少。自己先顶一下。-PIC24 Singlechip sample procedures. At present, less information in this regard. Their first top-click.
- 2022-06-27 04:20:15下载
- 积分:1
-
C8051F020单片机和FPGA使用等相关硬件的程序产生
使用C8051F020和FPGA等其它相关硬件制作的一个程控滤波器,里面包括详细的源代码和设计文档,希望对大家有用。-C8051F020 and FPGA use and other related hardware produced by a program-controlled filter, which include detailed source code and design documents, in the hope that useful to everyone.
- 2022-05-31 13:28:45下载
- 积分:1