Sharp IR Radar icon Sharp IR Radar — Radar-style Sharp IR scanner for EZB ADC: sweeps sensor, displays distance dots, logs ADC voltage, and can steer/avoid obstacles via Movement Panel Try it →

ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's 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)