go away spammer

Author Topic: infrared detector/emitter  (Read 2160 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: 952
  • 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,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
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

 


Get Your Ad Here