2 Replies Latest reply on Jan 8, 2014 4:51 PM by user_14586677

    Ultrasonic distance measurement with PSoC5

    adrien.fenel

      Hi,

         

      We are 4 students in electronics engineering and we have the project to mesure a distance with a PSoC component.

         

      We want to generate a square waveform with a 40 kHz frequency and to measure the time response.

         

      We only have the PSoC Creator 1.0 software.

         

      We're just beginning with this software.

         

      To generate the signal, we use a pwm with a 6 MHz clock and a period of 150.

         

      But how to retrieve the reflective signal ? We have seen some examples for the PSoC 3 with a counter but ours is different.

         

      Thanks in advance for your help,

         

      Best regards,

         

      Adrien.