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

How to Use Portenta mid carrier: Examples, Pinouts, and Specs

Image of Portenta mid carrierDesign with Portenta mid carrier in Cirkit Designer

Introduction

The Portenta Mid Carrier (Manufacturer Part ID: WD-M E363740) is a versatile carrier board designed by Arduino to expand the functionality of the Portenta H7 microcontroller. This carrier board provides a wide range of connectivity options, including GPIO, I2C, SPI, UART, and more, making it an ideal choice for prototyping and integrating sensors, peripherals, and other hardware components. Its compact design and robust features make it suitable for industrial, IoT, and embedded applications.

Explore Projects Built with Portenta mid carrier

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 WiFi-Controlled Basket-Carrying Robot with GPS and GSM Notification: A project utilizing Portenta mid carrier in a practical application
WiFi-Controlled Basket-Carrying Robot with GPS and GSM Notification

This circuit is designed for a 4-wheeled WiFi-controlled car with a basket, which uses an ESP8266 NodeMCU microcontroller for logic control. It features an IR sensor for basket full detection, a GPS module for location tracking, and a GSM module (Sim800l) for sending SMS notifications. The L298N motor driver controls four DC gearmotors for movement, and the system is powered by a Li-ion battery with a 7805 voltage regulator providing stable power to the GSM module.

Open Project in Cirkit Designer
Image of Cellular-Enabled IoT Device with Real-Time Clock and Power Management: A project utilizing Portenta mid carrier in a practical application
Cellular-Enabled IoT Device with Real-Time Clock and Power Management

This circuit features a LilyGo-SIM7000G module for cellular communication and GPS functionality, interfaced with an RTC DS3231 for real-time clock capabilities. It includes voltage sensing through two voltage sensor modules, and uses an 8-channel opto-coupler for isolating different parts of the circuit. Power management is handled by a buck converter connected to a DC power source and batteries, with a fuse for protection and a rocker switch for on/off control. Additionally, there's an LED for indication purposes.

Open Project in Cirkit Designer
Image of Raspberry Pi Pico and OV7670 Camera-Based Robotic System with TFT Display: A project utilizing Portenta mid carrier in a practical application
Raspberry Pi Pico and OV7670 Camera-Based Robotic System with TFT Display

This circuit features two Raspberry Pi Pico microcontrollers interfacing with various peripherals including an OV7670 camera module, a TFT display, and an OLED display. It also includes a multiplexer and a motor driver to control two planetary gearbox motors, powered by a battery and regulated through buck converters. The setup is designed for image capture, display, and motor control applications.

Open Project in Cirkit Designer

Common Applications and Use Cases


Technical Specifications

Key Technical Details

Parameter Specification
Manufacturer Arduino
Part ID WD-M E363740
Compatible MCU Arduino Portenta H7
Power Supply 5V (via USB-C) or external power supply (up to 12V)
Connectivity Options GPIO, I2C, SPI, UART, CAN, PWM, ADC, DAC
USB Ports USB-C (for power and data)
Expansion Ports High-density connectors for Portenta H7
Dimensions 90mm x 60mm
Operating Temperature -40°C to 85°C
Mounting Options Screw holes for secure mounting

Pin Configuration and Descriptions

The Portenta Mid Carrier provides access to a variety of pins through its connectors. Below is a summary of the key pin configurations:

GPIO and Communication Pins

Pin Name Type Description
GPIO0-GPIO13 Digital I/O General-purpose digital input/output pins.
I2C_SCL I2C Clock Clock line for I2C communication.
I2C_SDA I2C Data Data line for I2C communication.
SPI_MOSI SPI Data Out Master Out Slave In (MOSI) for SPI communication.
SPI_MISO SPI Data In Master In Slave Out (MISO) for SPI communication.
SPI_SCK SPI Clock Clock line for SPI communication.
UART_TX UART Transmit Transmit line for UART communication.
UART_RX UART Receive Receive line for UART communication.
CAN_H CAN High High line for CAN bus communication.
CAN_L CAN Low Low line for CAN bus communication.

Power and Analog Pins

Pin Name Type Description
VIN Power Input External power input (5V to 12V).
3V3 Power Output 3.3V regulated output for peripherals.
GND Ground Ground connection.
ADC0-ADC3 Analog Input Analog-to-digital converter inputs (12-bit resolution).
DAC0-DAC1 Analog Output Digital-to-analog converter outputs.

Usage Instructions

How to Use the Portenta Mid Carrier in a Circuit

  1. Connect the Portenta H7: Attach the Portenta H7 microcontroller to the high-density connectors on the carrier board.
  2. Power the Board: Supply power via the USB-C port or an external power source (5V to 12V) connected to the VIN pin.
  3. Connect Peripherals: Use the GPIO, I2C, SPI, UART, or other pins to connect sensors, actuators, or other peripherals.
  4. Program the Portenta H7: Write and upload your code to the Portenta H7 using the Arduino IDE or other compatible development environments.
  5. Monitor and Debug: Use the USB-C port for serial communication and debugging.

Important Considerations and Best Practices

Example: Using the Portenta Mid Carrier with Arduino UNO Code

Below is an example of interfacing a temperature sensor (e.g., TMP36) with the Portenta Mid Carrier using the ADC pin:

// Example: Reading temperature data from a TMP36 sensor
// Connect the TMP36 sensor's VCC to 3V3, GND to GND, and OUT to ADC0.

const int tempSensorPin = A0; // TMP36 connected to ADC0
float voltage = 0.0;
float temperatureC = 0.0;

void setup() {
  Serial.begin(9600); // Initialize serial communication
  pinMode(tempSensorPin, INPUT); // Set ADC0 as input
}

void loop() {
  int sensorValue = analogRead(tempSensorPin); // Read analog value from TMP36
  voltage = sensorValue * (3.3 / 4095.0); // Convert to voltage (12-bit ADC)
  temperatureC = (voltage - 0.5) * 100.0; // Convert voltage to temperature (Celsius)

  Serial.print("Temperature: ");
  Serial.print(temperatureC);
  Serial.println(" °C");

  delay(1000); // Wait 1 second before next reading
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Board Not Powering On

    • Cause: Insufficient or incorrect power supply.
    • Solution: Verify the power source is within the 5V to 12V range and properly connected.
  2. Peripherals Not Responding

    • Cause: Incorrect pin connections or configuration.
    • Solution: Double-check the wiring and ensure the correct pins are used in the code.
  3. Communication Protocols Not Working

    • Cause: Mismatched voltage levels or incorrect settings.
    • Solution: Use level shifters if needed and verify protocol configurations in the code.
  4. Overheating

    • Cause: Excessive current draw from peripherals.
    • Solution: Ensure connected devices do not exceed the board's power output limits.

FAQs


This concludes the documentation for the Portenta Mid Carrier. For further assistance, refer to the official Arduino documentation or community forums.