Subject: 
  | 
            (no subject)
  | 
             
            Newsgroups: 
  | 
            lugnet.robotics.handyboard
  | 
             
            Date: 
  | 
            Wed, 26 Jun 1996 21:33:03 GMT
  | 
             
            Original-From: 
  | 
            System User <lylehaze@n-!NoSpam!jcenter.com>
  | 
             
            Reply-To: 
  | 
            Lyle Hazelwood <LYLEHAZE@N-spamcakeJCENTER.COM>
  | 
             
            Viewed: 
  | 
            2997 times
  | 
              
     |      | 
             |       |  
      My earlier posting has left me thinking.. (Suprise!) 
A MUCH more efficient way of doing PWM would be to use another 'HC11. The 
counter-timer circuits are perfect for the job, and the SPI would serve 
just fine for communications. Of course, this would leave a great deal of 
available processor time at the slave end.. Perhaps writing the low-level 
navigation commands into this processor, allowing it to handle LOGO-like 
commands from the main unit. This "Navigation processor" could take simple 
instructions, and handle motor PWM, encoder processing, and synchronization 
of the driven wheels independent of the main processor. There would be very 
little circuitry needed, the base 'HC11 includes almost all the required IO, 
Timers, counters, RAM and EEPROM to do the job.. only a voltage regulator, 
Valid power detect, crystal, H-Bridge, and connectors for the SPI and 
SCI would be needed. 
Building it by hand poses a problem.. Where to get a breadboard that will 
accept the high-density pins from a HC11?? (Or use another type of HC11!) 
Perhaps It would best be built from a MiniBoard, or a HandyBoard with just 
the needed parts installed?? 
Of course, the real challenge here is to write it ALL in assembly, so that 
IC won't be needed in the slave (no need for the extra RAM, no conflicts 
with timer usage). I have seen some nice PWM routines in the 'HC11 book. 
I haven't looked for SPI code there.. 
All this is too much for me right now, My workload is overrun without this 
additional project. But perhaps in the future, as these other things are 
finished.... 
Any comments, suggestions, or assistance are invited. 
        8^) Lyle Hazelwood<lylehaze@n-jcenter.com> 
 |  
       |  
           
   
      1 Message in This Thread:    
 
      - Entire Thread on One Page:
      
        
- Nested: 
        All | Brief | Compact | Dots
        
 Linear: 
        All | Brief | Compact
           
         | 
        
  | 
      
 
   | 
           |