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 CCS Technical Support

Delaying sensor signal for PC io card

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



Joined: 08 Nov 2005
Posts: 28

View user's profile Send private message

Delaying sensor signal for PC io card
PostPosted: Fri Nov 17, 2006 9:08 am     Reply with quote

I have an application that needs to detect a sensor signal.
The bad part is, the signal is too fast for the pc to detect.
Currently I am using a PIC to collect the signal from the sensor then delay the pulse so that the pulse is slow enuf for the pc to capture by using io card.
I am just wondering if there is any other way of doing this besides using PIC?

Thanks in advance.
SET



Joined: 15 Nov 2005
Posts: 161
Location: Glasgow, UK

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Fri Nov 17, 2006 10:13 am     Reply with quote

Use a monostable to stretch the pulse
HTH
leesing2k3



Joined: 08 Nov 2005
Posts: 28

View user's profile Send private message

PostPosted: Tue Nov 28, 2006 4:47 am     Reply with quote

oh, thank you very much
SherpaDoug



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

View user's profile Send private message

PostPosted: Tue Nov 28, 2006 5:09 pm     Reply with quote

A more complicated but more elegant way is to have the sensor set a flip flop, which the PIC will reset once it has been read.
_________________
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