CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

How to use LDT0 Vibration Sensor Piezo Film with PIC ?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
mmc01



Joined: 16 Jun 2010
Posts: 31

View user's profile Send private message

How to use LDT0 Vibration Sensor Piezo Film with PIC ?
PostPosted: Thu Jul 05, 2012 8:46 pm     Reply with quote

I want to read data from LDT0 Vibration Sensor Piezo Film. This is data sheet.
http://www.meas-spec.com/downloads/LDT_Series.pdf

I try to read data like this example

http://www.parallax.com/Portals/0/Downloads/docs/prod/compshop/PiezoInfo.pdf

In this example I think it only read high or low input but when I try to read it I can't read anything from sensor. It have no 5V to trigger input high. And If I want to read vibration for build car security how to do it with PIC.
Mike Walne



Joined: 19 Feb 2004
Posts: 1785
Location: Boston Spa UK

View user's profile Send private message

PostPosted: Fri Jul 06, 2012 4:31 am     Reply with quote

Begin by having a look at the sensor output on a 'scope.

This will tell you:-

(1) Whether the sensor is working or not.
(2) What kind of a signal you're playing with.
(3) The starting point for your coding.

Mike
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Fri Jul 06, 2012 6:26 am     Reply with quote

The Parallax example works if the sensor is used as a switch, like if you tap it with your finger. If you are looking for vibrations you must look for smaller signals. At least use a PIC A/D pin or better yet use an amplifier.

Mike is right. You need to look at the signal with a scope to see just what you are dealing with.
_________________
The search for better is endless. Instead simply find very good and get the job done.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group