Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/10/04 21:38
Read: times


 
#70141 - First things first
Responding to: ???'s previous message
Manoj Sudarshan said:
Of course I'm goona use the relays, but I'll need the code anyway, won't I?

The first thing you need to do is to think about how you are going to use those relays to give the forwards/reverse/stop control.

Only once you know how the relays must be controlled can you write the code to do it!

Manoj Sudarshan said:
I'm gonna use 4 combinations-specifying maybe 00 and 11 for motor off,01-forwards,10 backwards,or something like that

This is entirely the wrong approach!
You are putting the cart before the horse!

First consider what you need to do with the relays, then map that onto port bit patterns

List of 17 messages in thread
TopicAuthorDate
DC motor control using 8051            01/01/70 00:00      
   Insufficient Information            01/01/70 00:00      
   RE: DC motor control using 8051            01/01/70 00:00      
   RE: DC motor control using 8051            01/01/70 00:00      
      RE: DC motor control using 8051            01/01/70 00:00      
      Oh no, not another 8255...!            01/01/70 00:00      
      RE: DC motor control using 8051            01/01/70 00:00      
   RE: DC motor control using 8051            01/01/70 00:00      
      RE: DC motor control using 8051            01/01/70 00:00      
         RE: DC motor control using 8051            01/01/70 00:00      
            RE: DC motor control using 8051            01/01/70 00:00      
            RE: Cutting Edge            01/01/70 00:00      
      STILL Insufficient Information!            01/01/70 00:00      
         RE: STILL Insufficient Information!            01/01/70 00:00      
            RE: STILL Insufficient Information!            01/01/70 00:00      
            First things first            01/01/70 00:00      
   RE: DC motor control using 8051            01/01/70 00:00      

Back to Subject List