Thumbnail

ADC Graph

Historical ADC graph and numeric readout (0-255) for 0-3.3/5V inputs; configurable board/port, sample interval, color, and pause for ezb controllers.

How to add the ADC Graph robot skill

  1. Load the most recent release of ARC (Get ARC).
  2. Press the Project tab from the top menu bar in ARC.
  3. Press Add Robot Skill from the button ribbon bar in ARC.
  4. Choose the ADC category tab.
  5. Press the ADC Graph icon to add the robot skill to your project.

Don't have a robot yet?

Follow the Getting Started Guide to build a robot and use the ADC Graph robot skill.


How to use the ADC Graph robot skill

The ADC Graph robot skill displays an EZ-B analog input (ADC) as a live scrolling historical graph. This is useful for viewing how an analog sensor changes over time (for example: potentiometers, light sensors, flex sensors, pressure sensors, analog distance sensors, etc.).

Main Window

ADC Graph - Main Window

1. Graph Display
Displays the ADC value over time in a line graph. New samples are plotted continuously using the sampling interval configured in the settings.

2. Value Display
Displays the current ADC numeric value detected (0 - 255). This number corresponds to the measured voltage between 0V and your TTL High voltage (3.3V or 5V).

3. Pause Checkbox
When checked, ADC sampling and graph updates are paused. Uncheck to resume live readings.

Settings

ADC Graph - Settings

1. Title Field
The title of this skill as it appears in your ARC project. You may change it to anything you like.
Note: Changing the title also changes the name used by controlCommand() for this skill.

2. Board Drop-down
Select the EZ-B board number (connection index) that contains the ADC port you want to read. This is useful when using multiple EZ-B controllers in one ARC project.

3. Port Drop-down
Select the ADC port to read from. This must be an analog-capable port on your I/O controller.

4. Interval Drop-down
Select the delay (in milliseconds) between ADC samples. Smaller values update the graph more frequently, but can increase CPU usage and communication traffic. Larger values update less often, which can be helpful for slow-changing sensors.

5. Color Drop-down
Select the color used for the graph line to make it easier to read or to match your project theme.

How to Use ADC Graph

  1. Add the ADC Graph skill to your ARC project: ProjectAdd SkillADCADC Graph.
  2. Open the skill Settings and select the correct Board and ADC Port that your analog device is connected to.
  3. Choose an Interval to control how often readings are taken.
  4. View the live value and historical trend in the Main Window. Use Pause to freeze the display for inspection.

Video

Requirements

An I/O Controller with analog (ADC) input ports.

ARC Pro

Upgrade to ARC Pro

Become a Synthiam ARC Pro subscriber to unleash the power of easy and powerful robot programming