Understanding digital output wiring

I can’t find any documentation on the digital output in the 4 pin Microfit connector on some models.

  • when the pin is configured as an output, I assume it behaves as an open collector output? Is that correct?

  • the documentation only mentions configuring it in “wan_status” mode. But the SMS commands and API point to a somewhat hidden “toggle_high” and ”toggle_low” mode.

Can anyone confirm the behaviour when in these modes? If it is set to “toggle_high” will it stay high until it is set to “toggle_low”? Does it return to its previous setting after a reboot?

@Jake_W, do you think the simple wiring diagram below would help?

  1. The Digital Output Pin is an Open Drain design, as per the diagram illustrated above.
  2. When the Digital Output - Mode setting is persistent (Setting page below):
    • Mode = “Toggle High”, the pin to stay high even after a reboot
    • Mode = “Toggle Low”, the pin to stay low even after a reboot
    • Mode = “WAN Status”, the pin status will change to “High” if the last WAN is connected, and set to “Low” if the LAN is disconnected. It will be displayed in the Device Event Log (sample log for your reference).
      image.png

Hope this helps. :slight_smile:

2 Likes

Hi @WeiMing

Thank you so much for your response! That’s brilliant, it seems the design is identical to Teltonika which we are replacing.

Is it possible to set ‘Toggle High’ and ‘Toggle Low’ from the web interface drop down? The instruction manual shows ‘Wan Status’ as the only option. I haven’t got a device I can test it on yet.

@Jake_W, thanks for highlighting, I have updated my previous response and attached the screen capture of the setting. It is a drop-down menu for the selection.

1 Like

Thanks @WeiMing

One last question - do you have the electrical specifications of the open drain? What is the maximum voltage? And safe current that it can sink?