Thumbnail

Read Digital

+ How To Add This Control To Your Project (Click to Expand)
  1. Load the most recent release of ARC.
  2. Press the Project tab from the top menu bar in ARC.
  3. Press Add Control from the button ribbon bar in ARC.
  4. Choose the Digital category tab.
  5. Press the Read Digital icon to add the control to your project.
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.