EDN首页   博客首页

日志档案

发表于 2006-10-8 8:49:29

5

标签: 循线机器人  

简易自动循线机器人

看看老外制作的机器人,虽然很简单,但是看看下面的录像,就知道效果了!
 
Line Follower ROBOT
Plermjai Inchuay, plermjai@loxinfo.co.th
Award winner from VingPeaw Competition 2543, the robot built with 2051, L293D, and four IR sensors. Simple circuit and platform, quick tracking and easy-understand program using C language.


I designed my Robot, which use two motors control  rear wheels and the single front wheel is free. It has 4-infrared sensors on the bottom for detect black tracking tape, when the sensors detected black color, output of  comparator, LM324 is low logic and the other the output is high.

Microcontrollor AT89C2051 and H-Bridge driver L293D were used  to control direction and speed of motor.
点击看大图

Fig 1. Circuit diagram of my Robot.


Fig 2. Circuit diagram of Infrared sensors and comparators.
 
 

点击看大图
Fig 4.  Position of sensors,  left hand side is side view and right hand side is top view.

Software

Software for write to AT89C2051 is robot1.hex ,which was written by C-language ,the  source code is robot1.ccompiled by using MC51 in TINY model with my start up code robot.asm .

MPEG files

Sample of competition between 2051 and 68HC11.

  • movie1.mpg (1,303kB)
  • movie2.mpg (373kB)
  • 系统分类: 单片机   |   用户分类: 转载   |   来源: 转贴   |   【推荐给朋友】   |   【添加到收藏夹】

        阅读(1375)    回复(2)  

    投一票您将和博主都有获奖机会!

    最新评论

    • cocappjj

      2006-10-10 10:52:35

      呵呵,到时候xinde给我们看看结果如何啊:D

    • xinde

      2006-10-8 19:25:05

      呵呵,不错,我也想去试一下,下个星期开始