Skip to main content
ESPBoards

LoPy4 Development Board Pinout and Technical Specifications

Code name: LoPy4

LoPy4 development board is based on esp32 microcontroller and uses xtensa architecture. This development board has a maximum CPU frequency of 240 MHz and a flash size of 4MB.


Features

  • 40 digital IO pins
  • 16 external interrupt pins
  • 18 analog input pins
  • 19 PWM pins

Connectivity

  • WiFi: 802.11 b/g/n (2.4 GHz)
  • Bluetooth: 4.2
  • WiFi: 4.2

Technical specs

Clock Speed240 MHz
Flash size4MB
Microcontrolleresp32
Architecturextensa

LoPy4 Pins Mapping Arduino IDE

Below you can find the LoPy4 pinout. This development board provides 40 digital IO pins, out of which 16 can be used as an external interrupt pins , 18 as analog input pins and 19 pins have Pulse-Width Modulation (PWM) .

PinAnalogTouchPWMOther
0A11T1LED_BUILTIN
1PWMTX
2A12T2PWM
3PWMRX
4A10T0PWM
5PWMLORA_SCK
12A15T5PWMSDA
13A14T4PWMSCL SCK
14A16T6PWM
15A13T3PWM
18PWMLORA_CS SS
19PWMLORA_MISO
21PWMANT_SELECT
22PWMMOSI
23PWMLORA_IRQ
25A18PWMDAC1
26A19PWMDAC2
27A17T7PWMLORA_MOSI
32A4T9PWM
33A5T8PWM
34A6
35A7
36A0
37A1MISO
38A2
39A3
Analog - Analog input pins
Touch - Touch pins
Function - Function pins
RX / TX - Receive (RX) / Transmit (TX)
LED_BUILTIN - Built-in LED
PWM - Pulse-Width Modulation

Default Tools

Bootloader toolesptool_py
Uploader toolesptool_py
Network uploader toolesp_ota
Bootloader address0x1000
Flash modedio
Boot modedio
PSRAM type
Maximum upload size
1280 Kb
(1310720 B)
Maximum data size
320 Kb
(327680 B)

The LoPy4 development board by default uses esptool_py uploader tool, esp_ota network uploader tool for Over-the-air (OTA) uploads and esptool_py bootloader tool. The bootloader starts at address "0x1000". Flash mode and boot mode for LoPy4 development board by default is dio and dio respectively. When using Arduino IDE, the maximum sketch upload size is 1280 Kb (1310720 B) and maximum data size for variables is 320 Kb (327680 B).