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 01:27
Read: times


 
#83465 - invalid voltage on a pulled up/down Port
Hi,
Currently i am experiencing an unseen problem ! :
I designed a simple board that you can see it here :
(As asked before because of the big sizes i don't insert them in my message)
http://www.8052.com/users/farshidjh/project.GIF
http://www.8052.com/users/far...ct_pcb.GIF

without the microcontroller inserted push buttons voltage levels are readed prefectly (tested with a multimeter).
but whenever the AT89S51 is inserted P1.2,p1.3,p1.4 doesn't funtion properly as inputs,considering that the Push Buttons are pulled down ,so every time i press a button i should get high (+5) and when release them i should read GND (0v)
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 ?)!.
I know this problem is not from my code, anyway here is the sample code i am using :

org 00h
mov p1,#0ffh
loop:
mov c,p1.2
mov p1.5,c
mov c,p1.3
mov p1.6,c
sjmp loop

(p1.5,p1.6 are LEDs)
My though is ,maybe i shouldn't connected pullups and pulldowns on a same port ?
Does anyone has any idea what is the problem that i am facing ?
(sorry there is no Reset superviser chip but hopfully i will include them in my future designs,considering that this is just a simple project for my friend and he want to use it once in non coomercial nor industrial environment)!

Any help would be greatly appreciated

Best Regards :
Farshid J.H.

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