🛠 Getting Started with M5Stack ToughC5

M5Stack ToughC5 Weatherproof IoT Dev Kit (ESP32-C5) · intermediaire · Guide intermédiaire pour la première alimentation, le flashage et la vérification de base du kit IoT étanche ToughC5.

Objectives

This tutorial guides you through the first startup of the M5Stack ToughC5, a rugged IoT controller based on the ESP32-C5. You will learn to secure power, set up the development environment, and verify critical interfaces (display, connectivity).

Required Hardware

Steps

  1. Physical Preparation: Open the battery compartment. Insert the CR2032 battery into the RTC holder, positive side up. Close the PC+ABS housing to maintain weather resistance (IP65, not submersible).
  1. USB Connection: Connect the ToughC5 to your PC via the USB Type-C port. The power LED should light up. Note that the module also supports 6-24V input via RS485, but 5V USB is recommended for the first flash.
  1. IDE Configuration: In Arduino IDE, add the ESP32 board manager URL. Select the M5Stack ToughC5 board (or ESP32-C5 Dev Module if the specific board is not yet available). Choose the correct COM port.
  1. Flash Test Program: Download an Hello World example adapted for ESP32-C5. Ensure M5Unified libraries are included to manage the IPS ILI9342C display (320x240 px) and buzzer. Compile and upload.
  1. Interface Verification: Once the code runs, the capacitive touchscreen should display the interface. Test Wi-Fi 6 (2.4/5 GHz band) and BLE 5.0 by scanning available networks via the serial monitor.

Verification

Further Reading

Explore the 802.15.4 interface for Zigbee/Thread. Test the HY2.0-4P connectors to interface industrial sensors via RS485. Optimize sleep consumption (10.41 µA) for Li-ion 3.7V battery deployments.

Other tutorials for this board

Code examples for this board

← Back to the board 🛠 All tutorials