background image

 

Board Rev 2.2                                       

Copyright © 5GHUB.US

 

 

 

 

5G NB-IOT & GNSS KIT

 

BG96 Technical Specifications & User Manual 

 

 

 

 

 

Summary of Contents for BG96

Page 1: ...1 Board Rev 2 2 Copyright 5GHUB US 5G NB IOT GNSS KIT BG96 Technical Specifications User Manual ...

Page 2: ...on Author Date Description A 5G HUB 04 05 2019 Initial Document B 5G HUB 06 08 2019 Add Arduino IDE instructions C 5G HUB 06 10 2019 Add Serial Interface D 5G HUB 09 11 2019 Add more information about Arduino IDE E 5G HUB 01 02 2020 Update Information regarding Input voltage and Current F 5G HUB 07 11 2020 Update pictures and information G 5G HUB 02 28 2021 Update pictures and add download Section...

Page 3: ...rals Key Components 10 2 6 Peripherals IO Connections 11 2 7 Hardware Specification 12 2 8 PIN Description 13 2 9 BG96 chipset 14 2 10 Interface between SAM21D and BG96 14 3 Using the Board with Arduino IDE 15 3 1 Installing the Software 15 3 2 Setting Up Arduino IDE 15 3 3 Running Arduino Sketch 18 4 Using the Arduino Sketches with Serial Interface 20 5 Procedure for Operating the BG96 Wireless U...

Page 4: ...e Install Arduino IDE for Windows from the following website https www arduino cc en Main Software Download and Install LTE GNSS modem driver for Windows OS https github com 5ghub 5G NB IoT tree master Driver Download and Install QNavigator and QCOM tools for Quectel BG96 here https github com 5ghub 5G NB IoT tree master Tools Download and install Arduino library 5G NB IoT_Arduino zip here https g...

Page 5: ...ovides rich sets of Internet protocols industry standard interfaces USB UART I2C Status Indicator and abundant functionalities The board offer a high integration level and enables integrators and developers to easily design their applications and take advantage of the board low power consumption many functionalities and USB drivers for Windows 7 8 8 1 10 Linux and Android The kit board is a rich h...

Page 6: ...Detector Soil PH Tester Optical Sensor Machinery Alarm System Irrigation Controller Elevator Asset Tracking Electronics Person Pet Tracking Water Gas Metering Smart Parking System Fire Hydrant Smoke Alarm Trash Bin Street Lighting The board can operate on an external power supply of 3 3V to 5V The recommended voltage is 5V The board can be powered via the USB connector or with an external DC power...

Page 7: ...7 Board Rev 2 2 Copyright 5GHUB US Figure 2 Hardware Board Overview Diagram Top and Bottom View ...

Page 8: ...The board have four screw holes in each corner that allows the board to be attached to a surface or case 58 mm 42mm USB_BOOT IOREF RESET 3 3V 5V GND GND VIN A0 A1 A2 A4 A3 A5 ADC0 GPIO26 ADC1 GPIO64 SCK MISO MOSI PA7 SS PA6 SCL SDA AREF GND ANT BG96 USB MCU USB SAMD21G18 PWR STAT LD1 LD2 NET SWD USER RESET BGP6 RESET MCU RESET USIM MAIN GNSS Thickness 1 6mm ...

Page 9: ...9 Board Rev 2 2 Copyright 5GHUB US Figure 4 Hardware Board Top View External Dimensions ...

Page 10: ...p Side Key Components Figure 6 Board Bottom Side Key Components DC INPUT POWER SUPPLY USB_BOOT JUMPER J105 HEADER J106 HEADER PWR LED STAT LED NET LED LD1 LED LD2 LED SWD Connector USER RESET BG96 USB Port MCU USB Port J101 HEADER MCU JP2 HEADER Nano SIM Card Slot MCU RESET BG96 RESET ...

Page 11: ... ADC0 PA7 SS MOSI PA6 MISO SCK GND AREF SDA SCL TXD RXD TXD RXD Power GPIO BG96 PINs A D SPI I2C UART TXD RXD RXD TXD I2C interface lines might be configured as USART interface SDA line can work then as USART TXD and SCL line can work as USART RXD MOSI and SCK lines might be configured as USART interface MOSI line can work then as USART TXD and SCK line can work as USART RXD ...

Page 12: ...ted to MCU General purpose digital I O Pins 14 A0 A5 PA6 PA7 SS MOSI MISO SCK SDA SCL GPIO 2 connected to BG96 ADC 2 connected to BG96 USB 2 I2 C 1 SPI 1 UART 1 ADC pins 6 8 10 12 bit ADC channels DAC pin 1 10 bit DAC External interrupts 14 All general purpose PINs PWM pin 6 DC Current per I O Pin 10 mA JTAG Debug Cortex Debug Connector Single Wire Debug USIM Nano GNSS GPS GLONASS BeiDou Compass G...

Page 13: ...h the 5V or 3 3V 3 3V O 3 3V generated by the on board regulator Maximum current drawn is 300 mA The regulator also provides power to the MCU and BG96 5V O 5V generated from the board The board can be supplied with power either from the DC power jack 3 3V 5V the USB connector 5V or the VIN pin of the board 3 3 5V Supplying voltage via the 5V or 3 3V pins bypasses the regulator and can damage the b...

Page 14: ... to BG96 Force the BG96 to enter emergency download mode USB1 IO Connected to MCU USB2 IO Connected to BG96 Precaution The board runs at 3 3V The maximum voltage that the I O pins can tolerate is 3 3V Applying voltages higher than 3 3V to any I O pin could damage the board 2 9 BG96 chipset All functionality of the BG96 shipset shall be implemented excluding the following features That is the follo...

Page 15: ... com 5ghub 5G NB IoT tree master Tools 4 Download and save the file 5G NB IoT_Arduino zip here https github com 5ghub 5G NB IoT All the following software can be installed from the GitHub location here https github com 5ghub 5G NB IoT 3 2 Setting Up Arduino IDE 1 Connect a USB cable from the computer USB to the USB_SAMD21 port to power on the board 2 Connect a USB cable from the computer USB to th...

Page 16: ...16 Board Rev 2 2 Copyright 5GHUB US 5 Choose 5G NB IoT Native USB Port 6 In the Arduino IDE Choose Port and select the serial port where the board appears ...

Page 17: ...oard Rev 2 2 Copyright 5GHUB US 7 In the Arduino IDE Choose Sketch Include Library Add Zip Library and select the file 5G NB IoT_Arduino zip You are now ready to start running Arduino sketches and projects ...

Page 18: ...en the Arduino sample Test_All_PIN ino choose Sketch Upload 2 In the Device manager the Arduino and Quectel USB Modem and ports shall show up as in this screen shoot After compiling and uploading the Arduino sketch the LEDs will blink and the BG96 is enabled as in the following picture ...

Page 19: ... Indicates the MCU is powered on STATE ON Indicates the BG96 is powered on NET Flicker slowly 200ms High 1800ms Low Network Searching Flicker slowly 1800ms High 200ms Low Idle Flicker slowly 125ms High 125ms Low Data transfer is ongoing LD1 Blinking User controlled LED LD2 Blinking User controlled LED PWR STAT LEDs are ON LD1 LD2 LED are blinking ...

Page 20: ...erial Interface The board has a serial interface where output can be sent via the serial interface to the computer Use USB to Serial cable such as the Prolific USB to Serial cable Connect the USB to Serial cable to the PC and the device manager shall display a new COM port ...

Page 21: ...the serial interface on the J101 as in the following figure Connect the USB to Serial cable from the PC to the board as shown Launch any serial port software to connect to the board serial board Set the COM speed to 115200 GND PA7 TX GREEN PA6 RX WHITE ...

Page 22: ...22 Board Rev 2 2 Copyright 5GHUB US Click connect and the Arduino sketch output shall be displayed on the terminal software ...

Page 23: ...t a USIM or a test USIM into the USIM slot on the hardware board 2 Connect the LTE GPS Antenna to the MAIN and GNSS antenna ports respectively on the board 3 Connect the two USB cables to the board and to the PC Windows 10 PC 4 In the Device manager the Quectel USB Modem and ports are shown up ...

Page 24: ...24 Board Rev 2 2 Copyright 5GHUB US 5 Launch QNavigator Choose the correct Quectel USB AT port in Settings Serial Port Parameter Set ...

Page 25: ...25 Board Rev 2 2 Copyright 5GHUB US 6 Click Connect The board will connect to Mobile operator Screen shot below shows it connects to T Mobile network ...

Page 26: ... disable all network connections WiFi or Ethernet except the Quectel cellular Modem You can for example do a Ping to any IP address and this illustrates transmitting and receiving from the T Mobile cellular network This is illustrated as in this screen shot ...

Page 27: ...u can use the GNSS module to get location and position information 1 Connect the second Antenna to the GNSS antenna port on the board In the QNavaigator click GNSS and then Connect You will get location and positioning information Sample screen shots as below ...

Page 28: ...28 Board Rev 2 2 Copyright 5GHUB US ...

Page 29: ... used to enquire the network registration status f AT COPS This commands returns the current mode and currently selected operator e g T Mobile g AT QCFG BAND f 400a0e189f a0e189f In order for the USIM to get registered with the 5G NB network we set up the device to look for the above frequency band configuration h AT QCFG NWSCANMODE 1 This command is used to set the scan mode We set it to 1 to sca...

Page 30: ...usbnmea Use this command to configure various GNSS settings including NMEA sentences output to the BG96 USB port The BG96 is connected to two GPIOs GPIO26 and GPIO64 which produces a maximum of 1 8V You can set them using the following commands AT QCFG gpio 1 26 1 0 7 configure pin 26 as output no pull 17mA drive clean last configuration AT QCFG gpio 3 26 1 write pin 26 high value clean last confi...

Page 31: ...31 Board Rev 2 2 Copyright 5GHUB US 2 You can send SMS from the SMS pane of the QNavigator Screenshots below shows the SMS transmitted by the device and received on the phone ...

Page 32: ...gn_Rev A_20170814 pdf 3 Quectel_Antenna_Design_Note_V2 0 pdf 4 Quectel_RF_Layout_Application_Note_V2 2 pdf 5 Quectel_QFlash_User_Guide_V2 3 6 Arduino IDE https www arduino cc en Main Software 7 Arduino IDE https www arduino cc en Guide ArduinoZero 8 Microchip Low Power 32 bit Cortex M0 MCU with Advanced Analog and PWM ...

Page 33: ...33 Board Rev 2 2 Copyright 5GHUB US APPENDIX A SCHEMATIC ...

Reviews: