Sharing I/O pins with Infrared detector
Archiver
Posts: 46,084
Hello awl. I have a tiny robot with a left and right IR detector. They are
the Radio shlock modules,that output a 0 for a detection.( sorry cant find
the part number offhand. I also added left and right bumper switchs for a
backup.I would like to share a bumper detection with the IR sensor instead
of using 2 extra pins for the L & R bumpers. I wired my bumpers to output a
0 also on sensing. How would I connect both types of sensor to the same I/O
pin? I thought of diodes or something,but cant work out the wiring in my head.
Thankyou all
Sincerely
Kerry
http://Mntnweb.Com
WWW hosting and Authoring
Admin@M...
the Radio shlock modules,that output a 0 for a detection.( sorry cant find
the part number offhand. I also added left and right bumper switchs for a
backup.I would like to share a bumper detection with the IR sensor instead
of using 2 extra pins for the L & R bumpers. I wired my bumpers to output a
0 also on sensing. How would I connect both types of sensor to the same I/O
pin? I thought of diodes or something,but cant work out the wiring in my head.
Thankyou all
Sincerely
Kerry
http://Mntnweb.Com
WWW hosting and Authoring
Admin@M...
Comments
Couldn't you just put a pullup resistor on the stamp pin and feed each
sensor to that pin thru a diode? The anodes would go to the stamp pin and a
cathode to each sensor.
Ray McArthur
Original Message
From: Barlow <admin@m...>
To: <basicstamps@egroups.com>
Sent: Wednesday, March 15, 2000 11:27 PM
Subject: [noparse][[/noparse]basicstamps] Sharing I/O pins with Infrared detector
> Hello awl. I have a tiny robot with a left and right IR detector. They are
> the Radio shlock modules,that output a 0 for a detection.( sorry cant find
> the part number offhand. I also added left and right bumper switchs for a
> backup.I would like to share a bumper detection with the IR sensor instead
> of using 2 extra pins for the L & R bumpers. I wired my bumpers to output
a
> 0 also on sensing. How would I connect both types of sensor to the same
I/O
> pin? I thought of diodes or something,but cant work out the wiring in my
head.
> Thankyou all
> Sincerely
> Kerry
> http://Mntnweb.Com
> WWW hosting and Authoring
> Admin@M...
>
>
>
>
> -- Easily schedule meetings and events using the group calendar!
> -- http://www.egroups.com/cal?listname=basicstamps&m=1
>
>