The original AJ-SR04M datasheet is not always available on major manufacturer sites (e.g., ST, TI) because it's a module. However, you can download it from:
Thus:
Actual distance = Measured distance * (343.0 / sqrt(331.3 * (1 + T_celsius/273.15))) aj sr04m datasheet
The datasheet specifies ±1% accuracy at 20°C. However, sound speed changes with temperature: The original AJ-SR04M datasheet is not always available
while GPIO.input(ECHO) == 0: pulse_start = time.time() while GPIO.input(ECHO) == 1: pulse_end = time.time() TI) because it's a module. However
The is an improved, industrial-grade variant of the popular HC-SR04. Unlike the standard HC-SR04, this module is enclosed in a waterproof, IP67-rated housing , making it suitable for outdoor, dusty, or humid environments (e.g., tank level sensing, outdoor robotics, car reverse sensors).
#define TRIG 9 #define ECHO 10
We'd like to ask you a few questions to help improve CodeCanyon.