Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes
  • product video
product primary image

PIC32MM LED Flashlight Demo Board

Part Number: PIC32MM-FLASHLIGHT

**For development reference only, not a product for sale**

Summary:

Today, LED lighting meets the need for energy-efficient lighting solutions and is well poised for a varied number of general purpose and industrial applications such as consumer lighting, solar powered lighting and more. The LED Flashlight Board is based on Microchip’s eXtreme Low Power (XLP) and the cost-effective PIC32MM “GPL” family of microcontrollers. For applications

View More
Documents and Software
Overview
Features
Additional Resources
Related Tools

Additional resources data currently not available.

Documents and Software

Documents

Product Features

    Major Components of the Demonstration

    • PIC32MM0064GPL028 MCU with the following peripherals:
      • 64KB Flash memory
      • Intelligent analog: 12-bit ADC with Threshold Compare and Comparators
      • Core Independent Peripherals: MCCP (16-bit PWM with complementary output), SPI
      • Low power operating modes: Sleep with RAM retention
      • Wide operating voltage: 2.0V to 3.6V , directly powered by the battery
    • MCP87130 high-speed MOSFET
      • Low drain to source ON resistance
      • Low total gate charge and gate to drain charge
      • Fast switching
    • Three white LEDs connected in series
    • Accelerometer for motion detection
    • Powered by AA battery

Summary

Today, LED lighting meets the need for energy-efficient lighting solutions and is well poised for a varied number of general purpose and industrial applications such as consumer lighting, solar powered lighting and more. The LED Flashlight Board is based on Microchip’s eXtreme Low Power (XLP) and the cost-effective PIC32MM “GPL” family of microcontrollers. For applications demanding low power, longer battery life and small form factor, the PIC32MM devices offer sleep modes down to 500 nA and packages as small as 4×4 mm. This family features Core Independent Peripherals (CIPs) such as Comparators and Multiple-output Capture Compare PWMs (MCCPs) which help enable power conversion and motor control applications.

 

The LED Flashlight board demonstrates the powerful PIC32MM0064GPL028 XLP microcontroller featuring up to 64 KB ECC flash and 8 KB of RAM and is ideally suited to implement an entry level digital power application. The layout and external connections of the LED Flashlight demo board offer unparalleled access to the CIPs such as Comparators and MCCP that are designed to offload the CPU to be in power saving mode, thereby enabling longer battery life. These CIPs enable the user to integrate various system functions onto a single MCU, simplifying the design and keeping system power consumption low. Owing to a higher flash size up to 64 KB, a communication stack can be easily implemented. In this demo, flash size of 32 KB is used to implement the motion sensor calibration stack, leaving additional room to implement other functions.

Demonstration Overview

This demonstration utilizes the 28-pin XLP PIC32MM0064GPL028 MCU to enable all required functions necessary to create closed-loop boost converter to drive a string of three LEDs with minimal intervention from the CPU. The demo highlights a cost-effective and flexible platform for creating variations in LED lighting that is suitable for power conversion and other general purpose applications. Different modes of operation showcase various capabilities of the MCU like high performance 32-bit MIPS microAptiv™ core and integrated analog peripherals that aid in implementing a PI control loop and SPI for integrating a motion sensor. This motion sensor is used to detect a shake to switch between the modes: 

  • Mode 0: OFF, PIC32MM will be in RAM retention sleep mode
  • Mode 1: ON, Full brightness of LED
  • Mode 2: Fade, 50% brightness of LED
  • Mode 3: SOS, Blink LED String

Package Contents

  • PIC32MM LED Flashlight Board
  • 2x AA Battery