21.07.2013 Views

Introduction to Microcontrollers Lab Manual - Microchip

Introduction to Microcontrollers Lab Manual - Microchip

Introduction to Microcontrollers Lab Manual - Microchip

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

9.3 THE LAB<br />

9.2.7 <strong>Microchip</strong> XLP Technology<br />

As more electronic applications require low power or battery power, energy conservation<br />

becomes paramount. Today’s applications must consume little power and, in<br />

extreme cases, last for up <strong>to</strong> 15-20 years, while running from a single battery. To enable<br />

applications like these, products with <strong>Microchip</strong>’s nanoWatt XLP Technology offer the<br />

industry's lowest currents for Run and Sleep, where extreme low-power applications<br />

spend 90%-99% of their time.<br />

Benefits of nanoWatt XLP Technology:<br />

• Sleep currents below 20 nA<br />

• Brown-out Reset down <strong>to</strong> 45 nA<br />

• Watchdog Timer down <strong>to</strong> 220 nA<br />

• Real-time Clock/Calendar down <strong>to</strong> 470 nA<br />

• Run currents down <strong>to</strong> 50 µA/MHz<br />

• Full analog and self-write capability down <strong>to</strong> 1.8<br />

Visit www.microchip.com/xlp for more information.<br />

9.3.1 Objective<br />

Using the <strong>Lab</strong> 2 framework, use the power reduction concepts of the pre-lab <strong>to</strong> reduce<br />

the <strong>to</strong>tal power consumption of the system. Measure the power consumed <strong>to</strong> confirm<br />

that the changes are effective in reducing power.<br />

9.3.2 Pertinent Information<br />

The clock setup is configured in both configuration bits (set during programming and<br />

specified in file config_bits_pic24fj256gb110.inc) and control register bits<br />

(dynamically set by the application code at run time).<br />

If the main clock frequency is changed, then the timer pre-scaler settings may need <strong>to</strong><br />

change.<br />

Use a voltmeter <strong>to</strong> measure the voltage across the input power measurement resis<strong>to</strong>r<br />

(R32). This is a 0.1 Ohm resis<strong>to</strong>r, and by using the equation P = VI, the <strong>to</strong>tal current<br />

consumed can be calculated. Do this for the project before and after the power consumption<br />

changes are made and record your results.<br />

2011 <strong>Microchip</strong> Technology Inc. DS51963A-page 67

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!