Empowering the Next Generation of Tech Enthusiasts
Many of the predictions suggest that by 2020, approximately 25 Billion Connected “Things” Will Be in Use, thus raising the vital factor of inter communications or connectivity of devices using micro controllers.
The most popular devices that are used for pro typing/production are Arduino & Raspberry Pi. These devices gain focus mainly because,
- It is an open-source project, software/hardware is extremely accessibleand very flexible to be customized and extended.
- It is flexible, offers a variety of digital and analog inputs, SPI and serial interface and digital and PWM outputs.
- It is easy to use, connects to computer via USB and communicates using standard serial protocol, runs in standalone mode and as interface connected to PC/Macintosh computers.
- It is inexpensive and comes with free authoring software.
- It is backed up by a growing online community, lots of sample code is already available.
The connectivity of these things, the “internet” part of IoT is achieved via three methods such as Ethernet, GSM or Wifi. To use these methods, there are modules which can be separately bought and connected usually via a UART interface. (Raspberry Pi by default has an Ethernet Port)
Focusing on the GSM method since it is widely used, it has many types of modules manufactured by different companies which can be directly connected to Arduino & Raspberry PI. Among these manufactures, SIMCom Wireless Solutions is global leading Machine-to-Machine (M2M) wireless modules and solutions supplier who provides a micro-controller which is widely used for GSM modules.
SIMCom’s Sim808 dev.board is an interesting module due its capability to work as a GPS/GSM module. This module can acquire a location accurately up to 5 decimal places and sends via SMS or HTTP requests. It has the calling feature as well.
Additional to these SIM808 Requires
The library : https://github.com/itead/ITEADSW_GSM
Simply paste this into the libraries folder in C:\Program Files (x86)\Arduino\libraries or open up Arduino and go to Sketch->Include Library ->Add .ZIP Library.
Simply navigate to File->Examples->ITEADSW_GSM in Arduino IDE to view the sample coding for all the functions that are available.
A connected module would look like below.
This is a simple example of connecting devices to the internet, it can also interconnect devices using web services or SMS. This is an expensive method if a multiple number of devices are connected together since each an every module should have a GSM sheild, hopefully in the next blog a cheaper method of interconnecting devices will be featured, so stay tuned. 🙂