I want to measure distance up to 1m with the highest possible accuracy but I can’t make it work using ESP32 and laser sensor Infrared Laser Distance Sensor (50/80m) - SEN0366. I have wiring: SENSOR SEN0366 red ESP32 3.3V, SENSOR SEN0366 black ESP32 GND SENSOR SEN0366 yellow ESP32 rx SENSOR SEN0366 white ESP32 tx. Can you please help me with this?
Hey, @Dejan308002, and welcome to the forums, glad to have you here.
Our forum members may be smart and resourceful, but we are not miracle workers.
We can only make useful suggestions when we have sufficient information.
To facilitate that, could you please do the following:
- Explain what is the specific problem that you’re having. It’s clear that you’re not getting the accuracy that you want, but how inaccurate are your results currently?
- Please provide either photos of your setup and / or a wiring diagram? For the latter, you can make circuit diagrams at Circuit Diagram Web Editor
- Please upload any code that you’re currently using between a pair of ''' commas. Doing so will format your code for readability.