Ez Line Chart icon Ez Line Chart — 4-series historical line chart to log and compare robot sensor values over time with customizable titles, colors, time axis and EZ-Script control Try it →

ARC Pro

Upgrade to ARC Pro

Elevate your robot's capabilities to the next level with Synthiam ARC Pro, unlocking a world of possibilities in robot programming.

#1  

What sensor are you using? You have an ultra sonic sensor that uses analog? How are you controlling it over analog?

#2  

EZ-Robot Ultrasonic sensors work entirely on the digital ports, therefore trying to connect one to an analog port would prove to be futile. If you're trying to free up digital ports, consider purchasing an analog distance sensor.

After that is sorted, I'm sure you could write code to interface with it. The communication protocol is available.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#3  

Following the link, it seems the sensor he selected does use adc. This means the ezscript command getadc() will return the distance. Check the ezscript manual for usage examples. Otherwise, use Blockly because it is easier.

Author Avatar
United Kingdom
#4  

On which language Ez-Board works ? can i execute program in python language or not ?If yes Does it also supports the master slave protocol called I2C ?

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#5  

Yes, the Ez-B v4 supports i2c master as documented. Discover more about the EZ-B v4/2 Wi-Fi Robot Controller by clicking that link. Additional programming information can be found in the Software tab of this website. Have fun!