- Raspberry Pi 2 or, better, “Four”!Posted 2 weeks ago
- Touch Display for Raspberry PiPosted 4 weeks ago
- ArduDisplay, when the display becomes interactive!Posted 1 month ago
- LONG-RANGE TECHNOLOGIES FOR IoTPosted 2 months ago
- 3D Scanning with Microsoft KinectPosted 2 months ago
- Get Crazy with the Smartphone controlled Skateboarding!Posted 2 months ago
- RandA: WebServer applicationPosted 2 months ago
- BananaPi, the latest software updatesPosted 3 months ago
- Embedded MP3 Player & Recorder: The firmwarePosted 3 months ago
- Embedded MP3 Player & Recorder: How it worksPosted 3 months ago
GSM Remote Control – GSM Module
This GSM Mobile is used for our Remote Control (for example Gate Control, Temperature Control….). We use the word ‘module’ because, unlike what we did in our remote control projects, this time around the mobile phone is not mounted on a printed board, but rather on a small auxiliary board which is then inserted in a connector specifically created on the main printed board; though this alternative may seem rather complex at first blush, it does have two advantages: the first is that if the GSM module should stop working, and you should not be able to find the same model, you can simply replace it with a different module without having to replace the entire circuit board. All you need to do is create a small board compatible with your unit, with the pin strips arranged as required by the circuit board. The second advantage is that the module’s printed board is double-faced and can thus host a GSM module on one face and a different one on the other. This provides the option of choosing between two different mobile phones according to one’s needs.
The GSM module
Let us begin by describing the module hosting the mobile phone: it is a printed circuit board measuring about 1.75×1.95 inches, with two pin strips (a 3-pin one and a 16-pin one) used to connect with the circuit board of the remote control device; the first pin strip carries digital power (both positive and negative), in addition to the ignition control line (PWR), while the second strip contains all the communication signals and lines to and from the GSM module, as well as the analogical section of the phones (AGND, contact 11). This pinout remains unchanged regardless of which of the two modules (SIM900 from SIMCom or M10 from Quectel) is in use.
Let’s now take a look at the electrical scheme, which displays the connections for both modules; recall that either GSM1 or GSM2 will be used. The two components have more or less the same command lines, so the relative pins can be connected together with the pin-strip contacts. The main differences between the two modules are found in their reset properties. SIM900 is equipped with a specific reset line, while in the case of M10 it is necessary to turn the power off and short-circuit the VDD_EXT line. In reality, in order to simplify things, the microcontroller’s firmware handles both GSM modules in the same way: in order to reset them, it turns off the main power supply and short-circuits the abovementioned line for just a second.
How is power handled? The PWR line is needed by the microcontroller to turn the GSM module on and off. The modules that are used are constantly under tension, provided by the Vcc line to pins 55, 56, 57 for SIM900 and to pins 50, 51, 52 in the case of M10; these modules are turned on or off according to the logical level applied to their PWR line (pin 1 of GSM1 or pin 18 of GSM2) . The PWR line is equipped with an internal pull-up resistance and is active at logical zero; therefore, in order to switch the cellular module on, the microcontroller sets PWR at a high logical level (contact 1 of the pin-strip) and causes transistor T2 to saturate; this transistor will then sets the PWR line for both GSM1 and GSM2 at a low level.
Reset monitoring is handled similarly, except that in the case of SIM900 there must be a reset input (NRESET, active at logical zero and equipped with a pull-up internal resistor), whereas in order to reset the M10 module one must resort to a little artifice. In the first case, the module can be reset by simply causing the microcontroller to send a logical 1 via the VDD_EXT line, at which time the T3 transistor saturates and sets the NRESET line of GSM1 at a low level; when this happens, the module’s VDD_EXT is taken to logical 1. As for M10, since it has no reset input, it can only be rest by dragging pin 7 (VDD_EXT) to logical zero, after having done the same with the PWR contact of the pin-strip (1) so that transistor 2 can be inhibited; at this point, contact 6 (VDD_EXT) can be taken back to a high level and contact 1 of the connector can be taken to logical 1 so that T2 can saturate and PWR of GSM2 can be set at logical zero.
For the time being, in order to standardize the functioning of the microcontroller governing this device and make sure that it works independently of the mobile phone mounted on the module, the reset is performed by simply setting the PWR contact (1) at logical zero and turning off GSM; after that, VDD_EXT (contact 6) is set at logical zero so that the condensers inside the cellular module can be forcibly discharged, thus avoiding that (had they been left charged) they might cause initialization problems and malfunctioning when the device is restarted (that is, when PWR goes back to logical 1). Nothing prevents those who are good at programming from modifying the firmware in order to customize the cellular module they are using.
Let’s now proceed with UART’s control lines (i.e., TXD, RXD, DTR, RTS, CTS, DCD), which are connected to the external area through the pin-strip’s contacts, respectively, 15, 16, 14, 14 e 18; the same applies to VRTC (contact 7) e ADC0 (10).
The audio device, with two contacts for the microphone (with differential input) and two more for the loudspeaker, uses contacts 4, 5, 8, 9, which correspond, respectively, to MIC1P and MIC1 N (positive e negative of the microphone) and SPK1N and SPK1P (respectively, negative e positive of the loudspeaker). The RI signal (indicating incoming calls) goes out through contact 12 of the pin-strip.
In this case, the GSM modules’ antenna is directly connected on the printed board of the cell phone: this allows us to avoid all those problems that might arise if the antenna’s connections were moved from the printed board of the cell phone to the main remote control motherboard. The antenna’s grip is positioned at pin 60 for both modules, but on the printed board it is on different faces, depending on which module is being used; when the contacts are connected, a module’s grip is connected to the other module’s tracks, thus altering the overall impedance and modifying the functioning of the radio section.
Let’s now talk about transistor T1, used here to locally control the cell phone’s reception LED: its base is polarized from the current logical level on pin 52 (NETLIGHT) for GSM1 or 6 (NET) for GSM2. The transistor’s collector is where the line to contact 19 of the pin-strip starts; this line is connected with the LED line, which the microcontroller uses to get information regarding the presence of GSM network as well as regarding the connection status of the module (e.g., whether the network is available or not).
Layout GSM Module
C1: 220 nF multilayer(0805)
C2, C5: 100 nF multilayer (0805)
C3, C4: 470 µF 6,3 VL tantalium (CASE-D)
LD1: led green (0805)
R1, R2, R3: 22 ohm (0805)
R4, R6, R8: 10 kohm (0805)
R5, R9: 4,7 kohm (0805)
R7: 330 ohm (0805)
R10, R12, R13: unused
R11: 15 ohm (0805)
T1, T2: BC817
GSM1: GSM SIM900
GSM2: GSM M10 (alternative for GSM1)
SIM: Slot SIM-CARD
– SMA Connector 90°
– Strip male 3 pin
– Strip male 16 pin
Download PCB details (Layout and Gerber): PCB
Top 5 Wireless Ways to Communicate with your Controller
One of the strongest trend we have seen this year...
- Posted 4 months ago
PCB Recycling: The Core of Your Electronics Is More Valuable Than You Think
The screen you are looking at this very moment will...
- Posted 5 months ago
Most Exciting Products and Open Source Highlights at CES 2015
The 2015 edition of the Consumer Electronics Show in Las...
- Posted 5 months ago
Top Ten most exciting news in Open Hardware in 2014
Here we are, the 2015 is fresh starting and as...
- Posted 6 months ago
Merry Christmas and a Open New Year
Here we are, a great year full of innovations and...
- Posted 7 months ago
A Report from the Second European Maker Faire in Rome
The second Italian edition of the European Maker Faire, held...
- Posted 9 months ago
Open Hardware Summit 2014 Rome: From Making Open to Open Manufacturing
It’s already several years that we talk about open source...
- Posted 1 year ago
Raspberry Pi and the Camera Pi module: face recognition tutorial
An area of application of Computer Vision, one that has...
- Posted 8 months ago
Computer Vision with Raspberry Pi and the Camera Pi module
Let’s see how to use the Camera Pi module, a...
- Posted 9 months ago
Welcome OpenWheels the Open Source personal vehicle inspired by the Segway
(This is the second post of the OpenWheels series....
- Posted 1 year ago
Press a button and Send a Tweet thanks to Arduino YÚN
After the Yun presentation post, we are going to present...
- Posted 2 years ago
Here are the Winners from the 3Drag 3d printing contest
Here we are, eventually the contest has come to an...
- Posted 8 months ago
Updates from the 3Drag 3dprinting contest: Roland Hoffert’s Hacks
Roland Hoffert, from www.eytec.de, submitted us this 3Drag (Velleman K8200...
Updates from the 3Drag 3dprinting contest: Karl Seiss’s Hack
Karl Seiss from Austria made a very clever hack to...
Updates from the 3Drag 3dprinting contest: Fa)(a from Giacomo Falaschi
Giacomo Falaschi sent us his Falla3D new printer project: you...
Arduino ISP (In System Programming) and stand-alone circuits
We use an Arduino to program other ATmega without...
- Posted 3 years ago
OSM ,The Arduino based Open Source LED Gloving Microlight funded on Kickstarter!
Catching wearable led lights, based on a custom Arduino...
- Posted 17 hours ago
Carve Metal With Electricity in Your 3D Printer | Make:
Take any 3D printer, throw on this modular head,...
- Posted 2 days ago
e-nable Awarded $600k from Google for 3D printed Prosthetics
When Innovation meets charity to help children, something magic...
- Posted 3 days ago
Gesto: Amazing open-source gesture control platform, EMG and Accels together!
Gesto is the world’s first open-source boards for wearable...
- Posted 4 days ago
Code Climate open-sources its code-testing tools, a $2,000,000 gift!
Code Climate team just released an open source tool,...
- Posted 5 days ago