TOF10120 Range Module 10-180Cm Distance Sensor Uart I2C 3-5V Rs232 Arduino

$32.50 Inc. GST
You save (%)

Availability: 6 in stock Category:
Quantity Discount (%) Price
1 $32.50
2 - 4 5 % $30.88
5 - 9 7.5 % $30.06
10 - 19 10 % $29.25
20 - 49 12.5 % $28.44
50 - 99 15 % $27.63
100+ 17.5 % $26.81

Description

Experience Accurate Distance Measurement with the TOF10120 Range Module 10-180cm Distance Sensor for Arduino

Looking for precise and consistent long-range distance measurement solutions? The TOF10120 Range Module offers unparalleled performance with its advanced time-of-flight (TOF) technology, catering to high-speed autofocus (AF) applications. Whether you’re engaged in robotics, white goods manufacturing, or various other sectors, this distance sensor module is designed to meet your needs efficiently.

Key Features:

  • Cutting-Edge Technology: The TOF10120 employs innovative time-of-flight technology, harnessing Sharp’s original Single Photon Avalanche Diodes (SPAD) within a cost-effective CMOS process. This translates to accurate and dependable ranging results, unaffected by the reflective properties of the target object.
  • Infrared Precision: Operating at a wavelength of 940nm, the built-in laser is classified as class 1 under IEC 60825-1:2014-3rd edition regulations. This ensures safe usage while maintaining excellent performance.
  • Compact and Robust: Housed in a small ceramic package measuring 20×13.2×2.0mm, the TOF10120 thrives in diverse environments. Its design enables absolute range measurement of up to 1.8 meters with an impressive 5% accuracy indoors.
  • Ambient Light Immunity: Unfazed by high levels of infrared ambient light, this sensor module excels even in challenging lighting conditions.
  • Rapid and Precise Ranging: Achieve high-speed ranging results within a maximum of 30ms, enhancing your workflow efficiency.
  • Optical Cross-Talk Compensation: The TOF10120 is engineered with advanced cross-talk compensation techniques, ensuring robustness against optical interference and maintaining accuracy.
  • User-Friendly Design: With a compact form factor and standard solder reflow compatibility, integrating this module into your setup is hassle-free.
  • Versatile Applications: Whether you’re involved in high-speed autofocus, continuous autofocus for video production, user detection for devices, robotics for obstacle avoidance, or white goods manufacturing, the TOF10120 caters to your specific needs.

Package Contents: Experience the future of distance measurement with the TOF10120 Laser Range Sensor Module. In the package, you’ll find:

  • 1 x TOF10120 Laser Range Sensor Module

Embrace Precision and Efficiency: Upgrade your projects with the TOF10120 Range Module 10-180cm Distance Sensor. This cutting-edge technology promises accurate, repeatable, and rapid distance measurements across various applications. Say goodbye to the limitations of traditional sensors and unlock a new realm of possibilities with this state-of-the-art sensor module.

Enhance your automation, streamline your robotics, and revolutionize your distance measurement capabilities with the TOF10120. Embrace the future of accurate ranging today.

📌 Code Examples & Usage – TOF10120 Time-of-Flight Distance Sensor

📋 Overview

The TOF10120 is a laser time-of-flight (ToF) distance sensor capable of measuring distances from approximately 10 cm to 180 cm with good stability and immunity to ambient light.

It supports UART and I²C communication, making it easy to use with:

  • Arduino

  • ESP32 / ESP8266

  • Raspberry Pi

  • PLC / industrial controllers

Typical applications:

  • Liquid level measurement

  • Obstacle detection

  • Robotics & automation

  • Distance monitoring

  • Smart devices


⚙ Key Features

  • Measurement range: ~10–180 cm

  • Measurement type: Laser Time-of-Flight

  • Interfaces: UART (TTL) & I²C

  • Supply voltage: 3–5 V

  • Output: Digital distance in mm

  • Compact & low power

📌 Much more stable than ultrasonic sensors in noisy or narrow environments.


⚠ Important Electrical Notes

  • Logic level: 3.3 V – 5 V compatible

  • UART is TTL level (NOT true RS232 ±12 V)

  • Works directly with Arduino & ESP32

  • Common ground required

✔ Safe to power from Arduino 5V or ESP32 3.3V


🔌 Pinout

Pin Function
VCC 3–5 V
GND Ground
TX UART TX (sensor → MCU)
RX UART RX (MCU → sensor)
SDA I²C SDA
SCL I²C SCL

📌 You only need UART OR I²C, not both.


🧪 Option 1️⃣ – UART Mode (Recommended for Beginners)

Default UART Settings

  • Baud rate: 9600

  • Data: 8N1

  • Output format: Distance in mm


🔌 UART Wiring – Arduino Uno

TOF10120 Arduino Uno
VCC 5V
GND GND
TX D2
RX D3

(Uses SoftwareSerial)


🧪 Arduino UART Example

#include <SoftwareSerial.h>

SoftwareSerial tof(2, 3); // RX, TX

void setup() {
Serial.begin(9600);
tof.begin(9600);
}

void loop() {
if (tof.available() >= 2) {
int high = tof.read();
int low = tof.read();
int distance = (high << 8) | low;

Serial.print("Distance: ");
Serial.print(distance);
Serial.println(" mm");
}
}


🔌 UART Wiring – ESP32 (Recommended)

TOF10120 ESP32
VCC 3.3V
GND GND
TX GPIO16
RX GPIO17

🧪 ESP32 UART Example

HardwareSerial tofSerial(2);

void setup() {
Serial.begin(115200);
tofSerial.begin(9600, SERIAL_8N1, 16, 17);
}

void loop() {
if (tofSerial.available() >= 2) {
int high = tofSerial.read();
int low = tofSerial.read();
int distance = (high << 8) | low;

Serial.print("Distance: ");
Serial.print(distance);
Serial.println(" mm");
}
}

✔ Very reliable
✔ Best option for fast updates


🧪 Option 2️⃣ – I²C Mode

Default I²C Address

  • 0x52 (7-bit)


🔌 I²C Wiring – Arduino / ESP32

TOF10120 Arduino Uno ESP32
VCC 5V 3.3V
GND GND GND
SDA A4 GPIO21
SCL A5 GPIO22

🧪 I²C Example (Arduino / ESP32)

#include <Wire.h>

#define TOF_ADDR 0x52

void setup() {
Wire.begin();
Serial.begin(9600);
}

void loop() {
Wire.beginTransmission(TOF_ADDR);
Wire.write(0x00); // distance register
Wire.endTransmission();

Wire.requestFrom(TOF_ADDR, 2);
if (Wire.available() == 2) {
int high = Wire.read();
int low = Wire.read();
int distance = (high << 8) | low;

Serial.print("Distance: ");
Serial.print(distance);
Serial.println(" mm");
}

delay(200);
}


📏 Measurement Notes

✔ Best accuracy between 10–150 cm
✔ Very dark or absorbent surfaces may reduce range
✔ Avoid direct sunlight into the sensor
✔ Mount sensor securely for consistent readings


🧠 Common Issues & Fixes

Issue Cause Fix
Always 0 mm RX/TX swapped Swap UART pins
No I²C response Wrong address Try 0x52
Unstable readings Movement / vibration Secure mounting
Short range Dark target Improve reflectivity

Additional information

Weight 40 g
Dimensions 260 × 160 × 20 mm

Reviews

There are no reviews yet.


Only logged in customers who have purchased this product may leave a review.