Skip to Content
ConfigurationsBattery Monitoring

Battery Monitoring

Automatic alert configuration based on vehicle voltage levels.


Features

FeatureValue
Analog inputAN06 (Internal battery)
Low threshold5.50V - 10.50V
OK threshold11.00V - 99.99V
Disconnection threshold0.00V - 5.00V
Debounce5 seconds

State diagram

StateVoltage rangeEvent
Battery OK11.00V - 99.99VCQ14
Low Battery5.50V - 10.50VCQ03
Disconnected0.00V - 5.00VCQ04

Complete configuration

This configuration uses analog input AN06 which corresponds to the device’s internal battery. Thresholds are designed for 12V vehicles.

// ============================================================================= // BATTERY MONITORING - RINHO DEVICES // ============================================================================= // Configures automatic alerts based on vehicle voltage levels. // ============================================================================= // --- VOLTAGE THRESHOLDS (AR Command) --- // Syntax: SARaabb+mmmm+MMMMddd (aa=index, bb=06=battery, mmmm=min, MMMM=max, ddd=debounce) >SAR0006+0550+1050050< // AR00: Low Battery (5.50V - 10.50V) - 5s debounce >SAR0106+1100+9999050< // AR01: Battery OK (11.00V - 99.99V) - 5s debounce >SAR0206+0000+0500050< // AR02: Disconnection (0.00V - 5.00V) - 5s debounce // --- EVENT RULES (RL Command) --- // Syntax: SRLnnE;TRG=ARxx+;ACC={GCQyyH} (nn=rule, xx=threshold, yy=event, H=high priority) >SRL08E;TRG=AR00+;ACC={GCQ03H}< // Low Battery → CQ report event 03 >SRL09E;TRG=AR01+;ACC={GCQ14H}< // Battery OK → CQ report event 14 >SRL10E;TRG=AR02+;ACC={GCQ04H}< // Disconnection → CQ report event 04

Command reference

CommandDescriptionDocumentation
SARAnalog threshold configurationAR Command
SRLEvent engine rulesRL Command
GCQCQ report generationCQ Report
Last updated