没有合适的资源?快使用搜索试试~ 我知道了~
单片机红外壁障传感器制作
需积分: 10 40 下载量 149 浏览量
2009-08-24
22:33:26
上传
评论
收藏 71KB PDF 举报
温馨提示
试读
8页
红外壁障传感器制作红外壁障传感器制作红外壁障传感器制作红外壁障传感器制作
资源推荐
资源详情
资源评论
W
INNIPEG
A
REA
R
OB OT ICS
S
OCIETY
M
ARCH
22,
2000
1
Dallas Personal Robotics Group
IR Detector
By: Darren Sawicz
Original Documentation By: Jeff Koenig
his document is an update
reflecting the changes made to
Jeff Koenig's Infrared detector circuit.
The assembly code and circuit are
unchanged but the printed circuit
artwork and documentation have
been upgraded to make assembly
easier.
Theory of Operation
The PIC12C509 generates a 38 kHz
square wave, which delivers current
to the infrared LEDs. The infrared
energy is then reflected off of an
obstacle, if present, and is detected
by the Sharp IR receiver.
The program does the following:
1. Flash the 38 kHz square wave
through the Left infrared LED for
600 microseconds.
2. Check the Sharp detector – if it
detects IR light, go to step 3. If not,
go to step X.
3. Good! A reflection was detected.
But, it might be from another source,
so we will turn off the Left LED and
see if the Sharp detector is still
seeing infrared illumination (from
another source).
4. Keep the Left infrared LED off for
600 microseconds.
5. Check the Sharp detector – there
shouldn’t be any IR detected, since
we turned off the LED. If there is IR
detected, go to step X,
6. A valid reflection was detected, so
turn on the left LED (red) and bring
header pin 4 high. Skip to step 8.
7. No valid detection was made.
8. Return to step one, but this time
substitute “right” for “left”
The New Board
The new circuit board is smaller than
Jeff Koenig's original board. Each
new board measures 1.5" x 1". This
allows 16 small boards to be cut
from a single 4" x 6" board.
The original ASCII artwork showed
none of the component connections,
only component layout. I created a
schematic drawing of the circuit to
make it easier to see how the circuit
is connected. The schematic is
included on the last page.
T
资源评论
commanderlyt
- 粉丝: 0
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- python语言解决背包问题,使用递归和动态规划两种思路并比较运行速度
- 基于Django和Celery的中国知网(CNKI)爬虫及数据可视化设计源码
- 基于C++实现的斐波那契数列
- 基于SSM框架的Java家庭财务管理设计源码
- UDP转发脚本udp-forwarding-udp-forward-master.zip
- tio来开发udptio-udp-showcase-master.zip
- 基于Scala的Spark数字仓库推荐系统设计源码
- 基于Django的博客系统设计源码
- 基于Node.js和AngularJS的JsGen社区网站系统设计源码
- 基于Vue和Echarts的数据可视化大屏设计源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功