Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Ultrasonic obstacle avoidance robot

Status
Not open for further replies.

ISPN

Newbie level 6
Joined
Jul 11, 2014
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
110
Hi,

I am new to 8051 microcontroller and have not done any professional course regarding this.

I wanted to make obsatcle avoidance robot for may baby. So i wrote the programme. But it does not calculate the distance correctly. I have posted the codes here. But please i am sorry that i did not mention comment on LCD display.

Later i just wantt to run the robot in 4 PWM speeds according to the obstacle distance.
If you you possible please help on me.
Thanking you.
 

Attachments

  • US_PWM.txt
    7.7 KB · Views: 73

You might want to look at USComplete. It is defined as "1". It needs to be a bit at some location that is set and cleared. For example: "setb p1.0" sets bit 0 of PORT 1. There does'nt appear to be a location for the bit that is being set, cleared and tested.
 
Last edited:
  • Like
Reactions: ISPN

    ISPN

    Points: 2
    Helpful Answer Positive Rating
Thank you so much....I just changed the 40ms delay to main which was previously in ISint. Now it seems work fine....but some times progrmm sucks...
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top