Subject:
|
Re: Encoder and Sonar
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Mon, 6 Mar 2000 22:25:54 GMT
|
Original-From:
|
Will Bain <willb@selway.umt.#antispam#edu>
|
Viewed:
|
955 times
|
| |
| |
Use the encoder routines from the HB web site:
http://el.www.media.mit.edu/groups/el/projects/handy-board/software/encoders.html
With these, you can use any of the analog ports (i.e., you don't have to use ports 0 and 1 first). I have the sonar hooked up to the expansion board, too, so I have my encoders running on ports 2 & 3. It works great. Best of luck!
-- Will
Way Lam wrote:
>
> Hi.. I have some problems about using the command encoder and sonar, hope you
> can help me.. thanks..
> In my project, i require one ultrasonic sonar, so i connect a wire from the
> exp. board to HB digital-in port 0. But when i checked the program of the
> command "encoder", it said that the encoder on digital port 2 and 3 can be
> only used after port 0 and 1, but i have used digital-in port 0 for sonar,
> so how can i do ?? Can i forget port 0 and use port 1 and 2 for the encoders
> directly ?? or should i need to edit the program ?? if yes, how to edit ??
> thanks very much for your help..
+---------------------------------------------------------+
| ^^ <^ ^> |
| / òó ó°° \ |
| / =Y= U \ |
| Wendy, Will, Tatoosh & Tenzing |
+---------------------------------------------------------+
When I was born, I was so surprised I couldn't talk for a
year and a half. -- Gracie Allen
|
|
Message has 1 Reply: | | light sensors
|
| Hi, has anyone experimented with light sensors? My group is working on a mama and a baby robot this semester and would like to control baby's movement by using sometype of sensors. We are thinking of mounting sonar sensor to the mamabot so that it (...) (25 years ago, 7-Mar-00, to lugnet.robotics.handyboard)
|
Message is in Reply To:
| | Encoder and Sonar
|
| Hi.. I have some problems about using the command encoder and sonar, hope you can help me.. thanks.. In my project, i require one ultrasonic sonar, so i connect a wire from the exp. board to HB digital-in port 0. But when i checked the program of (...) (25 years ago, 6-Mar-00, to lugnet.robotics.handyboard)
|
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|