Out Of Stock
1
Description
The SIM7000 Arduino NB-IoT/LTE/GPRS expansion shield is a wireless communication module produced by DFRobot and the design is based on the SIMCom SIM7000 chip. This wireless communication module is designed for Arduino controllers, supporting multi-frequency LTE-FDD communication, dual-frequency GPRS/EDGE communication, and NB-IoT communication. No matter prototype developments or small-batch productions, SIM7000 Arduino NB-IoT/LTE/GPRS expansion shield is the best solution to applications of low power consumption, low latency, and meddle-throughput Besides onboard GNSS (Global Navigation Satellite System).
Specification
- Input Voltage: 7-12VDC (VIN range: 6-20V)
- Communication Module: SIM7000
- Single-Band TDD-LTE B39
- Quad-Band FDD-LTE B1/B3/B5/B8 (SIM7000C)
- Quad-Band FDD-LTE B3/B8/B20/B28 (SIM7000E)
- GPRS/EDGE 900/1800 MHz
- Output power
- GSM900: 2W
- DCS1800: 1W
- Control Via AT Commands
- Operation temperature: -40℃ to +85℃
- GNSS (GPS, GLONASS, BeiDou, Compass, Galileo, QZSS)
- Firmware update via USB 2.0
- Support SIM card and NB-IoT card (NOTE: Please ensure the SIM frequency range been used is included in the frequency range it supported).
- BME280 Environmental Sensor
- Temperature Measuring Range: -40℃~+85℃, resolution of 0.1℃, deviation of ±0.5℃
- Humidity Measuring Range: 0~100%RH, resolution of 0.1%RH, deviation of ±2%RH
- Pressure Measuring Range: 300~1100hPa
- Humidity Sampling Time: 1s
- Operating Temperature: -30℃~+85℃
- Dimension: 2.1 x 2.7inch /53.4 x 68.6mm
Libraries:
- Please click to download DFRobot General SIM Library
- Please click to download NB-IoT SIM7000 Shield Library. How to install Libraries in Arduino IDE.
SIM7000 Simple Test Code:
- Since Arduino UNO only has one hardware port, which will make a conflict with the other Serial device, DFRobot_SIM7000 Library will use SoftwareSerial as a communication port. Please turn the switch to the terminal "Tx>D8; Rx> D7".
- The program uses SIM7000 to achieve HTTP message interaction.
#include "Wire.h"
#include "DFRobot_SIM7000.h"
#define PIN_TX 7
#define PIN_RX 8
SoftwareSerial mySerial(PIN_RX,PIN_TX);
DFRobot_SIM7000 sim7000;
static char buff[350];
void setup(){
int signalStrength,dataNum;
Serial.begin(115200);
sim7000.begin(mySerial);
sim7000.turnOFF();
delay(5000);
Serial.println("Turn ON SIM7000......");
if(sim7000.turnON()){ //Turn ON SIM7000
Serial.println("Turn ON !");
}
Serial.println("Set baud rate......");
if(sim7000.setBaudRate(19200)){ //Set baud rate from 115200 to 19200
Serial.println("Set baud rate:19200");
}else{
Serial.println("Faile to set baud rate");
while(1);
}
Serial.println("Check SIM card......");
if(sim7000.checkSIMStatus()){ //Check SIM card
Serial.println("SIM card READY");
}else{
Serial.println("SIM card ERROR");
while(1);
}
delay(500);
Serial.println("Set net mod......");
if(sim7000.setNetMode(NB)){ //Set net mod NB-IOT
Serial.println("Set NB-IOT mode");
}else{
Serial.println("Fail to set mode");
}
Serial.println("Get signal quality......");
delay(500);
signalStrength=sim7000.checkSignalQuality(); //Check signal quality from (0-30)
Serial.print("signalStrength =");
Serial.println(signalStrength);
delay(500);
Serial.println("Attaching service......");
if(sim7000.attacthService()){ //Open the connection
Serial.println("Attach service");
}else{
Serial.println("Fail to Attach service");
while(1);
}
delay(200);
Serial.println("Connecting......");
if(sim7000.openNetwork(TCP,"www.taobao.com",80)){ //Start Up TCP or UDP Connection
Serial.println("Connect OK");
}else{
Serial.println("Fail to connect");
while(1);
}
sim7000.send("HEAD/HTTP/1.1\r\nHost:www.taobao.com\r\nConnection:keep-alive\r\n\r\n"); //Send Data Through TCP or UDP Connection
dataNum=sim7000.recv(buff,350,0); //Receive data
Serial.print("dataNum=");
Serial.println(dataNum);
Serial.println(buff);
delay(500);
if(sim7000.closeNetwork()){ //End the connection
Serial.println("Close connection");
}else{
Serial.println("Fail to close connection");
}
delay(2000);
sim7000.turnOFF(); //Turn OFF SIM7000
}
void loop() {
delay(1000);
}
for more info Click Here