Skip to content

sangsiri/AIS_NB_BC95

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AIS NB-IoT Library

AIS NB-IoT Library is designed for DEVIO NB-SHIELD I to connect with your own IoT Platform/ Server. The library is using Software Serial for communication with Arduino board.

Function List:

General Function:

debug(<Boolean>)
	○ True : Print Log on Serial Monitor
	○ False: No Log on Serial Monitor
setupDevice(<serverPort>) 
getDeviceIP()
	○ Return: <String IP>
str2HexStr(< String data>)
	○ Return: <String dataHexString>
pingIP(serverIP)
	○ Return type: pingRESP
	○ Value: addr, ttl, rtt

Send Data:

sendUDPmsgStr(<serverIP>,< serverPort>,<udpData>)
	○ Maximum udpData : 512 Bytes
sendUDPmsg (<serverIP>,< serverPort>,<udpDataHEX>)
	○ Maximum udpDataHEX : 512 Bytes

Receive Data:

waitResponse()
	○ Return type: UDPReceive
	○ Value: ip_address, port, length, data, remaining_length

Device Compatibility:

DEVIO NB-SHIELD I

DEVIO NB-SHIELD I is an extension board for Arduino UNO R3 compatible pinout. DEVIO_NB-_SHIELD-_I_2.png

Specifications:

Communication Module: Quectel BC95
Network Technology: LTE Cat. NB1 (NB-IoT)
Frequency: Band 8 (900MHz)
Data transmission: (Single tone)
	○ Downlink 24 kbps
	○ Uplink 15.625 kbps
Protocol stack
	○ UDP
	○ CoAP
Serial Communication (UART)
	Hardware Serial 
	○ RX : PIN0
	○ TX : PIN1
	Software Serial
	○ RX : PIN8
	○ TX : PIN9
Dimensions: 
	o 54*74*29 mm (Width x Length x Height)(Excluded antenna)
Additional Feature:
	o NB-IoT Module Reset Button
	o Power Status LED
NB-IoT Module Certification
	○ NBTC, CE, CCC, SRRC, NAL, GCF

Getting Started

  1. Connect DEVIO NB-SHIELD I on Arduino Board
  2. Coding & Compile using Arduino Desktop IDE
    • Install the Arduino board drivers
    • Import AIS NB-IoT Library from Library Manager
    • Open AIS NB-IoT Example and specify your server IP & Port
    • Compile & Upload

About

AIS NB-IoT Arduino Library for DEVIO NB-SHIELD I

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 66.5%
  • C 33.5%