Smart Camera Documentation

Adding GPIO Interface

41 views October 16, 2018 soliton-support 2

NUERA Standard / NUERA Pro has inbuilt 2 inputs and 2 outputs, both are fast GPIOs, 24 volt compatible and optically isolated.

One input is dedicated for fast external trigger and other one could be used for application logic. User can control two GPIOs for external device control like for relay, panel lamp, solenoid valve, rejection system, etc.

One can easily extend more no. of IOs using external RS232 or Ethernet based IOs extenders.

Following code can be used in the application for setting GPIO outputs:

//to set GPO 1

//to set GPO 2

Following code can be used in the application for checking the status of GPIO input:

//to check status of GPI 2
unsigned char input_status = 0;

For any further assistance, please contact our application engineer at [email protected]

Was this helpful?