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.

Distance Measurement using PIC & Ultrasonic Sensors

Status
Not open for further replies.

adilzafarmalghani

Newbie level 2
Joined
May 5, 2010
Messages
2
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Asis
Activity points
1,289
i am doing project on detection of objects using ultrasonic sensors and using it with PIC controller ...any1 who can help me out.......
 
  • Like
Reactions: azmir

    azmir

    Points: 2
    Helpful Answer Positive Rating

mdjet

Newbie level 1
Joined
Nov 9, 2010
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,284
Re: distance measurement pic

I can't believe it. This is what I am trying to build. Great works. Thanks
 

rinshadbasheer

Newbie level 4
Joined
Jul 15, 2010
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
India
Activity points
1,315
PIC Ultrasonic Reciever Filtering Problem

Hi All

We are developing an ultrasonic fluid/water level indicator, and are encountering some of the following problems.


  • At the recieving end, The comparator output becomes unexpectedly high as the module accepts any signal (including static) as its input.
    We assume it might be due to the improper filtering of the input.


  • The Current setup consists of the transmitter generating 40KHz from a PIC16F877A and the revciever end is made up of the 3 OP-Amps (2 for amplifcation, 1 for comparator)


  • Could someone please explain as to how to filter the input waves to the required level (40 KHz ideal) ?
 
Last edited:

123jack

Advanced Member level 2
Joined
Apr 21, 2010
Messages
547
Helped
91
Reputation
182
Reaction score
77
Trophy points
1,308
Location
UK
Activity points
5,357
When you say unexpectedly high - do you mean in relation
to the input or by some means you didn't expect? (Maybe a bad
component in the op amp circuit is what I'm thinking)

If it is an input issue you could use some form of level clamping
but presumably you designed with that in mind in the first place

If you need frequency filtering a bandpass can be designed with
a few resistors/caps - I think this is what you are asking for?

Isn't the comparator in the PIC suitable for this (just curious why you need
the op amp for that)

I've only used ultrasonics once (short range motion detector to switch on a light) but didn't encounter any background or other issues. If I remember rightly my TX was also my RX though.

I'm guessing you should be ok with an RC bandpass filter.

jack
 

optelwb

Newbie level 3
Joined
Apr 8, 2011
Messages
4
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,303
Re: ultrasonic pic

Hi all,

any one of you worked on Doppler's shift in ultrasonics.
I am working on a project in which i have to analyse the frequency distortion of an ultrasonic wave when passed through different gemstones it is beneficial in testing the quality of those stones


if any one has ideas please share.
You will not get the frequency change, but you can measure velocity change. But I would assume, that this will be not large and you will need the device, that can measure it with high precision.
If you want, I can help. I find the idea could be interesting, but only in the case, if you will measure the sound speed with sufficient precision.

W. Bicz
link removed
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top