photon datasheet cover page - particle · esd precautions default settings glossary fcc ic ce...
TRANSCRIPT
PhotonWi-FiconnectedInternetofThingsdevelopmentkitwithasmallfootprint,poweredbyaSTM32
ARMCortexM3microcontrollerandCypressWi-Firadio
Modelnumber:PHOTONH,PHOTONNOHDatasheetv015
Features
MicrocontrollerspecsSTM32F205120MhzARMCortexM31MBFlash128KBRAM18mixed-signalGPIO(digital,ADC,PWM)Advancedperipherals:DAC,I2S,I2C,CAN
Wi-FispecsCypressBCM43362single-chipWi-FiradioSingleband2.4GHzIEEE802.11b/g/nSupportswirelessdataratesofupto65Mbit/sUltralowpowersleep,stand-byandstopmodesSupportsOpen,WEP,WAPI,WPAandWPA2-PSKWiFisecuritymodesSoftAPsetup
OtherspecsOn-boardRGBstatusLEDBreadboardfriendly24-pinpackageSingle-sidedPCBwithcastallatededgesforsurfacemountReal-timeoperatingsystem(FreeRTOS)FCC/CE/IC/TeleccertifiedOpensourcehardware
SimpletosetupanduseSetupwithmobileappwithinminutesConnectstotheParticlecloudoutoftheboxProgramovertheairthroughtheParticleWebIDEWorkonprojectslocallywiththeParticleDesktopIDEScriptcommontaskswiththeParticleCommandLineInterfaceSenddatato3rdpartyservicesthroughwebhooksandintegrationsMonitorstateofdevicethroughtheParticleConsole
CommunityresourcesExplorefullydevelopedprojectstogetthroughIoTlearningcurveUsecommunity-providedcodelibrariesforcommonperipheralsJointheParticlecommunityforinspirationandhelpbyexperts
444
55667789
101010111111
12121314
1515151516
1818181819
202020202121
2222222323
FunctionaldescriptionOVERVIEWFEATURES
InterfacesBLOCKDIAGRAMPOWERRFFCCAPPROVEDANTENNASPERIPHERALSANDGPIOJTAGANDSWDEXTERNALCOEXISTENCEINTERFACE
MemoryMapSTM32F205RGY6FLASHLAYOUTOVERVIEWDCTLAYOUTMEMORYMAP(COMMON)MEMORYMAP(MODULARFIRMWARE-DEFAULT)MEMORYMAP(MONOLITHICFIRMWARE-OPTIONAL)
PinandbuttondefinitionPINMARKINGSPINDESCRIPTIONPINOUTDIAGRAMS
TechnicalspecificationABSOLUTEMAXIMUMRATINGSRECOMMENDEDOPERATINGCONDITIONSWI-FISPECIFICATIONSI/OCHARACTERISTICS
MechanicalspecificationsDIMENSIONSANDWEIGHTMATINGCONNECTORSRECOMMENDEDPCBLANDPATTERN(PHOTONWITHHEADERS)RECOMMENDEDPCBLANDPATTERN(PHOTONWITHOUTHEADERS)
SchematicSCHEMATIC-USBSCHEMATIC-POWERSCHEMATIC-USERI/OSCHEMATIC-RFSCHEMATIC-PØWI-FIMODULE
LayoutPHOTONV1.0.0TOPLAYER(GTL)PHOTONV1.0.0GNDLAYER(G2L)PHOTONV1.0.03V3LAYER(G15L)PHOTONV1.0.0BOTTOMLAYER(GBL)
242525
262728282828
293031333435
RecommendedsolderreflowprofileBillofMaterials
BUILDYOUROWNDESIGNBASEDONTHEPHOTON!
OrderinginformationQualificationandapprovalsProducthandling
PACKAGINGMOISTURESENSITIVITYLEVELSESDPRECAUTIONS
DefaultsettingsGlossaryFCCICCEWarningsandEndProductLabelingRequirementsRevisionhistoryKnownErrataContact
Functionaldescription
Particle'sInternetofThingshardwaredevelopmentkit,thePhoton,provideseverythingyouneedtobuildaconnectedproduct.ParticlecombinesapowerfulARMCortexM3micro-controllerwithaBroadcomWi-Fichipinatinythumbnail-sizedmodulecalledthePØ(P-zero).
Togetyoustartedquickly,Particleaddsarocksolid3.3VDCSMPSpowersupply,RFanduserinterfacecomponentstothePØonasmallsingle-sidedPCBcalledthePhoton.Thedesignisopensource,sowhenyou'rereadytointegratethePhotonintoyourproduct,youcan.
ThePhotoncomesintwophysicalforms:withheadersandwithout.PrototypingiseasywithheadersasthePhotonplugsdirectlyintostandardbreadboardsandperfboards,andmayalsobemountedwith0.1"pitchfemaleheadersonaPCB.Tominimizespacerequired,thePhotonformfactorwithoutheadershascastellatededges.ThesemakeitpossibletosurfacemountthePhotondirectlyontoyourPCB.
ParticlePØWi-Fimodule
BroadcomBCM43362Wi-Fichip802.11b/g/nWi-FiSTM32F205RGY6120MhzARMCortexM31MBflash,128KBRAM
On-boardRGBstatusLED(ext.driveprovided)18Mixed-signalGPIOandadvancedperipheralsOpensourcedesignReal-timeoperatingsystem(FreeRTOS)SoftAPsetupFCC,CEandICcertified
OVERVIEW
FEATURES
Interfaces
BLOCKDIAGRAM
PowertothePhotonissuppliedviatheon-boardUSBMicroBconnectorordirectlyviatheVINpin.IfpowerissupplieddirectlytotheVINpin,thevoltageshouldberegulatedbetween3.6VDCand5.5VDC.WhenthePhotonispoweredviatheUSBport,VINwilloutputavoltageofapproximately4.8VDCduetoareversepolarityprotectionseriesschottkydiodebetweenV+ofUSBandVIN.Whenusedasanoutput,themaxloadonVINis1A.3V3canalsobeusedasanoutput,buthasalimitedoverheadofonly100mAavailable.(PleaserefertoAbsoluteMaximumRatingsformoreinfo).
Typicalaveragecurrentconsumptionis80mAwith5V@VINwithWi-Fion.Deepsleepquiescentcurrentistypically80uA(PleaserefertoRecommendedOperatingConditionsformoreinfo).WhenpoweringthePhotonfromtheUSBconnector,makesuretouseaqualitycabletominimizeIRdrops(currentxresistance=voltage)inthewiring.Ifahighresistancecable(i.e.,lowcurrent)isused,peakcurrentsdrawnfromthePhotonwhentransmittingandreceivingwillresultinvoltagesagattheinputwhichmaycauseasystembrownoutorintermittentoperation.Likewise,thepowersourceshouldbesufficientenoughtosource1Aofcurrenttoprovideanadequateamountofcurrentoverhead(especiallyifpoweringadditionalcircuitryoffofVIN).
Warning:WhenpoweringthePhotonfromlongwiresonUSBandVIN,careshouldbetakentoprotectagainstdamagingvoltagetransients.FromtheRichtekdatasheet:
Whenaceramiccapacitorisusedattheinputandthepowerissuppliedbyawalladapterthroughlong
wires,aloadstepattheoutputcaninduceringingattheinput,VIN.Atbest,thisringingcancoupletothe
outputandbemistakenasloopinstability.Atworst,asuddeninrushofcurrentthroughthelongwirescan
potentiallycauseavoltagespikeatVINlargeenoughtodamagethepart.
Toavoidthesevoltagespikes,keepinputwiringasshortaspossible.Iflongwiresareunavoidable,itisadvisabletoadda5.1VzenerdiodeorsimilartransientsuppressiondevicefromVINtoGND.Anothertechniqueisaddingmorecapacitancetotheinputusinganelectrolyticcapacitor.PleaserefertoAN-88byLinearforagooddiscussiononthistopic.
TheRFsectionofthePhotonisafinelytunedimpedancecontrollednetworkofcomponentsthatoptimizetheefficiencyandsensitivityoftheWi-Ficommunications.
AnRFfeedlinerunsfromthePØmoduleintoaSPDTRF-switch.LogiclevelcontrollinesonthePØmoduleselectwhichofthetwoportsoftheRF-switchisconnectedtotheRFfeedline.A100pFdecouplingcapacitorislocatedoneachcontrolline.OneportisconnectedtoaPCBceramicchipantenna,andtheotherisconnectedtoau.FLconnectorforexternalantennaadaptation.Thedefaultportwillbesettothechipantenna.
Additionally,auserAPIisavailabletoswitchbetweeninternal,externalandevenanautomaticmodewhichcontinuouslyswitchesbetweeneachantennaandselectsthebestsignal.AllthreeRFportsontheRF-switchhavea10pFRFqualityDC-blockingcapacitorinserieswiththem.Theseeffectivelypass2.4GHzfrequenciesfreelywhileblockingunwantedDCvoltagesfromdamagingtheRF-switch.AllRFtracesareconsideredastinytransmissionlinesthathaveacontrolled50ohmimpedance.
Thechipantennaisimpedancematchedtothe50ohmRFfeedlineviaaPinetworkcomprisedofthreeRFinductors(1series,2shunt).ThesevaluesarequitespecifictothePhotonduetothePCBconstructionandlayoutoftheRFsection.EvenifthePhoton'slayoutdesigniscopiedexactly,toachievethebestperformanceitwouldbeworthre-examiningthePinetworkvaluesonactualsamplesofthePCBinquestion.
POWER
RF
AntennaType Manufacturer MFG.Part# Gain
Dipoleantenna LumenRadio 104-1001 2.15dBi
Chipantenna AdvancedCeramicX AT7020-E3R0HBA 1.3dBi
ThePhotonhastonofcapabilityinasmallfootprint,withanalog,digitalandcommunicationinterfaces.
PeripheralType Qty
Input(I)/Output(O)
FT[1]/3V3[2]
Digital 18 I/O FT/3V3
Analog(ADC) 8 I 3V3
Analog(DAC) 2 O 3V3
SPI 2 I/O 3V3
I2S 1 I/O 3V3
I2C 1 I/O FT
CAN 1 I/O 3V3[4]
USB 1 I/O 3V3
PWM 9[3] O 3V3
Notes:
[1]FT=5.0Vtolerantpins.AllpinsexceptA3andDACare5Vtolerant(whennotinanalogmode).Ifusedasa5Vinputthepull-up/pull-downresistormustbedisabled.
[2]3V3=3.3Vmaxpins.
[3]PWMisavailableonD0,D1,D2,D3,A4,A5,WKP,RX,TXwithacaveat:PWMtimerperipheralisduplicatedontwopins(A5/D2)and(A4/D3)for7totalindependentPWMoutputs.Forexample:PWMmaybeusedonA5whileD2isusedasaGPIO,orD2asaPWMwhileA5isusedasananaloginput.HoweverA5andD2cannotbeusedasindependentlycontrolledPWMoutputsatthesametime.
[4]Technicallythesepinsare5.0Vtolerant,butsinceyouwouldn'toperatethemwitha5.0Vtransceiverit'spropertoclassifythemas3.3V.
FCCAPPROVEDANTENNAS
PERIPHERALSANDGPIO
PinD3throughD7areJTAGinterfacepins.ThesecanbeusedtoreprogramyourPhotonbootloaderoruserfirmwareimagewithstandardJTAGtoolssuchastheST-Linkv2,J-Link,R-Link,OLIMEXARM-USB-TINI-H,andalsotheFTDI-basedParticleJTAGProgrammer.Ifyouareshortonavailablepins,youmayalsouseSWDmodewhichrequireslessconnections.
PhotonPin JTAG SWD
STM32F205RGY6Pin
PØPin# PØPinName
DefaultInternal[1]
D7 JTAG_TMS SWD/SWDIO PA13 44 MICRO_JTAG_TMS ~40kpull-up
D6 JTAG_TCK CLK/SWCLK PA14 40 MICRO_JTAG_TCK ~40kpull-down
D5 JTAG_TDI PA15 43 MICRO_JTAG_TDI ~40kpull-up
D4 JTAG_TDO PB3 41 MICRO_JTAG_TDO Floating
D3 JTAG_TRST PB4 42 MICRO_JTAG_TRSTN ~40kpull-up
3V3 Power Power
GND Ground Ground
RST Reset Reset
Notes:[1]DefaultstateafterresetforashortperiodoftimebeforethesepinsarerestoredtoGPIO(ifJTAGdebuggingisnotrequired,i.e. USE_SWD_JTAG=y isnotspecifiedonthecommandline.)
Astandard20-pin0.1"shroudedmaleJTAGinterfaceconnectorshouldbewiredasfollows:
JTAGANDSWD
ThePhotonsupportscoexistencewithBluetoothandotherexternalradiosviathethreegoldpadsonthetopsideofthePCBnearpinA3.Thesepadsare0.035"square,spaced0.049"apart.Thisspacingsupportsthepossibilityoftackingonasmall1.25mm-1.27mmpitch3-pinmaleheadertomakeitsomewhateasiertointerfacewith.
Whentworadiosoccupyingthesamefrequencybandareusedinthesamesystem,suchasWi-FiandBluetooth,acoexistenceinterfacecanbeusedtocoordinatetransmitactivity,toensureoptimalperformancebyarbitratingconflictsbetweenthetworadios.
Pad# PØPinNamePØPin
# I/O Description
1 BTCX_RF_ACTIVE 9 I SignalsBluetoothisactive
2 BTCX_STATUS 10 I SignalsBluetoothprioritystatusandTX/RXdirection
3 BTCX_TXCONF 11 O OutputgivingBluetoothpermissiontoTX
WhenthesepadsareprogrammedtobeusedasaBluetoothcoexistenceinterface,they'resetashighimpedanceonpowerupandreset.
EXTERNALCOEXISTENCEINTERFACE
MemoryMap
Bootloader(16KB)DCT1(16KB),storesWi-Ficredentials,keys,mfginfo,systemflags,etc..DCT2(16KB),swapareaforDCT1EEPROMemulationbank1(16KB)EEPROMemulationbank2(64KB)Systemfirmware(512KB)[256KBWi-Fi/comms+256KBhal/platform/services]Factorybackup,OTAbackupanduserapplication(384KB)[3x128KB]
TheDCTareaofflashmemoryhasbeenmappedtoaseparateDFUmediadevicesothatwecanincrementallyupdatetheapplicationdata.Thisallowsoneitem(say,serverpublickey)tobeupdatedwithouterasingtheotheritems.
DCTlayoutin release/stable foundhereinfirmware.
Region Offset Size
systemflags 0 32
version 32 2
deviceprivatekey 34 1216
devicepublickey 1250 384
ipconfig 1634 120
featureflags 1754 4
countrycode 1758 4
claimcode 1762 63
claimed 1825 1
ssidprefix 1826 26
devicecode 1852 6
versionstring 1858 32
dnsresolve 1890 128
reserved1 2018 64
serverpublickey 2082 768
padding 2850 2
flashmodules 2852 100
productstore 2952 24
antennaselection 2976 1
cloudtransport 2977 1
altdevicepublickey 2978 128
altdeviceprivatekey 3106 192
altserverpublickey 3298 192
altserveraddress 3490 128
deviceid 3618 12
radioflags 3630 1
modebuttonmirror 3631 32
STM32F205RGY6FLASHLAYOUTOVERVIEW
DCTLAYOUT
ledmirror 3663 96
ledtheme 3759 64
reserved2 3823 435
Note:Writing0xFFtooffset34(DEFAULT)or3106(ALTERNATE)willcausethedevicetore-generateanewprivatekeyonthenextboot.AlternatekeysarecurrentlyunsupportedonthePhotonbutareusedontheElectronasUDP/ECCkeys.Youshouldnotneedtousethisfeatureunlessyourkeysarecorrupted.
//RegenerateDefaultKeysecho-e"\xFF">fillbyte&&dfu-util-d2b04:d006-a1-s34-Dfillbyte//RegenerateAlternateKeysecho-e"\xFF">fillbyte&&dfu-util-d2b04:d006-a1-s3106-Dfillbyte
Region StartAddress EndAddress Size
Bootloader 0x8000000 0x8004000 16KB
DCT1 0x8004000 0x8008000 16KB
DCT2 0x8008000 0x800C000 16KB
EEPROM1 0x800C000 0x8010000 16KB
EEPROM2 0x8010000 0x8020000 64KB
Region StartAddress EndAddress Size
SystemPart1 0x8020000 0x8060000 256KB
SystemPart2 0x8060000 0x80A0000 256KB
UserPart 0x80A0000 0x80C0000 128KB
OTABackup 0x80C0000 0x80E0000 128KB
FactoryBackup 0x80E0000 0x8100000 128KB
Region StartAddress EndAddress Size
Firmware 0x8020000 0x8080000 384KB
FactoryReset 0x8080000 0x80E0000 384KB
Unused(factoryresetmodular) 0x80E0000 0x8100000 128KB
MEMORYMAP(COMMON)
MEMORYMAP(MODULARFIRMWARE-DEFAULT)
MEMORYMAP(MONOLITHICFIRMWARE-OPTIONAL)
Pinandbuttondefinition
PINMARKINGS
Pin Description
VIN
Thispincanbeusedasaninputoroutput.Asaninput,supply3.6to5.5VDCtopowerthePhoton.WhenthePhotonispoweredviatheUSBport,thispinwilloutputavoltageofapproximately4.8VDCduetoareversepolarityprotectionseriesSchottkydiodebetweenVUSBandVIN.Whenusedasanoutput,themaxloadonVINis1A.
RSTActive-lowresetinput.On-boardcircuitrycontainsa1kohmpull-upresistorbetweenRSTand3V3,and0.1uFcapacitorbetweenRSTandGND.
VBAT SupplytotheinternalRTC,backupregistersandSRAMwhen3V3isnotpresent(1.65to3.6VDC).
3V3
Thispinistheoutputoftheon-boardregulatorandisinternallyconnectedtotheVDDoftheWi-Fimodule.WhenpoweringthePhotonviaVINortheUSBport,thispinwilloutputavoltageof3.3VDC.ThispincanalsobeusedtopowerthePhotondirectly(maxinput3.3VDC).Whenusedasanoutput,themaxloadon3V3is100mA.NOTE:WhenpoweringthePhotonviathispin,ensurepowerisdisconnectedfromVINandUSB.
RX PrimarilyusedasUARTRX,butcanalsobeusedasadigitalGPIOorPWM[2].
TX PrimarilyusedasUARTTX,butcanalsobeusedasadigitalGPIOorPWM[2].
WKPActive-highwakeuppin,wakesthemodulefromsleep/standbymodes.WhennotusedasaWAKEUP,thispincanalsobeusedasadigitalGPIO,ADCinputorPWM[2].Canbereferredtoas A7 whenusedasanADC.
DAC12-bitDigital-to-Analog(D/A)output(0-4095),referredtoas DAC or DAC1 insoftware.CanalsobeusedasadigitalGPIOorADC.Canbereferredtoas A6 whenusedasanADC.A3isasecondDACoutputusedasDAC2 insoftware.
A0~A7
12-bitAnalog-to-Digital(A/D)inputs(0-4095),andalsodigitalGPIOs. A6 and A7 arecodeconveniencemappings,whichmeanspinsarenotactuallylabeledassuchbutyoumayusecodelikeanalogRead(A7) . A6 mapstotheDACpinand A7 mapstotheWKPpin.A4,A5,A7mayalsobeusedasaPWM[2]output.
D0~D7 DigitalonlyGPIOpins.D0~D3mayalsobeusedasaPWM[2]output.
Notes:[1]Inadditiontothe24pinsaroundtheoutsideofthePhoton,thereare7padsonthebottomthePhotonPCBthatcanbeusedtoconnecttoextrasignals:RGBLEDoutputs,SETUPbutton,SMPSenablelineandUSBD+/D-.PhotonPins#25-31aredescribedinthePinoutdiagrams.AlsorefertotheRecommendedPCBlandpatternphotonwithoutheaderssectionfortheirlocationonthebottomofthePhoton.
[2]PWMisavailableonD0,D1,D2,D3,A4,A5,WKP,RX,TXwithacaveat:PWMtimerperipheralisduplicatedontwopins(A5/D2)and(A4/D3)for7totalindependentPWMoutputs.Forexample:PWMmaybeusedonA5whileD2isusedasaGPIO,orD2asaPWMwhileA5isusedasananaloginput.HoweverA5andD2cannotbeusedasindependentlycontrolledPWMoutputsatthesametime.
PINDESCRIPTION
Notes:
[1]MICRO_SPI_SSNisonlyforreferenceasaPØmodulepinname.ItistechnicallyspeakingtheSTM32pinPA4whichistheSSpininanhardwareSPIdrivensense,howeverintheParticleAPISPISSisonlyusercontrolledasaGPIO.ThehardwareSSpinisnotimplemented.ThedefaultSSpinfortheParticleSPIAPIisA2(STM32pinPC2),butanyGPIOcanbeusedforthisfunctionwithSPI.begin(pin).
PINOUTDIAGRAMS
Technicalspecification
Parameter Symbol Min Typ Max Unit
SupplyInputVoltage VVIN-MAX +6.5 V
SupplyOutputCurrent IVIN-MAX-L 1 A
SupplyOutputCurrent I3V3-MAX-L 100 mA
StorageTemperature Tstg -40 +85 °C
EnableVoltage VEN VVIN+0.6 V
ESDSusceptibilityHBM(HumanBodyMode) VESD 2 kV
Parameter Symbol Min Typ Max Unit
SupplyInputVoltage VVIN +3.6 +5.5 V
SupplyInputVoltage V3V3 +3.0 +3.3 +3.6 V
SupplyOutputVoltage VVIN +4.8 V
SupplyOutputVoltage V3V3 +3.3 V
SupplyInputVoltage VVBAT +1.65 +3.6 V
SupplyInputCurrent(VBAT) IVBAT 19 uA
OperatingCurrent(Wi-Fion) IVINavg 80 100 mA
OperatingCurrent(Wi-Fion) IVINpk 235[1] 430[1] mA
OperatingCurrent(Wi-Fion,w/powersave) IVINavg 18 100[2] mA
OperatingCurrent(Wi-Fioff) IVINavg 30 40 mA
SleepCurrent(5V@VIN) IQs 1 2 mA
DeepSleepCurrent(5V@VIN) IQds 80 100 uA
OperatingTemperature Top -20 +60 °C
HumidityRangeNoncondensing,relativehumidity 95 %
Notes:
[1]Thesenumbersrepresenttheextremerangeofshortpeakcurrentburstswhentransmittingandreceivingin802.11b/g/nmodesatdifferentpowerlevels.AverageTXcurrentconsumptioninwillbe80-100mA.
[2]Theseareveryshortaveragecurrentburstswhentransmittingandreceiving.OnaverageifminimizingfrequencyofTX/RXevents,currentconsumptioninpowersavemodewillbe18mA
Feature Description
WLANStandards IEEE80211b/g/n
AntennaPort SingleAntenna
FrequencyBand 2.412GHz--2.462GHz(UnitedStatesofAmericaandCanada)
2.412GHz--2.472GHz(EU/Japan)
SubChannels 1--11(UnitedStatesofAmericaandCanada)
1--13(EU/Japan)
ABSOLUTEMAXIMUMRATINGS
RECOMMENDEDOPERATINGCONDITIONS
WI-FISPECIFICATIONS
Modulation DSSS,CCK,OFDM,BPSK,QPSK,16QAM,64QAM
PØmoduleWi-Fioutputpower Typ. Tol. Unit
RFAverageOutputPower,802.11bCCKMode 1M Avail.uponrequest +/-1.5 dBm
11M - +/-1.5 dBm
RFAverageOutputPower,802.11gOFDMMode 6M - +/-1.5 dBm
54M - +/-1.5 dBm
RFAverageOutputPower,802.11nOFDMMode MCS0 - +/-1.5 dBm
MCS7 - +/-1.5 dBm
ThesespecificationsarebasedontheSTM32F205RGY6datasheet,withreferencetoPhotonpinnomenclature.
Parameter Symbol Conditions Min Typ Max Unit
StandardI/Oinputlowlevelvoltage VIL -0.30.28*(V3V3-
2)+0.8V
I/OFT[1]inputlowlevelvoltage VIL -0.30.32*(V3V3-2)+0.75
V
StandardI/Oinputhighlevelvoltage VIH0.41*(V3V3-
2)+1.3V3V3+0.3 V
I/OFT[1]inputhighlevelvoltage VIH V3V3>2V0.42*(V3V3-
2)+15.5 V
VIH V3V3≤2V0.42*(V3V3-
2)+15.2 V
StandardI/OSchmitttriggervoltagehysteresis[2]
Vhys 200 mV
I/OFTSchmitttriggervoltagehysteresis[2] Vhys 5%V3V3[3] mV
Input/Outputcurrentmax Iio ±25 mA
Input/Outputcurrenttotal Iiototal ±120 mA
Inputleakagecurrent[4] IlkgGND≤Vio≤V3V3
GPIOs±1 µA
Inputleakagecurrent[4] Ilkg RPUVio=5V,I/O
FT3 µA
Weakpull-upequivalentresistor[5] RPU Vio=GND 30 40 50 kΩ
Weakpull-downequivalentresistor[5] RPD Vio=V3V3 30 40 50 kΩ
I/Opincapacitance CIO 5 pF
DACoutputvoltage(buffersenabledbydefault)
VDAC 0.2 V3V3-0.2 V
DACoutputresistiveload(buffersenabledbydefault)
RDAC 5 kΩ
DACoutputcapacitiveload(buffersenabledbydefault)
CDAC 50 pF
Notes:
[1]FT=Five-volttolerant.InordertosustainavoltagehigherthanV 3V3+0.3theinternalpull-up/pull-
downresistorsmustbedisabled.
[2]HysteresisvoltagebetweenSchmitttriggerswitchinglevels.Basedoncharacterization,nottested
inproduction.
I/OCHARACTERISTICS
[3]Withaminimumof100mV.
[4]Leakagecouldbehigherthanmax.ifnegativecurrentisinjectedonadjacentpins.
[5]Pull-upandpull-downresistorsaredesignedwithatrueresistanceinserieswithswitchable
PMOS/NMOS.ThisPMOS/NMOScontributiontotheseriesresistanceisminimum(~10%order).
Mechanicalspecifications
Headers Dimensionsininches(mm) Weight
With 1.44x0.8x0.27(36.58x20.32x6.86) 5grams
Without 1.44x0.8x0.17(36.58x20.32x4.32) 3.7grams
ThePhoton(withheaders)canbemountedwith(qty2)12-pinsinglerow0.1"femaleheaders.Typicallytheseare0.335"(8.5mm)tall,butyoumaypickatalleroneifdesired.WhenyousearchforpartsliketheseitcanbedifficulttonavigatethethousandsofpartsavailableonlinesohereareafewgoodchoicesforthePhoton:
Description MFG MFGPartNumber Distributor
12-pin0.1"FemaleHeader(Tin) SullinsConnectorSolutions PPTC121LFBN-RC Digikey
12-pin0.1"FemaleHeader(Gold) SullinsConnectorSolutions PPPC121LFBN-RC Digikey
12-pin0.1"FemaleHeader(Tin) Harwin M20-7821246 Mouser
Youmayalsouseothertypes,suchasreversemounted(bottomsideSMT)femaleheaders,lowprofiletypes,etc..
ThePhoton(withheaders)canbemountedwith0.1"12-pinfemaleheaderreceptaclesusingthefollowingPCBlandpattern:
APhotonwithheaderspartforEAGLEcanbefoundintheParticleEAGLElibrary
DIMENSIONSANDWEIGHT
MATINGCONNECTORS
RECOMMENDEDPCBLANDPATTERN(PHOTONWITHHEADERS)
ThePhoton(withoutheaders)canbesurfacemounteddirectlyinanendapplicationPCBusingthefollowingPCBlandpattern:
TOPTHROUGHVIEW
Inadditiontothe24pinsaroundtheoutsideofthePhoton,thereare7padsonthebottomthePhotonPCBthatcanbeusedtoconnecttoextrasignals:RGBLEDoutputs,SETUPbutton,SMPSenablelineandUSBD+/D-.PhotonPins#25-31aredescribedinthePinoutdiagrams.
Soldermaskaroundexposedcopperpadsshouldbe0.1mm(4mils)largerinalldirections.E.g.,a0.08"x0.10"padwouldhavea0.088"x0.108"soldermask.
APhotonwithoutheaderspartforEAGLEcanbefoundintheParticleEAGLElibrary
RECOMMENDEDPCBLANDPATTERN(PHOTONWITHOUTHEADERS)
Schematic
SCHEMATIC-USB
SCHEMATIC-POWER
SCHEMATIC-USERI/O
SCHEMATIC-RF
SCHEMATIC-PØWI-FIMODULE
Layout
PHOTONV1.0.0TOPLAYER(GTL)
PHOTONV1.0.0GNDLAYER(G2L)
PHOTONV1.0.03V3LAYER(G15L)
PHOTONV1.0.0BOTTOMLAYER(GBL)
Recommendedsolderreflowprofile
Phase TemperaturesandRates
A-B. Ambient~150°C,Heatingrate:<3°C/s
B-C. 150~200°C,soaktime:60~120s
C-D. 200~245°C,Heatingrate:<3°C/s
D. Peaktemp.:235~245°C,Timeabove220°C:40~90s
D-E. 245~220°C,Coolingrate:<1°C/s
BillofMaterials
Qty DeviceMinimum
Specification Package/Case PartDesignator MFG. MFG.PN
1 ANTENNA 2.4GHzCeramic5.0mm×2.0mmx2.6mm
ANT1AdvancedCeramic
XAT7020-E3R0HBA
2CERAMIC
CAPACITOR22uFCeramic6.3V
10%X5R0603 C4,C5 Samsung CL10A226MQ8NRNC
6CERAMIC
CAPACITOR0.1uFCeramic6.3V
10%X5R0402 C6,C7,C8,C11,C12,C16 RongFu 0402B104K01A
2CERAMIC
CAPACITOR100pFCeramic6.3V
10%X5R0402 C2,C3 Fenghua 0402CG101J500NT
4CERAMIC
CAPACITOR10uFCeramic6.3V
10%X5R0603 C9,C11,C13,C15 Sumsung CL10A106MQ8NNNC
3CERAMIC
CAPACITOR(RF)
10pFCeramic6.3V10%X5R
0402 C1,C14,C17 Murata GJM1555C1HR80BB01D
1 CONNECTORUSBMicro-Bw/tabs
&slotsUSB-MICROB X1 Kaweei CMCUSB-5BFM2G-01-D
1 CONNECTOR uFLConnector SMD X2 Kaweei P1163-0140R
2 HEADERSingleString1.2"MatingLength
0.1"12-pin JP1,JP2 Kaweei CP25411-12G-S116-A
1 DIODEDiodeSchottky30V
3ADO-220AA D1 Vishay SS3P3-M3/84A
1 DIODE(LED) Blue SMD0603 LED1 Everlight19-217/BHC-ZL1M2RY/3T
1 DIODE(LED)LEDRGBCommonAnodeDiffused
SMD
4-PLCC(2.0mmx2.0mm)
LED2 CreeCLMVB-FKA-
CFHEHLCBB7A363
1 INDUCTOR 2.2uH1.5A 3mmx3mm L4TaiyoYuden
NR3015T2R2M
1INDUCTOR
(RF)3.9nHRFinductor 0402 L3 Johanson L-07C3N9SV6T
1INDUCTOR
(RF)4.7nHRFinductor 0402 L1 Johanson L-07C4N7SV6T
1INDUCTOR
(RF)6.8nHRFinductor 0402 L2 Johanson L-07C6N8JV6T
1 WI-FI+MCUBroadcomWi-FI+STM32F205RGY6
MCU
CustomUSISMD
U1 USI WM-N-BM-09-S
1 RFSWITCH RFSwitchSPDTUQFN-6(1x1mm)
U3 Skyworks SKY13350-385LF
1POWER
REGULATOR
3.3V1.5MHz600mAHighEfficiencyPWMStep-DownDC/DCConverter
SOT23-5 U2 Richtek RT8008-33GB
1 RESISTOR 100k5% 0402 R4 Fenghua RC-02W104FT
2 RESISTOR 22R5% 0402 R5,R6 Fenghua RC-02W220JT
1 RESISTOR 10k5% 0402 R8 Fenghua RC-02W103JT
4 RESISTOR 1k5% 0402 R1,R2,R3,R7 Fenghua RC-02W102JT
2 SWITCH Button160gf3.6mmx3.1mm
SETUP,RESET Haoyu TS-1185A-C
BUILDYOUROWNDESIGNBASEDONTHEPHOTON!
Orderinginformation
Photonsareavailablefromstore.particle.ioinsinglequantitieswithandwithoutheaders,andalsoincludedindifferentmakerkits.
Qualificationandapprovals
PhotonwithHeaders
ModelNumber:PHOTONHRoHSCEFCCID:2AEMI-PHOTONIC:20127-PHOTON
PhotonwithoutHeaders
ModelNumber:PHOTONNOHRoHSCEFCCID:2AEMI-PHOTONIC:20127-PHOTON
Producthandling
ThePhotoncomesintwoprimarystylesofpackaging:MatchboxandKitBox.Thematchboxpackagingcontainsthebareessentialstogetyoustarted,whilethePhotonKitcontainsabreadboard,MicroBUSBcable,sticker,prototypingcardandacouplesensorstobuildyourfirstInternetconnectedproject!
PhotonswithoutheadersinmatchboxpackagingarealsoavailableinJEDECstyletraysforautomatedpickandplacemachines.RequestmoredetailsfromusonthisintheContactsectionbelow.
TheMoistureSensitivityLevel(MSL)relatestothepackagingandhandlingprecautionsrequired.ThePØmoduleonthePhotonsdominatetheMSLrequirementsandareratedlevel3.Ingeneral,thisprecautionappliesforPhotonswithoutheaders.IfreflowingaPhotondirectlyontoanapplicationPCB,increasedmoisturelevelspriortoreflowcandamagesensitiveelectronicsonthePhoton.Abakeprocesstoreducemoisturemayberequired.
Formoreinformationregardingmoisturesensitivitylevels,labeling,storageanddryingseetheMSLstandardseeIPC/JEDECJ-STD-020(canbedownloadedfromwww.jedec.org).
ThephotoncontainshighlysensitiveelectroniccircuitryandisanElectrostaticSensitiveDevice(ESD).HandlingaphotonwithoutproperESDprotectionmaydestroyordamageitpermanently.ProperESDhandlingandpackagingproceduresmustbeappliedthroughouttheprocessing,handlingandoperationofanyapplicationthatincorporatesphotons.ESDprecautionsshouldbeimplementedontheapplicationboardwherethephotonismounted.Failuretoobservetheseprecautionscanresultinseveredamagetothephoton!
PACKAGING
MOISTURESENSITIVITYLEVELS
ESDPRECAUTIONS
Defaultsettings
ThePhotoncomespreprogrammedwithabootloaderandauserapplicationcalledTinker.ThisapplicationworkswithaniOSandAndroidappalsonamedTinkerthatallowsyoutoveryeasilytoggledigitalpins,takeanaloganddigitalreadingsanddrivevariablePWMoutputs.
Thebootloaderallowsyoutoeasilyupdatetheuserapplicationviaseveraldifferentmethods,USB,OTA,SerialY-Modem,andalsointernallyviatheFactoryResetprocedure.Allofthesemethodshavemultipletoolsassociatedwiththemaswell.
YoumayusetheonlineWebIDEParticleBuildtocode,compileandflashauserapplicationOTA(OverTheAir).ParticleDevisalocaltoolthatusestheCloudtocompileandflashOTAaswell.Thereisalsoapackage SparkDFU-UTIL forParticleDevthatallowsforCloudcompilingandlocalflashingviaDFUoverUSB.Thisrequires dfu-util tobeinstalledonyoursystem.'dfu-util'canalsobeusedwithParticleCLIforCloudcompilingandlocalflashingviathecommandline.FinallythelowestlevelofdevelopmentisavailableviatheGNUGCCtoolchainforARM,whichofferslocalcompileandflashviadfu-util.Thisgivestheusercompletecontrolofallsourcecodeandflashingmethods.Thisisanextensivelist,howevernotexhaustive.
GlossarySMPS
Switched-ModePowerSupply
RF
RadioFrequency
Castellated
TheedgeofthePCBhasplatedholesthatarecutinhalfwhichresemblethetopofacastle.ThesemakeiteasytosolderthePhotondowntoanotherPCBwithaSMTreflowprocess.
SMT
SurfaceMountTechnology(oftenassociatedwithSMDwhichisasurfacemountdevice).
AP
AccessPoint
LED
Light-EmittingDiode
RGBLED
RedgreenandblueLEDscombinedanddiffusedinonepackage.
USB
UniversalSerialBus
Quiescentcurrent
Currentconsumedinthedeepestsleepstate
FT
Five-tolerant;Referstoapinbeingtolerantto5V.
3V3
+3.3V;Theregulated+3.3Vsupplyrail.Alsousedtonoteapinisonly3.3Vtolerant.
RTC
RealTimeClock
OTA
OverTheAir;describinghowfirmwareistransferredtothedevice.
FCCICCEWarningsandEndProductLabelingRequirements
FederalCommunicationCommissionInterferenceStatementThisequipmenthasbeentestedandfoundtocomplywiththelimitsforaClassBdigitaldevice,pursuanttoPart15oftheFCCRules.Theselimitsaredesignedtoprovidereasonableprotectionagainstharmfulinterferenceinaresidentialinstallation.Thisequipmentgenerates,usesandcanradiateradiofrequencyenergyand,ifnotinstalledandusedinaccordancewiththeinstructions,maycauseharmfulinterferencetoradiocommunications.However,thereisnoguaranteethatinterferencewillnotoccurinaparticularinstallation.Ifthisequipmentdoescauseharmfulinterferencetoradioortelevisionreception,whichcanbedeterminedbyturningtheequipmentoffandon,theuserisencouragedtotrytocorrecttheinterferencebyoneofthefollowingmeasures:
Reorientorrelocatethereceivingantenna.Increasetheseparationbetweentheequipmentandreceiver.Connecttheequipmentintoanoutletonacircuitdifferentfromthattowhichthereceiverisconnected.Consultthedealeroranexperiencedradio/TVtechnicianforhelp.
FCCCaution:Anychangesormodificationsnotexpresslyapprovedbythepartyresponsibleforcompliancecouldvoidtheuser'sauthoritytooperatethisequipment.ThisdevicecomplieswithPart15oftheFCCRules.Operationissubjecttothefollowingtwoconditions:
1. Thisdevicemaynotcauseharmfulinterference,and2. Thisdevicemustacceptanyinterferencereceived,includinginterferencethatmaycause
undesiredoperation.
FCCRadiationExposureStatement:ThisequipmentcomplieswithFCCradiationexposurelimitssetforthforanuncontrolledenvironment.Thistransmittermodulemustnotbeco-locatedoroperatinginconjunctionwithanyotherantennaortransmitter.ThisEndequipmentshouldbeinstalledandoperatedwithaminimumdistanceof20centimetersbetweentheradiatorandyourbody.
IMPORTANTNOTE:Intheeventthattheseconditionscannotbemet(forexamplecertainlaptopconfigurationsorco-locationwithanothertransmitter),thentheFCCauthorizationisnolongerconsideredvalidandtheFCCIDcannotbeusedonthefinalproduct.Inthesecircumstances,theOEMintegratorwillberesponsibleforre-evaluatingtheendproduct(includingthetransmitter)andobtainingaseparateFCCauthorization.
EndProductLabelingThefinalendproductmustbelabeledinavisibleareawiththefollowing:
ContainsFCCID:2AEMI-PHOTON
ManualInformationtotheEndUserTheOEMintegratorhastobeawarenottoprovideinformationtotheenduserregardinghowtoinstallorremovethisRFmoduleintheuser’smanualoftheendproductwhichintegratesthismodule.
CanadaStatementThisdevicecomplieswithIndustryCanada’slicence-exemptRSSs.Operationissubjecttothefollowingtwoconditions:
1. Thisdevicemaynotcauseinterference;and2. Thisdevicemustacceptanyinterference,includinginterferencethatmaycauseundesired
operationofthedevice.
LeprésentappareilestconformeauxCNRd’IndustrieCanadaapplicablesauxappareilsradioexemptsdelicence.
L’exploitationestautoriséeauxdeuxconditionssuivantes:
1. l’appareilnedoitpasproduiredebrouillage;2. l’utilisateurdel’appareildoitacceptertoutbrouillageradioélectriquesubi,mêmesilebrouillage
estsusceptibled’encompromettrelefonctionnement.
CautionExposure:Thisdevicemeetstheexemptionfromtheroutineevaluationlimitsinsection2.5ofRSS102anduserscanobtainCanadianinformationonRFexposureandcompliance.Ledispositifrépondàl'exemptiondeslimitesd'évaluationderoutinedanslasection2.5deRSS102etlesutilisateurspeuventobtenirdesrenseignementscanadienssurl'expositionauxRFetlerespect.
Thefinalendproductmustbelabelledinavisibleareawiththefollowing: TheIndustryCanadacertificationlabelofamoduleshallbeclearlyvisibleatalltimeswheninstalledinthehostdevice,otherwisethehostdevicemustbelabelledtodisplaytheIndustryCanadacertificationnumberofthemodule,precededbythewords“Containstransmittermodule”,ortheword“Contains”,orsimilarwordingexpressingthesamemeaning,asfollows:
ContainstransmittermoduleIC:20127-PHOTON
ThisEndequipmentshouldbeinstalledandoperatedwithaminimumdistanceof20centimetersbetweentheradiatorandyourbody.Cetéquipementdevraitêtreinstalléetactionnéavecunedistanceminimumde20centimètresentreleradiateuretvotrecorps.
Theendusermanualshallincludeallrequiredregulatoryinformation/warningasshowninthismanual.
Revisionhistory
Revision Date Author Comments
-30-March-
2015BW Initialrelease
v003 7-April-2015 BW Updatedtemplate
v0048-April-2015
BW UpdatedOverview,Blockdiagram,Power,RF,andPinmarkingssections
v0059-April-2015
BW UpdatedBOM
v00621-April-2015
BWAddedJTAG,BTCO-EX,I/OCharacteristics,Schematic,Layout,ReflowProfile,Glossary,UpdatedOperatingConditions
v00728-April-2015
BWAddedLayout,Updatedanalogpins,Landpatterns,Packaging,MatingConnectors
v008 11-May-2015 BW UpdatedBTCO-EX,PWMinfo,Qualifications
v00931-May-2015
BWUpdatedPinouts,DACinfo,Heightdimensions,Soldermaskinfo,Recommendedoperatingconditions
v010 1-June-2015 BW UpdatedVBATinfo
v01124-July-2015
BWAddedFCCICCEWarningsandEndProductLabelingRequirements,Updatedpoweroutput,addedapprovedantennas,CorrectedDAC2asA3,AddedpinnumberstoPCBLandPatternforPhotonwithoutheaders.
v01215-January-
2016WH
AddedTELECCertificationinformationandexpandedexplanationofPhotonswithandwithoutheaders.
v013 7-April-2016 BW
Added:fullSTM32partnumber,Memorymap,DAClimits,SWDpinlocations,maxsource/sinkcurrent,moredescriptiveinfoaboutbottomsidepads,knownerrataURL.Updated:BTCOEXinfo,pindiagram,blockdiagram,operatingconditions,pindescriptions,land-patternimagesignalkeepoutnote.
v01413-
September-2016
BW UpdatedMatingconnectorssection.
v01525-July-2017
BWUpdatedthePinDescriptionsectionandaddedhighresolutionpinoutPDF,PWMnotesandDCTlayout,addedwarningtopowersection
KnownErrata
Wearetrackingknownerratawiththisdatasheethere.Theseissues/errorsinthedatasheetwillberesolvedinsubsequentrevisions.
Contact
Web
https://www.particle.io
CommunityForums
https://community.particle.io