1. Home
  2. Docs
  3. MANUALS AND DATASHEETS
  4. Polaris Manual
  5. Main Connector
  6. Using Digital Inputs

Using Digital Inputs

There are 2 dedicated digital inputs on the Main connector, that share the same external pin with digital output channels:

  • Ignition (IGN) / Digital I/O 5 (DIO5)
  • Emergency (SOS) / Digital I/O 6 (DIO6)

Here below the simplified schematics (ignition is active-high, while emergency is active-low):

Here is an example Arduino sketch that reads both digital inputs and displays their status:

void setup()  void loop()  

The same example with Zerynth:

from fortebit.polaris import polaris polaris.init() while True: print("Ignition (IGN):", "ON" if polaris.getIgnitionStatus() else "OFF") print("Emergency (SOS):", "ON" if polaris.getEmergencyStatus() else "OFF") sleep(1000) 

How can we help?