+ All Categories
Home > Documents > 1.0 Overview 2.0 Features - Pycom · Note: P13–18 can only be mapped to MISO since they are input...

1.0 Overview 2.0 Features - Pycom · Note: P13–18 can only be mapped to MISO since they are input...

Date post: 04-Aug-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
29
01 1.0 Overview With LoRa, Wifi and BLE, the LoPy is the only triple bearer MicroPython enabled micro controller on the market today – the perfect enterprise grade IoT platform for your connected Things. With the latest Espressif chipset the LoPy offers a perfect combination of power, friendliness and flexibility. Create and connect your things everywhere. Fast. 2.0 Features Powerful CPU, BLE and state of the art WiFi radio. 1KM Wifi Range Can also double up as a Nano LoRa gateway MicroPython enabled Fits in a standard breadboard (with headers) Ultra–low power usage: a fraction compared to other connected micro controllers Available with or without pin headers soldered on Size 55mm x 20mm x 3.5mm Operating temperature: –40 to 85 degrees celsius LoRa transceiver ESP32 Dual Core Microcontroller and WiFi/Bluetooth 4.2 radio External LoRa antenna connector WS2812 RGB multi–colour LED 3V3 Ultra–Low–Noise switching regulator 32Mbit flash memory U.FL connector Reset switch RF switch Internal WiFi and Bluetooth Antenna
Transcript
Page 1: 1.0 Overview 2.0 Features - Pycom · 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

01

1.0 Overview

WithLoRa,WifiandBLE,theLoPyistheonlytriplebearerMicroPythonenabledmicrocontrolleronthemarkettoday–theperfectenterprisegradeIoTplatformforyourconnectedThings.WiththelatestEspressifchipsettheLoPyoffersaperfectcombinationofpower,friendlinessandflexibility.Createandconnectyourthingseverywhere.Fast.

2.0 Features

– PowerfulCPU,BLEandstateoftheartWiFiradio.1KMWifiRange

– CanalsodoubleupasaNanoLoRagateway – MicroPythonenabled – Fitsinastandardbreadboard(withheaders) – Ultra–lowpowerusage:afractioncomparedto otherconnectedmicrocontrollers

– Availablewithorwithoutpinheaderssolderedon

Size 55mmx20mmx3.5mm

Operatingtemperature: –40to85degreescelsius

LoRatransceiver

ESP32DualCoreMicrocontrollerand WiFi/Bluetooth4.2radio

ExternalLoRa antennaconnector

WS2812RGBmulti–colourLED

3V3Ultra–Low–Noiseswitchingregulator

32Mbit flash memory

U.FLconnectorResetswitch

RFswitch

InternalWiFiandBluetoothAntenna

Page 2: 1.0 Overview 2.0 Features - Pycom · 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

02

3.0 Specifications

3.1 CPU – Xtensa®dual–core32–bitLX6microprocessor(s),upto600DMIPS

– Hardwarefloatingpointacceleration – Pythonmulti–threading – AnextraULP–coprocessorthatcanmonitorGPIOs,theADCchannelsandcontrolmostoftheinternalperipheralsduringdeep–sleepmodewhileonlyconsuming25uA.

3.2 Memory – RAM:512KB – Externalflash:4MB

3.3 WiFi – 802.11b/g/n16mbps

3.4 Bluetooth – Lowenergyandclassic

3.5 RTC – Runningat150kHz

3.6 Security – SSL/TLSsupport – WPAEnterprisesecurity

3.7 Hash/encryption – SHA – MD5 – DES – AES

4.0 BlockDiagram

Figure 1 – System block diagram

Page 3: 1.0 Overview 2.0 Features - Pycom · 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

03

5.0 Pinout

Figure 2 – Module pinout diagramNote:TheESP32supportsremappingitsperipheralstoalternativepins.Seebelowforadetailedlist.

FCC ID: 2AJMTLOPY1R

Model: LoPy1.0

WiFiBluetoothLoRa

Res

et B

utt

on

WS2

81

2 L

ED

WiF

i / B

luet

oo

th E

xter

nal

An

ten

na

Co

nn

ecto

r

LoR

a E

xter

nal

An

ten

na

Co

nn

ecto

r

23/01/18

Pin

ou

t d

iagr

am

GND

3V3

409 41 23 24 21 34 16 38 22 18 20 39 42

17 14 15 13 12 10 11 8 7 6 5

P0 P1 P2 P3 P4 P8 P9 P10

RX0

TX0

TX1

RX1

PROGRAM

Port

SDA

SCL

P11

P12

CLK

MOSI

MISO

P23

P22

P21

P20

P19

P18

P17

CLK

MOSI

MISO

P16

P15

P14

P13

ADC2_6

ADC2_8

ADC2_9

ADC1_5

ADC1_4

ADC1_6

ADC1_7

ADC1_3

ADC1_2

ADC1_1

ADC1_0

ADCPA

ADCPA

EMACTXD2

U0TXD

U0CTS

U0RTS

VSPIWP

VSPIHD

MTCK

MTDI

VSPIQ

VSPICS0

MTD0

HSPICS0

HSPIWP

HSPIQ

HSPIID

SDDATA2

SDDATA3

HS2DATA2

HS2DATA3

HSPIHD

SDCMD

SDDATA1

HS2CMD

HS1DATA6

HS2DATA1

CLKOUT1

RGB_LED

CLKOUT3

CLKOUT2

U0RXD

EMACRXD0

EMACRXD1

EMACTXCLK

EMACRXD2

EMACTXER

EMACRXD3

EMACRXCLK

EMACRXDV

EMACTXD0

EMACTXD3

EMACRXER

EMACTXD1

EMACTXEN

ADC2_1

ADC2_0

ADC2_3

ADC2_7

ADC2_2

ADC2_5

ADC2_4

RTCIO16

RTCIO6

RTCIO7

RTCIO8

RTCIO9

RTCIO4

RTCIO5

RTCIO3

RTCIO2

RTCIO1

RTCIO0

RTCIO11

RTCIO10

RTCIO13

RTCIO17

RTCIO12

RTCIO15

RTCIO14

Touch1

Touch0

Touch3

Touch6

MTMS

HSPICLK

SDCLK

HS2CLK

DAC_1

DAC_2

Touch8

Touch9

Touch7

Touch2

Touch5

Touch4

ChipPU

RST

GPIO3

GPIO1

GPIO0

GPIO4

GPIO15

GPIO5

GPIO27

GPIO19

GPIO2

GPIO12

GPIO13

GPIO22

GPIO21

GPIO14

GPIO25

GPIO26

GPIO33

GPIO32

GPIO34

GPIO35

GPIO39

GPIO38

GPIO37

GPIO36

XTAL32

XTAL32

VDET1

VDET2

SensVN

SensCN

SensCP

SensVP

!Only Input pins!

No pullup/pulldown

internal resistance

!

Absolute MAX per pin 12mA

recommended 6mA

!

Power

GND

Serial Pin

Analog Pin

Control

Physical Pin

Port Pin

Touch Pin

DAC Pin

PMW Pin

Dis

trib

ute

d a

nd

man

ufa

ctu

red

by

Pyc

om

Ltd

. R

egis

tere

d o

ffice

:H

igh

Po

int,

9 S

yden

ham

Ro

ad, G

uild

ford

, Su

rrey

GU

1 3

RX

, UK

Co

pyri

ght

© 2

01

7 b

y P

yco

m L

td. A

ll ri

ghts

res

erve

d. N

o p

art

of t

his

do

cum

ent

may

be

repr

od

uce

d, d

istr

ibu

ted

, or

tran

smit

ted

in a

ny fo

rm

or

by a

ny m

ean

s, in

clu

din

g ph

oto

copy

ing,

rec

ord

ing,

or

oth

er e

lect

ron

ic

or

mec

han

ical

met

ho

ds,

wit

ho

ut

the

prio

r w

ritt

en p

erm

issi

on

of P

yco

m

Ltd

, exc

ept

in t

he

case

of b

rief

qu

ota

tio

ns

emb

od

ied

in c

riti

cal r

evie

ws

and

cer

tain

oth

er n

on

com

mer

cial

use

s pe

rmit

ted

by

copy

righ

t la

w.

To o

rder

co

nta

ct s

ales

@py

com

.io

Low Level Bootloader

P2+

GND

Boot modes and safe boot

P12

+3V3

1-3

sec

Safe boot, latest firmware is selected

4-6

sec

Safe boot, previous user update selected

7-9

sec

Safe boot, the factory firmware is selected

Hack your LoPy

Co

nn

ect

to a

10

nF

cap

acit

or

to

enab

le T

ou

ch P

in fu

nct

ion

Connected to

LoRa module

!

SDDATA0

35VSPICLK

HS1DATA7

GPIO18

25EMACCLKOUT

U2RXD

HS1DATA4

GPIO16

36VSPIID

HS1STROBE

GPIO23

27EMACCO180

U2TXD

HS1DATA5

GPIO17

LoRa Reset

External Antenna Switch

LoRa Interrupt

LoRa Select

Internal Functions

Vin (3.5-5.5V)

Up to 1.2-A Maximum Load Capability. Output ONLY.

Lore

m ip

sum

Page 4: 1.0 Overview 2.0 Features - Pycom · 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

04

6.0 PinDetails

Table 1 – Module pinout

Module Pin

ESP32 GPIO

PinName

DefaultFunction ADC PWM RTC† Notes

1 – ResetActiveLow,connectedtoon–boardbutton

2 3 P0RX0 (Programming)

Usedbythebootloaderandtoprogramthemodule

3 1 P1TX0(Programming)

Usedbythebootloaderandtoprogramthemodule

4 0 P2 2*IftiedtoGNDduringbootthedevicewillenterbootloadermode.Connectedtotheon–boardRGBLED

5 4 P3 TX1 2*

6 15 P4 RX1 2* JTAGTDO,SDcardCMD

7 5 – LoRaradioSPICLK Notrecommendedforexternaluse

8 27 –LoRaradioSPIMOSI

2* Notrecommendedforexternaluse

9 19 –LoRa/SigfoxradioSPIMISO

Notrecommendedforexternaluse

10 2 P8 2* SDcardDAT0

11 12 P9 SDA 2* JTAGTDI

12 13 P10SCL(I2C)/CLK(SPI)

2* JTAGTCK

13 22 P11 MOSI

14 21 P12Iftiedto3.3Vduringbootthedeviceenterssafebootmode,JTAGMISO

15 36 P13 1 Inputonly

16 37 P14 MISO 1 Inputonly

17 38 P15 1Inputonly,notrecommendedforexternaluse

18 39 P16 1 Inputonly

19 35 P17 1 Inputonly

20 34 P18 1 Inputonly

Page 5: 1.0 Overview 2.0 Features - Pycom · 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

05

6.0 PinDetails

Table 1 – Module pinout

Module Pin

ESP32 GPIO

PinName

DefaultFunction ADC PWM RTC† Notes

21 32 P19 1

22 33 P20 1

23 26 P21 2* DAC

24 25 P22 2* DAC

25 14 P23 2* JTAGTMS,SDcardSCLK

26 – –Regulated3.3Vsupply

Outputonly,donotfeed3.3Vintothispinoryoucandamagetheregulator

27 – – Ground

28 – – VoltageInput Acceptsavoltagebetween3.5Vand5.5V

– 18 – LoRareset

– 16 –ExternalWiFi/BTantennaswitch,Low=on–board,High=U.FL

– 23 – LoRaradiointerrupt

– 17 – LoRaradiochipselect

†ThepinsontheRTCpowerdomaincanbeusedduringdeepsleep,specificallyGPIOpinswillmaintaintheirstatewhileindeepsleep.

*ADC2iscurrentlynotsupportedinthemicropythonfirmware

6.1 RemappingPins TheESP32featurescomprehensivepinremapping

functionality.ThisallowsperipheralstobemappedontoalmostanyavailableGPIOpins.Theabovetablemerelyshowsthedefaultassignments.Forexample,thedefaultmappinghastheSPIandI2Cclocksoverlapping,

meaningbothcannotbeusedsimultaneouslywithoutremappingonetoadifferentpin.Foradetailedguideofwhatperipheralcanbeassignedtowhatpinspleaseread“AppendixA–ESP32PinLists”oftheESP32datasheet.

Page 6: 1.0 Overview 2.0 Features - Pycom · 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

06

7.0 ESP32Peripherals

Table 2 – Peripherals

*RequiresanexternalCANbustransceiver,werecommendtheSN65HVD230fromTexasInstruments.

Peripheral Count Pins

UART 3RemappabletoanyGPIO.

Note:P13–18canonlybemappedtoRXorCTSsincetheyareinputonly.

I2C 2 RemappabletoanyGPIOexceptP13–18sincetheyareinputonlyandI2Cisbi–directional.

SPI 3RemappabletoanyGPIO.

Note:P13–18canonlybemappedtoMISOsincetheyareinputonly.

CAN* 1RemappabletoanyGPIO.

Note:P13–18canonlybemappedtoRXsincetheyareinputonly.

JTAG 1 TDO=P4,TDI=P9,TCK=P10,TMS=P24

PWM 1 AllGPIOexceptP13–18whichareinputonly

ADC 18 Fixedmapping,seeTable1,OnlyADC1issupportedinourmicropythonfirmware.

DAC 2 OnlyavailableonP21andP22

SD 1 DAT0=P8,SCLK=P23,CMD=P4

Figure 3 – External RTC crystal circuits

ForamoredetaileddescriptionoftheESP32peripheralsalongwithperipheralsnotcurrentlysupportedbyourfirmware,pleasechecktheESP32datasheet.

7.1 RTC OurmodulesbydefaultallusetheinternalRCoscillator

at150kHzfortheRTC.Ifyourequirebetteraccuracy/stabilityyoucanconnecta32.768kHzcrystal(orTCXO)externallyonpinsP19andP20(orP19foraTXCO)

Page 7: 1.0 Overview 2.0 Features - Pycom · 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

07

8.0 Programmingthedevice

8.1 UART Bydefault,themodulesrunaninteractivepythonREPL

onUART0whichisconnectedtoP0(RX)andP1(TX)runningat115200baud.TheeasiestwaytoconnecttotheLoPyisviaourexpansionboard,butanyUSBUARTadapterwillsuffice.CodecanberunviathisinteractiveREPLoryoucanuseourPyMakrpluginforAtomorVisualStudioCodetouploadcodetotheboard.

8.2 Wi–Fi Bydefault,theLoPyalsoactsasaWi–Fiaccesspoint. SSID:lopy–wlan–XXXX Password:www.pycom.io OnceconnectedtotheLoPy’sWi–Finetworkyoucan

accessitintwoways.

8.2.1 Telnet Runningonport23isatelnetserver.Thisactsina

verysimilarwaytotheUART.ItpresentsyouwithaninteractiveREPLandcanalsobeusedtouploadcodeviaPyMakr.

8.2.2 FTP TheLoPyalsorunsaFTPserverthatallowsyoutocopy

filestoandfromthedevice,includeanSDcardifoneisconnected.ToconnecttothisFTPserver,youneedtouseplainFTP(un–encrypted)withthefollowingcredentials: User:micro Password:python

9.0 Bootmodes

9.1 Bootloadermode InordertoupdatethefirmwareoftheLoPydevice,it

needstobeplacedintobootloadermode.Inordertodothis,P2needstobeconnectedtogroundwhenthedevicereboots.OnceinbootloadermodeyoucanusethePycomfirmwareupdatetooltoupdatetothelatestofficialfirmware.Ifyouaredevelopingyourownfirmwarebasedonouropen–sourcefirmware,aflashingscriptisprovidedwiththesourcecode.

9.2 Safeboot Themicropythonfirmwarefeaturesasafebootfeature

thatskipstheboot.pyandmain.pyscriptsandgoesstraighttotheREPL.Thisisusefulifthedeviceisprogrammedwithcodethatcausesthedevicetocrashorbecomeinaccessible.Toaccessthismode,youneedtoconnectP12to3.3Vandresetthedevice.Uponenteringsafebootmode,theon–boardLEDwillbegintoblinkorange.Dependingonthedurationthepinisheldat3.3V,adifferentfirmwarewillberun.

Table 3 – Boot modes

0–3Seconds 3–6Seconds

Currentfirmwarewithoutrunning boot.pyormain.py

PreviousfirmwareifthefirmwarewasuploadedviaOTA (withoutrunningboot.pyandmain.py)

Page 8: 1.0 Overview 2.0 Features - Pycom · 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

08

10.1 Currentconsumptionbypowermodes/featuresmeasuredat5V

10.2 Deepsleep DuetoacoupleissueswiththeLoPydesignthemodule

drawsmorecurrentthanitshouldwhileindeepsleep.TheDC–DCswitchingregulatoralwaysstaysinhighperformancemodewhichisusedtoprovidethelowestpossibleoutputripplewhenthemodulesisinuse.Inthismode,itdrawsaquiescentcurrentof10mA.WhentheregulatorisputintoECOmode,thequiescentcurrentgoesdownto10uA.Unfortunately,thepinusedtocontrolthismodeisoutoftheRTCdomain,andthereforenotusableduringdeepsleep.ThiscausestheregulatortoalwaysstayinPWMmode,keepingitsquiescentcurrent

at10mA.Alongsidethistheflashchipdoesn’tenterpowerdownmodebecausetheCSpinisfloatingduringdeepsleep.Thiscausestheflashchiptoconsumearound2mAofcurrent.OnlytheWiPY2.0,LoPy1.0andSiPy1.0areaffectedbytheseissues.Toworkaroundthisissuea“deepsleepshield”isavailablethatattachestothemoduleandallowspowertobecutofffromthedevice.Thedevicecanthenbere–enabledeitheronatimerorviapininterrupt.Withthedeepsleepshieldthecurrentconsumptionduringdeepsleepisbetween7uAand10uAdependingonthewakesourcesconfigured.

10.0 Power

TheLoPyfeaturesanon–boardvoltageregulatorthattakes3.5V–5.5VfromtheVINpinandregulatesitto3.3V.Itisimportanttoonlyusethe3.3Vasanoutputandnot

trytofeed3.3Vintothispinasthiscoulddamagetheregulator.

Table 4 – Power consumption by feature

*Moredetailscanbefoundinsection14.2

*Seesection10.2

Mode Min Avg. Max Units

Idle(noradios) – 37 – mA

LoRaTransmit† – 92.6 – mA

WiFiAP – 96.5 – mA

WiFiclient – 107.3 – mA

Bluetooth – 94 – mA

Deepsleep* – 15.1 – mA

Deepsleepwithshield – 531 – μA

Page 9: 1.0 Overview 2.0 Features - Pycom · 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

09

11.0 MemoryMap

11.1 Flash

11.2 RAM

11.3 ROMandeFuses

Table 5 – Flash memory map

Table 6 – RAM memory map

Table 7 – Miscellaneous memory

Name Description Startaddress Size

NVS Non–volatileRAMarea.UsedbytheNVSAPI 0x9000 0x7000

FirmwareSlot0 Firstfirmwareslot.Factoryfirmwareisflashedhere 0x10000 0x180000

OTAinfo Informationaboutthecurrentactivefirmware 0x190000 0x1000

FirmwareSlot1 Secondfirmwareslot 0x1A0000 0x180000

Filesystem 504KBfilesystemondeviceswith4MBflash 0x380000 0x7F000

Config ConfigareaforLoRa,SigfoxandLTE 0x3FF000 0x1000

Name Description Size

On–chipSRAM InternalRAMmemoryusedbythe2xtensaCPUs 520KB

FastRTCRAMFastRAMareaaccessiblebythextensacoresduringbootandsleepmodes

8KB

SlowRTCRAMSlowRAMareaaccessiblebytheUltra–LowPowerCoprocessorduringdeepsleep

8KB

Name Description Size

On–chipROM Containscorefunctionsandbootcode. 448KB

eFuse

256bitsareusedforthesystem(MACaddressandchipconfiguration)andtheremaining768bitsarereservedforcustomerapplications,includingFlash–EncryptionandChip–ID

1kbit

Page 10: 1.0 Overview 2.0 Features - Pycom · 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

10

12.0 WiFi

12.1 Supportedfeatures – 802.11b/g/n/e/i – 802.11n(2.4GHz),upto150Mbps – 802.11e:QoSforwirelessmultimediatechnology – WMM–PS,UAPSD – A–MPDUandA–MSDUaggregation – BlockACK – Fragmentationanddefragmentation

– AutomaticBeaconmonitoring/scanning – 802.11isecurityfeatures:pre–authenticationandTSN – Wi–FiProtectedAccess(WPA)/WPA2/WPA2–Enterprise/Wi–FiProtectedSetup(WPS)

– InfrastructureBSSStationmode/SoftAPmode – Wi–FiDirect(P2P),P2PDiscovery,P2PGroupOwnermodeandP2PPowerManagement

12.2 Specifications

Table 8 – WiFi specifications

Description Min Typ. Max Unit

InputFrequency 2412 – 2484 MHz

TxpowerOutputpowerofPAfor72.2Mbps

13 14 15 dBm

OutputpowerofPAfor11bmode 19.5 20 20.5 dBm

Sensitivity

DSSS,1Mbps – – 98 dBm

CCK,11Mbps – – 91 dBm

OFDM,6Mbps – – 93 dBm

OFDM,54Mbps – – 75 dBm

HT20,MCS0 – – 93 dBm

HT20,MCS7 – – 73 dBm

HT40,MCS0 – – 90 dBm

HT40,MCS7 – – 70 dBm

MCS32 – – 89 dBm

Adjacentchannelrejection

OFDM,6Mbps – 37 – dB

OFDM,54Mbps – 21 – dB

HT20,MCS0 – 37 – dB

HT20,MCS7 – 20 – dB

Page 11: 1.0 Overview 2.0 Features - Pycom · 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

11

13.0 Bluetooth

13.1 Supportedfeatures – CompliantwithBluetoothv4.2BR/EDRandBLEspecification

– Class–1,class–2andclass–3transmitterwithoutexternalpoweramplifier

– Enhancedpowercontrol – +12dBmtransmittingpower – NZIFreceiverwith–97dBmsensitivity – AdaptiveFrequencyHopping(AFH) – StandardHCIbasedonSDIO/SPI/UART – High–speedUARTHCI,upto4Mbps – BT4.2controllerandhoststack

– ServiceDiscoverProtocol(SDP) – GeneralAccessProfile(GAP) – SecurityManageProtocol(SMP) – ATT/GATT – HID – AllGATT–basedprofilesupported – SPP–likeGATT–basedprofile – BLEBeacon – A2DP/AVRCP/SPP,HSP/HFP,RFCOMM – CVSDandSBCforaudiocodec – BluetoothPiconetandScatternet

13.2 Specification

13.2.1 Receiver–BasicDataRate

Table 9 – Receiver (basic data rate) specifications

Parameter Min Typ. Max Unit

[email protected]%BER – –94 – dBm

[email protected]%BER 0 – – dBm

Co–channelC/I – +7 – dB

AdjacentchannelselectivityC/I

F=F0+1MHz – – –6 dB

F=F0–1MHz – – –6 dB

F=F0+2MHz – – –25 dB

F=F0–2MHz – – –33 dB

F=F0+3MHz – – –25 dB

F=F0–3MHz – – –45 dB

Out–of–bandblockingperformance

30Mhz~2000MHz –10 – – dBm

2000MHz~2400MHz

–27 – – dBm

2500MHz~3000MHz

–27 – – dBm

3000MHz~12.5GHz

–10 – – dBm

Intermodulation –36 – – dBm

Page 12: 1.0 Overview 2.0 Features - Pycom · 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

12

Table 10 – Receiver (basic data rate) specifications

13.2.2 Receiver–EnhancedDataRate

Parameter Min Typ. Max Unit

π/4DQPSK

[email protected]%BER – –90 – dBm

[email protected]%BER – 0 – dBm

Co–channelC/I – 11 – dB

AdjacentchannelselectivityC/I

F=F0+1MHz – –7 – dB

F=F0–1MHz – –7 – dB

F=F0+2MHz – –25 – dB

F=F0–2MHz – –35 – dB

F=F0+3MHz – –25 – dB

F=F0–3MHz – –45 – dB

8DPSK

[email protected]%BER – –84 – dBm

[email protected]%BER – –5 – dBm

C/Ic–channel – 18 – dB

AdjacentchannelselectivityC/I

F=F0+1MHz – 2 – dB

F=F0–1MHz – 2 – dB

F=F0+2MHz – –25 – dB

F=F0–2MHz – –25 – dB

F=F0+3MHz – –25 – dB

F=F0–3MHz – –38 – dB

Page 13: 1.0 Overview 2.0 Features - Pycom · 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

13

Table 11 – Receiver (BLE) specifications

13.2.3 Receiver–BluetoothLE

Parameter Min Typ. Max Unit

[email protected]%PER – –97 – dBm

[email protected]%PER 0 – – dBm

Co–channelC/I – +10 – dB

AdjacentchannelselectivityC/I

F=F0+1MHz – –5 – dB

F=F0–1MHz – –5 – dB

F=F0+2MHz – –25 – dB

F=F0–2MHz – –35 – dB

F=F0+3MHz – –35 – dB

F=F0–3MHz – –45 – dB

Out–of–bandblockingperformance

30MHz~2000MHz

–10 – – dB

2000MHz~2400MHz

–27 – – dBm

2500MHz~3000MHz

–27 – – dBm

3000MHz~12.5GHZ

–10 – – dBm

Intermodulation –36 – – dBm

Page 14: 1.0 Overview 2.0 Features - Pycom · 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

14

Table 12 – Transmitter (basic data rate) specifications

13.2.4 Transmitter–BasicDataRate

Parameter Min Typ. Max Unit

RFtransmitpower – 0 – dBm

Gaincontrolstep – ±3 – dBm

RFpowercontrolrange –12 – +12 dBm

+20dBbandwidth – 0.9 – MHz

Adjacentchanneltransmitpower

F=F0+1MHz – –24 – dBm

F=F0–1MHz – –16.1 – dBm

F=F0+2MHz – –40.8 – dBm

F=F0–2MHz – –35.6 – dBm

F=F0+3MHz – –45.7 – dBm

F=F0–3MHz – –40.2 – dBm

F=F0+>3MHz – 45.6 – dBm

F=F0–>3MHz – 44.6 – dBm

Δf1avg – – 155 KHz

Δf2max 133.7 KHz

Δf2avg/Δf1avg – 0.92 – –

ICFT – –7 – KHz

Driftrate – 0.7 – KHz/50μs

Drift(1slotpacket) – 6 – KHz

Drift(5slotpacket) – 6 – KHz

Page 15: 1.0 Overview 2.0 Features - Pycom · 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

15

Table 13 – Transmitter (enhanced data rate) specifications

13.2.5 Transmitter–EnhancedDataRate

Parameter Min Typ. Max Unit

RFtransmitpower – 0 – dBm

Gaincontrolstep – ±3 – dBm

RFpowercontrolrange –12 – +12 dBm

π/4DQPSKmaxw0 – –0.72 – KHz

π/4DQPSKmaxwi – –6 – KHz

π/4DQPSKmax|wi+w0| – –7.42 – KHz

8DPSKmaxw0 – 0.7 – KHz

8DPSKmaxwi – –9.6 – KHz

8DPSKmax|wi+w0| –10 KHz

π/4DQPSKmodulationaccuracy

RMSDEVM – 4.28 – %

99%DEVM – – 30 %

PeakDEVM – 13.3 – %

8DPSKmodulationaccuracy

RMSDEVM – 5.8 – %

99%DEVM – 20 %

PeakDEVM – 14 – %

In–bandspuriousemissions

F=F0+1MHz – –34 – dBm

F=F0–1MHz – –40.2 – dBm

F=F0+2MHz – –34 – dBm

F=F0–2MHz – –36 – dBm

F=F0+3MHz – –38 – dBm

F=F0–3MHz – –40.3 – dBm

F=F0±>3MHz – – –41.5 dBm

EDRdifferentialphasecoding – 100 – %

Page 16: 1.0 Overview 2.0 Features - Pycom · 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

16

Table 14 – Transmitter (BLE) specifications

13.2.6 Transmitter–BluetoothLE

14.0 LoRa

14.1 Supportedfeatures

Table 15 – Supported LoRa features

ThecurrentmicropythonfirmwaresupportsLoRaWAN1.0actingaseitheraClassAorClassCnode.

Parameter Min Typ. Max Unit

RFtransmitpower – 0 – dBm

Gaincontrolstep – ±3 – dBm

RFpowercontrolrange –12 – +12 dBm

Adjacentchanneltransmitpower

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.7 – dBm

F=F0+>3MHz – –50 – dBm

F=F0–>3MHz – –50 – dBm

Δf1avg – – 265 KHz

Δf2max 247 – – KHz

Δf2avg/Δf1avg – –0.92 – –

ICFT – –10 – KHz

Driftrate – 0.7 – KHz/50μs

Drift – 2 – KHz

PartNumber FrequencyRange LoRaParameters

Spreadingfactor

BandwidthEffectiveBitrate

Sensitivity

SemtechSX1272 860–1020MHz 6–12125–500

kHz0.24–37.5

kpbs–117to–137

dBm

Page 17: 1.0 Overview 2.0 Features - Pycom · 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

17

Table 16 – LoRa modem performance

14.2 Specifications

Bandwidth(KHz) SpreadingFactor NominalRb(bps) Sensitivity(dBm)

125 6 9380 –122

125 12 293 –137

250 6 18750 –119

250 12 588 –134

500 6 37500 –116

500 12 1172 –131

Page 18: 1.0 Overview 2.0 Features - Pycom · 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

18

Table 17 – LoRa electrical characteristics

Symbol Description Conditions Min Typ. Max Unit

IDDR_LSupplycurrentinreceiverLoRamode

LNABoostOff,BW=125KHz – 9.7 – mA

LNABoostOff,BW=250KHz – 10.5 – mA

LNABoostOff,BW=500KHz – 12 – mA

LNABoostOn,BW=125KHz – 10.8 – mA

LNABoostOn,BW=250KHz – 11.6 – mA

LNABoostOn,BW=500KHz – 13 – mA

IDDT_LSupplycurrentintransmittermode

RFOP=13dBm – 28 – mA

RFOP=7dBm – 18 – mA

IDDT_H_LSupplycurrentintransmittermodewithanexternalimpedancetransformer

UsingPA_BOOSTpin

RFOP=17dBm– 90 – mA

BI_LBlockingImmunity,FRF=868MHzCWinterferer

Offset=±1MHz – 82.5 – dB

Offset=±2MHz – 86.5 – dB

Offset=±10MHz – 89 – dB

IIP3_L3rdorderinputinterceptpoint,highestLNAgain,FRF=868MHz,CWinterferer

F1=FRF+1MHz

F2=FRF+1.995MHz– –12.5 – dBm

IIP2_L2ndorderinputinterceptpoint,highestLNAgain,FRF=868MHz,CWinterferer

F1=FRF+20MHz

F2=FRF+20MHz+Δf– 57 – dBm

BR_L Bitrate,Long–RangeModeFromSF6,CR=4/5,BW=500kHztoSF12,CR=4/8,BW=125kHz

0.24 – 37.5 kbps

RFS_L125

RFsensitivity,Long–RangeMode,highestLNAgain,LNAboost,125kHzbandwidthusingsplitRx/Txpath

SF=6 – –121 – dBm

SF=7 – –124 – dBm

SF=8 – –127 – dBm

SF=9 – –130 – dBm

SF=10 – –133 – dBm

SF=11 – –135 – dBm

SF=12 – –137 – dBm

Page 19: 1.0 Overview 2.0 Features - Pycom · 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

19

Symbol Description Conditions Min Typ. Max Unit

RFS_L250

RFsensitivity,Long–RangeMode,highestLNAgain,LNAboost,250kHzbandwidthusingsplitRx/Txpath

SF=6 – –118 – dBm

SF=7 – –122 – dBm

SF=8 – –125 – dBm

SF=9 – –128 – dBm

SF=10 – –130 – dBm

SF=11 – –132 – dBm

SF=12 – –135 – dBm

RFS_L500

RFsensitivity,Long–RangeMode,highestLNAgain,LNAboost,500kHzbandwidthusingsplitRx/Txpath

SF=6 – –111 – dBm

SF=7 – –116 – dBm

SF=8 – –119 – dBm

SF=9 – –122 – dBm

SF=10 – –125 – dBm

SF=11 – –128 – dBm

SF=12 – –129 – dBm

CCR_LCW

SF=7 – 5 – dB

SF=8 – 9.5 – dB

SF=9 – 12 – dB

SF=10 – 14.4 – dB

SF=11 – 17 – dB

SF=12 – 19.5 – dB

CCR_LL Co–channelrejectionInterfererisaLoRasignalusingthesameBWandSF.Pw=sensitivity+3dB

– –6 – dB

Page 20: 1.0 Overview 2.0 Features - Pycom · 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

20

Symbol Description Conditions Min Typ. Max Unit

ACR_LCWAdjacentchannelrejectionFRF=868MHz

Interfereris1.5*BW_Lfromthewantedsignalcentrefrequency1%PER,SingleCWtone=Sensitivity+3dB

SF=7 – 60 – dB

SF=12 – 72 – dB

IMR_LCWImagerejectionaftercalibration

1%PER,SingleCWtone=sensitivity+3dB

– 66 – dB

FERR_L

Maximumtoleratedfrequencyoffsetbetweentransmitterandreceiver,nosensitivitydegradation

BW_L=125kHz –30 – 30 kHz

BW_L=250kHz –60 – 60 kHz

BW_L=500kHz –120 – 120 kHz

Page 21: 1.0 Overview 2.0 Features - Pycom · 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

21

Table 18 – LoRa power consumption

Symbol Description Conditions Min Typ. Max Unit

IDDSL Supplycurrentinsleepmode – 0.1 1 μA

IDDIDLE Supplycurrentinidlemode RCoscillatorenabled – 1.5 – μA

IDDSTSupplycurrentinstandbymode

Crystaloscillatorenabled – 1.4 1.6 mA

IDDFSSupplycurrentinsynthesizermode

FSRx – 4.5 – mA

IDDRSupplycurrentinreceivemode

LnaBoostOff – 10.5 – mA

LnaBoostOn – 11.2 – mA

IDDTSupplycurrentintransmitmodewithimpedancematching

RFOP=+20dBmonPA_BOOST – 125 – mA

RFOP=+17dBmonPA_BOOST – 90 – mA

RFOP=+13dBmonRFOpin – 28 – mA

RFOP=+7dBmonRFOpin – 18 – mA

Page 22: 1.0 Overview 2.0 Features - Pycom · 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

22

16.0 ElectricalCharacteristics

16.1 Absolutemaximumratings

16.2 Input/Outputcharacteristics

Table 19 – Absolute maximum ratings

Table 20 – Input/Output characteristics

Parameter Symbol Min Typ. Max Unit

SupplyInputVoltage VIN 3.5 – 5.5 V

SupplyOutputCurrent IOUT – – 1.2 A

SupplyOutputVoltage V3V3 – 3.3 – V

StorageTemperature TSTR – – – °C

OperatingTemperature TOPR –40 – 85 °C

MoistureSensitivityLevel MSL – 1 – –

Parameter Symbol Min Typ. Max Unit

Inputlowvoltage VIL –0.3 – 0.25×V3V3 V

Inputhighvoltage VIH 0.75×V3V3 – V3V3+0.3 V

MaxInputsinkcurrent ISINK – 6 12 mA

Inputleakagecurrent IIL – – 50 nA

Inputpincapacitance Cpin – – 2 pF

Outputlowvoltage VOL 0.1×V3V3 – – V

Outputhighvoltage VOH 0.8×V3V3 – – V

MaxOutputsourcecurrent ISOURCE – 6 12 mA

15.0 6LoWPAN

Pycomiscurrentlyworkingonadding6LoWPANsupporttothismoduleandplantoreleaseanewfirmwarewiththisfunctionalityinQ22018.

Page 23: 1.0 Overview 2.0 Features - Pycom · 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

23

17.0 MinimumRecommendedCircuit

Figure 4 – Minimum required circuit

Page 24: 1.0 Overview 2.0 Features - Pycom · 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

24

18.0 MechanicalSpecifications

19.0 RecommendedLandPatterns

19.1 Throughhole

Figure 5 – Mechanical drawing (top down view) – Units: mm

Figure 6 – Mechanical drawing (side view) – Units: mm

Figure 7 – Recommended land pattern (through hole) – Units: mm

P13

P14

P15

P16

P17

P18

P19

P20

P21

P22

P23

3V3

GN

D

VIN

P12

P11

P10

P9

P8

MIS

O

MO

SI

55

2.54 5

10

21.02

17.78

9.72

20

12.25

CLKP

4

P3

P2

P1

P0

RS

T55

4.1

35.3

6.59.9

1.2

Ant

enna

KE

EP

OU

T

55

17.78

9.72 12.25

2.54 2

1.02

17.78

5

10

20

Page 25: 1.0 Overview 2.0 Features - Pycom · 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

25

19.2 Surfacemount(LoPywithoutheadersonly)

Figure 8 – Recommended land pattern (surface mount) – Units: mm

55

2.54

Ant

enna

KE

EP

OU

T

2

1.5

18

9.72

20

12.25

5

10

Page 26: 1.0 Overview 2.0 Features - Pycom · 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

26

TheaboveprofileisbasedonAlphaCVP–390solderpaste,whichhasbeensuccessfullytestedwithourdevices.

Table 23– Soldering profile temperatures

Stage Duration/Rate Temperature

Ramptosoak 2°C/s Ambient–185°C

Soak 60s 185°C

Ramptopeak 1°C/s 240°C

Reflow 45s >225°C

Cooldown 2°C/s

20.0 SolderingProfile

20.1 Withheaders Thisdeviceisnotrecommendedforreflowsoldering.

Theplasticofthepinheaderswillmelt,insteadpleasehandsolderthemoduleorusesockets.

20.2 Withoutheaders

Figure 9 – Reflow soldering temperature profile (surface mount)

Page 27: 1.0 Overview 2.0 Features - Pycom · 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

27

22.0 Packaging

21.0 OrderingInformation

Table 21 – Soldering profile temperatures

Figure 10 – Mechanical drawing of packaging – Units: mm

Themodulewillcomeinsideareusableanti–staticbag.Ifthemodulehasheadersit

willalsobeinsertedintoanti–staticfoam.

Totalweightinc.packaging(withheaders):31g

Totalweightinc.packaging(withoutheaders):29g

Formoreproductaccessorieslikeexpansionboardorcasesvisitourwebsite:http://www.pycom.io

ProductEAN Description

0700461341628 LoPy1.0withHeaders

0700461242727LoPy1.0withoutheaders

0700461341703 LoRaAntenna

0700461341680 ExternalWiFiAntenna

0700461341697 IP67AntennaPigtail

Bundle Contents

LoPyMulti–Pack

1xLoPy 1xExpansionBoardor PysenseorPytrack 1xLoRaantenna

Availableinquantitiesof1,2or5

Page 28: 1.0 Overview 2.0 Features - Pycom · 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

28

23.0 Certification

FCC 2AJMTLOPY1R CE 0700 Copiesofthecertificatescanbefoundonourwebsite.

RegulatorInformation

23.1 EURegulatoryConformance Hereby,PycomLtddeclaresthatthisdeviceisincompliancewiththeessentialrequirementsandotherrelevant

provisionsofDirective1999/5/EC

23.2 FederalCommunicationCommissionInterferenceStatement ThisdevicecomplieswithPart15oftheFCCRules.Operationissubjecttothefollowingtwoconditions:

1. Thisdevicemaynotcauseharmfulinterference.2. Thisdevicemustacceptanyinterferencereceived,includinginterferencethatmaycauseundesiredoperation.

CAUTION:Changesormodificationsnotexpresslyapprovedbythepartyresponsibleforcompliancecouldvoidtheuser’sauthoritytooperatetheequipment.

NOTE:ThisequipmenthasbeentestedandfoundtocomplywiththelimitsforaClassBdigitaldevice,pursuanttoPart15oftheFCCRules.Theselimitsaredesignedtoprovidereasonableprotectionagainstharmfulinterferenceinaresidentialinstallation.Thisequipmentgenerates,usesandcanradiateradiofrequencyenergyand,ifnotinstalledandusedinaccordancewiththeinstructions,maycauseharmfulinterferencetoradiocommunications.However,thereisnoguaranteethatinterferencewillnotoccurinaparticularinstallation.Ifthisequipmentdoescauseharmfulinterferencetoradioortelevisionreception,whichcanbedeterminedbyturningtheequipmentoffandon,theuserisencouragedtotrytocorrecttheinterferencebyoneormoreofthefollowingmeasures:

– Reorientorrelocatethereceivingantenna. – Increasetheseparationbetweentheequipmentandreceiver. – Connecttheequipmentintoanoutletonacircuitdifferentfromthattowhichthereceiverisconnected. – Consultthedealeroranexperiencedradio/TVtechnicianforhelp.

23.2.1 RFWarningStatement TocomplywithFCCRFexposurecompliancerequirements,theantennasusedforthistransmittermustbeinstalled

toprovideaseparationdistanceofatleast20cmfromallpersonsandmustnotbeco–locatedoroperatinginconjunctionwithanyotherantennaortransmitter.

23.2.2 OEMintegratorconditions ThisdeviceisintendedonlyforOEMintegratorsunderthefollowingconditions:

1. Theantennamustbeinstalledsuchthat20cmismaintainedbetweentheantennaandusers,and2. Thetransmittermodulemaynotbeco–locatedwithanyothertransmitterorantenna.

Aslongasthetwoconditionsabovearemet,furthertransmittertestwillnotberequired.However,theOEMintegratorisstillresponsiblefortestingtheirend–productforanyadditionalcompliancerequirementsrequired withthismoduleinstalled.Toensurecompliancewithallnon–transmitterfunctionsthehostmanufacturerisresponsibleforensuringcompliancewiththemodule(s)installedandfullyoperational.Forexample,ifahostwaspreviouslyauthorizedasanunintentionalradiatorundertheDeclarationofConformityprocedurewithoutatransmittercertifiedmoduleandamoduleisadded,thehostmanufacturerisresponsibleforensuringthatthe afterthemoduleisinstalledandoperationalthehostcontinuestobecompliantwiththePart15Bunintentionalradiatorrequirements.

ThemoduleislimitedtoOEMinstallationONLY.Themoduleislimitedtoinstallationinmobileorfixedapplication.WeherebyacknowledgeourresponsibilitytoprovideguidancetothehostmanufacturerintheeventthattheyrequireassistanceforensuringcompliancewiththePart15SubpartBrequirements.

Page 29: 1.0 Overview 2.0 Features - Pycom · 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

29

IMPORTANTNOTE:Intheeventthattheseconditionscannotbemet(forexamplecertainlaptopconfigurationsorco–locationwithanothertransmitter),thentheFCCauthorizationisnolongerconsideredvalidandtheFCCIDcannotbeusedonthefinalproduct.Inthesecircumstances,theOEMintegratorwillberesponsibleforre–evaluatingtheendproduct(includingthetransmitter)andobtainingaseparateFCCauthorization.

23.2.3 EndProductLabelling Thistransmittermoduleisauthorizedonlyforuseindevicewheretheantennamaybeinstalledsuchthat20cm

maybemaintainedbetweentheantennaandusers.Thefinalendproductmustbelabelledinavisibleareawiththefollowing:“ContainsFCCID:2AJMTLOPY1R”.Thegrantee’sFCCIDcanbeusedonlywhenallFCCcompliancerequirementsaremet.

ThefollowingFCCpart15.19statementhastoalsobeavailableonthelabel:

ThisdevicecomplieswithPart15ofFCCrules.Operationissubjecttothefollowingtwoconditions:

1. thisdevicemaynotcauseharmfulinterferenceand2. thisdevicemustacceptanyinterferencereceived,includinginterferencethatmaycauseundesiredoperation.

23.2.4 ManualInformationtotheEndUser TheOEMintegratorhastobeawarenottoprovideinformationtotheenduserregardinghowtoinstallorremove

thisRFmoduleintheuser’smanualoftheendproductwhichintegratesthismodule.

Intheusermanualoftheendproduct,theenduserhastobeinformedthattheequipmentcomplieswithFCCradio–frequencyexposureguidelinessetforthforanuncontrolledenvironment.

Theenduserhastoalsobeinformedthatanychangesormodificationsnotexpresslyapprovedbythemanufacturercouldvoidtheuser’sauthoritytooperatethisequipment.

Theendusermanualshallincludeallrequiredregulatoryinformation/warningasshowinthismanual.

Themaximumoperatingambienttemperatureoftheequipmentdeclaredbythemanufactureris–40~+85C

Receivercategory3

24.0 RevisionHistory

Table 24 – Document revision history

Version1.0 InitialRelease


Recommended