To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 7586
    Non-polaroid Sonar —Adam Oliver
   Greetings all, I've just finished building Kam Leang's sonar circuit as published on his web site, and it all seems to be working well. I am having a problem interfacing it to the handyboard however. I'm not entirely sure how to set bits high and (...) (25 years ago, 15-Mar-00, to lugnet.robotics.handyboard)
   
        Re: Non-polaroid Sonar —Will Bain
   In the sonar code from the web site, the rising edge detection on timer input channel 3 (TIC3) is set like this: bit_clear( 0x1021, 2 ); bit_set( 0x1021, 1 ); According to the little pink book, address 0x1021 is the Timer Control Register 2 (TCTL2) (...) (25 years ago, 15-Mar-00, to lugnet.robotics.handyboard)
   
        Re: Non-polaroid Sonar —Adam Oliver
   Thanks for your help :-D 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 (...) (25 years ago, 16-Mar-00, to lugnet.robotics.handyboard)
   
        Re: Non-polaroid Sonar —Will Bain
   (...) 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 (...) (25 years ago, 16-Mar-00, to lugnet.robotics.handyboard)
   
        Re: Non-polaroid Sonar —Frankie Lai
   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)
   
        Re: Non-polaroid Sonar —Kam Leang
   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 Leang | (...) (25 years ago, 16-Mar-00, to lugnet.robotics.handyboard)
   
        Getting the L297 into wave drive mode —Sean Verret
   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)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR