Activity › Forums › Questions & Troubleshooting › Software & Firmware › Controllino Interrupt › Reply To: Controllino Interrupt
-
Hi Elvis,
CONTROLLINO MEGA is compatible with Arduino Mega/Mega2560. So the Arduino pins usable as interrupts are 2,3,18,19,20,21 as you can see here.
When you check the CONTROLLINO pinout table here you can see that pins 2, 3 are used for Outputs so you cannot use them as screw terminal inputs. But you can use them as inputs at the pinheader X1. Pins 18 and 19 are mapped to screw terminal inputs IN0 and IN1. Here you can trigger them by 12/24 V depending on the supply voltage you use. Please note that they have an internal pull down in the CONTROLLINO circuitry. Pins 20,21 are accessible at pinheader X1. At X1 you need 5V to trigger the signals.
Good luck!
Lukas