Discussion in "Project Doubts" started by    batara    Jan 13, 2013.
Fri Mar 22 2013, 02:07 pm
#11
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
Tue Apr 16 2013, 01:08 pm
#12
Hi, husseinmohsen

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
#13
sir kindly send me code of ultrasonic distance measurement by using AT89C51 at [email protected] soon as possible.
Thu Oct 30 2014, 12:10 pm
#14
can u post the updated code for the above problem ?
Sun Nov 02 2014, 12:24 pm
#15
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.
Tue Nov 11 2014, 12:01 am
#16
thanks everyone
Sun May 24 2015, 04:41 pm
#17
Hey guys !!

Can somebody please share the proteus library for hc-sr04 ultrasonic sensor with 8051 micro-controller !! It would be much appreciated ..... Thanks !

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

EdwardFew
Mon Mar 18 2024, 01:14 pm
EmeryPah
Mon Mar 18 2024, 11:51 am
RobertMax
Sun Mar 17 2024, 10:22 pm
DanielJar
Fri Mar 15 2024, 06:52 pm
Tuzaimecor
Fri Mar 15 2024, 02:32 am
PromotionFoode
Thu Mar 14 2024, 08:11 pm
EdwardGeawn
Sun Mar 10 2024, 12:24 pm
ZacharyShado
Sat Mar 09 2024, 10:04 am