rpygate Datasheet Version 1.
ygate go invent 1.0 Overview 03 12.0 Mechanical Specifications 24 2.0 Featur e s 04 13.0 Ordering information 25 3.0 Specifications 04 13.1 Bundles 25 3.1 3.2 3.3 3.4 3.5 Hardware configuration Power supply options Available signals on headers 14.0 Packaging 25 Wireless connectivity options Absolute maximum ratings 04 04 04 04 04 15.0 Certification 26 15.1 15.2 EU Regulatory Conformance Federal Communication Commission Compliance Statement 26 4.0 Block Diagram 05 15.2.
ygate to lithium battery go invent VCP over USB to configure gateway from a terminal console LED on when pic is powered (green light) Tact switch to enter programming mode Tact switch to enter save boot LoRa antenna U.FL connector LoRa Tx/Rx activity indication leds battery charging in progress indication led RF front-end with integrated Rf Tx power amplifier (PA) and Rx low lithium battery charger 4.
ygate 1.0 Overview The Pygate is a super low-cost 8-channel LoRaWAN gateway that comes in the shape of a shield. It’s got the well-known form factor from our other shields and you can connect your much loved WiPy3, LoPy4 or a GPy to it. Hook in your Pycom development boards up and you have yourself a nifty little decentralized IoT network in one go. Pygate also fits inside the Universal IP67 Case so you don’t have to limit yourself to indoors. 2.0 go invent 3.2 Power supply options: - Micro USB.
ygate 4.0 go invent Block Diagra m saw filter tx i/q sx 1308 concentrator rx i/q Z optimum 3dB PAD LPF RF Tx sx 1257 radio_a RF Rx NC saw filter clkhs SE2435L 32mhz clki32m 133MHz XO osc. FE module tcxo rx i/q clko32m saw filter sx 1257 radio_b vcc power One of Boards: WiPy 3.0 LoPy4 GPy uart spi power manager uart<->usb vcp (microchip pic) PyEthernet Ethernet + IEEE 802.3bt/802.
ygate 5.0 go invent Pinout 2. Lithium battery (Optional) 1. PyEthernet 5. USB VCP Module UART RX/TX line jumpers (normally suppose to be snapped on) 4. POWER and UART from/to the Module 3. Module (WiPy3,GPy or LoPy4) RESET Figure 2 – Pygate pins and connectors Version 1.
ygate 5.1 go invent PyEthernet socket pinout PyEthernet shield with PoE(Power over Ethernet) PWR_FLAG VCC_ETH 1 3V3_MOD ETH_RST ETH_MISO J4 J8 R36 1 2 2 3 3 4 4 5 5 Conn_01x05 3V3_MOD ETH_MOSI 100K ETH_CSN ETH_INT ETH_SCK Conn_01x05 GND GND Figure 3 – Socket to PyEthernet 5.2 Lithium battery connector pinout BATTERY LiPo 3.6...4.2V +BATT J2 GND Conn_JST_01x02 Figure 4 – JST (S2B-PH-K-S) Header to Lithium battery Version 1.
ygate 5.3 go invent Module (WiPy3, GPy or LoPy4) socket pinout VCC WiPy3, GPy, LoPy4 J5 2 UART_RX UART_TX RCO HOST_CSN FEM_EN 56pF 100R X R31 X X SX1257_RST HOST_MOSI GND 1 2 1 RESET C71 J7 HOST_SCK SX1308_RST SAFE_BOOT 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 Conn_01x14 3V3_MOD ETH_MOSI ETH_CSN ETH_SCK RFPWR_EN ETH_RST ETH_INT ETH_MISO HOST_MISO RX_ON TX_ON BAT_MON Conn_01x14 SW1 B3U-1000P GND 3V3_MOD Figure 5 – Socket to Pycom module 5.
ygate go invent 6.0 Pin details The tables below provide description of the pins. Pin direction given from Py gate board point of view. 6.1 PyEthernet socket pin details Table 1 - J4 socket to a PyEthernet shield Pin Pin Name Type Description 1 VCC_ETH Power In (+5V) Power coming from PoE of PyEtherent 2 3V3_MOD Power Out (+3.
ygate 6.3 go invent Module (WiPy3, GPy or LoPy4) socket pinout Table 4 - J5 socket to a Pycom module Pin Pin Name Type Description 1 RESET Output Pycom Module reset, active low 2 UART_RX Output Module UART RX used for communication with PC and to program module in bootloader mode. 3 UART_TX Input Module UART TX used for communication with PC and to program module in bootloader mode. 4 RC0 Input/Output If tied to GND during boot, the decice will enter bootloader mode.
ygate go invent Table 5 - J7 socket to a Pycom module Pin Pin Name Type Description 1 VCC Power Out (+VCC) VCC is combined power from thre e sources , USB, Power-over-Ethernet or Lithium battery. Once USB and PoE power is not available lithium battery will supply the Py gate, else the battery will be charged with charging current 450mA. 2 GND Power (GND) Ground 3 3V3_MOD Power Input (+3.3V) +3.
ygate 6.4 go invent POWER and UART from/to the Module header pinout Table 6 - J6 header pins Pin Pin 6.5 Name Description Type 1 VCC Power Out (+VCC) VCC is combined power from thre e sources , USB, Power-over-Ethernet or Lithium battery. 2 VCC_RF Power Out (+VCC_RF) VCC power controlled by RFPWR_EN signal 3 +3V3 Power Out (+3V3) +3. 3V coming form voltage regulator supplied by VCC_RF 4 3V3_MOD Power Out (+VCC_MOD) +3.
ygate 7.0 go invent API overview For details about software please visit: https://docs.pycom.io/firmwareapi/pycom/ machine/pygate/ 8.0 Configuring Py gate For details about configuration please visit: https://docs.pycom.io/tutorials/all/pygate/ Version 1.
ygate 9.0 Programming the device Refer to WiPy3, Gpy or LoPy module users manual 10.0 Power AVG (no radio) 45mA AVG (TTN gateway) 565mA MIN (TTN gateway) 220mA MAX (TTN gateway) 750mA 11.0 LoRa 11.1 Supported features Table 15 - J2 Battery connector pins 11.2 Reception Paths Characteristics The SX1308/ SX1301 digital baseband chip contains 10 programmable reception paths. Those paths have differentiated levels of programmability and allow different use cases.
ygate 11.3 Packet Engine and Data Buffers 11.3.1 Receiver Packet Engine go invent Each time any of the demodulators decodes a packet, it is tagged with some additional information and stored in a shared data buffer (the data buffer size is 1024 bytes).
ygate go invent The packet data is organized as follows: Table 7 – LoRa Packet data fields Packet Buffer data organization Offset from strart pointer Data stored Comment 0 ... ...
ygate +15 payload size RX CORP SNR +16 payload size RESERVED +17 payload size RESERVED go invent Detection correlation SNR This means that the host has to read 16 additional bytes on top of each packet to have access to all the meta-data. If the host is only interested in the payload itself + the channel and the data rate used, then payload + 2bytes is enough. 11.4 Transmitter Packet Engine The Pyg ate transmitter c an be used to s end packets.
ygate go invent The packet structure for trans mission is as follow: Table 8 - Packet structure for transmission Byte Subfie ld 0 23:16 1 15:8 2 7:0 3 31:24 4 23:16 5 15:8 6 7:0 7 8 Version 1.
ygate go invent LoRa: Byte 9 10 11 12 Subfi eld Description Comment 7:7 Payload CRC16 enable Enables CRC16 6:4 Coding Rate Coding Rate =4/(4+CR) 3:0 SF 6 to12 7:0 Payload lenght numbers of bytes 7:3 Reserve 2:2 Implicit header enable 1:0 Modulation Bandwidth 15:8 Preamble symbol number 13 Number of symbols in the preamble 7:0 14 Reserved 15 Reserved Version 1.
ygate go invent FSK: Byte Subfi eld Description Comment 9 7:0 FSK frequency deviation Frequency deviation in kHz 10 7:0 Payload length Number of bytes 0-> fixed lenght 1- 0 Packet mode >variable lenght 0-> No CRC 1 CRC enable 1->CRC 00-> DC free encoding off 01->Manchester encoding 11 3:2 Dcfree ENC 10-> Whitening encoding 1->Reserved 0-> CCITT CRC 4 Crc IBM 1->IBM CRC 12 15:8 FSK Preamble Size 13 7:0 FSK Preamble Size 14 15:8 FSK Bit Rate 15 7:0 FSK Bit Rate 16 Version 1.
ygate For words of more than 1 byte, MSBs are sent first. Bytes 9 to 15 vary depending whether the FSK or the LoRa TX modem is being used. The user payload starts at byte 16. This is the first byte that will be received by the end point. Bytes 0 to 15 are not transmitted and are just used to dynamically configure the gateway prior to emission. 11.5 go invent where: - Radio A PLL is set to 867.0 MHz - Radio B PLL is set to 868.
ygate go invent IF1-250 kHz fixed data rate LoRa back-haul channel IF2 64 kbit/sec GFSK channel IF7-10 LoRa Channels Multi-data rates IF3-6 LoRa Channels Multi-data rates 866.6 867.4 MHz 868.0 Radio A 868.8 MHz Radio B Figure 10 - Radio Spectrum In the previous example the various IF frequencies would be set as follow: Table 9 – IF Frequency Set IF8 A: -125 kHz LoRa backhaul, fixed dada-rate IF9 B: 0 kHz GFSK backhaul IF0 A: -312.5 kHz LoRa multi-data rate channel IF1 A: 62.
ygate go invent IF1 500kHz fixed data rate LoRa back-haul superposed with sensor channels IF3-6 LoRa Channels Multi-data rates IF7-10 LoRa Channels Multi-data rates Radio B 867.1 - 867.1 MHz Radio A 866.6 - 867.4 MHz Figure 11 - Radio Spectrum The following IF frequencies are used: Table 10 – IF Frequency Used IF8 A: 0 kHz LoRa backhaul, fixed dada-rate IF9 Not used GFSK backhaul IF0 B: -187.5 kHz LoRa multi-data rate channel IF1 B: -62.5kHz IF2 B: 62.5 kHz IF3 B: 187.
ygate go invent 12.0 Mechanical Specifications Figure 12 - Mechanical drawing (top down view) – Units: mm * Tallest component: 12 mm Version 1.
ygate 13.0 go invent Ordering information Table 1- Ordering information 13.1 Product EAN Description 604565285904 PyGate 868 Mhz 604565285973 PyGate 915 Mhz 604565285911 PoE Adapter for PyGate Description Contents PyGate 868 Mhz with PoE PyGate 604565285904 and PoE 604565285911 PyGate 915 Mhz with PoE PyGate 604565285973 and PoE 604565285911 Bundles Table 12 –Bundles 14.
ygate 15.0 Certification Certification of Pygate cover - RED Directive - CE - FCC - IC - RCM Regulatory Information 15.1 EU Regulatory Conformance Hereby, Pycom Ltd declares that this device is in compliance with the essential requirements and other relevant provisions of Directive 1999/5/EC 15.
ygate 15.3 ISED Regulatory Approval go invent 15.3.2 ISED RF exposure statement: This equipment complies with ISED radiation exposure limits set forth for an uncontrolled environment. This equipment should be instal led and operated with minimum distance 20cm between the radiator& your body. This tra nsmitter must not be co‐located or operating in conjunction with any other antenna or transmitter. Le rayonnement de la classe b repecte ISED fixaient un environnement non contrôlés.
ygate 16.0 go invent Revision History Table 12– Document revision history Version 1.1 Revision / Date Description Rev 0.1 / 11.11.2019 First DRAFT release Rev 1.0 / 11.04.2020 First Release Rev 1.1 / 10.01.