Interfacing AT89C51 with ultrasonic sensor and LCD
Fri Mar 22 2013, 02:07 pm
hello Batara... and all Brilliant people here...
I would like to ask you where did you place exactly the suggestion edition from Ajay in your code,,,,
the suggestion was :
int timerval;
timerval = TH0;
timerval = (timerval << 8) | TL0;
where exactly u placed it ?
thanks in advanced
I would like to ask you where did you place exactly the suggestion edition from Ajay in your code,,,,
the suggestion was :
int timerval;
timerval = TH0;
timerval = (timerval << 8) | TL0;
where exactly u placed it ?
thanks in advanced
Tue Apr 16 2013, 01:08 pm
Hi, husseinmohsen
I put the code
inside unsigned int get_range(void)
and change delay (40) with code below
I put the code
int timerval; timerval = TH0; timerval = (timerval << 8) | TL0;
inside unsigned int get_range(void)
and change delay (40) with code below
while(INT1==0); while(INT1==1);
Sat Feb 22 2014, 05:32 pm
sir kindly send me code of ultrasonic distance measurement by using AT89C51 at [email protected] soon as possible.
Sun Nov 02 2014, 12:24 pm
His code was all ok just replace dpl,dph with an integer as I posted. I don't know if author is available as it's a very old post now.
Sun May 24 2015, 04:41 pm
Hey guys !!
Can somebody please share the proteus library for hc-sr04 ultrasonic sensor with 8051 micro-controller !! It would be much appreciated ..... Thanks !
Can somebody please share the proteus library for hc-sr04 ultrasonic sensor with 8051 micro-controller !! It would be much appreciated ..... Thanks !
Powered by e107 Forum System