This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TUSS4440: How to use Vout adc samples

Part Number: TUSS4440
Other Parts Discussed in Thread: TUSS4470, ENERGIA

Hi,

I am using TUSS4470 and I want to measure the TOF distance.

Can I use only VOUT ADC signal to get the TOG without using OUT4 pin.

How to use ADC sample values from the energia code to get the TOF?

  • Hello Alihussain,

    Thanks for posting to the sensing forum!

    The method you use is dependent on what you prefer in your system but yes you can use either the analog data on VOUT  with an ADC or use the digital OUT4 data to measure the TOF. Some users do not require the analog data and just want to time using the digital pin.

    The ADC data would allows you to further manipulate or use your analog data to obtain more info from the measurement. For example, some users look for specific response shapes from their echo while other users can add additional post processing they may need like additional filtering or digital gain.

    Essentially to get the ToF from your ADC data you need to time how long it takes from when your ultrasonic burst is emitted to when the echo reaches your programmed threshold on the ADC.

    Best,

    Isaac