Stufin
Home Quick Cart Profile

M5Stack FIRE IoT Development Kit (PSRAM) V2.6

Buy Now on Stufin

Processor

Dual-core 32-bit LX6 microprocessor

Memory

4MB flash, 520 KB SRAM, 4MB PSRAM

Operating Frequency

160 MHz

Wi-Fi802.11 b/g/n

Bluetooth

4.2

Interfaces

UART, SPI, I2C, I2S, ADC, USB-C

GPIO Pins

19

MicroSD Card Slot

Supported up to 16 GB

Battery Management System

Supports charging and discharging of Li-Po batteries

Power Supply

5V @ 2A via USB-C or battery

Operating Temperature

-40C to 85C

Target Applications

The M5Stack FIRE IoT Development Kit (PSRAM) V2.6 is suitable for a wide range of IoT applications, including

Home automation and smart home devices

Industrial automation and control systems

Wearables and fitness trackers

Environmental monitoring and sensing applications

Robotics and automation projects

Proof-of-concept prototypes for IoT-based products and services

Pin Configuration

  • M5Stack FIRE IoT Development Kit (PSRAM) V2.6 Pinout Explanation
  • The M5Stack FIRE IoT Development Kit (PSRAM) V2.6 is a powerful compact device that combines the capabilities of a microcontroller, Wi-Fi, and a range of peripherals to facilitate IoT development. The kit features a 32-bit dual-core Xtensa LX6 microprocessor, 520 KB SRAM, and 16 MB of PSRAM. Here is a detailed explanation of the pins on the M5Stack FIRE IoT Development Kit (PSRAM) V2.6:
  • Top Row (Left to Right)
  • 1. GND (Ground): The ground pin is used as a common reference point for the circuit and is connected to the negative terminal of the power supply.
  • 2. 5V: This pin provides a 5V output from the onboard voltage regulator and can be used to power external devices.
  • 3. VCC (Supply Voltage): This pin provides power to the M5Stack FIRE module and should be connected to a stable power source (3.3V to 5V).
  • 4. VIN (Input Voltage): This pin is connected to the input of the onboard voltage regulator and can be used to power the M5Stack FIRE module.
  • 5. RST (Reset): This pin is active low and can be used to reset the M5Stack FIRE module.
  • 6. GPIO0 (General Purpose Input/Output): This pin can be used as a digital input or output and is also used as the serial RX pin.
  • 7. GPIO2 (General Purpose Input/Output): This pin can be used as a digital input or output and is also used as the serial TX pin.
  • 8. GPIO4 (General Purpose Input/Output): This pin can be used as a digital input or output and is also used as the SPI CS (Chip Select) pin.
  • Bottom Row (Left to Right)
  • 1. GND (Ground): The ground pin is used as a common reference point for the circuit and is connected to the negative terminal of the power supply.
  • 2. SPI CLK (Serial Peripheral Interface Clock): This pin is used as the clock signal for SPI communication.
  • 3. SPI MOSI (Serial Peripheral Interface Master Out Slave In): This pin is used as the data output pin for SPI communication.
  • 4. SPI MISO (Serial Peripheral Interface Master In Slave Out): This pin is used as the data input pin for SPI communication.
  • 5. I2C SCL (Inter-Integrated Circuit Clock): This pin is used as the clock signal for I2C communication.
  • 6. I2C SDA (Inter-Integrated Circuit Data): This pin is used as the data pin for I2C communication.
  • 7. GPIO12 (General Purpose Input/Output): This pin can be used as a digital input or output.
  • 8. GPIO13 (General Purpose Input/Output): This pin can be used as a digital input or output.
  • Additional Features
  • The M5Stack FIRE IoT Development Kit (PSRAM) V2.6 also features a USB interface, which can be used for programming and debugging.
  • The kit includes a built-in Wi-Fi module, which can be used for wireless communication.
  • The M5Stack FIRE module is compatible with a range of expansion modules, which can be connected using the Grove interface.
  • Connecting Pins Structure
  • When connecting pins, it is essential to follow a structured approach to avoid confusion and potential damage to the device. Here is a step-by-step guide:
  • 1. Identify the pin: Determine the purpose of the pin and the device it needs to be connected to.
  • 2. Choose the correct wire: Select a wire that is suitable for the application, taking into account factors such as voltage, current, and durability.
  • 3. Strip the wire: Remove the insulation from the ends of the wire using wire strippers.
  • 4. Connect the wire: Connect one end of the wire to the pin on the M5Stack FIRE module, ensuring a secure connection.
  • 5. Connect the other end: Connect the other end of the wire to the corresponding pin on the external device, taking care to match the pinouts correctly.
  • 6. Double-check connections: Verify that all connections are correct and secure before powering on the device.
  • Remember to consult the official documentation and datasheets for the M5Stack FIRE IoT Development Kit (PSRAM) V2.6 and any external devices being used to ensure safe and proper connections.

Code Examples

M5Stack FIRE IoT Development Kit (PSRAM) V2.6 Documentation
The M5Stack FIRE IoT Development Kit (PSRAM) V2.6 is a powerful microcontroller-based development board designed for IoT applications. It is built around the ESP32 system-on-chip (SoC) and features 16MB of PSRAM, providing a robust platform for developing complex IoT projects.
Hardware Specifications
Microcontroller: ESP32-D0WDQ6
 PSRAM: 16MB
 Flash Memory: 16MB
 Wi-Fi: 802.11 b/g/n
 Bluetooth: 4.2
 UART, I2C, I2S, SPI, ADC, DAC, and other peripherals
 Power Management: USB-C, battery connector, and power switch
 Operating Temperature: -20C to 85C
Software Support
The M5Stack FIRE IoT Development Kit (PSRAM) V2.6 is compatible with various programming languages, including:
MicroPython
 C/C++
 Lua
 Arduino IDE
 UIFlow
Code Examples
### Example 1: Wi-Fi Connection and HTTP GET Request using MicroPython
This example demonstrates how to connect to a Wi-Fi network and send an HTTP GET request using MicroPython:
```python
import machine
import network
import urequests
# Initialize Wi-Fi
wlan = network.WLAN(network.STA_IF)
wlan.active(True)
wlan.connect('your_wifi_ssid', 'your_wifi_password')
while not wlan.isconnected():
    machine.sleep(1)
print('Connected to Wi-Fi')
# Send HTTP GET request
response = urequests.get('http://example.com')
print(response.text)
```
### Example 2: Blinking LED using Arduino IDE
This example demonstrates how to blink the built-in LED on the M5Stack FIRE board using the Arduino IDE:
```c
#include <M5Stack.h>
M5Stack Fires fires;
void setup() {
  fires.begin();
  fires.Lcd.clear();
  fires.Lcd.println("M5Stack FIRE IoT DevKit");
}
void loop() {
  fires.ledWrite(LED_BUILTIN, HIGH);
  delay(500);
  fires.ledWrite(LED_BUILTIN, LOW);
  delay(500);
}
```
### Example 3: UART Communication using Lua
This example demonstrates how to use the UART interface to communicate with an external device using Lua:
```lua
uart.setup(0, 115200, 8, 0, 1)
uart.write("Hello, world!")
local data = uart.read(10)
print(data)
```
These examples demonstrate the versatility of the M5Stack FIRE IoT Development Kit (PSRAM) V2.6 and its potential for various IoT applications. By leveraging the board's capabilities and supported programming languages, developers can create complex and innovative projects.