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
1,327 views 16 comments
by
Hi

Does the power supply for the RUT955 provide any interface for reading the current provided voltage?

 I imagine there is at least some GPIO interface available to the Linux kernel that we can use for this.

1 Answer

0 votes
by anonymous

Hello,

Power supply voltage measurement is not connected to processor GPIO pin, instead it uses LTE module ADC input 0. You can read this value with command gmsctl -A AT+QADC=0. This will return +QADC: <status>,<value>. Here <status> indicates if ADC value was read successfully: 0 - Fail, 1 - Success, and <value>  is ADC voltage value in mV. However, PSU voltage is not directly measured, instead it goes via voltage divider which ratio is 14.7/164.7. So to get PSU voltage you have to calculate it with formula: PSU_voltage = ADC_voltage * 164.7/14.7.

by anonymous
The previous command was for Quectel modems, but your router has a different manufacturer's module.

I cannot test it on the spot, but based on the manual the command should look similar to gsmctl -A 'AT+ADCREAD=0'
by anonymous
Seems to be working !

Thanks for your time !

Can I access to the manual you speak about? I can't find it.
by anonymous
Sent you a private message.
by anonymous
Hello, The PSU value I get with this voltage divider ratio on a RUTX14 seems incorrect. Is there a voltage divider ratio for the RUTX14 as well?

Thank you in advance,
Zoek
by anonymous
Hello,

Unfortunately, input voltage measurement is not possible with RUTX14, as the devices modem's ADC pins are not connected to anything.

Apologies for the inconveniences.

Best regards,