Hitachi-LG LDS Lidar icon Hitachi-LG LDS Lidar — Hitachi-LG LDS 360-degree LiDAR driver streaming scans into ARC NMS for obstacle detection, SLAM use, Arduino hookup, config options and variables. Try it →

ARC Pro

Upgrade to ARC Pro

Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.

Author Avatar
Canada
#9  

I kept the battery in mine and use the USB for charge from an EZ-B Digital Ports PWR & GND Pin and modded a removable plug for the cam switch to the EZ-B Signal Pin.

@RichMR2 Using ToggleDigital(Dx) set for 1 second Sleep(1000) seems to work for ON and, as you noticed, it can turn on "by itself" sometimes when initially powering on the EZ-B.

You have to play around with the timings for OFF; I found 4 seconds Sleep(4000) seems to work OK for me.

ToggleDigital (D1)
Sleep(4000)
ToggleDigital (D1)