Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This section refers to the following sample application(s):

  • 02-battery

The 

LTC5800

 features an on-chip supply voltage sensor, an internal input channel for the ADC (see ADC).

The 02-battery Sample Application

The 02-battery sample application creates a task which periodically reads the value of the DN_BATT_DEV_ID device and prints the raw returned value on the CLI, as shown in the CLI capture below:

battery app, ver 1.0.0.1
SmartMeshIP stack, ver 1.2.1.3
voltage=36292
voltage=36292
voltage=36292
voltage=36292
voltage=36292
voltage=36292
voltage=36292
voltage=36292
voltage=36292

The raw reading is expressed in tenths of mV.

Refer to the

SmartMesh On-Chip API html documentation

in the /doc directory of the 

On-Chip SDK repository

for documentation about this feature.

  • No labels