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.

need help on sonar programming

Status
Not open for further replies.

donvaun

Newbie level 4
Joined
Mar 21, 2009
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,311
sonar programming

i would like to know how to program a sonar range finder for obstacle avoidance using pic16f877...

im using maxbotix ez100 sonar... i connect the analog input from it directly to pin A0 of pic..

im still a beginer and dont know much...

how do i start..
 

I am also doing this type of project these days...
I am using CCS as the programing C language.
when you trigger the sonar set the timer1 to 0..and use the CCP in capture mode..When you receive the sonar signal back ..you can take it as a interrupt for CCP1 and ...then the CCP1 value relates to the distance..
If you want more details tell me...
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top