Forum >Changing behavior of SEN0366 laser distance sensor .. is it possible?
Changing behavior of SEN0366 laser distance sensor .. is it possible?

I've bought 2x SEN0366 laser distance sensors with the intention of continuously measuring walked distance (back and forth along a line over 30m).
I can get good distance measurements out of both sensors, but they are slow, reporting a measure every one second or so -- that's fine though ... I can use that, except ...
... if the target is moving towards or away from the sensor (which it is), the sensor will return no measurement at all, it seems to wait for a stable measure and the laser blinks.
How can I change this behavior? ...I just want a many measure as quickly as possible. I'm perfectly fine with the loss of precision in distance (anything +/- a meter is fine) and I can sort out bad measurements in the Arduino code, rather than having the sensor do it.
The sensor came with an Auto Programmer USB-TTL but no information about how to use it. Your wiki makes me no wiser.
I'm running the Arduino IDE (1.8.19) with the example sketch provided in DFRObots wiki: https://wiki.dfrobot.com/Infrared_Laser ... KU_SEN0366 -- Uno and Nano both work fine (as long as the target is immobile)
Can this be fixed using this sensor, or did I buy the wrong one? ...if so, which one should I have bought?
Kind regards
Soren - Denmark
I can get good distance measurements out of both sensors, but they are slow, reporting a measure every one second or so -- that's fine though ... I can use that, except ...
... if the target is moving towards or away from the sensor (which it is), the sensor will return no measurement at all, it seems to wait for a stable measure and the laser blinks.
How can I change this behavior? ...I just want a many measure as quickly as possible. I'm perfectly fine with the loss of precision in distance (anything +/- a meter is fine) and I can sort out bad measurements in the Arduino code, rather than having the sensor do it.
The sensor came with an Auto Programmer USB-TTL but no information about how to use it. Your wiki makes me no wiser.
I'm running the Arduino IDE (1.8.19) with the example sketch provided in DFRObots wiki: https://wiki.dfrobot.com/Infrared_Laser ... KU_SEN0366 -- Uno and Nano both work fine (as long as the target is immobile)
Can this be fixed using this sensor, or did I buy the wrong one? ...if so, which one should I have bought?
Kind regards
Soren - Denmark
2025-03-31 20:38:41
Vyacheslav.Loktionov
Sensor's data frequency seriously decrease when object in moving.

2025-03-31 20:36:06
Vyacheslav.Loktionov
Good day. I have the same problem. Is someboby know how sort it out?

2023-05-30 18:19:03
IGNACIO.FRANCO
the usb-ttl need driver…where can i download??

jenna
wrote:
2023-05-31 17:57:23 1 Replies
Please check the driver corresponding to the usb-ttl module.
pls check: How to Install CH340 Drivers - SparkFun Learn