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.

PGA460-Q1: 20 meters distance measuring

Part Number: PGA460-Q1
Other Parts Discussed in Thread: PGA460PSM-EVM

Hello,

I am having some difficulty on post 11 meters measurements. I think my time comands are wrong. Please check below:

1 - Send Preset 1 Burst and Listen with maximum record lenght

2 - Wait 60 miliseconds

3 - Send Preset 2 Listen Only with maximum record lenght

4 - Whitout wait, send Ultrasonic Measurement Result comand

5 - Wait other 60 miliseconds

6 - Send Ultrasonic Measurement Result comand

I get two UMR results, but they are the same values. Could you please provide code example?

Best regards and thanks,

Gabriel Onzi

  • Hi Gabriel,

    The problem with your solution is that step 3's listen only command clears step 1's burst-and-listen 0-10m results from the ultrasonic measurement result registers. You need to swap the order of steps 3 and 4. However, you will still have a blind zone around 9~11m since you are reading back data and sending the listen only command during the same burst sequence. If you use USART/SPI interface with an 8MHz clock, you can minimize this blind zone to tens or hundreds of microseconds.

    You may need to separate your 0-20m measurement into two independent measurements: 0-10m and 10-20m. Here is the most robust command sequence solution for 0-20m measurements, though it is more time consuming: 

    1. Send Preset 1 Burst and Listen with maximum record length
    2. Wait 60 milliseconds
    3. Send Ultrasonic Measurement Result command to get 0-10m result.
    4. Wait 60 milliseconds to allow residual ultrasonic echo activity to fully attenuate.
    5. Send Preset 1 Burst and Listen with maximum record length
    6. Wait 60 milliseconds
    7. Send Preset 1 Listen Only with maximum record length
    8. Wait 60 milliseconds
    9. Send Ultrasonic Measurement Result command to get 10-20m result.

  • Thanks very much, Akeem. Its seems to be working fine. I could even get the Echo 0-20m profile finaly. I'll be able to run more tests now for my application.

    Also do you have information regards to the 40kHz transducer used in PGA460q1-PSM? So far it has very nice results and I couldn't find in datasheets.

    Best regards and thanks again,

    Gabriel Onzi

  • Gabriel,

    The transducer used on the PGA460PSM-EVM is the PUI Audio UTR-1440K-TT-R.