Knowledge Base
Search and find technical support

How to use a GPIO as Output

 In order to use one of the IO's as an output, you need to know that an output does not output any real useful voltage! You are able to measure between 3-5 volts when the output is high, but there is no power behind, so it is useless to power a relay for example! 

If you wish to power a solenoid and pull the contacts of a relay, then remember to think of the output as a breaker, that you use to short the circuit.

Have a look at the diagram below, where you can see a 24 Volt power source which drives the solenoid and the output provides the connection to ground (GND)


In Project Designer remember to assign the IO as an Output by pulling in the Output from the Neets category onto the I/O where you need the output.

Then use the output in Function or Feedback by choosing the output function on the left hand side. In some cases you might want to use the Toggle function in order to be able to turn devices ON and OFF on the same button.

Was this article helpful?
5 out of 5 found this helpful