文件名称:Wireless-brake-light
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [ASM] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 100kb
- 下载次数:
- 0次
- 提 供 者:
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
mdt10p53a11(兼容PIC12F509)开发,采用加速度传感器设置。
无线刹车尾灯(可以实现赛车游戏里面的效果)
功能要求
1.采用PWM方式控制led灯
2.内部三轴加速度计采用平方和再开方的方法求得检测值。
3.每秒间隔采样5次得到的测量值进行计算,静止情况下测量值的波动的范围要小于2%。当测量值超过静态值17%以上的情况,认为是有刹车的情况。Led灯按照规定点亮。
4.模式2led灯闪烁的情况下每秒闪烁5次,加速度检测和led灯亮在单片机内部同步,不工作的情况使单片机进入休眠状态。
5.模式3led灯在刹车情况下亮,在每秒采样5次加速度并且led灯不需要点亮的时间单片机休眠。
6.模式1恒亮的状态单片机发出PWM脉冲,点亮led灯,这个时候单片机如果能在间歇休眠模式最好,如果不能,正常工作即可。-mdt10p53a11 (compatible PIC12F509) development, using the acceleration sensor settings.
Wireless rear brake (which allows the effect of racing game)
Functional requirements
1 using PWM control the led lights
2-axis accelerometer inside the square and then prescribing the use of the method obtained detection value.
3 5 times per second sampling interval has been calculated measurements, stationary measurements of the fluctuations in the case of the range of less than 2 . When the measured value exceeds the value of more than 17 of the static situation, that there is a braking situation. Led lights light up in accordance with regulations.
4 lights flashing mode 2led case flashes 5 times per second, acceleration detection and led lights in the MCU internal synchronization, the situation does not work so the device enters the sleep state.
5 mode 3led bright light in the case of braking, acceleration in the five samples per second and led lights do not light up the time the m
无线刹车尾灯(可以实现赛车游戏里面的效果)
功能要求
1.采用PWM方式控制led灯
2.内部三轴加速度计采用平方和再开方的方法求得检测值。
3.每秒间隔采样5次得到的测量值进行计算,静止情况下测量值的波动的范围要小于2%。当测量值超过静态值17%以上的情况,认为是有刹车的情况。Led灯按照规定点亮。
4.模式2led灯闪烁的情况下每秒闪烁5次,加速度检测和led灯亮在单片机内部同步,不工作的情况使单片机进入休眠状态。
5.模式3led灯在刹车情况下亮,在每秒采样5次加速度并且led灯不需要点亮的时间单片机休眠。
6.模式1恒亮的状态单片机发出PWM脉冲,点亮led灯,这个时候单片机如果能在间歇休眠模式最好,如果不能,正常工作即可。-mdt10p53a11 (compatible PIC12F509) development, using the acceleration sensor settings.
Wireless rear brake (which allows the effect of racing game)
Functional requirements
1 using PWM control the led lights
2-axis accelerometer inside the square and then prescribing the use of the method obtained detection value.
3 5 times per second sampling interval has been calculated measurements, stationary measurements of the fluctuations in the case of the range of less than 2 . When the measured value exceeds the value of more than 17 of the static situation, that there is a braking situation. Led lights light up in accordance with regulations.
4 lights flashing mode 2led case flashes 5 times per second, acceleration detection and led lights in the MCU internal synchronization, the situation does not work so the device enters the sleep state.
5 mode 3led bright light in the case of braking, acceleration in the five samples per second and led lights do not light up the time the m
(系统自动生成,下载前可以参看下载内容)
下载文件列表
无线刹车灯.asm
无线刹车灯软件要求.doc
电路.pdf
无线刹车灯软件要求.doc
电路.pdf