Asked

Monitoring EZ-B V4 Info Index

I have a question regarding the ARC robot skill called "EZ-B v4 Info." I assume that since I can't select a specific EZB index to monitor, only the EZB at index 0 is able to be monitored with this Robot Skill. Is that correct?



Related Hardware (view all EZB hardware)
EZ-B V4 by EZ-Robot
EZ-B v4/2 robot controller: dual Cortex ARM, Wi-Fi, audio/video, 24 servo/digital ports, I2C/UART, camera and Synthiam ARC control for custom robots
Wi-Fi / USB
Servos 24
Camera
Audio
UART 3
I2C
ADC 8
Digital 24

Related Robot Skills (view all robot skills)
EZ-B V4 Info by Synthiam
Displays EZ-B v4 internal temperature and battery voltage, shows built-in battery monitor and LiPo protection settings in Connection Control.
EZB Connections by Synthiam
Add and manage up to 255 EZ-B I/O controller connections in ARC, select COM/IP ports or device addresses to connect or remove devices.

ARC Pro

Upgrade to ARC Pro

Unlock the true power of automation and robotics by becoming a proud subscriber of Synthiam ARC Pro.

Author Avatar
PRO
Canada
#1  

Short answer: Yes - the EZB v4 Info robot skill only shows the readings for the EZB that ARC is using as the project’s primary connection (connection index 0). There is no option in that skill to pick a different EZB index.

If you want to monitor other EZBs in the same project, you have two options:

  1. Make the EZB you want to monitor the active/primary connection (index 0) in your Connection Control - the EZB v4 Info skill will then show that board’s temperature and input voltage.

  2. Create a small custom robot skill (JavaScript) to read temperature and input voltage from any EZB index. Add it via Project Add Robot Skill, open the kebab (threeline) menu for the skill to edit settings or script. Example (JavaScript) you can drop into a Script robot skill - change ezbIndex to the index you need:

// monitor EZB at index 5 (change to your index)
var ezbIndex = 5;

while (true) {
  var temp = EZB.getCPUTemp(ezbIndex);         // CPU temperature (C)
  var volt = EZB.getInputVoltage(ezbIndex);   // input voltage (V)
  print("EZB[" + ezbIndex + "] Temp: " + temp + " C  Voltage: " + volt + " V");
  sleep(2000); // 2000 ms
}

Notes:

  • Use JavaScript (preferred) in robot skills; print() is recommended for output.
  • If you need help building that robot skill or want the script to push readings to a control or log file, tell me which EZB indices you have and how you want the data displayed and I’ll give you the exact script.
  • If you don’t know the EZB index numbers you’re using, open the Connection Control or the EZB Connections skill to see connection indexes and status.

If you want, tell me how many EZBs you have and which indexes and I’ll create a readytopaste robot skill for monitoring them. Also see Create robot skill overview: https://synthiam.com/Support/Create-Robot-Skill/Overview


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.