BPI NB-IOT Arduino

From Banana Pi Wiki
Revision as of 17:31, 8 May 2018 by Sinovoip (talk | contribs) (Software)
Jump to: navigation, search

Introduction

Overview
Overview

BPI-GSM is a development board based on ATmega2560 MCU,using 16 MHz crystal oscillator. It features 54 digital I/O (14 of which can be used as PWM),16 analog input, 4 UART (hardware serial ports). Connected with SIM808 GSM module through serial port, it can make phone call,text,GPS positioning.Equipped with high precision DHT22 temperature and humidity sensor,data can be displayed on BPI LED.The board is powered by 2500MA lithium battery and can be charged with USB. A simple application of BPI-GSM is mobile environment monitors.

The peripheral modules of Arduino are growing fast due to the open source as well as the developing environment which uses C language borrowed java cross platform concept. And the main reason that attracts Artist to use Arduino is the easy and fast communication with other software such as Flash and Processing using Arduino language to create interactive multimedia works. The IDE of Arduino is open source, which enables you free download to create your own works such as special topic,school teaching,motor control...

BPI-GSM has two power options, USB or external, and it can switch automatically.For external power option,you can choose AC-to-DC adapter(5V,2A) or battery, and the voltage range should be 4.5V - 5.5V, it might be unstable if voltage drops under 4.5V due to the 5V level can not be guaranteed on I/O pins. If the voltage exceeds 5.5V, power regulator may trigger thermal protection, more harm would be to BPI-GSM if over-voltage continues. So the recommended operational power is 4.5V-5.5V, 2A rating.

Key Features

  • photocell: measuring the current light luminance;
  • high precision temperature&humidity sensor: measure current temperature and relative humidity
  • GSM module: can be used to make phone call, text,2G connectivity,GPS positioning.
  • Developed on Arduino, with the main chip:2560,communicate with Arduino using AT command
  • support powered by battery.

Hardware

HardwareSpecification of BPi GSM moudle
Microcontroller ATmega2560
Operating Voltage 5V
Digital I/O Pins 54 (of which 15 provide PWM output)
Analog Input Pins 16
DC Current per I/O Pin 40 mA
DC Current for 3.3V Pin 50 mA
Flash Memory 256 KB of which 8 KB used by bootloader
SRAM 8 KB
EEPROM 4 KB
Clock Speed 16MHz

BPI-GSM sketch map

BPI-GSM sketch map.JPG

Software

How to use BPI-GSM module

test code download:https://drive.google.com/file/d/0B4PAo2nW2KfnOWxXeTdkWlY0c2c/view?usp=sharing

Please use arduino 1.6.6 Ver IDE,if you know arduino,it is easy to use.

Use 1.JPG

Use 2.JPG

Use 3.JPG

Use 4.JPG

Use 5.JPG

SIM808 module

Resources

BPI-GSM module schematic diagram : https://drive.google.com/file/d/0B4PAo2nW2Kfnekg2S0JLaHVxbkU/view?usp=sharing

Video demo on youtube: https://www.youtube.com/watch?v=ezc8UDYJUBM&feature=youtu.be