Hi All,
I seem to have some issue with the KNOT GPIO, I hope someone might help. I'm not sure if the there is a bug in the ROS, faulty board or the docummented thresholds of the Digital Input (Digital input voltage is 0-2.5 V max. To receive a logical "0" on the pin, the voltage should be between 0-0.3 V. To receive a logical "1" on the pin, the voltage should be between 0.7-2.5 V.) but it seems the Input does not react to the voltage. I have single cell battery connected between pin1 (negative) and pins 2, 3, 5 (positive), the analog pins read the voltage, the digital is always 0. I have tried the testing and stable branch - stable does not read analog, please see below:
===
# jan/02/1970 01:33:07 by RouterOS 6.49beta54
#
# model = RB924i-2nD-BT5&BG77
[admin@MikroTik] /iot gpio> analog print
# NAME VALUE OFFSET
0 pin2 1215mV 0mV
1 pin3 1264mV 0mV
[admin@MikroTik] /iot gpio> digital print
Flags: X - disabled
# NAME DIRECTION OUTPUT INPUT SCRIPT
0 pin5 input 0 0
1 pin4 output 0
2 pin6 output 0
[admin@MikroTik] /iot gpio>
===
# jan/02/1970 01:47:32 by RouterOS 6.48.3
#
# model = RB924i-2nD-BT5&BG77
[admin@MikroTik] /system gpio> print
Flags: X - disabled
# NAME DIRECTION OUTPUT INPUT SCRIPT
0 pin5 input 0 0
1 pin4 output 0
2 pin6 output 0
[admin@MikroTik] /system gpio>
===
Any idea?
Kind regards,
Adam