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!
How to add the Read Digital robot skill
- Load the most recent release of ARC (Get ARC).
- Press the Project tab from the top menu bar in ARC.
- Press Add Robot Skill from the button ribbon bar in ARC.
- Choose the Digital category tab.
- Press the Read Digital 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 Read Digital robot skill.
How to use the Read Digital robot skill
This skill gets the digital status of a port. It detects a TTL voltage signal low (0V) or a TTL voltage signal high (+3.3V or +5V, depending on the I/O Controller).Main Window

1. Digital Status Indicator
This Digital Status Indicator changes color based on the detected input voltage. The color will start as black before an I/O controller is connected. Once an I/O controller is connected the indicated color will be red for a voltage signal low (0V) and green for a voltage signal high (+3.3V or +5V).
Settings

1. Title Field
This field contains the title of the Read ADigital skill. You can change it if you'd like. *Note: Changing the title will also change the title in the controlCommand() associated with this skill.
2. Board Drop-down
Select your board number.
3. Port Drop-down
Select your Digital port number.
4. Interval Drop-down
Select how often you would like to read the input (in milliseconds).
How to Use Read Digital
1) Add the Read Digital skill to your ARC project (Project -> Add Skill -> Digital -> Read Digital).
2) In the skill settings select the Digital port that you have your device connected to.
3) In the Main Window watch the Digital Status Indicator to see if a high or low signal is detected.
Requirements
An I/O Controller with digital input ports.
*Note: You can't send a voltage higher than the I/O Controllers maximum high input voltage or you may damage the input pins.
Related Tutorials
Related Hack Events
Related Questions
question

Ezbpi Server - Access To The Pi Gpios
Hi, I have successfully connected ARC to the Pi using the EZBPi server, but I don't understand how to access the GPIOs...
question

More DIO Ports Required
Hi all, is there a chance while using an EZ-B V4 to add another controller for increasing the number of DIOs ? Some kind...
Upgrade to ARC Pro
ARC Early Access will give you immediate updates and new features needed to unleash your robot's potential!
I can confirm that DigitalRead does indeed detect a high signal (3.3V for EZ-Bv4 which is also 5V tolerant) and low signal.
I have read that the threshold for a high signal has to be above 1.88V and for a low voltage it has to be under 1.23V for STM32 chips.
The skills uses the Digital I/O pins in the "I" (input configuration) and reads the voltage on the D8 (or otherwise setup) Digital pin to see if it's either under 1.23V (low - red) or above 1.88V (high - green).