Ogu Reginald
Full Member level 6
I have been using the AT89S52 microcontroller for more than four years in all my microcontroller projects and it has been working very well.
Of late, I designed a device in which the microcontroller should turn ON and OFF a transistor which is used to switch a relay ON and OFF, after producing my hex file, I virtually simulated the circuit and it is working as designed but upon construction I discovered that it is not working.
When I removed the relay and connected the output of the microcontroller to an LED, I dicovered that the LED is coming ON and OFF as designed but its brightness is very low.
Then I connected a multimeter in series with the LED to measure the current that the microcontroller is producing, I discovered that it is 1.2mA.
I have changed more than seven microcontrollers and the problem still continues, can someone help me figure out the problem.
Of late, I designed a device in which the microcontroller should turn ON and OFF a transistor which is used to switch a relay ON and OFF, after producing my hex file, I virtually simulated the circuit and it is working as designed but upon construction I discovered that it is not working.
When I removed the relay and connected the output of the microcontroller to an LED, I dicovered that the LED is coming ON and OFF as designed but its brightness is very low.
Then I connected a multimeter in series with the LED to measure the current that the microcontroller is producing, I discovered that it is 1.2mA.
I have changed more than seven microcontrollers and the problem still continues, can someone help me figure out the problem.