3
控制程序设计
3
4
相关硬件电路和程序调试
4
5
设计说明撰写与答辩
3
合计
15
目 录
1 绪论..................................................................................................................................................1
2 系统总体方案设计..........................................................................................................................1
2.1 总体设计...............................................................................................................................1
2.2 电机驱动模块.......................................................................................................................2
2.3 液晶显示模块.......................................................................................................................4
2.4 数据存储模块.......................................................................................................................5
3 系统硬件设计..................................................................................................................................6
3.1 主控模块的电路设计...........................................................................................................6
3.2 红外遥控模块的电路设计.................................................................................................10
3.2.1 红外遥控系统总体方案..........................................................................................10
3.2.2 红外发射及接收原理..............................................................................................11
3.2.3 红外遥控仿真硬件电路设计..................................................................................13
3.3 LCD 显示模块的电路设计................................................................................................14
3.4 电机驱动模块的电路设计.................................................................................................15
3.5 AT24C08 存储模块的电路设计.........................................................................................16
3.5.1 C51 模仿 I2C 总线协议...........................................................................................16
3.5.2 I2C 总线构成和信号类型.......................................................................................16
3.5.3 AT24C08 简介..........................................................................................................18
4 系统软件设计................................................................................................................................20
4.1 主程序.................................................................................................................................21
4.2 红外发送程序.....................................................................................................................21
4.3 红外接收程序.....................................................................................................................28
4.4 LCD 显示程序....................................................................................................................30
4.5 电机驱动程序.....................................................................................................................33
4.6 I2C 总线扩展程序..............................................................................................................38
5 软硬件调试验证............................................................................................................................46
6 总结................................................................................................................................................53
参考文献...........................................................................................................................................54