How to add the ADC Value 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 ADC category tab.
- Press the ADC Value 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 Value robot skill.
How to use the ADC Value robot skill
ADC (Analog Digital Converter) displays the voltage and value from the specified ADC port. The input voltage can be between 0 and +3.3/+5 VDC (depending on your TTL high side value). The voltage will be displayed as a linear representation of the voltage value between 0 and 255.Main Window
1. Linear Value Readout
A linear value between 0 and 255 that is proportional to the input voltage.
2. Voltage Readout
The analog voltage is detected in VDC units.
3. Pause Checkbox
When checked, the ADC readings will pause.
Settings
1. Title Field
This field contains the title of the Read ADC 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 ezb board number which corresponds with the connection index. This is used to support multiple ezbs.
3. Port Drop-down
Select your ADC port number.
4. Unit Description Field
Write in the unit of measure.
5. Multiplier Field
Enter the multiplier that will convert the 8-bit linear value to your chosen unit of measure.
6. Interval Drop-down
Select the wait time in milliseconds between ADC samples.
How to use Read ADC
1) Add the Read ADC skill to your ARC project (Project -> Add Skill -> ADC -> Read ADC).
2) Select the ADC port that you have an analog device plugged into in the skill settings.
3) Read the value in the Main Window.
Video
Requirements
An I/O Controller with analog ports.
Related Tutorials
tutorial
Flex Sensor With An ADC Port Tutorial
Here is a companion tutorial to go with the ADC tutorial. The ADC ports on the EZ-b v4 can host a number of different...
tutorial
Using ADC (Analog To Digital) Ports, Commands And Controls.
This tutorial will cover some basics on using the ADC (Analog to Digital Converter) ports on the EZ-B v4. Included will...
Related Hack Events
Related Questions
question
Hbridge And 10K Precision Pot For Feedback
I want to use a precision 10k pot for positioning feedback for hbridge control. For my R2 Im adding lifts for the...
question
Moving Head Sound Detector
How do I get my sound detectors to give constant voltage readings on the ADC Graph? I am using the two detectors to see...
Upgrade to ARC Pro
Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.