Using 3-Wire Digital In/Digital Out Devices

VEXcode V5 has a 3-wire Digital In device and a 3-wire Digital Out device.


What Is Digital In/Digital Out

v5-brain-01.png

Digital In/Digital Out refers to a digital input signal being received into the 3-wire ports of the V5 Robot Brain and a digital output signal being sent out from a 3-wire port of a V5 Robot Brain.

v5-brain-02.png

Digital Input: A digital input detects if a voltage is above/below of a specific threshold. If the voltage is higher, the V5 Robot Brain will detect the digital input as high. If the voltage is lower, the V5 Robot Brain will detect the digital input as low.

Digital_Output.png

Digital Output: A digital output allows you to control a voltage with the V5 Brain. If the V5 Brain instructs the output to be high, the output will produce a 5 volt voltage. If the V5 Brain instructs the output to be low, it outputs no voltage.

2021-03-23_13-22-42.jpg

Color Code:

color_chart.jpg


Using Digital In

DI_device_icon.jpg

The VEXcode V5 Digital In device is intended for use by advanced users.

v5-brain-03.png

One use of the Digital In device would be for Digital In/Digital Out communication between two V5 Robot Brains.

v5-brain-04.png

The Digital In device could also be used for Digital In/Digital Out communication with an aftermarket microprocessor.

All of the digital sensors which are available for the VEX V5 system have a sensor device provided in the VEXcode V5 device configuration window. These sensors should use their specific VEXcode V5 sensor device and not the Digital In device.


Using Digital Out

DO_device_icon.jpg

The VEXcode V5 Digital In device is intended for providing control of a 5 volt logic level to external devices or supplying a communication signal out for Digital In/Digital Out communication.

pneumatic_solenoid.jpg

The VEXcode V5 Digital Out device can be used to activate a pneumatic solenoid valve which will control the airflow for a VEX pneumatic system.

For more information about Configuring a Digital In and Digital Out device in VEXcode V5, view this article from the VEX Library.

For more information, help, and tips, check out the many resources at VEX Professional Development Plus

Last Updated: