Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Matek AP_Periph CAN Digital Power Monitor, CAN-L4-BM: Examples, Pinouts, and Specs

Image of Matek AP_Periph CAN Digital Power Monitor, CAN-L4-BM
Cirkit Designer LogoDesign with Matek AP_Periph CAN Digital Power Monitor, CAN-L4-BM in Cirkit Designer

Introduction

The Matek AP_Periph CAN Digital Power Monitor (Model: CAN-L4-BM) is a high-precision power monitoring module designed for use in UAVs, robotics, and other embedded systems. It leverages the UAVCAN protocol for seamless integration with modern flight controllers and other CAN-enabled devices. This module provides real-time monitoring of voltage, current, and power consumption, making it an essential component for applications requiring accurate power management and telemetry.

Explore Projects Built with Matek AP_Periph CAN Digital Power Monitor, CAN-L4-BM

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino Nano-Based Smart Power Monitoring System with Bluetooth and LCD Display
Image of Disertatie: A project utilizing Matek AP_Periph CAN Digital Power Monitor, CAN-L4-BM in a practical application
This circuit is a power monitoring system that uses an Arduino Nano to measure and display voltage, current, and power consumption. It includes sensors for voltage (ZMPT101B) and current (ACS712), a Bluetooth module (HC-05) for wireless communication, and a Nokia 5110 LCD for displaying the measurements. The system is powered by a 12V adapter and can monitor a 240V power source, with the Arduino running code to calculate and display real-time electrical parameters.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32 and INA3221-Based Smart Power Monitoring System with Bluetooth and Environmental Sensing
Image of NMEA2000 Engine Interface: A project utilizing Matek AP_Periph CAN Digital Power Monitor, CAN-L4-BM in a practical application
This circuit is a sensor monitoring and communication system that uses an ESP32 microcontroller to read data from a BME/BMP280 environmental sensor and an INA3221 power monitor. The ESP32 communicates with the sensors via I2C and transmits data wirelessly using an HC-05 Bluetooth module. Additionally, the circuit includes optocouplers and diodes for signal isolation and protection.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered Raspberry Pi Pico GPS Tracker with Sensor Integration
Image of Copy of CanSet v1: A project utilizing Matek AP_Periph CAN Digital Power Monitor, CAN-L4-BM in a practical application
This circuit is a data acquisition and communication system powered by a LiPoly battery and managed by a Raspberry Pi Pico. It includes sensors (BMP280, MPU9250) for environmental data, a GPS module for location tracking, an SD card for data storage, and a WLR089-CanSAT for wireless communication. The TP4056 module handles battery charging, and a toggle switch controls power distribution.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32C3 and SIM800L Powered Smart Energy Monitor with OLED Display and Wi-Fi Connectivity
Image of SERVER: A project utilizing Matek AP_Periph CAN Digital Power Monitor, CAN-L4-BM in a practical application
This circuit is a power monitoring system that uses an ESP32C3 microcontroller to collect power usage data from slave devices via WiFi and SMS. The collected data is displayed on a 0.96" OLED screen, and the system is powered by an AC-DC converter module. Additionally, the circuit includes a SIM800L GSM module for SMS communication and LEDs for status indication.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Matek AP_Periph CAN Digital Power Monitor, CAN-L4-BM

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 Disertatie: A project utilizing Matek AP_Periph CAN Digital Power Monitor, CAN-L4-BM in a practical application
Arduino Nano-Based Smart Power Monitoring System with Bluetooth and LCD Display
This circuit is a power monitoring system that uses an Arduino Nano to measure and display voltage, current, and power consumption. It includes sensors for voltage (ZMPT101B) and current (ACS712), a Bluetooth module (HC-05) for wireless communication, and a Nokia 5110 LCD for displaying the measurements. The system is powered by a 12V adapter and can monitor a 240V power source, with the Arduino running code to calculate and display real-time electrical parameters.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of NMEA2000 Engine Interface: A project utilizing Matek AP_Periph CAN Digital Power Monitor, CAN-L4-BM in a practical application
ESP32 and INA3221-Based Smart Power Monitoring System with Bluetooth and Environmental Sensing
This circuit is a sensor monitoring and communication system that uses an ESP32 microcontroller to read data from a BME/BMP280 environmental sensor and an INA3221 power monitor. The ESP32 communicates with the sensors via I2C and transmits data wirelessly using an HC-05 Bluetooth module. Additionally, the circuit includes optocouplers and diodes for signal isolation and protection.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Copy of CanSet v1: A project utilizing Matek AP_Periph CAN Digital Power Monitor, CAN-L4-BM in a practical application
Battery-Powered Raspberry Pi Pico GPS Tracker with Sensor Integration
This circuit is a data acquisition and communication system powered by a LiPoly battery and managed by a Raspberry Pi Pico. It includes sensors (BMP280, MPU9250) for environmental data, a GPS module for location tracking, an SD card for data storage, and a WLR089-CanSAT for wireless communication. The TP4056 module handles battery charging, and a toggle switch controls power distribution.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of SERVER: A project utilizing Matek AP_Periph CAN Digital Power Monitor, CAN-L4-BM in a practical application
ESP32C3 and SIM800L Powered Smart Energy Monitor with OLED Display and Wi-Fi Connectivity
This circuit is a power monitoring system that uses an ESP32C3 microcontroller to collect power usage data from slave devices via WiFi and SMS. The collected data is displayed on a 0.96" OLED screen, and the system is powered by an AC-DC converter module. Additionally, the circuit includes a SIM800L GSM module for SMS communication and LEDs for status indication.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • UAVs and drones for power monitoring and telemetry
  • Robotics systems requiring precise energy management
  • Remote monitoring of battery performance in embedded systems
  • Integration with UAVCAN-enabled flight controllers for advanced power diagnostics

Technical Specifications

The following table outlines the key technical specifications of the Matek AP_Periph CAN Digital Power Monitor:

Parameter Value
Input Voltage Range 6V to 60V
Current Measurement Range 0A to 200A (with external shunt resistor)
Communication Protocol UAVCAN (CAN bus)
Microcontroller STM32L4 series
Power Consumption < 0.5W
Operating Temperature -20°C to 85°C
Dimensions 30mm x 20mm x 5mm
Weight 5g

Pin Configuration and Descriptions

The Matek AP_Periph CAN Digital Power Monitor features the following pinout:

Pin Name Description
VIN+ Positive input voltage terminal (connect to battery +)
VIN- Negative input voltage terminal (connect to battery -)
CANH CAN bus high signal
CANL CAN bus low signal
GND Ground connection
VCC Power supply for the module (5V input)

Usage Instructions

How to Use the Component in a Circuit

  1. Power Connection: Connect the VIN+ and VIN- terminals to the positive and negative terminals of the power source (e.g., battery). Ensure the voltage is within the specified range (6V to 60V).
  2. CAN Bus Connection: Connect the CANH and CANL pins to the corresponding CAN bus lines of your system. Use a 120-ohm termination resistor if the module is at the end of the CAN bus.
  3. Power Supply: Provide a stable 5V power supply to the VCC pin. Ensure the GND pin is connected to the system ground.
  4. Shunt Resistor: If measuring high currents, connect an appropriate external shunt resistor to the module. Ensure the shunt resistor is rated for the expected current range.

Important Considerations and Best Practices

  • UAVCAN Configuration: Configure the module's UAVCAN parameters (e.g., node ID) using a compatible UAVCAN configuration tool.
  • Wiring: Use short, thick wires for the VIN+ and VIN- connections to minimize voltage drops and ensure accurate measurements.
  • Calibration: Calibrate the module using the UAVCAN tool to ensure precise voltage and current readings.
  • Firmware Updates: Periodically check for firmware updates from Mateksys to ensure compatibility with the latest UAVCAN standards.

Example Code for Arduino UNO (via CAN Interface)

To interface the Matek AP_Periph CAN Digital Power Monitor with an Arduino UNO, you will need a CAN transceiver module (e.g., MCP2515). Below is an example code snippet:

#include <SPI.h>
#include <mcp_can.h>

// Define CAN bus pins for MCP2515
#define CAN_CS 10  // Chip Select pin
#define CAN_INT 2  // Interrupt pin

MCP_CAN CAN(CAN_CS);  // Create CAN object

void setup() {
  Serial.begin(115200);
  while (!Serial);

  // Initialize MCP2515 CAN module at 500kbps
  if (CAN.begin(MCP_ANY, 500000, MCP_8MHZ) == CAN_OK) {
    Serial.println("CAN bus initialized successfully!");
  } else {
    Serial.println("CAN bus initialization failed!");
    while (1);
  }

  CAN.setMode(MCP_NORMAL);  // Set CAN module to normal mode
  Serial.println("CAN module set to normal mode.");
}

void loop() {
  // Check for incoming CAN messages
  if (CAN.checkReceive() == CAN_MSGAVAIL) {
    long unsigned int rxId;
    unsigned char len = 0;
    unsigned char rxBuf[8];

    // Read CAN message
    CAN.readMsgBuf(&rxId, &len, rxBuf);

    // Print received message ID and data
    Serial.print("Message ID: 0x");
    Serial.println(rxId, HEX);
    Serial.print("Data: ");
    for (int i = 0; i < len; i++) {
      Serial.print(rxBuf[i], HEX);
      Serial.print(" ");
    }
    Serial.println();
  }
}

Note: Ensure the MCP2515 library is installed in your Arduino IDE. This code initializes the CAN bus and listens for incoming messages from the Matek AP_Periph CAN Digital Power Monitor.

Troubleshooting and FAQs

Common Issues Users Might Face

  1. No Data on CAN Bus:

    • Cause: Incorrect wiring or missing termination resistor.
    • Solution: Verify the CANH and CANL connections. Add a 120-ohm resistor if the module is at the end of the CAN bus.
  2. Inaccurate Measurements:

    • Cause: Improper calibration or incorrect shunt resistor value.
    • Solution: Recalibrate the module using the UAVCAN tool. Ensure the shunt resistor matches the expected current range.
  3. Module Not Powering On:

    • Cause: Insufficient or unstable power supply.
    • Solution: Check the VCC and GND connections. Ensure a stable 5V supply is provided.

Solutions and Tips for Troubleshooting

  • Use a CAN bus analyzer to verify communication between the module and the flight controller.
  • Check for firmware updates from Mateksys to resolve compatibility issues.
  • Ensure all connections are secure and free from corrosion or damage.

By following this documentation, users can effectively integrate and utilize the Matek AP_Periph CAN Digital Power Monitor in their projects.