7 Plotting Power Consumption

The following instructions show how to analyze power consumption using the Power Debugger and Data Visualizer.

Note:
Power Debugger connection:
  1. Connect one of the ground reference pins of the Power Debugger to a ground pin on the Curiosity Nano board.
  2. Connect the VOFF pin on the Curiosity Nano board to a ground pin to turn off the connection between the USB power supply and the tinyAVR device.
  3. Connect the VBUS pin on the Curiosity Nano board to the input current pin of measurement circuit A on the Power Debugger.
  4. Connect the output current pin of measurement circuit A on the Power Debugger to the VTG pin on the Curiosity Nano board.
Measurement circuit A of the Power Debugger is now connected in series between the USB power source and the tinyAVR microcontroller and can measure the total current used.
Figure 7-1. Power Debugger Connection
Data Visualizer setup:
  1. Open Data Visualizer.
  2. Open Configuration > Visualization > Power Debugging in Data Visualizer.
  3. On the DGI Control Panel pane, select Power Debugger Data Gateway > Connect.
  4. Check the Power check box.
  5. Expand the Channel A dropdown in the Control Panel in the Power Analysis pane.
  6. Drag the plug from A Current in the DGI Control Panel pane to the Current socket in the Power Analysis pane.
  7. Press Start in the DGI Control Panel pane.
  8. Optional: Enable cursors by checking the Enabled check box in the Cursors dropdown.
Figure 7-2. Power Debugging Graph in Data Visualizer