Open Source WiFi to Bluetooth 5 IoT Gateway BWG832F

BWG832F is a low cost Bluetooth 5 to WiFi IoT gateway. Its low cost, $22.49 each at 1K pcs, will enable mass deployment of IoT Bluetooth 5 devices.


WiFi to Bluetooth 5 gateway


If penetrating multiple walls or having more than 1000 meters between nodes is needed, Bluetooth BLE 5 bridge BWG832X should be used.

For industrial or agriculture applications, longer range and security can be required. BWG840 Series Bluetooth 5.0 gateway should be used. In addition to Bluetooth 5, BWG840F Series support Thread and Zigbee radio protocols.

  • Gateways are in market ready enclosure.  Upon completion of firmware and app development, you can begin marketing products.
  • Our host board and enclosure design is an example for minimizing Bluetooth range degradation. When used with 2 AAA batteries and antenna 2.1 meters above ground, line of sight range between 2 BWG832Fs is 340 meters and 280 meters, without and with enclosure, respectively.
  • You can use our schematics if you are interested in developing your own products. As an experienced and efficient manufacturer of IoT PCBAs, our production cost is very competitive. Custom enclosure is available.

WiFi to Bluetooth 5 IoT Gateways

A Bluetooth to WiFi Gateway (BWG) relays messages from a cloud server to any node in a Bluetooth SIG mesh, other meshes, or in a point to multiple points application. 

 WiFi to Bluetooth SIG mesh IoT gateway for cloud server

WiFi to Bluetooth SIG mesh IoT gateway for cloud server

BWG832F is the simplest and the lowest cost Bluetooth 5 IoT bridge. It has 2 major components.

  • A BlueNor BT832F Bluetooth 5 module.
  • An ESP8266 WiFi module
 Block Diagram of Bluetooth WiFi Gateway (BWG)

Block Diagram of Bluetooth WiFi Gateway (BWG)

Using WiFi to Connect to a Cloud Server

An ESP8266 WiFi module is used to establish and maintain internet connection through a WiFi router. Source codes for use with Mongoose OS are available for developing interface with cloud server. A Development Kit (DK) is required to load program into WiFi module. The USB cable assembly included in DK-BWG832F can be used to load program into WiFi module of production gateway BWG832F.

Development Server

A set of demonstration codes for a BLE 5 sensor sending temperature and humidity data to a BWG832F connected to a Fanstel development server using MQTT protocols can be downloaded from Download OpenSource Document webpage. 

The purpose of development server is to assist developers in early stage of development to trouble-shoot WiFi connection. To avoid overloading, gateways should be connected to a production server as soon as possible.

An Android phone app displaying temperature and humidity as below can be downloaded from the same webpage.

 Sensor data displayed on an Android phone

Sensor data displayed on an Android phone


Google IoT Core Cloud Server

Hex and source codes for use with Mongoose OS to connect to  Google IoT Core cloud server can be downloaded from Download Open Source Document webpage.

Relaying Messages between Cloud and Bluetooth Devices

A Nordic nRF52 module communicates with cloud server in the message layers. nRF52 development environment shall be used for code development. Source codes are available.

The 64 MHz Cortex M4F MCU in nRF52 relays messages between a cloud server and any node in the mesh network. A CryptoCell 310 co-processor is embedded in BT840 Series modules. Secured messages can be decrypted and authenticated when relayed between a cloud server and Bluetooth SIG mesh.

Bootloader is preloaded in Bluetooth module. SoftDevice and application can be loaded by Over-The-Air firmware update. A TAG connect cable TC2050-IDC-NL-050-ALL can be used to connect to nRF52DK to load bootloader and other codes.

DK includes 10-pin connector and flat cable for loading codes. TAG connect cable assembly is not needed.

BWG832F, Low Cost Gateway for Home or Small Mesh

BWG832F with BT832F module is a low cost Bluetooth 5 to WiFi IoT gateway for point to point or small mesh network where security is not required or limited decryption and authentication can be implemented in firmware.

Its range to a node using the same module is 280 meters, enough for home and typical office deployment.

    • BT832F module with Cortex M4F MCU, 64 MHz with hardware DSP instructions and floating point unit. Flash/RAM: 512KB/64KB. Bluetooth range: 280 meters, measured.
    • Ai-thinker WiFi module with ESP8266. Supports IEEE802.11 b/g/n. 32-bit MCU, integrated TCP/IP stack.
    • TAG connect pads for connection to Nordic nRF52DK using TAG connect cable TC2050-IDC-NL-050-ALL
    • Size: 60x60x22mm
    • Include an AC adapter and USB cable
    • Desk or wall mountable
    • Optional magnetic mount
    • $22.49 each at 1K pcs
    • Availability: preorder for late March to early April delivery.

    Development Kit, DK BWG832F

    A development kit is required to load firmware into ESP WiFi module.

     Develop Kit Gateway

    Develop Kit Gateway

    A DK BWG832F includes the followings:

    • A BWG832F with a 10-pin flat cable connector
    • A USB cable assembly for (A) loading codes into WiFi module; (B) Sending data to WiFi interface (3) Sending data to Bluetooth interface.
    • 10-pin connector and flat cable for connection to nRF52DK
    • TAG connect pads for connection to Nordic nRF52DK
    • Optional magnetic mount
    • Availability: late March to early April, 2018
     USB Cable Assembly

    USB Cable Assembly

     Connecting BWG832F to nRF52DK

    Connecting BWG832F to nRF52DK

    Order Products

    For volume discount and production lead time, please email Fanstel

    BWG832F, Open Source BLE 5 to WiFi Gateway, $22.49 each at 1Kpcs
    from 40.48

    Your first development gateway must be a DK-BWG832F. USB cable assembly in DK BWG832F is required to program WiFi module.

    Bluetooth 5 to WiFi gateway. Size is 60x60x22mm with a wall mount bracket, AC adapter and USB cable.

    $40.48 at 1 pcs; $31.49 each at 10 pcs; $26.99 each at 100-pcs; $22.49 each at 1000-pcs

    Add To Cart
    DK BWG832F, Development Kit for BWG832F Bluetooth WiFi Gateway

    Development kit for BWG832F Bluetooth 5 to WiFi Bridge.

    Includes an enhanced BWG832F gateway, USB cable assembly, and flat cable.

    DK BWG832X is required to load firmware into WIFi module. It is easier to load firmware into Bluetooth module by using a DK.

    Add To Cart