Author Topic: Range Finder help ??????????  (Read 1603 times)

0 Members and 1 Guest are viewing this topic.

Offline shivamkalraTopic starter

  • Jr. Member
  • **
  • Posts: 12
  • Helpful? 0
Range Finder help ??????????
« on: April 09, 2009, 12:27:35 PM »
Hello friends, i'm trying to make an autonomous car using pc's parallel port and ir range detector...what i want is that IR reciever should give +5v to input of parallel port as soon as a object comes near to it... i search the internet alot but did't help me out, most of the range finder circuits are dealing with analouge signal ... any help and suggestion would be appreciated

Thanks and Regards

Offline superchiku

  • Supreme Robot
  • *****
  • Posts: 952
  • Helpful? 5
  • cooll
Re: Range Finder help ??????????
« Reply #1 on: April 09, 2009, 12:58:43 PM »
u just want to give 5volt when the object comes near it,, ,,connect it to micrcontroller ...and let the mcu output 5v through one of its digital o/p pins when ever the object is too near...



Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
Re: Range Finder help ??????????
« Reply #2 on: April 09, 2009, 01:36:16 PM »
Some of the Sharp IR detectors provide a digital output rather than an analogue output. You would need to check their product range as the distance at which a transition from 0 -> 1 happens varies by model.
Alternative, as Superchiku says, use an analogue model and flick a digital output pin yourself.
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk


Get Your Ad Here