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 skillADC (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.
1. Linear Value Readout
Linear value between 0 and 255 that is proportional to the input voltage.
2. Voltage Readout
The analog voltage detected in VDC units.
3. Pause Checkbox
When checked the ADC readings will pause.
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 board number.
3. Port Drop-down
Select your ADC port number.
4. Unit Description Field
Write in the unit of measure.
5. Multiplier Field
Enter in 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) In the skill settings select the ADC port that you have an analog device plugged into.
3) Read the value in the Main Window.
An I/O Controller with analog ports.
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...
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
Grippy Live Hack Part #1
Grippy Live Hack (Part 1) This is Live Hack Episode #50 for me! I've come a long way since my first live hack that...
Hbridge And 10K Precision Pot For Feedback
I want to use a precision 10k pot for positioning feedback for hbridge control. For my R2 I'm adding lifts for the...
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...