Subject:
|
Re: Non-polaroid Sonar
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Thu, 16 Mar 2000 23:35:42 GMT
|
Original-From:
|
Kam Leang <kleang@eng.!IHateSpam!utah.edu>
|
Viewed:
|
1751 times
|
| |
| |
Hi Everyone!
If anyone gets the interface to work, I'd love to post it on my site along
with the appropriate references and credits. It would be neat if the
sensor works with the HB!
Good luck!
-kam
http://www.leang.com/kam
On Thu, 16 Mar 2000, Frankie Lai wrote:
> Hi all,
> I'm now building the ultrasonic sensor from kam leang's page, did anyone
> interface it with handyboard?? Can anyone give me some advice on driving it?
>
> thanks
> Frankie Lai 97139371d@polyu.edu.hk
>
>
> In lugnet.robotics.handyboard, Will Bain <willb@selway.umt.edu> writes:
> > Adam Oliver wrote:
> > > Just so I'm clear, ref pink book page 10-17.
> > > Does the "bit_set( 0x1021, 1 );" refer to bit 0 -EDG3B, and
> > > bit_clear( 0x1021, 2 ); " refer to bit 1 -EDG3A.
> > > This is what was throwing me, I always thought bits started at zero and
> > > ended at 7, not 1 to 8 as appears to be the case here. Is this what the
> > > "zero-indexed " means?
> > >
> > > sorry if it's a basic question, but if you don't ask you never learn :-)
> >
> > No, that's a very good question. It had me confused, too. The second argument
> to bit_set and bit_clear is not actually the index of a bit at all; it's a bit
> mask.
> >
> > For example, when you do bit_set( 0x1021, 3 ), the 3 becomes 0000 0011 in binary, so it will set the last two bits of the address. Hope this helps!
> >
> > -- Will
______ ______
--------------------------------------- |_ _| |_ _|
Kam Leang | |______| |______
University of Utah | |_ _| |_ _|
Department of Mechanical Engineering | | | | | | | |
MEB Room 2202 Salt Lake City, UT 84112 | |_|__|_| | | |
Tel.801.581.7105 Fax.801.585.9825 \ ___________/ | |
http://www.leang.com/kam | |______| |
---------------------------------------------- \ ___________/
|
|
Message has 1 Reply: | | Getting the L297 into wave drive mode
|
| Hi I'm using the L297/L298 chip configuration to run 4-phase unipolar stepper motors. Currently I'm driving them in half-step mode but I'm not getting enough torque.. :( Has anyone successfully gotten the L297 chip into wave drive mode? I believe I (...) (25 years ago, 17-Mar-00, to lugnet.robotics.handyboard)
|
Message is in Reply To:
| | Re: Non-polaroid Sonar
|
| Hi all, I'm now building the ultrasonic sensor from kam leang's page, did anyone interface it with handyboard?? Can anyone give me some advice on driving it? thanks Frankie Lai 97139371d@polyu.edu.hk (...) to bit_set and bit_clear is not actually (...) (25 years ago, 16-Mar-00, to lugnet.robotics.handyboard)
|
7 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
|
|
|
|