So i have project for underwater rangefinding using JSN-SR04T. I've read on the datasheet that the module sends square waves. Is it possible to program it so that it sends Chirp waves instead ? (Help with the coding is very appreciated) Thanks in advance

  • 1
    Does the data sheet say the module can send chirp waves? – VE7JRO Sep 23 '19 at 17:29
  • no, it says it sends square waves – Javan Rumi Sep 24 '19 at 1:09
  • Well surely that was your answer? – C.W.G Sep 24 '19 at 12:56
  • 1
    This question is not about Arduino, this question can be better solved by contacting the supplier, this question shows no/little effort of the asker and is too broad (also asks help for "coding"). Please read arduino.meta.stackexchange.com/questions/2523/… I'm voting to close, but please feel free to adjust your question accordingly. – Paul Sep 24 '19 at 16:02

As I googled the sensor, I found various sites stating, that a JSN-SR04T behaves exactly like the HC-SR04. The difference is mainly the water prooving.

So the answer is: No, you can't do this. The square wave, which drives the ultrasonic transducers, is generated by a hardware circuit and is not meant to be changed. To output a chirp wave you would need to rebuild the signal generation and measurement hardware (leaving only the transducers unchanged). At that point you may just buy the pure ultrasonic transducers and build the rest yourself.

  • Ok thank for the help – Javan Rumi Sep 23 '19 at 23:04
  • Ok, i also want to translate the distance data into a 3D image, how do you propose i do that ? – Javan Rumi Sep 24 '19 at 1:10
  • That depends on how you want to represent the image and how exactly you are measuring. Are you moving the sensor over a surface, or are you turning the sensor ro look in different directions? – chrisl Sep 24 '19 at 6:44

Not the answer you're looking for? Browse other questions tagged or ask your own question.