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

Back to Subject List

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


 
#70087 - Oh no, not another 8255...!
Responding to: ???'s previous message
Manoj Sudarshan said:
i was thinking to connect the 8051 with an 8255 PPI

Before you do that, read this: http://www.8052.com/forum/read.phtml?id=70016

Manoj Sudarshan said:
8255 PPI ... connected to the motor

You cannot connect a motor direct to an 8051 port pin, an 8255 port pin, nor even an FPGA/CPLD port pin (unless its a very special high-power FPGA/CPLD designed specifically for the task)

You will need some power interface circuitry between the logic (8051, 8255, whatever) and the motor; eg, as Steve said, a couple of relays would do it.
(not that you'd connect relays direct to an 8051, either)

Manoj Sudarshan said:
I was wondering if binary values 00, 01, 10 and 11 could be sent thru' 8255 to either turn on,rotate clockwise,anti-clockwise or turn off the motor

Like I said - it depends on how you arrange the power driver circuits.

Think about it - you have three states:
1. Going Forwards;
2. Going Backwards;
3. Stopped.

So yes, you need two bits; but you have one "don't care" condition - can you see why?

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