go_away

Author Topic: infrared detector/emitter  (Read 1443 times)

0 Members and 1 Guest are viewing this topic.

Offline nckspecTopic starter

  • Jr. Member
  • **
  • Posts: 22
  • Helpful? 0
infrared detector/emitter
« on: March 30, 2008, 06:49:25 PM »
when you are reading the output through your microcontroller for object avoidence would you just use code like : if porta=0 then go straight else reverse). I mean would it matter what it outputs or would you write the code based on if it ouputs anything.

Offline superchiku

  • Supreme Robot
  • *****
  • Posts: 953
  • Helpful? 5
  • cooll
Re: infrared detector/emitter
« Reply #1 on: March 31, 2008, 06:15:50 AM »
plzz post a little clearly

and what do u mean by portd=0???????????
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline nckspecTopic starter

  • Jr. Member
  • **
  • Posts: 22
  • Helpful? 0
Re: infrared detector/emitter
« Reply #2 on: March 31, 2008, 03:06:26 PM »
sorry i meant does your controller have to know the exact voltages your detector sends to act upon avoiding an obstacle

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,653
  • Helpful? 21
  • narobo.com
Re: infrared detector/emitter
« Reply #3 on: March 31, 2008, 05:34:41 PM »
sorry i meant does your controller have to know the exact voltages your detector sends to act upon avoiding an obstacle

analog sensors give a value within a certain range ( you use Analog to Digital conversion)
digital sensors tell you if  a value of 0 or 1

search google for more details, and if any other questions ill answer
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
1801 Views
Last post November 04, 2007, 07:49:13 AM
by Admin
2 Replies
755 Views
Last post October 02, 2010, 06:14:36 AM
by ballbreaker
5 Replies
1156 Views
Last post September 13, 2011, 01:37:32 AM
by zhangzongyang1990
3 Replies
1188 Views
Last post July 19, 2012, 09:50:45 AM
by Arkboy


Get Your Ad Here