Replicate a 3D environment in real-time!
Project showcase by Travis Ledo
Hey my prediction is that your UNO only has 1 serial port. You can see me talk about the issue in the description. The reason I used a MEGA and not an UNO was because of that reason. The UNO cannot communicate via USB and read data from the lidar sensor at the same time (The same reason why you cannot push code to the UNO if you have something connected to TX/RX). There is a Software Serial Library that usually would solve this issue in most cases but in the situation where we are dealing with servos that continuously need to communicate with the Arduino, it would not work either. The servo would kind of move like a broken robot. The only way is to get a MEGA that has more than 1 TX/RX ports. I hope that is what you are talking about.
Or connect with your social account:
New here? Create an account