Discussion in "Project Help" started by    bnbnqwe    Apr 19, 2012.
Tue Apr 24 2012, 12:21 am
#31
it is not certain . but basically pin 21 to 28 and pin 10,11,16 shows value of 1.5 volt sometimes. value is also not stable. after some time, the same pins give reaing of 5 volt or may be 0 volt also. readings are totally erratic


[ Edited Tue Apr 24 2012, 12:26 am ]
Tue Apr 24 2012, 12:37 am
#32
well you might be measuring with voltmeter.. these are data lines. so there might be transactions going on on these lines. you will not be able to measure it. Its better use a scope if you want to see if everything is fine or not.
Tue Apr 24 2012, 12:40 am
#33
We connected those pins with cro also. . only the clock pins( 18 and 19) and capacitor connected to pin 9 is giving some output. other pins are dead. no amplitude, no frequency
Tue Apr 24 2012, 12:49 am
#34
I dont see problems anywhere... try to change controller and test again.
Tue Apr 24 2012, 12:54 am
#35
changing controller? another at89s52 or other chip of 8051 family? actually we dont have any universal burner. so only chip it can burn is at89s52.
Tue Apr 24 2012, 12:56 am
#36
will try again tomorrow and let u know .
Tue Apr 24 2012, 12:58 am
#37
I meant a different 89S52... just to make sure everything is ok on controller side.
Tue Apr 24 2012, 01:01 am
#38
ok . will try to find another controller and will test it. one qn, is there any way to test microcontroller without using programming whether it is working or not?
Tue Apr 24 2012, 11:44 pm
#39
there is no way to test controller without programming it. You can test your controller using simple LED toggle program. you will come to know if controller is working or not.
Wed Apr 25 2012, 12:45 pm
#40
we will test it by led blinking program.. can u convert this c program to hex file? i think we may have some problems creating hex file...









sfr P2 = 0xA0;

void delay()
{
int i;
for(i=0;i<15000;i++)
{

}
}

void main()
{
while(1)
{
P2 = 0xFF;
delay();
P2 = 0x00;
delay();
}
}



[ Edited Wed Apr 25 2012, 12:47 pm ]

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Clydehet
Wed May 01 2024, 06:44 pm
Davidoried
Wed May 01 2024, 06:11 pm
KevinTab
Sun Apr 28 2024, 05:35 am
Tumergix
Sun Apr 28 2024, 12:59 am
StevenDrulk
Sat Apr 27 2024, 08:47 pm
StephenHauct
Sat Apr 27 2024, 09:38 am
Adamsaf
Sat Apr 27 2024, 07:12 am
Robertphype
Sat Apr 27 2024, 12:23 am