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.
LoPy4 Specs
Below you can find the specifications of LoPy4, such as features, connectivity options, and LoPy4 technical specs.
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 Speed | 240 MHz |
Flash size | 4MB |
Microcontroller | esp32 |
Architecture | xtensa |
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) .
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 | |
18 | PWM | LORA_CS SS | ||
19 | PWM | LORA_MISO | ||
21 | PWM | ANT_SELECT | ||
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
Bootloader tool | esptool_py |
Uploader tool | esptool_py |
Network uploader tool | esp_ota |
Bootloader address | 0x1000 |
Flash mode | dio |
Boot mode | dio |
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.