the output of the microcontroller 89s52 is very low

Status
Not open for further replies.

abhignans

Newbie level 6
Joined
Feb 1, 2012
Messages
13
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,401
i am a begginer in embedde systems and i am trying to do a project
firstly i have tried doing a circuit for blinking led
the code works but the output coming from output pins is very low(abt 1.89volts)
what may be the problem please reply me soon
here's the schematic
 

Not good enough.
where are the leds and current limit resistors.
checkout mic spec it may need pullup resistors specially if the outpus are tri state.
google the at find out what others do.
every body does the same
good luck
 

Where did you measure the voltage? Did you measure it at P1.0?
You need to limit the current. Use a current-limiting resistor, from P1.0 to the LED cathode or between the LED anode and +5V.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…