Subject:
|
Sample bump sensor routine
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Tue, 4 Feb 1997 01:32:39 GMT
|
Original-From:
|
Bill Rose <BROSE@IPA.NETstopspammers>
|
Viewed:
|
393 times
|
| |
| |
I am having trouble writing a routine for my bump sensors. Evertime I write
a program I can't get the analog ports to initialize. I guess this is where
you would connect bump switches isn't it. I can get my bot to go forward,
turn, and go backward but I am having a problem with the multitasking of the
motion and bump routines. I have the mobile robotics book but just haven't
found the right combination. I would appreciate any of you software people
for any help.
Thanks
Bill Rose
I am not giving up on learning IC!!! I have to keep telling myself this.
|
|
Message has 1 Reply: | | Re: Sample bump sensor routine
|
| (...) Why would you use the analog ports for a bump sensor? Isn't that just a contact switch? Tie to a digital port pulled high with a 47K ohm resistor, and have the normally open contact tie the pin to ground when the contact switch is closed. The (...) (28 years ago, 4-Feb-97, to lugnet.robotics.handyboard)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|