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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/20/04 19:57
Read: times


 
Msg Score: +1
 +1 Good Answer/Helpful
#83545 - This will not work with 'C51s
Responding to: ???'s previous message
Farshid said:
but the problem is when i release i get 2.3v-2.6v and if i disconnect the multimeter and then reconnect it to this pin it goes back down to zero (Noise ?)!

You overlook, that the port is no simple input but a mix of three active pull-ups! And what you try to do with the 4k7 pull-down resistors will not work. Keep in mind, that there's a weak active pull-up and a very weak one. If you apply logical high level to port pin, while having written logical high to according SFR register, you force the output to turn on weak active pull-up. After releasing the button two active pull-ups are turned-on, the weak and the very weak one. Several hundreds of µA can flow now, not allowing to make the level across pull-down resistor reach zero volt. If the input voltage would fall to less than about 2V, then the weak pull-up would be turned-off and no more than some dozens of µA could flow due to still activated very weak pull-up, making your pull-down resistors do what's intended to do. But because the weak pull-up is still activated, the input voltage will never fall to less than 2V. So, what you plan with this pull-down resistor is irregular, not compatible with the certain active pull-up configuration of 'C51.

The reason, why you observe the problem only when connecting the multimeter is probably due to the fact, that the multimeter picks-up some hum forcing the potential at input of port to be slightly higher than the voltage needed to keep the weak pull-up activated, while without hum your pull-down resistors are just able to make the potential fall to zero volt.

This behaviour is typical for all standard 'C51. You are just not allowed to work with such high pull-down resistors.
By the way, 'C51 are working with negative logic, strongly recommending the use of pull-up resistors with keys making connections to ground.

Kai

List of 24 messages in thread
TopicAuthorDate
invalid voltage on a pulled up/down Port            01/01/70 00:00      
   replace s with c            01/01/70 00:00      
      Thats not the solution.            01/01/70 00:00      
         please follow the main problem            01/01/70 00:00      
            and some news            01/01/70 00:00      
      s51 is good            01/01/70 00:00      
   Pullup/down            01/01/70 00:00      
      Sorry for Echo.            01/01/70 00:00      
      pull up/downs            01/01/70 00:00      
   pullup+pulldown = potential-divider?            01/01/70 00:00      
      Potential, potential divider?            01/01/70 00:00      
         potential divider / where wires go            01/01/70 00:00      
            blow it            01/01/70 00:00      
               don't blowed it (atleast not untill now)            01/01/70 00:00      
   where does the wires go            01/01/70 00:00      
   To Erik and others            01/01/70 00:00      
   This will not work with 'C51s            01/01/70 00:00      
      Exactly            01/01/70 00:00      
      just got the point :)            01/01/70 00:00      
         And finally the problem solved!            01/01/70 00:00      
         I meant ++hundreds of microampere++            01/01/70 00:00      
            Wrong question !            01/01/70 00:00      
      Negative Logic?            01/01/70 00:00      
         Yes, negative logic!            01/01/70 00:00      

Back to Subject List