Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use PPK2: Examples, Pinouts, and Specs

Image of PPK2Design with PPK2 in Cirkit Designer

Introduction

The PPK2 (Power Profiler Kit 2) is a versatile programmable power supply module developed by Nordic Semiconductor. It is designed for testing and powering electronic circuits with precision. The PPK2 allows users to measure current consumption, profile power usage, and supply power to devices under test (DUT). With its adjustable voltage and current settings, the PPK2 is an essential tool for developers working on low-power applications, such as IoT devices, wearables, and battery-powered systems.

Explore Projects Built with PPK2

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of ESP32-Controlled Security System with RFID, PIR, and Laser Modules: A project utilizing PPK2 in a practical application
ESP32-Controlled Security System with RFID, PIR, and Laser Modules

This is a security or access control system featuring laser-based detection, motion sensing, RFID scanning, and user input via a keypad. It is managed by an ESP32 microcontroller and includes visual and auditory feedback through LEDs and a buzzer, with an Electric Lock for physical access control. The system is powered by solar energy with battery backup and centralized power supply, ensuring continuous operation.

Open Project in Cirkit Designer

Common Applications and Use Cases

Technical Specifications

The PPK2 offers a range of features and specifications to meet the needs of developers and engineers:

Key Technical Details

Pin Configuration and Descriptions

The PPK2 features several connectors and pins for interfacing with the DUT. Below is a table describing the key pins and connectors:

Pin/Connector Description
VOUT+ Positive output voltage pin for powering the DUT.
VOUT- Ground pin for the DUT.
GND Additional ground pin for connecting to the DUT.
MEAS+ Positive pin for current measurement.
MEAS- Negative pin for current measurement.
USB-C USB-C connector for power input and communication with the host computer.

Usage Instructions

The PPK2 is easy to set up and use for power profiling and supplying power to circuits. Follow the steps below to get started:

How to Use the PPK2 in a Circuit

  1. Connect the PPK2 to Your Computer:
    • Use a USB-C cable to connect the PPK2 to your computer. Ensure the computer has the nRF Connect for Desktop software installed.
  2. Install the Power Profiler App:
    • Open nRF Connect for Desktop and install the Power Profiler App.
  3. Connect the DUT:
    • Connect the VOUT+ and VOUT- pins to the power input of your DUT.
    • If you want to measure current, connect the MEAS+ and MEAS- pins in series with the DUT.
  4. Configure Voltage and Current Settings:
    • Open the Power Profiler App and set the desired output voltage and current limits.
  5. Start Profiling:
    • Use the app to monitor current consumption, voltage, and power usage in real time.

Important Considerations and Best Practices

Example: Using PPK2 with an Arduino UNO

The PPK2 can be used to measure the power consumption of an Arduino UNO. Below is an example setup:

  1. Connect the VOUT+ pin of the PPK2 to the 5V pin of the Arduino UNO.
  2. Connect the VOUT- pin of the PPK2 to the GND pin of the Arduino UNO.
  3. Open the Power Profiler App and set the output voltage to 5.0 V.
  4. Monitor the current consumption of the Arduino UNO in real time.

Example Code for Arduino UNO

Here is a simple Arduino sketch to toggle an LED and observe the power consumption using the PPK2:

// Simple LED Blink Example for Power Profiling
// This code toggles an LED on pin 13 to observe power consumption.

const int ledPin = 13; // Pin connected to the onboard LED

void setup() {
  pinMode(ledPin, OUTPUT); // Set the LED pin as an output
}

void loop() {
  digitalWrite(ledPin, HIGH); // Turn the LED on
  delay(1000);                // Wait for 1 second
  digitalWrite(ledPin, LOW);  // Turn the LED off
  delay(1000);                // Wait for 1 second
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. PPK2 Not Detected by the Computer:

    • Ensure the USB-C cable is properly connected.
    • Verify that the nRF Connect for Desktop software is installed and up to date.
    • Try using a different USB port or cable.
  2. Incorrect Current Measurements:

    • Check that the MEAS+ and MEAS- pins are correctly connected in series with the DUT.
    • Ensure the DUT's current draw is within the PPK2's measurement range.
  3. Voltage Output Not Stable:

    • Verify that the output voltage is correctly configured in the Power Profiler App.
    • Check for loose connections or short circuits in the DUT.
  4. Overcurrent Protection Triggered:

    • Reduce the current draw of the DUT to stay within the PPK2's 1 A limit.
    • Check for any faults or excessive loads in the DUT.

FAQs

Q: Can the PPK2 measure current below 1 µA?
A: Yes, the PPK2 can measure currents as low as 100 nA with a resolution of 100 nA.

Q: Is the PPK2 compatible with macOS and Linux?
A: Yes, the nRF Connect for Desktop software, including the Power Profiler App, is available for Windows, macOS, and Linux.

Q: Can I use the PPK2 to power a 3.3 V device?
A: Yes, the PPK2 supports output voltages from 0.8 V to 5.0 V, making it suitable for 3.3 V devices.

Q: How do I update the firmware on the PPK2?
A: Firmware updates can be performed through the nRF Connect for Desktop software when prompted.

By following this documentation, users can effectively utilize the PPK2 for power profiling and testing electronic circuits.