background image

LEW840X, OpenSource Multiple Network Gateways          

Dra$ Ver 0.21  Mar. 2020

2. Specifications 

At the heart of LEW840X Series gateway is an ESP32M16 module with an ESP32 D0WD SoC. It has an 

Xtensa dual core 32 bit LX6 microprocessors, up to 600 MIPS. A Microchip LAN8720 is the Ethernet PHY 

interface.

ESP32 communicates with nRF9160 LTE-M/NB/IoT module using an UART interface. It also communicates 

with BT840F BLE 5 module using a second UART. BT840F controls LoRa module LR62E through an SPI 

interface.

BT840F supports 802.15.4 Thread and Zigbee radio protocols. It can be replaced with BT40F, an RF5340 

module supporting BLE 5.1, Thread, and Zigbee.

Gateway can be powered by a 5V micro USB AC adapter, a 48V DC power supply, or powered through 

Ethernet cable

 

4

Summary of Contents for EE840XE5P

Page 1: ...d nRF9160 have CryptoCell coprocessor embedded Secure connection can be established from Bluetooth mesh to cloud server Private label and custom hardware can be supported Some BLE 5 Gateways will be upgraded to BLE 5 1 in the near future 1 MultiNetwork MultiProtocol Gateways with Ingress Protection Ingress protect color IP51 black IP51 black IP51 black IP51 black IP65 white IP65 white IP65 white G...

Page 2: ...es 5 WiFi or Ethernet Interfaces 6 Bluetooth 5 Thread Zigbee Interfaces 7 Bluetooth 5 1 Thread Zigbee Interfaces 8 LoRa Interfaces 9 Power Supply and Power over Ethernet 10 Operating Temperature Range 10 Private Label and Custom Hardware 10 PK LEW840X Programming Kit 10 3 Firmware Development and Programming 11 Ethernet and WiFi 11 Programming the nRF52840 Module 17 Programming the nRF9160 Module ...

Page 3: ...ation and maintenance supports are simplified When multiple networks are available back up routing can assure of cloud connection during one or more networks failures Alternatively your can select a single network interface to reduce product cost LEW840X Series supports LTE M NB IoT WiFi and Ethernet interfaces It supports Bluetooth 5 5 1 Thread Zigbee and LoRa on the device side 3 ...

Page 4: ...net PHY interface ESP32 communicates with nRF9160 LTE M NB IoT module using an UART interface It also communicates with BT840F BLE 5 module using a second UART BT840F controls LoRa module LR62E through an SPI interface BT840F supports 802 15 4 Thread and Zigbee radio protocols It can be replaced with BT40F an RF5340 module supporting BLE 5 1 Thread and Zigbee Gateway can be powered by a 5V micro U...

Page 5: ...ateways IP51 gateway without PoE is powered by a micro USB AC adapter IP65 gateway without PoE is powered by 48V DC Up to 3 external antennas can be supported LTE and LoRa interfaces need external antennas Integrated antenna and external antenna can be supported for both BLE and WiFi LTE M NB Iot Interfaces LEW840X gateway uses a Nordic nRF9160 SICA module supporting LTE M NB IoT and with GPS rece...

Page 6: ...M card connector on board Power saving features DRX eDRX PSM IP v4 v6 stack Secure socket TLS DTLS API WiFi or Ethernet Interfaces ESP32M16 WiFi module with an Expressif ESP32 D0WD dual core Xtensa 32 bit processor establishes and maintains connection to a cloud server Mongoose OS OpenSource codes for connecting to Fanstel development server and to Google Cloud IoT Core AWS and Microsoft cloud ser...

Page 7: ...nstel and non Fanstel sensors beacons BT840E with ANT060 antenna will provide the best receiver sensitivity if antennas are deployed in parallel horizontal polarization Brief specifications of BT840F Series modules nRF52840 QIAA ARM Cortex M4F 64 MHz ARM TrustZone Cryptocell 310 co processor BLE 5 data rate 2Mbps 1Mbps 500kbps 125kbps IEEE 802 15 4 Thread and Zigbee data rate 250 Kbps 2 4 GHz prop...

Page 8: ...ofiles needing processing power e g BLE 5 1 directional finding audio Brief Specifications BT40F Series modules nRF5340 QKAA dual core ARM Cortex M33 Application Core 128 64 MHz Cortex M33 with FPU and DSP instructions 1MB flash 512KB RAM 8KB 2 way set associate cache ARM TrustZone Cryptocell 312 co processor Network core 64 MHz Cortex M33 with 2KB instruction cache 256KB flash 64KB RAM 2 6 mA in ...

Page 9: ...oRa Interfaces LR62E module with Semtech SX1262 transceiver u FL connector Up to 22 dBm transceiver USA version at 902 to 928 MHz Panel mounted SMA connector for external antenna LoRa stacks for cloud connection are managed by BT840F Series or BT40F Series BLE modules 9 ...

Page 10: ...rating temperature range 40oC to 80oC PoE IP51 gateway has operating temperature range of 40oC to 80oC Operating temperature range of 48V DC power supply is 20oC to 60oC Non PoE IP65 gateway has operating temperature range of 20oC to 60oC The enclosure material Sabic EXL9330 used in IP65 gateway has operating temperature range to over 125oC PoE IP65 gateway has operating temperature range of 40oC ...

Page 11: ...nd humidity sensor data to Fanstel MQTT server You can use Fanstel MQTT PC tool or mobile APP to monitor data MQTT tool or MQTT APP MQTT broker LEW840F BLE Sensor It is easier to test gateway and load firmware by removing gateway PCBA from enclosure Ethernet and WiFi Check the Ethernet Connect UART_Bridge Board TO WIFI ESP into the JS1 of LEW840X PCBA Make sure the switch on Bridge board is turn o...

Page 12: ...ug in the Ethernet and reset the board Gateway should get DHCP IP address Check WiFi setup network first Hold SW1 when resetting The LEW840X will enter AP mode Use a smartphone and into the Setup WiFi FanstelGW_XXXXX appear Connect it and open browser goto 192 168 4 1 12 ...

Page 13: ...LEW840X OpenSource Multiple Network Gateways Dra Ver 0 21 Mar 2020 Setup the SSID and password for your router 13 ...

Page 14: ...Fi should be got ID and connected Check MQTT Connect UART_Bridge Board To Log into the JS1 Open the MQTT PC tool and type the ID The ID is esp32_XXXXXX and same as AP name You should able see the ID in the log The temperature and humidity was send to MQTT broker and publish to PC tool 14 ...

Page 15: ...d and programming ESP32 firmware Open mos yml in folder mqtt_sensorWiFi_Ethernet_esp32 Change the SSID and password to match your router wifi sta ssid FanstelSystems wifi sta pass 1234567890 Save the file and go to command line tool use command mos build platform esp32 15 ...

Page 16: ... Network Gateways Dra Ver 0 21 Mar 2020 Programming the ESP32 Connect UART_Bridge Board TO WIFI ESP into the JS1 Make sure the switch on Bridge board is turn on Type command mos flash port COM9 The port number is up to your PC 16 ...

Page 17: ...nected nRF52 DK debug out to LEW840F JS2 Download and install Nrf5x Command Line Tools https www nordicsemi com Software and Tools Development Tools nRF5 Command Line Tools Download the nRF Connect desk top version https www nordicsemi com Software and Tools Development Tools nRF Connect for desktop 17 ...

Page 18: ...nloaded by the following links Get start with Nordic chip and all online documents http infocenter nordicsemi com index jsp topic com nordic infocenter nrf52 dita nrf52 development nrf52_dev_kit html cp 1_1 Nordic SDK with many example projects https developer nordicsemi com nRF5_SDK Nordic development zone You can search or ask a quesFon there https devzone nordicsemi com tutorials b getting star...

Page 19: ...LEW840X OpenSource Multiple Network Gateways Dra Ver 0 21 Mar 2020 Download and install nRF Connect https www nordicsemi com sc_itemid B935528E 8BFA 42D9 8BB5 83E2A5E1FF5C 19 ...

Page 20: ...teways Dra Ver 0 21 Mar 2020 Programming the nRF9160 Module Connected nRF9160 DK debug out to LEW840F JS3 Open nRF connect programmer and load the softdevice and application Erase and write The MQTT ID for nRF9160 is always started at 91 20 ...

Page 21: ...start setup md https mongoose os com docs mongoose os quickstart develop in c md Mongoose forum https community mongoose os com Nordic online document https infocenter nordicsemi com index jsp topic com nordic infocenter nrf52 dita nrf52 development nrf52_dev_kit html cp 1_1 Nordic SDK https developer nordicsemi com nRF5_SDK nRF5_SDK_v15 x x Nordic development zone https devzone nordicsemi com All...

Page 22: ...enSource Multiple Network Gateways Dra Ver 0 21 Mar 2020 Revision History Jan 2020 Ver 0 10 Initial draft release Feb 2020 Ver 0 20 Add draft programming information Mar 2020 Ver 0 21 Update sample stock table 22 ...

Page 23: ... com Taiwan Fanstel Corp 10F 10 79 Xintai Wu Road Xizhu New Taipei City Taiwan 22101 泛世公司 臺灣省新北市汐止區新臺五路79號10樓之10 22101 Tel 886 2 2698 9328 Fax 886 2 2698 4813 Email info fanstel com Website www fanstel com China Fanstel Technologies Corp 11 Jiale Street Ping Dih Long Gang Shen Zhen GD 518117 泛世康科技 深圳 有限公司 廣東省深圳市龍崗區坪地鎮佳樂街11號 Tel 86 755 8409 0928 Fax 86 755 8409 0973 QQ 3076221086 Email info fanstel...

Reviews: