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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/22/04 14:04
Read: times


 
#74696 - Negative Logic...
Responding to: ???'s previous message
Hallo Kashyp,

it's an often overlooked fact, that '51 microcontrollers standardly work with 'negative logic'! Means, output is active, when providing logical low state. That's the reason, why invoking a reset will let the outputs toggle to logical high state!

We have discussed a lot about 'negative logic', also named 'inverse logic', sometimes. Have a search here!!

As you want to drive 6 relays, I would put inverters at according outputs of microcontroller, for instance 74HC04, followed by an ULN2003. At inputs of 74HC04 I would add 10kOhm pull-ups (resistor array saves board area!), because there are periods, when the outputs of microcontroller are driven only by very weak internal active pull-ups. An added 10kOhm pull-up resistor can prevent the situation, that noise injected via stray capacitance will eroneously 'fire' your relays...

Sometimes, driving relays from regulated +5V power supply can present problems with enormeous heat dissipation across regulator. Then, it can be helpful to power the relays not from output side of +5V regulator, but from input side, where the big storage capacitor sits. A suited resistor in series to relay coil provides voltage dividing, so that finally about 6V drops across relay.
Nevertheless, choose relays only needing a minimum of current to turn-on!!! Even if costs rise, there's nothing more annoying than a board that 'burns', only because old-fashioned, high current consuming relays were mounted...


Kai

List of 50 messages in thread
TopicAuthorDate
Relay interface problem            01/01/70 00:00      
   RE: Relay interface problem            01/01/70 00:00      
   RE: Relay interface problem            01/01/70 00:00      
      RE: Relay interface problem - Mikkel            01/01/70 00:00      
   RE: Relay interface problem            01/01/70 00:00      
      RE: Relay interface problem            01/01/70 00:00      
      Relay interface problem -looking at it            01/01/70 00:00      
      Ic / Ib = 10...20            01/01/70 00:00      
         RE: Ic / Ib = 10...20 - Kai            01/01/70 00:00      
      RE: Small Addition to the above post            01/01/70 00:00      
   RE: Relay interface problem            01/01/70 00:00      
   RE: Relay interface problem            01/01/70 00:00      
   Negative Logic...            01/01/70 00:00      
      RE: Negative Logic...            01/01/70 00:00      
         What I am doing            01/01/70 00:00      
            RE: What I am doing            01/01/70 00:00      
            RE: What I am doing            01/01/70 00:00      
               RE: What I am doing            01/01/70 00:00      
      will my 89c51 reset ?            01/01/70 00:00      
         RE: will my 89c51 reset ?            01/01/70 00:00      
         RE: will my 89c51 reset ?            01/01/70 00:00      
            RE: will my 89c51 reset ?            01/01/70 00:00      
               RE: will my 89c51 reset ?            01/01/70 00:00      
                  RE: will my 89c51 reset ?            01/01/70 00:00      
                     What's wrong NOW            01/01/70 00:00      
                        RE: What's wrong NOW            01/01/70 00:00      
                        RE: What\\\'s wrong NOW            01/01/70 00:00      
                           RE: Corrected Top Link            01/01/70 00:00      
                           What's wrong 2            01/01/70 00:00      
                              RE: What's wrong 2            01/01/70 00:00      
                                 RE: What's wrong 2            01/01/70 00:00      
                        RE: What's wrong NOW            01/01/70 00:00      
                           RE: What's wrong NOW            01/01/70 00:00      
            RE: will my 89c51 reset ?            01/01/70 00:00      
               RE: will my 89c51 reset ?            01/01/70 00:00      
                  Forget reset 1st connect relay            01/01/70 00:00      
                  RE: will my 89c51 reset ?            01/01/70 00:00      
   Interface works Now            01/01/70 00:00      
      RE: Interface works Now            01/01/70 00:00      
         RE: Interface works Now            01/01/70 00:00      
            RE: Interface works Now            01/01/70 00:00      
               RE: Interface works Now            01/01/70 00:00      
               RE: Interface works Now            01/01/70 00:00      
                  RE: Interface works Now            01/01/70 00:00      
   Problem 2            01/01/70 00:00      
   RE: Relay interface problem            01/01/70 00:00      
      RE: Relay interface problem            01/01/70 00:00      
         RE: Relay interface problem            01/01/70 00:00      
   RE: Relay interface problem            01/01/70 00:00      
      interface problem2 solved            01/01/70 00:00      

Back to Subject List