Asked

Accessing The Analog Values On An Arduino

Is it possible to access analog values on an Arduino using the existing ARC software? I've tried, but it seems that the only ADC (Analog-to-Digital Converter) skills available are tied to the EZ-Robot EZ-B v4 and EZ-Robot EZ-B Tiny controllers. I have several Arduinos that I'm already using with the Stepper servo skill, and they have extra pins available for analog inputs and outputs. However, I do not know how to access these analog values through ARC. If this functionality is not currently available, could you please consider adding it to the list for future skill development?



Related Hardware (view all EZB hardware)
Program Arduino Uno with EZB firmware for Synthiam ARC control; pinouts, PWM pins and frequency details for Arduino boards.
USB
Servos 12
Camera
Audio
UART
I2C
ADC 6
Digital 14

Related Robot Skills (view all robot skills)
Lewansoul Servo by LewanSoul
Control LewanSoul LX-16A servos via ARC (EZ-B v4/IoTiny): assign virtual ports, read positions, set speeds, and enable continuous rotation.
Real-time servo position input via Arduino ADC over I2C; supports Nano (6 channels) or Mega (16), configurable I2C address and scalable chaining.
Arduinocoms by ShadowStudios
EZB v4-Arduino I2C bridge for ARC: supports custom C# code and reads gamepad or Wii controller inputs for robot control

ARC Pro

Upgrade to ARC Pro

With ARC Pro, your robot is not just a machine; it's your creative partner in the journey of technological exploration.

Author Avatar
PRO
Synthiam
#9   — Edited

The stepper firmware is not an ezb. The stepper protocol does not support anything like reading ADC. So no, you wouldn't get an Arduino's adc value from a stepper motor firmware. You couldn't add it either because the protocol doesn't allow it. An Arduino would need an EZB firmware installed to operate EZB commands, not a stepper firmware.

#10   — Edited

Understood, had a feeling that might be the case. I'll just use the EZB-4.