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.

[PIC] PIC 16F877A design problem car parking assistance

Status
Not open for further replies.

Ayman Salah

Newbie level 1
Joined
Jul 13, 2015
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
10
HOW TO DO THIS ?

interface the GP2D12 Analog distance sensor to measure distance between 10cm and 80cm
and output voltage according to :
10 cm 2.5v
15cm 1.8v
20cm 1.4v
25cm 1.2v
30 cm 0.8v
40cm 0.7v
45cm 0.65v
50cm 0.6v
55cm 0.55v
60cm 0.52v
65cm 0.5v
70cm 0.49v
75cm 0.47v
80cm 0.45v

system produce beeping sound with a frequency that depends on distance to the object to speaker coneceted to RC0
if object far than 80cm no beeping sound
if object is 80 cm away soung should be on for 10 msec and off for 80msc the off period should reduce by 10msc for every 10cm the object is closer . if the object is closer than 10 cm the sound should be on continuously
object distance should be read every second if the object is closer than 80cm it should read after each beep
vcc=5v f(osc)=8MHZ
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top