
Waterproof Ultrasonic Module JSN-SR04T AJ-SR04M Distance Measuring Sensor for Arduino
In stock
Order before 12.00PM
The JSN-SR04T V3.0 is a waterproof ultrasonic distance measuring module designed for accurate detection in wet or outdoor environments. Featuring a single waterproof transducer with a 2.5m cable, it offers up to 6 operating modes for flexible integration with Arduino, ESP32, Raspberry Pi, and other microcontrollers.
Ideal for applications like water level monitoring, car parking sensors, obstacle avoidance, and security systems.
Features:
-
Waterproof transducer for outdoor and harsh environments
-
Wide detection range: 23 cm to 600 cm (9"–20 ft)
-
±37.5° field of view for broad coverage
-
40 kHz operating frequency for reliable distance measurements
-
3.3V & 5V logic compatible for flexible MCU interfacing
-
2.5m transducer cable for easy placement
-
Multiple modes: Ping, Serial, Automatic, Low Power, Threshold Switch
Specifications:
Parameter | Value |
---|---|
Detection Range | 23 cm – 600 cm |
Operating Frequency | 40 kHz |
Field of View | ±37.5° |
Cable Length | 2.5 m |
Operating Voltage | 3.3V – 5V |
Logic Level | 3.3V & 5V compatible |
Operating Modes | 6 modes (Ping, Serial, Auto, Low Power, Threshold) |
Trigger Pulse | ≥20 μs HIGH in Ping mode |
Serial Baud Rate | 9600 bps |
Low Power Mode Consumption | < 70 μA |
Operating Modes Overview:
-
Mode 0 – Ping Mode (default, like HC-SR04 but with ≥20 μs trigger)
-
Mode 1 – Automatic Serial Output (continuous updates every ~100 ms)
-
Mode 2 – MCU Controlled Serial Output (measurement only on trigger command)
-
Mode 3 – Automatic Ping Mode (pulses every 200 ms)
-
Mode 4 – Low Power Ping Mode (<70 μA between pings)
-
Mode 5 – Threshold Output (logic HIGH if distance < 1.5 m)
Pinout:
Pin | Function |
---|---|
5V | Power supply |
RX / TRIG | Trigger input (Ping mode) / Serial RX |
TX / ECHO | Echo output (Ping mode) / Serial TX |
GND | Ground |
Package Includes:
-
1× JSN-SR04T V3.0 Control Module
-
1× Waterproof Ultrasonic Transducer with 2.5 m cable
How to interface with an Arduino?
To interface the Waterproof Ultrasonic Module JSN-SR04T (or AJ-SR04M) with an Arduino UNO, you'll need to connect the sensor to the Arduino and write a sketch (code) to read the distance measurements. Here's a step-by-step guide:
Wiring the Sensor
-
Connect the VCC Pin:
- JSN-SR04T: Connect the VCC pin to the 5V pin on the Arduino.
- AJ-SR04M: Connect the VCC pin to the 5V pin on the Arduino.
-
Connect the GND Pin:
- Connect the GND pin to the GND pin on the Arduino.
-
Connect the Trigger Pin:
- JSN-SR04T: Connect the Trigger pin to a digital pin on the Arduino (e.g., pin 9).
- AJ-SR04M: Connect the Trigger pin to a digital pin on the Arduino (e.g., pin 9).
-
Connect the Echo Pin:
- JSN-SR04T: Connect the Echo pin to a digital pin on the Arduino (e.g., pin 10).
- AJ-SR04M: Connect the Echo pin to a digital pin on the Arduino (e.g., pin 10).
Example Arduino Sketch
Here's a basic example of an Arduino sketch to measure distance using the JSN-SR04T or AJ-SR04M sensor:
// Define pins const int triggerPin = 9; const int echoPin = 10; // Define variables long duration; int distance; void setup() { // Start the serial communication Serial.begin(9600); // Set the trigger pin as an output pinMode(triggerPin, OUTPUT); // Set the echo pin as an input pinMode(echoPin, INPUT); } void loop() { // Send a 10 microsecond pulse to trigger the sensor digitalWrite(triggerPin, LOW); delayMicroseconds(2); digitalWrite(triggerPin, HIGH); delayMicroseconds(10); digitalWrite(triggerPin, LOW); // Read the duration of the pulse from the echo pin duration = pulseIn(echoPin, HIGH); // Calculate the distance in cm distance = duration * 0.0344 / 2; // Print the distance to the Serial Monitor Serial.print("Distance: "); Serial.print(distance); Serial.println(" cm"); // Wait for a short time before measuring again delay(500); }
Key Points:
- Trigger Pin: Sends a pulse to start the measurement.
- Echo Pin: Receives the pulse that bounces back from the object.
Make sure to adjust the pin numbers if you use different pins on your Arduino. Also, ensure that your sensor is compatible with the voltage levels of the Arduino to avoid any damage.
Request Stock
Recently viewed products
You might also be interested in...
Customers who bought this also bought...
General Questions
-
What is the latest price of the Waterproof Ultrasonic Module JSN-SR04T AJ-SR04M Distance Measuring Sensor for Arduino in Bangladesh?
The latest price of Waterproof Ultrasonic Module JSN-SR04T AJ-SR04M Distance Measuring Sensor for Arduino in Bangladesh is BDT 597.00 . You can buy the Waterproof Ultrasonic Module JSN-SR04T AJ-SR04M Distance Measuring Sensor for Arduino at the best price on BDTronics.com or contact us via phone.
-
Where to buy Waterproof Ultrasonic Module JSN-SR04T AJ-SR04M Distance Measuring Sensor for Arduino in Bangladesh?
You can buy Waterproof Ultrasonic Module JSN-SR04T AJ-SR04M Distance Measuring Sensor for Arduino online by ordering on BDTronics.com or directly collect by visiting our store in person. BDTronics is a trusted provider of high-quality electronics, 3D printers, solar systems, and robotics parts. We offer fast shipping across the country via courier service.
-
What are the delivery options of Waterproof Ultrasonic Module JSN-SR04T AJ-SR04M Distance Measuring Sensor for Arduino in Bangladesh?
We provide home delivery service all over Bangladesh. We support cash on delivery, bKash and Credit Card (Visa/ MasterCard/ Amex) payment solutions. The delivery time usually takes 1-2 days inside Dhaka and 2-3 days outside Dhaka.