
LoPy is a development board based on the ESP32 microcontroller using XTENSA architecture.
This board features a maximum CPU frequency of 240 MHz and 4MB flash memory.
About LoPy
Pycom ESP32 board with LoRa, Sigfox, and Wi-Fi - ideal for global LPWAN experimentation.
Technical Specifications
Complete technical specification details for LoPy
Connectivity
Microcontroller
✨ Features & Pins
Quick Setup
Copy-paste configs for LoPy - auto‑generated from this board's exact hardware specs.
In Arduino IDE 2 select Lopy from the esp32 by Espressif package. In PlatformIO use board = esp32dev. ESP32 · 240 MHz · 4MB · DIO.
In Arduino IDE 2, open Boards Manager, search "esp32" by Espressif and install it. Then go to Tools → Board and select "Lopy" for the LoPy.
[env:lopy]
platform = espressif32
board = esp32dev
framework = arduino
; Exact hardware config for LoPy
board_build.mcu = esp32
board_build.f_cpu = 240000000L
board_build.flash_size = 4MB
board_build.flash_mode = dio
board_upload.flash_size = 4MBThe board value is a close generic match - check PlatformIO board registry for an exact fit.
esp32:
board: esp32dev
framework:
type: arduino # or "esp-idf"
# LoPy - 240 MHz ESP32
# Flash: 4MB | USB: N/APaste into your device's .yaml. See ESPHome ESP32 docs for full options.
esptool.py \
--chip esp32 \
--baud 921600 \
write_flash \
--flash_mode dio \
--flash_size 4MB \
0x1000 bootloader.bin \
0x8000 partitions.bin \
0xe000 boot_app0.bin \
0x10000 firmware.binInstall: pip install esptool - replace firmware.bin with your binary - bootloader at 0x1000
Pin Mappings
Complete pinout and GPIO mapping for LoPy
| Pin | Analog | Touch | PWM | Other |
|---|---|---|---|---|
| 0 | A11 | T1 | LED_BUILTIN | |
| 1 | PWM | TX | ||
| 2 | A12 | T2 | PWM | |
| 3 | PWM | RX | ||
| 4 | A10 | T0 | PWM | |
| 5 | PWM | LORA_SCK | ||
| 12 | A15 | T5 | PWM | SDA |
| 13 | A14 | T4 | PWM | SCL SCK |
| 14 | A16 | T6 | PWM | |
| 15 | A13 | T3 | PWM | |
| 16 | PWM | ANT_SELECT | ||
| 17 | PWM | LORA_CS SS | ||
| 18 | PWM | LORA_RST | ||
| 19 | PWM | LORA_MISO | ||
| 22 | PWM | MOSI | ||
| 23 | PWM | LORA_IRQ | ||
| 25 | A18 | PWM | DAC1 | |
| 26 | A19 | PWM | DAC2 | |
| 27 | A17 | T7 | PWM | LORA_MOSI |
| 32 | A4 | T9 | PWM | |
| 33 | A5 | T8 | PWM | |
| 34 | A6 | |||
| 35 | A7 | |||
| 36 | A0 | |||
| 37 | A1 | MISO | ||
| 38 | A2 | |||
| 39 | A3 |
Default Tools & Configuration
Build and upload settings for LoPy
| Setting | Value |
|---|---|
| Bootloader tool | esptool_py |
| Uploader tool | esptool_py |
| Network uploader tool | esp_ota |
| Bootloader address | 0x1000 |
| Flash mode | dio |
| Boot mode | dio |
| Maximum upload size | 1280 KB (1310720 bytes) |
| Maximum data size | 320 KB (327680 bytes) |
The LoPy uses esptool_py for uploads , esp_ota for OTA updates, and esptool_py bootloader at 0x1000.
Flash mode: dio | Boot mode: dio
Max sketch size: 1280 KB | Max data size: 320 KB
Similar Boards
Other development boards with ESP32 microcontroller

M5Stack-ATOM
M5Stack-ATOM development board is based on esp32 microcontroller and uses xtensa architecture.

Hornbill ESP32 Dev
Hornbill ESP32 Dev development board is based on esp32 microcontroller and uses xtensa architecture.

ESP32 Lite V1.0.0
ESP32 Lite V1.0.0 development board is based on esp32 microcontroller and uses xtensa architecture.