Skip to main content
Visitor II
July 24, 2025
Question

VL52L1X with Serial on Arduino Mega

  • July 24, 2025
  • 1 reply
  • 223 views

I use the VL53L1X TOF- Sensor on an Arduino Mega.
With just the Sensors, everything works well.
But when I try to read from Serial1 (and I tried Serial2 and 3 as well) I do not receive any Data from the SerialPort.

Without the Sensors the SerialPorts work well.

I do not undestand, where this comes from. Has anyone some advice for me?

Thanks!!

1 reply

Zhiyuan.Han
Technical Moderator
July 30, 2025

Hi 

From your description, seems the issue is more platform realted. 

  • Only VL53L1X, it works fine
  • Only SerialPort, it works fine
  • VL53L1X + SerialPort, no data output.

Can you share your test codes and log(if have) of the 3 conditions, then we can debug together.

 

Br

Zhiyuan.Han 

 

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.