LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading Pulsewidth Through Serial

I am using a Parallax accelerometer to measure acceleration and the output of the accelerometer is a TTL Pulsewidth.

 

I am wondering if it is possible to read the pulsewidth in through Serial DB9 connection and measure the actual pulsewidth.

 

Thank you for any help.

0 Kudos
Message 1 of 3
(2,023 Views)

No.

Message 2 of 3
(2,020 Views)

The short answer has been given. You can't do what you asked directly with a serial port. You need a device between the digital logic (TTL pulses) and the serial port - specifically a Digital Input DAQ. There are scores of these available for under $100. Trouble is, accelerometers are high speed devices, so you'll be limited by what you can detect by the speed of serial port communication, and DAQ's sample rate. Look for >1000 samples per second, assuming the Parallax can run at 115,200 baud.

Richard






0 Kudos
Message 3 of 3
(2,003 Views)