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

ChrisLub
Tue Apr 23 2024, 05:21 pm
Davidbab
Tue Apr 23 2024, 10:41 am
Richardrit
Tue Apr 23 2024, 09:54 am
HenryLaf
Mon Apr 22 2024, 03:50 pm
bleradrar
Mon Apr 22 2024, 06:38 am
ppu-pro_ka
Sun Apr 21 2024, 07:39 pm
Infewow
Sun Apr 21 2024, 06:30 pm
HumanTak
Sun Apr 21 2024, 12:26 pm