Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

at89c51 ports

Status
Not open for further replies.

baftab

New Member
i am trying to test my controller, so i send random values to my ports

org 000h

mov p2,#0ffh
mov p1,#00h
mov p3,#00fh
mov p0,#0f0h
end

when the ouput is logic 1, the voltage level is 5v and for 0 its 0v
but...its not happening!!
port 2 is giving voltages ranging from 2.4 to 3.2 and same is the case with port0

i hav not connected any load to pins...would tht effect in any case??
its serially communicating ..though :s
 
baftab said:
i am trying to test my controller, so i send random values to my ports

org 000h

mov p2,#0ffh
mov p1,#00h
mov p3,#00fh
mov p0,#0f0h
end

when the ouput is logic 1, the voltage level is 5v and for 0 its 0v
but...its not happening!!
port 2 is giving voltages ranging from 2.4 to 3.2 and same is the case with port0

i hav not connected any load to pins...would tht effect in any case??
its serially communicating ..though :s

can you please sen that circuit here..??
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top