GSM (Global System for Mobile communication) is one of the standards for mobile telephony in the world. Although initially used only for voice communication, it has been adapted to include data capabilities by means of GPRS (General Packet Radio Service) and EDGE (Enhanced Data Rates for GSM Evolution). A GSM modem is a type of modem which accepts a SIM (Subscriber Identification Module) and operates like a mobile phone. GSM modems can be used in low power mode or can also be turned off when they are not in use.
The cost of transmitting data by GSM networks is has been falling rapidly. What's more, a GSM modem can easily be interfaced to microcontrollers using standard communication protocols. Mobile phones are increasingly handling data along with voice. Most GSM modems have a TCP/IP stack implemented on them and can be used to transmit data over secure channels. This also reduces the complexity of developing applications and enables the use of simple microcontrollers to interface to the GSM modem.
A GSM modem can connect to any IP (Internet Protocol) address and transmit data. Multiple modems can send data to a single IP address, and all the data can be collected and processed from a single location anywhere in the world. Users can dynamically configure each and every modem remotely based on data sent across from the network. In certain networks, a single node would have GSM capability. Other nodes would send their data to this particular node to be transmitted to the centralized server. This could reduce the cost of the overall system but would not be possible if nodes are not clustered together.
GSM modems also have the ability to provide instant alerts using SMS (short messaging service) or by transmitting data to a different, high-priority IP address based on certain conditions. These features can be used for fault tolerance and redundancy checks.
Let us consider an example of a GSM modem (SIM300) where communication happens over a serial port with the microcontroller. The modem has a standard set of commands called AT commands. These commands control the operation of the modem from the microcontroller. The microcontroller sends these commands over a UART (Universal Asynchronous Receive Transmit) interface at a specified baud rate.
The data sent through the serial port can be transmitted to a centralized server by configuring the modem using a specific set of commands. Thus, interfacing with the GSM modem simplifies data acquisition and processing in sensor networks.
Complete system implementation
A sensor node consists of an analog signal chain and also requires a host of digital peripheral interfaces. Also each sensor node may be interfaced to different kinds of sensors, requiring flexibility in its interfaces and I/Os. Programmability of individual nodes plays a critical role in a successful implementation of a sensor network.
Figure 3: Simplified implementation of a sensor node using PSoC.
Figure 4: An implementation of a sensor node using PSoC.
Mixed-signal programmable microcontrollers like PSoC from Cypress provide analog and digital subsystems which can be configured to provide the functionality required by individual nodes. This eliminates the need for specialized hardware for each different kind of sensor. Such System-on-Chip-based (SoC) MCU also have the capability to handle all tasks required for the sensor node in a single chip, including ADC, DAC, PGA's, comparators, op-amps, digital filtering capabilities, DMA, and LCD controllers, among others.
Design of the system using SoCs allows frequent and fast changes in design to assist customization of sensors nodes. PSoC with its low-power capabilities at sleep mode is very suitable for these applications.
About the authors:
Ajay Bharadwaj is a Senior Applications Engineer at Cypress Semiconductor — http://www.cypress.com. Balaji Mamidala is an Applications Engineer.
For more articles like this and others related to designing for the embedded Internet, visit Embedded Internet Designline and/or subscribe to the biweekly Embedded Internet newsletter (free registration).
This article originally appeared on EE Times Europe.