《电子设计 汽车 检测器》由会员分享,可在线阅读,更多相关《电子设计 汽车 检测器(89页珍藏版)》请在金锄头文库上搜索。
1、哈尔滨工业大学(威海)第四届电子设计大赛汽车行车时间检测器作者:队员学号联系方式2摘要:本作品通过 STC89C52 单片机和必要外围电路实现一个驾驶员的防疲劳,检测连续行车时间系统。作品主要由两部分组成:警车的接收端和普通车的客户端。接受和发射部分使用由 NRF24L01 组成的发射电路,通过 API 总线与单片机通讯。作品中涉及单片机的 IO 口模拟 API 总线、无线双机通讯,数码管显示,键盘控制,18B20 数字温度芯片,IIC 总线操作等部分。发送和接受采用间歇通讯方式,降低能耗。Abstract:This works by STC89C52 microcontroller and
2、external circuitry necessary to implement a pilot anti-fatigue, test driving a continuous-time systems. Works mainly consists of two parts: the receiving end of police vehicles and ordinary vehicles client. Receive and transmitter used by NRF24L01 consisting of transmitter, through the API bus with
3、MCU. Works involved in the SCM API bus IO port simulation, wireless communication between two computers, digital display, keyboard control, 18B20 digital temperature chip, IIC bus operators and other parts. Send and receive intermittent communication, reduce energy consumption.关键词:无线 计时 报警 2.4GHz 工作频率 SPI 总线3目录前言.4 总体方案设计.4 编码方式如下.4 单片机内程序的设计.6 用户车端.6 警车端.6 使用方法.7 理论分析与计算.7 电路与程序设计.8 发射和接收电路.8 部分接收程序.8 部分发射程序.9 测试数据.9 调试方法与仪器.9 测试方法和步骤.10 测试结果分析.10 参考文献.10 总结.10 附录.11 NRF24L01 引脚.11 NRF24L01 在 Altium Designer 里面的原理图.11 NRF24L01 引脚图.12 全部程序.12 警车程序.