Datasheet Version 1.
1.0 Overview 03 13.0 Bluetooth 13 2.0 Features 03 3.0 Specifications 04 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 CPU Memory WiFi Bluetooth LoRa Sigfox RTC Security Hash / encryption 04 04 04 04 04 04 04 04 04 13.1 13.2 13.2.1 13.2.2 13.2.3 13.2.4 13.2.5 13.2.6 Supported features Specification Receiver – Basic Data Rate Receiver – Enhanced Data Rate Receiver – Bluetooth LE Transmitter – Basic Data Rate Transmitter – Enhanced Data Rate Transmitter – Bluetooth LE 13 13 13 14 15 16 17 18 14.
V3 Ultra–Low–Noise switching regulator LoRa / Sigfox transceiver ESP32 Dual Core Microcontroller and WiFi/Bluetooth 4.2 radio 8MB flash memory LoRa / Sigfox 902–915 MHz antenna connector Internal WiFi and Bluetooth Antenna WS2812 RGB multi–colour LED RF switch Not availble antenna connector U.FL WiFi and Bluetooth Antenna connector Reset switch Size 55mm x 20mm x 3.5mm (excluding headers) 1.
3.0 Specifications 3.1 CPU –– Xtensa® dual–core 32–bit LX6 microprocessor(s), up to 600 DMIPS –– Hardware floating point acceleration –– Python multi–threading –– An extra ULP–coprocessor that can monitor GPIOs, the ADC channels and control most of the internal peripherals during deep–sleep mode while only consuming ~25uA. 3.2 Memory –– RAM: 520KB + 4MB –– External flash: 8MB 3.3 WiFi –– 802.11b/g/n 16mbps 3.4 Bluetooth –– Low energy and classic Version 1.0 3.5 LoRa –– LoRaWAN 1.0.
.0 ! Absolute MAX per pin 12mA recommended 6mA WS2812 LED Not availble antenna connector (902-915 MHz) LoRa / Sigfox antenna port Reset Button CLKOUT3 U0TXD CLKOUT1 SDDATA1 HSPIHD SDCMD HSPICS0 MTD0 RTCIO11 Touch0 RTCIO10 Touch7 RTCIO17 EMACRXCLK VSPIQ SDDATA0 HSPIWP Touch2 SDDATA2 HSPIQ MTDI Touch5 SDDATA3 HSPIID MTCK Touch4 VSPIWP ADC2_7 U0CTS RTCIO12 ADC2_2 RTCIO15 ADC2_5 RTCIO14 ADC2_4 U0RTS VSPIHD EMACRXDV EMACTXD0 EMACTXD3 EMACRXER EMACTXD1 EMACTXEN 9 40 41 23 24 21
.0 Pin Details Table 1 – Module pinout Module Pin ESP32 GPIO Pin Name 1 – – Reset Active Low, connected to on–board button 2 3 P0 RX0 (Programming) Used by the bootloader and to program the module 3 1 P1 TX0 (Programming) Used by the bootloader and to program the module 4 0 P2 5 4 P3 TX1 2* 6 15 P4 RX1 2* 7 5 – LoRa/Sigfox radio SPI CLK 8 27 – LoRa/Sigfox radio SPI MOSI 9 19 – LoRa/Sigfox radio SPI MISO 10 2 P8 11 12 P9 12 13 13 Default Function ADC 2
6.0 Pin Details Table 1 – Module pinout Module Pin ESP32 GPIO Pin Name 21 32 P19 1 22 33 P20 1 23 26 P21 2* DAC, 24 25 P22 2* DAC 25 14 P23 2* JTAG TMS, SD card SCLK 26 – – Regulated 3.3V supply 27 – – Ground 28 – – Voltage Input – 18 – LoRa reset – 16 – External WiFi/BT antenna switch, Low = on–board, High = U.FL – 23 – LoRa/Sigfox radio interrupt – 17 – LoRa/Sigfox radio chip select Default Function ADC PWM RTC† Notes Output only, do not feed 3.
7.0 ESP32 Peripherals Table 2 – Peripherals Peripheral Count Pins UART 3 Remappable to any GPIO. Note: P13–18 can only be mapped to RX or CTS since they are input only. I2C 2 Remappable to any GPIO except P13–18 since they are input only and I2C is bi–directional. SPI 3 Remappable to any GPIO. Note: P13–18 can only be mapped to MISO since they are input only. CAN* 1 Remappable to any GPIO. Note: P13–18 can only be mapped to RX since they are input only.
8.0 Programming the device 8.1 UART By default, the modules run an interactive python REPL on UART0 which is connected to P0 (RX) and P1 (TX) running at 115200 baud. The easiest way to connect to the LoPy4 is via our expansion board, but any USB UART adapter will suffice. Code can be run via this interactive REPL or you can use our PyMakr plugin for Atom or Visual Studio Code to upload code to the board. 8.2 Wi–Fi By default, the LoPy4 also acts as a Wi–Fi access point.
.0 Power The LoPy4 features an on–board voltage regulator that takes 3.4V – 5.5V from the VIN pin and regulates it to 3.3V. It is important to only use the 3.3V as an output and not try to feed 3.3V into this pin as this could damage the regulator. 10.1 Currenctonsumption by power modes/features measured Table 4 – Power consumption by feature Mode Min Avg. Max Units Idle (no radios) - 35.4 - mA LoRa Transmit† - 108 - mA Sigfox Transmit* - 91.
.0 Memory Map 11.1 Flash Table 5 – Flash memory map Name Description Start address Size NVS Non–volatile RAM area. Used by the NVS API 0x9000 0x7000 Firmware Slot 0 First firmware slot.
.0 WiFi 12.1 Supported features – 802.11 b/g/n – 802.11 n (2.4 GHz), up to 150 Mbps – 802.11 e: QoS for wireless multimedia technology – WMM–PS, UAPSD – A–MPDU and A–MSDU aggregation – Block ACK – Fragmentation and defragmentation 12.2 –– Automatic Beacon monitoring/scanning –– 802.
.0 Bluetooth 13.1 Supported features –– Compliant with Bluetooth v4.2 BR/EDR and BLE specification – class–2 transmitter without –– –– –– –– –– –– –– –– –– –– –– external power amplifier – Enhanced power control – +6 dBm transmitting power – – – – – 13.2 NZIF receiver with –97 dBm sensitivity Adaptive Frequency Hopping (AFH) Standard HCI based on SDIO/SPI/UART High–speed UART HCI, up to 4 Mbps BT 4.
13.2.2 Receiver – Enhanced Data Rate Table 10 – Receiver (basic data rate) specifications Parameter Min Typ. Max Unit π/4 DQPSK Sensitivity @0.1% BER – –90 – dBm Maximum received signal @0.1% BER – 0 – dBm Co–channel C/I – 11 – dB F = F0 + 1 MHz – –7 – dB F = F0 – 1 MHz – –7 – dB F = F0 + 2 MHz – –25 – dB F = F0 – 2 MHz – –35 – dB F = F0 + 3 MHz – –25 – dB F = F0 – 3 MHz – –45 – dB Adjacent channel selectivity C/I 8DPSK Sensitivity @0.
13.2.3 Receiver – Bluetooth LE Table 11 – Receiver (BLE) specifications Parameter Min Typ. Max Unit Sensitivity @30.8% PER – –97 – dBm Maximum received signal @30.
13.2.4 Transmitter – Basic Data Rate Table 12 – Transmitter (basic data rate) specifications Parameter Min Typ. Max Unit – dBm RF transmit power – 2.5 RF power control range 2.0 – 3.0 dBm F = F0 + 1 MHz – –24 – dBm F = F0 – 1 MHz – –16.1 – dBm F = F0 + 2 MHz – –40.8 – dBm F = F0 – 2 MHz – –35.6 – dBm F = F0 + 3 MHz – –45.7 – dBm F = F0 – 3 MHz – –40.2 – dBm F = F0 + >3 MHz – 45.6 – dBm F = F0 – >3 MHz – 44.6 – dBm Δf1avg – – 155 KHz Δf2 max 133.
13.2.5 Transmitter – Enhanced Data Rate Table 13 – Transmitter (enhanced data rate) specifications Parameter Min Typ. Max Unit – 4 – dBm RF transmit power RF power control range – 1 dBm 6 π/4 DQPSK max w0 – –0.72 – KHz π/4 DQPSK max wi – –6 – KHz π/4 DQPSK max |wi + w0| – –7.42 – KHz 8DPSK max w0 – 0.7 – KHz 8DPSK max wi – –9.
13.2.6 Transmitter – Bluetooth LE Table 14 – Transmitter (BLE) specifications Parameter Min RF transmit power(Conducted) – RF power control range 2.0 Typ. Max Unit – dBm – 3.0 dBm 2.5 F = F0 + 1MHz – –14.6 – dBm F = F0 – 1MHz – –12.7 – dBm F = F0 + 2MHz – –44.3 – dBm F = F0 – 2MHz – –38.7 – dBm F = F0 + 3MHz – –49.2 – dBm F = F0 – 3MHz – –44.
14.2 Specifications Table 16 – LoRa electrical characteristics Symbol RFS_L125_LF RFS_L500_ LF Description RF sensitivity, Long–Range Mode, highest LNA gain, Band 3, using split RX/TX path 125 kHz bandwidth RF sensitivity, Long–Range Mode, highest LNA gain, Band 3, using split RX/TX path 500 kHz bandwidth Co–channel rejection CCR_LCW Version 1.0 Min Typ.
14.2 Specifications Table 16 – LoRa electrical characteristics Symbol ACR_LCW IMR_LCW Description Min Typ.
14.2 Specifications Table 17 – LoRa power consumption Symbol Description IDDSL Supply current in sleep mode IDDIDLE Supply current in idle mode IDDST Min Typ. Max Unit – 0.2 1 μA RC oscillator enabled – 1.5 – μA Supply current in standby mode Crystal oscillator enabled – 1.6 1.8 mA IDDFS Supply current in synthesizer mode FSRx – 5.8 – mA IDDR Supply current in receive mode Bands 3 – 12.
15.0 Sigfox 15.1 Frequencies Table 18 – Supported Sigfox regions Uplink Frequency (kHz) Region RCZ2 (US) 15.2 Downlink Frequency (kHz) 902.225 904.675 Specifications Table 19 – Sigfox modem performance Parameter Min Typ.
16.0 6LoWPAN P ycom is currently working on adding 6LoWPAN support to this module and plan to release a new firmware with this functionality in Q2 2018. 17.0 Electrical Characteristics 17.1 Absolute maximum ratings Table 20 – Absolute maximum ratings Parameter Symbol Min Typ. Max Unit Supply Input Voltage VIN 3.4 – 5.5 V Supply Output Current I OUT – – 1.2 A Supply Output Voltage V3V3 – 3.
18.0 Minimum Recommended Circuit 4 Figure 4 – Minimum required circuit Version 1.
2.54 5 1.02 P13 P14 P15 P16 P17 P18 P19 P20 19.0 2 10 Mechanical Specifications 20 P11 P12 P10 P9 P8 MISO MOSI 5 1.02 P13 P14 P15 P16 P17 P18 P19 P20 P21 P22 P23 3V3 17.78 GND VIN 55 2 10 12.25 20 P11 P12 P10 P9 P8 MISO CLK MOSI P4 P3 P2 P1 P0 RST 55 9.72 12.25 Figure 5 – Mechanical drawing (top down view) – Units: mm 55 35.3 1.2 9.9 6.5 4.1 Figure 6 – Mechanical drawing (side view) – Units: mm 20.0 Recommended Land Patterns 20.1 Through hole 2.
20.2 Surface mount (LoPy without headers only) 2.54 5 1.5 Antenna KEEP OUT 2 10 18 20 9.72 55 12.25 Figure 8 – Recommended land pattern (surface mount) – Units: mm Version 1.
21.0 Soldering Profile 21.1 With headers This device is not recommended for reflow soldering. The plastic of the pin headers will melt, instead please hand solder the module or use sockets. 21.
22.0 Ordering Information Table 23 – Ordering information Product EAN Description 0700461908890 LoPy4 1.0 with Headers 0700461908616 LoPy4 1.0 without headers 0700461341703 LoRa/Sigfox Antenna 0700461341697 IP67 Antenna Pigtail Bundle Contents LoPy4 Multi–Pack 1x LoPy4 1x Expansion Board or Pysense or Pytrack 1x LoRa/Sigfox antenna Available in quantities of 1, 2 or 5 For more product accessories like expansion board or cases visit our website: http://www.pycom.io 23.
24.0 Certification FCC IC 2AJMTLOPY4R 22263–LOPY4R Regulator Information 24.1 EU Regulatory Conformance Hereby, Pycom Ltd declares that this device is in compliance with the essential requirements and other relevant provisions of Directive 2014/53/Eu 24.2 Federal Communication Commission Interference Statement CAUTION: Changes or modifications not expressly approved by the party responsible for compliance could void the user’s authority to operate the equipment.
IMPORTANT NOTE: In the event that these conditions cannot be met (for example certain laptop configurations or co–location with another transmitter), then the FCC authorization is no longer considered valid and the FCC ID cannot be used on the final product. In these circumstances, the OEM integrator will be responsible for re– evaluating the end product (including the transmitter) and obtaining a separate FCC authorization. 24.2.