cancel
Showing results for 
Search instead for 
Did you mean: 

VL52L1X with Serial on Arduino Mega

Serafina
Associate

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 1
Zhiyuan.Han
ST Employee

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.