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

How to Use NUCLEO-U385RG-Q: Examples, Pinouts, and Specs

Image of NUCLEO-U385RG-Q
Cirkit Designer LogoDesign with NUCLEO-U385RG-Q in Cirkit Designer

Introduction

The NUCLEO-U385RG-Q is a development board manufactured by STMicroelectronics, featuring the powerful STM32 microcontroller. This board is designed to facilitate rapid prototyping and development of embedded applications. It offers a flexible platform with multiple connectivity options, including USB, UART, I2C, and more. The NUCLEO-U385RG-Q is compatible with a wide range of expansion boards and shields, making it an excellent choice for both beginners and experienced developers.

Explore Projects Built with NUCLEO-U385RG-Q

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
IoT-Enabled Environmental Monitoring System with NUCLEO-F303RE and ESP8266
Image of GAS LEAKAGE DETECTION: A project utilizing NUCLEO-U385RG-Q in a practical application
This circuit features a NUCLEO-F303RE microcontroller board interfaced with various modules for sensing, actuation, and communication. It includes an MQ-2 gas sensor for detecting combustible gases, a buzzer for audible alerts, and a relay for controlling high-power devices. Additionally, the circuit uses an ESP8266 WiFi module for wireless connectivity and an I2C LCD display for user interface and data display.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered Emergency Alert System with NUCLEO-F072RB, SIM800L, and GPS NEO 6M
Image of women safety: A project utilizing NUCLEO-U385RG-Q in a practical application
This circuit is an emergency alert system that uses a NUCLEO-F072RB microcontroller to send SMS alerts and make calls via a SIM800L GSM module, while obtaining location data from a GPS NEO 6M module. The system is powered by a Li-ion battery and includes a TP4056 module for battery charging and protection, with a rocker switch to control power to the microcontroller.
Cirkit Designer LogoOpen Project in Cirkit Designer
WiFi-Enabled Environmental Monitoring System with Alert Notifications
Image of GAS LEAKAGE DETECTION: A project utilizing NUCLEO-U385RG-Q in a practical application
This circuit features a NUCLEO-F303RE microcontroller board interfaced with several modules for sensing, actuation, and communication. It uses I2C communication to display data on an LCD screen, UART communication to interface with an ESP8266 WiFi module, and reads an MQ-2 gas sensor via an ADC pin. The microcontroller also controls a buzzer for audible alerts and a relay module for switching higher power loads, possibly in response to sensor readings or remote commands received over WiFi.
Cirkit Designer LogoOpen Project in Cirkit Designer
Nucleo 401RE Controlled Robotic Motor with Vibration Feedback and ADXL345 Accelerometer
Image of MLKIT: A project utilizing NUCLEO-U385RG-Q in a practical application
This circuit features a Nucleo 401RE microcontroller as the central processing unit, interfacing with an ADXL345 accelerometer and an INA219 current sensor over an I2C bus for motion sensing and power monitoring, respectively. A DC motor with an encoder is driven by an L298N motor driver, with speed control potentially provided by a connected potentiometer and vibration feedback through a vibration motor. The system is powered by a 12V battery, with voltage regulation provided for the various components.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with NUCLEO-U385RG-Q

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 GAS LEAKAGE DETECTION: A project utilizing NUCLEO-U385RG-Q in a practical application
IoT-Enabled Environmental Monitoring System with NUCLEO-F303RE and ESP8266
This circuit features a NUCLEO-F303RE microcontroller board interfaced with various modules for sensing, actuation, and communication. It includes an MQ-2 gas sensor for detecting combustible gases, a buzzer for audible alerts, and a relay for controlling high-power devices. Additionally, the circuit uses an ESP8266 WiFi module for wireless connectivity and an I2C LCD display for user interface and data display.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of women safety: A project utilizing NUCLEO-U385RG-Q in a practical application
Battery-Powered Emergency Alert System with NUCLEO-F072RB, SIM800L, and GPS NEO 6M
This circuit is an emergency alert system that uses a NUCLEO-F072RB microcontroller to send SMS alerts and make calls via a SIM800L GSM module, while obtaining location data from a GPS NEO 6M module. The system is powered by a Li-ion battery and includes a TP4056 module for battery charging and protection, with a rocker switch to control power to the microcontroller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of GAS LEAKAGE DETECTION: A project utilizing NUCLEO-U385RG-Q in a practical application
WiFi-Enabled Environmental Monitoring System with Alert Notifications
This circuit features a NUCLEO-F303RE microcontroller board interfaced with several modules for sensing, actuation, and communication. It uses I2C communication to display data on an LCD screen, UART communication to interface with an ESP8266 WiFi module, and reads an MQ-2 gas sensor via an ADC pin. The microcontroller also controls a buzzer for audible alerts and a relay module for switching higher power loads, possibly in response to sensor readings or remote commands received over WiFi.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of MLKIT: A project utilizing NUCLEO-U385RG-Q in a practical application
Nucleo 401RE Controlled Robotic Motor with Vibration Feedback and ADXL345 Accelerometer
This circuit features a Nucleo 401RE microcontroller as the central processing unit, interfacing with an ADXL345 accelerometer and an INA219 current sensor over an I2C bus for motion sensing and power monitoring, respectively. A DC motor with an encoder is driven by an L298N motor driver, with speed control potentially provided by a connected potentiometer and vibration feedback through a vibration motor. The system is powered by a 12V battery, with voltage regulation provided for the various components.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • IoT (Internet of Things) device prototyping
  • Industrial automation and control systems
  • Sensor data acquisition and processing
  • Robotics and motor control
  • Educational and research projects
  • Low-power embedded systems

Technical Specifications

Key Technical Details

Parameter Specification
Microcontroller STM32U585RG (Arm® Cortex®-M33 core with TrustZone®)
Operating Voltage 3.3V (core) / 5V (USB and external power supply)
Clock Speed Up to 160 MHz
Flash Memory 2 MB
SRAM 786 KB
GPIO Pins 76 (multipurpose, configurable)
Communication Interfaces USB, UART, I2C, SPI, CAN, LIN, and more
Debugging Interface ST-LINK/V3E (integrated debugger/programmer)
Power Supply Options USB, external power supply (VIN), or ST-LINK USB
Expansion Compatibility Arduino Uno V3 connectors and ST morpho connectors
Dimensions 68.6 mm x 53.3 mm

Pin Configuration and Descriptions

Arduino Uno V3 Connector Pinout

Pin Name Functionality Description
A0-A5 Analog Input 6 analog input pins for sensors or other devices
D0-D13 Digital I/O 14 digital I/O pins (PWM available on some pins)
VIN Power Input External power supply input (7-12V recommended)
3.3V Power Output 3.3V regulated output
5V Power Output 5V regulated output
GND Ground Common ground
RESET Reset Resets the microcontroller

ST Morpho Connector Pinout

Pin Name Functionality Description
GPIOx General Purpose I/O Configurable pins for digital/analog I/O
VDD Power Supply Power supply for external peripherals
GND Ground Common ground
USARTx UART Communication Serial communication pins
I2Cx I2C Communication I2C interface pins
SPIx SPI Communication SPI interface pins

Usage Instructions

How to Use the NUCLEO-U385RG-Q in a Circuit

  1. Powering the Board:

    • Connect the board to your computer via the USB cable for power and programming.
    • Alternatively, use an external power supply through the VIN pin or ST-LINK USB.
  2. Programming the Board:

    • Install the STM32CubeIDE or any compatible IDE.
    • Connect the board to your computer using the USB cable.
    • Use the integrated ST-LINK/V3E debugger to upload your code.
  3. Connecting Peripherals:

    • Use the Arduino Uno V3 connectors for shields or sensors.
    • For advanced configurations, use the ST morpho connectors to access additional GPIOs and interfaces.
  4. Running Your Application:

    • After uploading the code, the board will automatically reset and execute the program.
    • Monitor the output using a serial terminal (if applicable).

Important Considerations and Best Practices

  • Ensure the power supply voltage does not exceed the recommended range to avoid damaging the board.
  • Use proper pull-up or pull-down resistors for GPIO pins when required.
  • Avoid connecting high-current devices directly to the GPIO pins; use external drivers or relays.
  • When using the board in low-power applications, configure the microcontroller's power modes appropriately.

Example Code for Arduino IDE

The NUCLEO-U385RG-Q can be programmed using the Arduino IDE. Below is an example code to blink an LED connected to pin D13:

// Blink an LED on pin D13
// This example demonstrates basic GPIO functionality

void setup() {
  pinMode(13, OUTPUT); // Set pin D13 as an output
}

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

Troubleshooting and FAQs

Common Issues and Solutions

  1. Board Not Detected by the Computer:

    • Ensure the USB cable is properly connected and functional.
    • Verify that the ST-LINK drivers are installed on your computer.
  2. Code Upload Fails:

    • Check that the correct board and port are selected in your IDE.
    • Ensure no other application is using the ST-LINK interface.
  3. Peripherals Not Working:

    • Double-check the wiring and connections.
    • Verify that the correct pins are configured in your code.
  4. Board Overheating:

    • Ensure the power supply voltage is within the recommended range.
    • Avoid drawing excessive current from the GPIO pins.

FAQs

Q: Can I use the NUCLEO-U385RG-Q with Arduino libraries?
A: Yes, the board is compatible with Arduino libraries when using the STM32 Arduino core.

Q: What IDEs are supported?
A: The board supports STM32CubeIDE, Keil MDK, IAR Embedded Workbench, and the Arduino IDE.

Q: How do I reset the board?
A: Press the RESET button on the board or use the software reset functionality in your IDE.

Q: Can I use multiple communication interfaces simultaneously?
A: Yes, the STM32 microcontroller supports concurrent use of multiple communication interfaces like UART, I2C, and SPI.

Q: Is the board suitable for low-power applications?
A: Absolutely. The STM32U585RG microcontroller includes advanced power-saving features, making it ideal for low-power designs.