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.

How to build a robot using PING, ultrasonic sensor, servo motor and PIC?

Status
Not open for further replies.

renzai0702

Newbie level 3
Joined
Sep 10, 2007
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,313
hye guys..:
i'm really new here..i'm looking 4 help.can anybody giv me suggestion on how to build a robot using PING))) ultrasonic sensor, servo motor and PIC - 16F84A. this is 4 my project assignment.help me plss...
 

andre_teprom

Super Moderator
Staff member
Joined
Nov 7, 2006
Messages
9,255
Helped
1,151
Reputation
2,321
Reaction score
1,133
Trophy points
1,403
Location
Brazil
Activity points
53,891
obstacle robot

renzai0702,

You have to use timer module together with edge interrupt pin, to acount time between sent pulse and received pulse, and such distance is proportional to sound air speed ( ~340m/sec )

+++
 
  • Like
Reactions: mar1

    mar1

    Points: 2
    Helpful Answer Positive Rating

renzai0702

Newbie level 3
Joined
Sep 10, 2007
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,313
Re: obstacle robot

andre_teprom:
what is timer module together with edge interrupt pin?
can u giv me example for the circuit diagram to create dis robot..
i'm really2 new in dis kind of project..
 

andre_teprom

Super Moderator
Staff member
Joined
Nov 7, 2006
Messages
9,255
Helped
1,151
Reputation
2,321
Reaction score
1,133
Trophy points
1,403
Location
Brazil
Activity points
53,891
Re: obstacle robot

renzai0702,

The timer need to use the greater input clock source possible. When you send a train-pulse on transmiter cell, the timer is cleared and, started. So, now you enable interrupt pin ( like RB0 ), and if a pulse is detected, you get the timer result, and calculate distance.

There are several examples on the Web. Take a search using key : ultrasonic range finder circuit.

Microchip have an application note AN597.


+++
 

    renzai0702

    Points: 2
    Helpful Answer Positive Rating

renzai0702

Newbie level 3
Joined
Sep 10, 2007
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,313
Re: obstacle robot

is it the same using ultrasonic sensor for range finder and for avoiding obstacle..?
 

BlackOps

Full Member level 5
Joined
Jan 1, 2005
Messages
280
Helped
14
Reputation
28
Reaction score
3
Trophy points
1,298
Location
AZERBAIJAN
Activity points
2,496
Re: obstacle robot

yes.

here is the link to the Ultrasonic Range Meter using PIC.
https://www.hobby-elec.org/e_pic6_6.htm
and showing range on LEDs. you can add drive circuit and motors to the same microcontroller on this circuit. and program it.
 

    renzai0702

    Points: 2
    Helpful Answer Positive Rating

renzai0702

Newbie level 3
Joined
Sep 10, 2007
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,313
Re: obstacle robot

can anyone help me find circuit for ultrasonic range using PIC16F84..
cause i couldn't fin any of it..
 

alajely

Newbie level 2
Joined
Oct 8, 2007
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,287
obstacle robot

i did something like this with IR sensors!
 

crowinu

Member level 2
Joined
Apr 1, 2005
Messages
48
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,621
Re: obstacle robot

renzai0702 said:
can anyone help me find circuit for ultrasonic range using PIC16F84..
cause i couldn't fin any of it..

why are you using 16f84 ?
 

inifinitrix

Member level 4
Joined
Jul 30, 2006
Messages
72
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Location
Malaysia
Activity points
1,709
obstacle robot

what sensor that i should use for underwater application for detecting obstacle? and measure the distance..thanx in advance..
 

saas123qa

Member level 2
Joined
Feb 7, 2005
Messages
46
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
210
Re: obstacle robot

for this application pic16f88 is better than pic16f84
 

kender

Advanced Member level 4
Joined
Jun 19, 2005
Messages
1,422
Helped
138
Reputation
276
Reaction score
38
Trophy points
1,328
Location
Stanford, SF Bay Peninsula, California, Earth, Sol
Activity points
9,970
Re: obstacle robot

blueroomelectronics said:
inifinitrix said:
what sensor that i should use for underwater application for detecting obstacle? and measure the distance..thanx in advance..

Sonar.
Easy to say. It's easy to utter this word.
 

rohitlucky

Newbie level 5
Joined
Feb 26, 2010
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
india
Activity points
1,324
Re: obstacle robot

HI, I CAN HELP U TO MAKE THIS.I WILL PROVIDE U FULL DOCUMENTATION ON THAT.

THINGS THAT U SHOULD KNOW
1) ABOUT PIC16F628 OR PIC16F84 (I LIKE PIC16F628)
2) ABOUT REFLECTIVE IR SENSORS OR ULTRASONIC RX AND TX
3) GEARED DC MOTORS
4) ABOUT PROGRAMMING LANGUAGES FOR PIC(PREFFERED ASM)

I U DONT KNOW ABOUT ANY ONE OF THEASE THINGS THEN PLEASE INFORM ME SO THAT I CAN HELP U.

ROHIT
 

the_balistic

Member level 2
Joined
Aug 30, 2008
Messages
44
Helped
7
Reputation
14
Reaction score
2
Trophy points
1,288
Activity points
1,670
Re: obstacle robot

Hii,

How about you try this software first MOBOTSIM. This software simulate Obstacel

Robot. The robot has 12 sensors. Use basic languange(SAX BAsic) and very easy to

learn.

https://www.mobotsoft.com/
 

gamersat678

Junior Member level 1
Joined
Jan 18, 2010
Messages
19
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,407
obstacle robot

rohitlucky and the_balistic the OP probably has moved on by now (2007).
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top