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 / 1943
  motor routines in lib_hb.c
 
Does anyone know why these eight speeds were chosen in lib_hb.c for the motors and what would happen if the code were re-written to allow any speed between 0 and 255? int _speed_table[]= { 0b00000000, /* speed 0 */ 0b00010001, 0b01001001, (...) (27 years ago, 14-Apr-97, to lugnet.robotics.handyboard)
 
  Re: motor routines in lib_hb.c
 
(...) Think of them as repeating binary waveforms (they are clocked out the 'enable' pin of the motor chip at 1Khz) so on an oscilloscope speed 2 (third entry) would appear.. time -> 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (in mS) Vmotor : +--+ +--+ (...) (27 years ago, 15-Apr-97, to lugnet.robotics.handyboard)
 
  Re: motor routines in lib_hb.c
 
If I'm not mistaken, (someone please corect) those speeds represent the actual shape of the waveform. Let's list some details. 1. Each bit 0 or 1 represents 0V or 9.6V. (or whatever external source) 2. Each bit represents the above voltage for a (...) (27 years ago, 15-Apr-97, to lugnet.robotics.handyboard)

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