Wireless Distance Monitoring with Arduino Uno, TF-Luna LiDAR and XBee
This project uses the TF-Luna LiDAR sensor with an Arduino Uno to measure distance in real time. The Arduino reads distance data from the TF-Luna over i2C and processes the values. The measured distance is then transmitted wirelessly using the XBee S2C module. On the receiver side, another XBee module connected to a system (Arduino/PC) receives the transmitted data and displays or logs the distance. The setup provides a simple wireless distance monitoring system without the need for physical connections between the sensing and receiving units. It can be used for basic remote sensing, obstacle detection, or monitoring applications.
Devices & Components
1
10 jumper wires 150mm male
1
Arduino Uno Rev3
1
TF-Luna LiDAR Sensor
1
XBee S2C Module
Software & Tools
Arduino IDE
Digi XCTU
Project description
Code
distance_xbee_01
cpp
Comments
Only logged in users can leave comments