background image

LEW840X, OpenSource Multiple Network Gateways          

Dra$ Ver 0.21  Mar. 2020

Bluetooth 5, Thread, Zigbee Interfaces

Bluetooth 5 module supports Bluetooth 5, Thread, and Zigbee radio interfaces. It also manages LoRa module 

LR62E. One of four Bluetooth 5 modules can be installed.  

• BT840F, an nRF52840 module. It is FCC certified with max. TX power of +8.46 dBm. 

• BT840E, an nRF52840 module with an u.FL connector, panel mounted SMA  connector for an external 

antenna. It passes FCC certification testing with ANT060, a 6 dBi antenna. 

• BT840X, an nRF52840 module with SKY66112 power amplifier. It passes FCC testings at +21 dBm TX. 

• BT840XE, an nR SKY66112 module with an u.FL connector, panel mounted SMA connector for an 

external antenna. It passes FCC testings with ANT000, a 0 dBi antenna. 

Maximum TX power of BT840X is about 13.8 dB higher than that of BT840F. The receiver gain of SKY66112 is 

measured at 1.5 dB. Comparing to BT840F, BT840X has 15 dB more link budget. In 

free space (antenna high above ground and without obstruction), 15 dB link budget 

can more than quadruple range. Or, it is enough to penetrate 2 dry walls in typical 

house in the U.S.A. 

If you are developing a mesh network or sensor using BT840X/XE, a gateway with 

BT840X/XE will provide the longest possible Bluetooth, Thread or Zigbee range. 

If this gateway is to receive data from various (Fanstel 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 proprietary data rate: 2 Mbps, 1 Mbps 
• Serial Wire Debug (SWD) 
• Nordic SoftDevice Ready 
• Over-the-Air (OTA) firmware update 
• Flash/RAM: 1MB/256KB. 
• 48 General purpose I/O pins 
• Type 2 NFC-A tag with wake-on field, Touch-to-pair support 
• Integrated PCB trace antenna or u.FL connector 

module

BT840F

BT840E

BT840X

BT840XE

SoC

nRF52840-QIAA

nRF52840-QIAA

nRF52840-QIAA

nRF52840-QIAA

Size

15x20.8x1.9mm

14x16x1.9mm

15x28.0x1.9mm

15x28.0x1.9mm

BT Antenna

PCB trace

ANT060

PCB trace + PA

PA+ANT000

Max TX includes antenna gain

+8.8dBm

+14.4 dBm

+22.6 dBm

+21.0 dBm

32.768 sleep crystal

External

External

Integrated

Integrated

BT range,1 Mbps, LMPI

1000 meters

1170 meters

1170 meters

BT range, 1Mbps, 1.52m

390 meters

900 meters

1170 meters

BT range, 125 Kbps, LMPI.

2300 meters

3400 meters, est.

>4500 meters

>4500 meters

BT range, 125 kBps, 1.52m

640 meters

1240 meters

1920  meters

FCC ID

X8WBT840F

X8WBT840F

X8WBT840X

X8WBT840X

IC ID

4100A-BT840F

4100A-BT840F

4100A-BT840X

4100A-BT840X

CE

Certified

Certified

Certified

Certified

RCM

Certified

Certified

Certified

Certified

TELEC

201-190710/00

201-190710/00

Availability

Production

Production

Production

Production

7

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: