文件名称:zhuyuesheng
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 144kb
- 下载次数:
- 0次
- 提 供 者:
- 王*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
是我第一个寻迹小车,程序很简单,只有十多行。主要用了两个外部中断。走的是黑底白线的轨迹。传感器部分的电路图大家可以在网上找。原理是如果传感器在黑色背景上,输出高电平。如果检测到白线,输出低电平,把两路传感器接到单片机的P32,P33。就能实现循白色轨迹的功能了。传感器我用的是ST168。ST178-I first look for a track car, the procedure is very simple, only a dozen lines. Mainly used two external interrupt. Is taking the black white line trajectory. Schematic of the sensor part, we can find on the Internet. The principle is if the sensor is on a black background, the output high. If the white line is detected, the output low, two sensors to the microcontroller P32, P33 are. Can be achieved through the white trajectory function. Sensor I used is the ST168. ST178
(系统自动生成,下载前可以参看下载内容)
下载文件列表
zhuyuesheng
...........\A200049.c
...........\A200049.LST
...........\A200049.OBJ
...........\gaoshuo.c
...........\gaoshuo.LST
...........\gaoshuo.OBJ
...........\hzh
...........\hzh.c.txt
...........\hzh.hex
...........\hzh.lnp
...........\hzh.M51
...........\hzh.Opt
...........\hzh.plg
...........\hzh.Uv2
...........\hzh_Opt.Bak
...........\hzh_Uv2.Bak
...........\kong.hex
...........\STARTUP.A51
...........\STARTUP.LST
...........\STARTUP.OBJ
...........\STC.H
...........\传感器.hex
...........\新建文件夹
...........\..........\241365.txt
...........\..........\A200050.c
...........\..........\hong.txt
...........\..........\hong12345.txt
...........\..........\hzh.c.txt
...........\..........\lan.txt
...........\..........\lan12345.txt
...........\A200049.c
...........\A200049.LST
...........\A200049.OBJ
...........\gaoshuo.c
...........\gaoshuo.LST
...........\gaoshuo.OBJ
...........\hzh
...........\hzh.c.txt
...........\hzh.hex
...........\hzh.lnp
...........\hzh.M51
...........\hzh.Opt
...........\hzh.plg
...........\hzh.Uv2
...........\hzh_Opt.Bak
...........\hzh_Uv2.Bak
...........\kong.hex
...........\STARTUP.A51
...........\STARTUP.LST
...........\STARTUP.OBJ
...........\STC.H
...........\传感器.hex
...........\新建文件夹
...........\..........\241365.txt
...........\..........\A200050.c
...........\..........\hong.txt
...........\..........\hong12345.txt
...........\..........\hzh.c.txt
...........\..........\lan.txt
...........\..........\lan12345.txt