FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
206 views 2 comments
by anonymous

Hi,

I can't drive the output on pin 4 and pin 3, I use both the web application as well as the command line.

ubus call ioman.gpio.dio0 update '{"value":"1"}'

root@Teltonika-TRB142:~# ubus call ioman.gpio.dio0 status

{

        "value": "1",

        "direction": "out",

        "bi_dir": true,

        "invert_input": false

}

but on the output I have no Volt (from negative and the pin)

I follow this page (TRB142 Input/Output - Teltonika Networks Wiki (teltonika-networks.com)

I don't understand where I'm wrong

INFO:

Firmware version TRB1_R_00.07.01.4

Firmware build date 2022-02-25 08:21:08

Modem firmware version EC21EUGAR06A01M4G

Kernel version 3.18.20-msm

by anonymous
I understand how it works.

as long as a load is not put between the positive and the output pin, I cannot measure a voltage difference between the pin and the ground.

this beacuse the system is an open collector.
by anonymous
Hello,

You are indeed correct. In order for the output device that you connect to the output to work, you must attach the output device to a positive voltage source.

Best regards,

Žygimantas

1 Answer

0 votes
by anonymous

As long as a load is not put between the positive and the output pin, a voltage difference between the pin and the ground cannot be measured.

That is because the TRB142 has an open collector output.