Weekly Report-3: Sonic Anemometer

What I did:

  • Checked out waveforms with CRO and wave generator, and the receiver output was like distorted sine waves
  • created a short program to generate a trigger pulse from PRU using gpio pin from output register
    To detect the time of flight, i have planned to analyse transmitter and receiver waves and find cross correlation after adc sampling of waveforms, by using some python libraries like numpy.

challenges:

  • how to program PRU0 such that it can trigger the transmitters at required time and also change the input channel in PRUDAQ
  • store and transfer the output from adc to user space to use python libraries

What I did:

   - Checked out waveforms with CRO and wave generator, and the receiver
   output was like distorted sine waves
   - created a short program to generate a trigger pulse from PRU using
   gpio pin from output register

To detect the time of flight, i have planned to analyse transmitter and
receiver waves and find cross correlation after adc sampling of waveforms,
by using some python libraries like numpy.

challenges:

   - how to program PRU0 such that it can trigger the transmitters at
   required time and also change the input channel in PRUDAQ

Do you really need the transmitter to be controlled precisely? Couldn't you do
something like:
turn on TX
start recording (2 channels, RX & TX)
wait for 1-2 cycles
stop recording
turn off TX