Hello, I searched the forum and found no topic about this model of ultrasonic sensor> AT / R-40.
Only the shield is ready.
Would anyone have any material explaining how to use the sensor + arduino to emit the signal and make the reading? Or maybe some sample source code so I can study how it works?
Thanks.
You can try configuring the transmitter and receiver much like a HC-SR04 pair. This is all I find for a data sheet.
THESE SPECIFICATION DESCRIBE THE ULTRASONIC TRANSDUCERS |
---|
TYPE AT40-10P : TRANSMITTER(WHITE DOT MARKING ON BASE) |
AR40-10P : RECEIVER(GREEN DOT MARKING ON BASE) |
This is one of the dozens of code samples out there. Your Trig is the transmitter and the Echo is the receiver. Your units should have the dot markings described above. I am guessing the Arduino can source enough current to drive the transmitter and also the 40 KHz in generated onboard the transducer.
Ron
MODEL NO. : AT/R40-10PMODEL NO. : AT/R40-10PMODEL NO. : AT/R40-10P