Measure Module Current

The Zigbee Module BoosterPack has a current sense amplifier that can be used to measure the current of either the Module or the entire board, depending on how JP1 is set: Additionally, JP2 must be set since it connects the current monitor to the microcontroller input. See below for recommended jumper positions.
 * JP1 on 1 & C: Current monitor measures radio only
 * JP1 on 2 & C: Current monitor measures entire board



This example will allow you to use this sensor to measure the current consumed by the module. To do so we turn the RF output of the module on, measure the current, and then turn it off and measure the current again. All current readings are output to the console. Current measurements may differ on the Stellaris LaunchPad since that processor LM4F120H5QR lacks an internal voltage reference.



Note that this current sense circuit is useful for measuring active current consumption, but sleep current consumption (~10uA) must be measured with a different technique. See Module Current Consumption for more information.

Next Example: RF Tester

Previous: Read Digital IO

Top: Module_Examples

