{"id":5215,"date":"2015-07-15T08:16:36","date_gmt":"2015-07-15T06:16:36","guid":{"rendered":"http:\/\/www.gsm-modem.de\/M2M\/?page_id=5215"},"modified":"2019-08-26T21:37:13","modified_gmt":"2019-08-26T19:37:13","slug":"m2m_iot_cookbook","status":"publish","type":"page","link":"http:\/\/www.gsm-modem.de\/M2M\/m2m_iot_cookbook\/","title":{"rendered":"IoT M2M Cookbook"},"content":{"rendered":"<p><a href=\"http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2014\/04\/IoT-M2M-Cookbook-Cover-frame.png\"><img decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-6256 alignleft\" src=\"http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2014\/04\/IoT-M2M-Cookbook-Cover-frame-283x400.png\" alt=\" IoT M2M Cookbook\" width=\"283\" height=\"400\" srcset=\"http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2014\/04\/IoT-M2M-Cookbook-Cover-frame-283x400.png 283w, http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2014\/04\/IoT-M2M-Cookbook-Cover-frame.png 595w\" sizes=\"(max-width: 283px) 100vw, 283px\" \/><\/a><\/p>\n<h3>How to develop a device based on Wireless Wide Area Network modules<\/h3>\n<p><a href=\"http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2019\/08\/IoT-M2M-Cookbook-excerpt.pdf\">Excerpt of the IoT-M2M-Cookbook here<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Table of contents<br \/>\n<\/strong><\/p>\n<p>1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Why Did I Write the IoT\/M2M Cookbook?\u00a0\u00a0\u00a0\u00a0\u00a0 4<br \/>\n2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Fundamental considerations before starting an IoT\/M2M project\u00a0\u00a0\u00a0\u00a0 6<br \/>\n3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Certifications and approvals\u00a0\u00a0 6<br \/>\n3.1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Examples for Radio approvals in EU and US\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 6<br \/>\n3.2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Examples for Radio approvals in US and Canada (PTCRB) 8<br \/>\n3.3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Examples for automotive related approvals in Europe\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 8<br \/>\n3.4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 SAR &#8211; Specific Absorption Rate\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 9<br \/>\n4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Cellular data communication (GPRS, USSD, SMS, CSD, DTMF)\u00a0\u00a0\u00a0 10<br \/>\n4.1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Voice communication\u00a0 10<br \/>\n4.2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Modem\/acoustic coupler\/encryption\u00a0\u00a0 11<br \/>\n4.3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 DTMF (Dual Tone Multi Frequency)\u00a0\u00a0 11<br \/>\n4.4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 GPRS (General Packed Radio Service)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 11<br \/>\n4.5\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 SMS\u00a0\u00a0\u00a0 12<br \/>\n4.6\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 USSD (Unstructured Supplementary Service Data)\u00a0 13<br \/>\n4.7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Comparison of power consumption (SMS, USSD and GPRS)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 13<br \/>\n4.8\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 CSD (Circuit Switched Data)\u00a0 14<br \/>\n5\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Supply voltage\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 15<br \/>\n5.1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Power on timing and waiting\u00a0 16<br \/>\n5.2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Cellular module in power save mode 16<br \/>\n5.3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Internal resistance of batteries and linear voltage transformers\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 16<br \/>\n5.4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Switched mode voltage regulator\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 18<br \/>\n5.5\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Simulation of a switched power supplies with LT Spice\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 19<br \/>\n5.6\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Capacitors at power supply and cellular module\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 21<br \/>\n5.7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Supply voltage for GNSS antenna\u00a0\u00a0\u00a0\u00a0 21<br \/>\n6\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Antennas for IoT\/M2M devices\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 21<br \/>\n6.1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Monopole and dipole antennas\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 21<br \/>\n6.2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Are you sure nothing will interfere with your embedded antenna?\u00a0\u00a0\u00a0 22<br \/>\n6.3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Why do embedded chip or patch antennas have different resonant frequencies?\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 23<br \/>\n6.4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 How will the ground plane affect your embedded antenna?\u00a0 23<br \/>\n6.5\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 How to connect your embedded antenna with your wireless module\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 26<br \/>\n6.6\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 How to design an antenna matching circuit\u00a0\u00a0 27<br \/>\n6.7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Free of charge software to generate a matching circuit automatically\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 28<br \/>\n6.8\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 How to switch between an internal and external cellular or GNSS antenna inexpensively\u00a0 29<br \/>\n7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 GPS antenna selection for a tracker\u00a0 30<br \/>\n7.1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Which GPS antenna types we can select from?\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 30<br \/>\n7.2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 A closer look on Bluetooth\/GNSS antennas\u00a0 31<br \/>\n8\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 GPS antenna selection for a people or pet tracker\u00a0\u00a0\u00a0 33<br \/>\n8.1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 GPS chip loop antenna type A matched to GPS only &#8211; test 1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 35<br \/>\n8.2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 GPS chip loop antenna type A matched to GPS\/Glonass &#8211; test 3\u00a0\u00a0\u00a0 37<br \/>\n8.3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Effect of the a human or pet body on GNSS antenna type B\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 37<br \/>\n8.4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Nine different PCB with chip antennas \u2013 just one is under test\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 39<br \/>\n8.5\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Return Loss test of the human\/pet tracker with and without meat\u00a0\u00a0\u00a0 40<br \/>\n8.6\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 GPS chip antenna type B\u00a0 unmatched\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 42<br \/>\n8.7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Effect the enclosure on GPS chip antenna type B\u00a0\u00a0\u00a0 43<br \/>\n8.8\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 GPS chip antenna type B frequency drift caused by temperature change\u00a0\u00a0 44<br \/>\n8.9\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Effect of the cut-out zone without copper under the GPS chip antenna type B\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 45<br \/>\n8.10\u00a0\u00a0\u00a0\u00a0 Testing chip antenna performance on the human hand with a special magnetic probe\u00a0\u00a0 46<br \/>\n8.11\u00a0\u00a0\u00a0\u00a0 Why it is impossible to compare the GSM antenna design with a GPS antenna design?\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 49<br \/>\n9\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Examples for IoT devices with embedded antennas 50<br \/>\n9.1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Example: Embedded PCB antenna inside a vending machine\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 51<br \/>\n9.2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Example: Embedded antennas in Telematic device GPSauge IN1 v.2 of GPSoverIP\u00a0\u00a0\u00a0\u00a0\u00a0 52<br \/>\n10\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Simulation of an embedded GSM PCB track antenna\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 52<br \/>\n10.1\u00a0\u00a0\u00a0\u00a0 Definition of the antenna simulation project\u00a0\u00a0 52<br \/>\n10.2\u00a0\u00a0\u00a0\u00a0 Description of the inverted F antenna\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 53<br \/>\n10.3\u00a0\u00a0\u00a0\u00a0 3D model of the simulation\u00a0\u00a0\u00a0\u00a0 54<br \/>\n10.4\u00a0\u00a0\u00a0\u00a0 Optimization &#8211; determination of antenna shape\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 54<br \/>\n10.5\u00a0\u00a0\u00a0\u00a0 Typical requirements of a quad-band GSM antenna 55<br \/>\n10.6\u00a0\u00a0\u00a0\u00a0 Optimization of the quad-band antenna GSM antenna shape\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 56<br \/>\n10.7\u00a0\u00a0\u00a0\u00a0 Directional characteristics of the antenna for two GSM frequencies 57<br \/>\n10.8\u00a0\u00a0\u00a0\u00a0 Influence of the housing on antenna characteristics\u00a0 59<br \/>\n10.9\u00a0\u00a0\u00a0\u00a0 Influence of the ground plane on antenna characteristics\u00a0\u00a0\u00a0\u00a0 59<br \/>\n10.10\u00a0\u00a0 Optimisation of the simulated antenna with matching circuit 61<br \/>\n10.11\u00a0\u00a0 Designing in the simulated antenna to a special GSM\/GPS tracker 62<br \/>\n10.12\u00a0\u00a0 Test setup for F-antenna in housing with AC plug\u00a0\u00a0\u00a0\u00a0 64<br \/>\n10.13\u00a0\u00a0 Variants of the Dual-IFA in simulation\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 64<br \/>\n10.14\u00a0\u00a0 Two NB-IoT-GSM antenna test setups\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 65<br \/>\n10.15\u00a0\u00a0 The journey to develop the Gillette order button\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 65<br \/>\n10.16\u00a0\u00a0 Dos and don\u2019ts during embedded antenna design\u00a0\u00a0\u00a0 73<br \/>\n11\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Components around the cellular module\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 74<br \/>\n11.1\u00a0\u00a0\u00a0\u00a0 SIM card\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 74<br \/>\n11.2\u00a0\u00a0\u00a0\u00a0 SIM card subscription 75<br \/>\n11.3\u00a0\u00a0\u00a0\u00a0 Low ESR capacitor\u00a0\u00a0\u00a0\u00a0 76<br \/>\n11.4\u00a0\u00a0\u00a0\u00a0 ESD protection\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 76<br \/>\n11.5\u00a0\u00a0\u00a0\u00a0 Loudspeaker and microphone\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 76<br \/>\n11.6\u00a0\u00a0\u00a0\u00a0 Firmware update for the final PCB\u00a0\u00a0\u00a0\u00a0 77<br \/>\n12\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Examples of mistakes and errors during M2M development 77<br \/>\n12.1\u00a0\u00a0\u00a0\u00a0 Power down reset\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 77<br \/>\n12.2\u00a0\u00a0\u00a0\u00a0 SMS errors\u00a0\u00a0\u00a0\u00a0\u00a0 77<br \/>\n12.3\u00a0\u00a0\u00a0\u00a0 CSD errors\u00a0\u00a0\u00a0\u00a0\u00a0 78<br \/>\n12.4\u00a0\u00a0\u00a0\u00a0 IP connection errors\u00a0\u00a0 79<br \/>\n12.5\u00a0\u00a0\u00a0\u00a0 Analysis of several design mistakes in one M2M design\u00a0\u00a0\u00a0\u00a0\u00a0 79<br \/>\n12.6\u00a0\u00a0\u00a0\u00a0 Analysis of mistakes of a PCB track antenna for GSM\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 80<br \/>\n12.7\u00a0\u00a0\u00a0\u00a0 Analysis of a GSM chip antenna on a small ground plane\u00a0\u00a0\u00a0 81<br \/>\n12.8\u00a0\u00a0\u00a0\u00a0 Analysis of a Swiss GSM watch\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 82<br \/>\n12.9\u00a0\u00a0\u00a0\u00a0 Analysis of embedded LTE antenna in detail 82<br \/>\n13\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Radiation noise, maximum spurious antenna radiation\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 83<br \/>\n13.1\u00a0\u00a0\u00a0\u00a0 Antenna radiation versus radiation noise\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 83<br \/>\n13.2\u00a0\u00a0\u00a0\u00a0 Conductive noise\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 85<br \/>\n13.3\u00a0\u00a0\u00a0\u00a0 Conductive noise transformed to radiated noise\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 85<br \/>\n13.4\u00a0\u00a0\u00a0\u00a0 Radiated noise transformed to conductive noise\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 85<br \/>\n13.5\u00a0\u00a0\u00a0\u00a0 Prevention against radiated noise\u00a0\u00a0\u00a0\u00a0\u00a0 86<br \/>\n14\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 How to use a vector network analyser for IoT\/M2M development\u00a0\u00a0\u00a0\u00a0 88<br \/>\n14.1\u00a0\u00a0\u00a0\u00a0 Quick Start Guide Vector Analyser MiniVNA Tiny\u00a0\u00a0\u00a0\u00a0 90<br \/>\n14.2\u00a0\u00a0\u00a0\u00a0 Explanation S11, VSWR, return loss, reflection coefficient and antenna bandwidth\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 92<br \/>\n14.3\u00a0\u00a0\u00a0\u00a0 Revealing the truth &#8211; four cellular antennas tested with MiniVNA\u00a0\u00a0\u00a0\u00a0\u00a0 94<br \/>\n14.4\u00a0\u00a0\u00a0\u00a0 A comparison of three Vector Network Analysers\u00a0\u00a0\u00a0\u00a0 101<br \/>\n14.4.1\u00a0 General overview\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 102<br \/>\n14.4.2\u00a0 Graphical presentation of results\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 104<br \/>\n14.4.3\u00a0 Save\/recall\u00a0\u00a0\u00a0\u00a0\u00a0 104<br \/>\n14.4.4\u00a0 Exporting\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 105<br \/>\n14.4.5\u00a0 Some actual measurements\u00a0\u00a0 106<br \/>\n14.4.6\u00a0 Measuring LCR circuit 1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 106<br \/>\n14.4.7\u00a0 Measuring LCR circuit 2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 107<br \/>\n14.4.8\u00a0 Helical antennas tested with two different Vector Network analysers\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 108<br \/>\n15\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Testing your M2M device\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 108<br \/>\n15.1\u00a0\u00a0\u00a0\u00a0 TX power peaks by cellular module test mode\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 108<br \/>\n15.2\u00a0\u00a0\u00a0\u00a0 Pseudo load of 2 Ampere peak load with self-made function generator\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 108<br \/>\n15.2.1\u00a0 Schematic diagram of a self-made function generator\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 109<br \/>\n15.3\u00a0\u00a0\u00a0\u00a0 TX power peaks with a GSM tester\u00a0\u00a0\u00a0 109<br \/>\n15.4\u00a0\u00a0\u00a0\u00a0 Testing of the sensitivity\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 110<br \/>\n15.5\u00a0\u00a0\u00a0\u00a0 Testing radiated TX power\u00a0\u00a0\u00a0\u00a0 110<br \/>\n15.6\u00a0\u00a0\u00a0\u00a0 Where can you buy a cheap cellular tester?\u00a0 110<br \/>\n15.7\u00a0\u00a0\u00a0\u00a0 Example of a measurement report from GSM test equipment\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 111<br \/>\n15.8\u00a0\u00a0\u00a0\u00a0 Ripple and peak voltage &#8211; visible on GSM test equipment\u00a0\u00a0\u00a0 115<br \/>\n15.9\u00a0\u00a0\u00a0\u00a0 How to test a UMTS module on foreign band\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 116<br \/>\n15.10\u00a0\u00a0 Testing with UMTS testers\u00a0\u00a0\u00a0\u00a0 116<br \/>\n15.10.1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Tests without a UMTS tester\u00a0 117<br \/>\n15.11\u00a0\u00a0 How to test an LTE module on foreign bands\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 117<br \/>\n15.12\u00a0\u00a0 Potential difficulties with LTE modules worldwide\u00a0\u00a0\u00a0\u00a0\u00a0 118<br \/>\n15.13\u00a0\u00a0 Testing the GNSS module\u00a0\u00a0\u00a0\u00a0\u00a0 119<br \/>\n15.14\u00a0\u00a0 Measurement of the cellular antenna in 3D\u00a0\u00a0 119<br \/>\n15.15\u00a0\u00a0 Summary of testing\u00a0\u00a0\u00a0\u00a0 120<br \/>\n16\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 AT Commands\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 120<br \/>\n16.1\u00a0\u00a0\u00a0\u00a0 AT commands during power on of your cellular module eval. kit\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 120<br \/>\n16.2\u00a0\u00a0\u00a0\u00a0 \u201dHello World\u201d for GSM &#8211; AT commands to send a SMS\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 122<br \/>\n16.3\u00a0\u00a0\u00a0\u00a0 AT commands and logic loops to set up a communication channel\u00a0 122<br \/>\n17\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Project descriptions of IoT\/M2M devices\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 123<br \/>\n17.1\u00a0\u00a0\u00a0\u00a0 Project description of a long-term tracking device\u00a0\u00a0\u00a0\u00a0 123<br \/>\n17.2\u00a0\u00a0\u00a0\u00a0 Project description of a flexible tracking device for bank notes\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 124<br \/>\n18\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 The difference between NB-IoT, LTE-M and GSM\u00a0\u00a0\u00a0 125<br \/>\n19\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 The difference of NB-IoT and LTE-M to LTE Class 1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 129<br \/>\n20\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 What does an NB-IoT network look like?\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 130<br \/>\n20.1\u00a0\u00a0\u00a0\u00a0 Cellular base stations in L\u00fcbeck\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 130<br \/>\n21\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Power-supply for NB-IoT and LTE-M modules\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 135<br \/>\n22\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 From the idea to a final device by NB-IoT\/LTE-M reference design 136<br \/>\n22.1\u00a0\u00a0\u00a0\u00a0 Example: NB-IoT\/LTE-M Tracker for construction machines\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 140<br \/>\n22.2\u00a0\u00a0\u00a0\u00a0 Example: Wireless IoT Service Button on NB-IoT and LTE-M\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 142<br \/>\n23\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Thank you\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 144<\/p>\n<h2><b>1 Why Did I Write the IoT \/ M2M Cookbook? <\/b><\/h2>\n<p>I have worked in the Wireless M2M industry for more than a quarter of a century. Twenty-five years ago, we did not even have a word for \u201cM2M\u201d or \u201cIoT\u201d. We developed Machine-to-Machine devices without knowing that decades later these creations would be called \u201cM2M devices\u201d. Twenty-five years ago, the GSM network for wireless data communication did not exist. I took my first steps in wireless data communication with Frequency Shift Keying (FSK) on Private Mobile Radios (PMR). On PMRs, we achieved communication speeds of 3600 bits per second. A little later, we started using public analogue trunked radios. These trunked radio systems provided local terrestrial wireless networks on FSK. Years ago, the last public analogue trunked radio network in Germany was taken out of service. GSM jumped in with its Short Message Service (SMS) and Circuit Switched Data (CSD). CSD provided us 9600 bits per second. We could use SMS and CSD for straightforward countrywide data communication. Later on, GSM roaming offered us worldwide data communication.<\/p>\n<p>Today, GSM\/GPRS is being gradually phased out and is being replaced by 3G and 4G technology. GSM networks have been switched off in the USA, Australia, Singapore and many other countries. In Germany, the GSM networks remain in place but 3G (UMTS, HSPA) will be phased out in 2020. Similar things are happening in many other countries. 3G is disappearing but 2G remains. In Switzerland, however, GSM is to be switched off completely. Devices for pan-European use must therefore support 2G, 3G and 4G whereas in the USA, NB-IoT or LTE-M is sufficient. There are several parallel NB-IoT and LTE-M networks. NB-IoT and LTE-M are the new stars in the IoT and M2M firmament and combine classic cellular radio networks with LPWAN. The base station antennas for LTE are also used for NB-IoT and LTE-M. Both techniques have new variable timers, which allow the management of wireless activity and extends the potential operational life of devices up to 10 years from one battery.<\/p>\n<p>Some people try to differentiate between M2M and IoT. Call it IoT or M2M &#8211; it does not matter. Applications for IoT or M2M often use the same wireless technology. IoT is the umbrella term for a number of subsets of wireless data communications. M2M is one of these subsets and maybe one of the oldest. Another subset of IoT is called Industry 4.0 or Industrial Internet of Things (IIoT). Just wait a while and a new buzz world will always come up.<\/p>\n<p>This IoT\/M2M Cookbook describes how to develop a tracking device based on cellular and Global Navigation Satellite System (GNSS) modules. You can create a telemetric device by ignoring the GNSS aspect. Typical devices without GNSS include cellular routers with Ethernet ports or a cellular to Wi-Fi bridge. Nevertheless, the navigation system for trucks described in this book already uses six different wireless technologies (2G, 3G, GNSS, Classic Bluetooth, Bluetooth Low Energy and NFC) with five different antennas within one enclosure.<\/p>\n<p>Cellular networks for GSM, HSPA,LTE, LTE-M and NB-IoT are the popular Wireless Wide Area Networks (WWAN). However, in some regions we have WWAN over CDMA and WiMAX.<\/p>\n<p>Sometimes it is not easy to come up with the appropriate English word for the terms in this book. The common word for SMS in UK is &#8220;text message&#8221;. In this book, we will consistently use the term \u201cSMS\u201d. A prepaid SIM card in UK is called a &#8220;Pay as you go SIM card&#8221;. I will typically use the common words specified by ETSI &#8211; I will call it a prepaid SIM card. If I use the term \u201cGSM module\u201d, this will cover 3G and 4G modules as well, because the fallback of UMTS, HSPA, LTE, LTE-M and NB-IoT is still 2G (GSM\/GPRS). GPS is fundamentally an incorrect term. The Global Positioning System (GPS) is just one out of several GNSS that provide the functionality we refer to as \u201cGPS\u201d. We can currently access the Russian GNSS called Glonass. The Chinese GNSS is called Beidou. At some point, we will be able to access the European GNSS called Galileo, and with the coming of Brexit, there may be a UK-only system in the future.<\/p>\n<p>The IoT\/M2M Cookbook is intended to help developers of wireless applications save some time and perhaps provide some inspiring ideas. It is a book for makers, and summarises the collective experience gained across my different jobs. By leading the team of developers that is required to design a mobile GSM\/GPS GPS tracking device, I learned to think like a developer of an IoT\/M2M device. In over fifteen years of working with manufacturing and distribution, I have repeatedly provided the same hints and recommendations to developers of wireless applications. The origin of this book was a 14-page application note written in July 2010. In May 2012, I made the decision to document the story that I deliver weekly to customers within a book. The goal of this book is to guide developers from the concept stage of an IoT\/M2M device all the way to the final mass-produced product. This book will not provide introductory details such as how an inverted F antenna works. To explain those concepts, I will provide links to relevant supporting information. In any case, this book will provide you with information that is often omitted in the official radio module and antenna manufacturers\u2019 documentation. This book shows an inverted F PCB antenna for GSM, NB-IoT and LTE-M in detail. It explains how to redesign it with your own PCB and how to encapsulate the whole design in epoxy resin. It also explains how to integrate a chip or PCB antenna with coaxial cable. Moreover, it explains success stories of self-made PCB antennas in mass production. The order button on a cellular module for Gillette razor blades is such an example. Some power supply concepts including LT Spice modules for DC\/DC regulators and load generator for the 2 Ampere peak currents are included in the book, too. It should be noted that the power down reset is still the main fault in designs with cellular modules.<\/p>\n<p>I hope you will enjoy reading the book and I hope it will save you some time as well.<\/p>\n<div class=\"shariff shariff-align-left shariff-widget-align-left\"><ul class=\"shariff-buttons theme-default orientation-horizontal buttonsize-small\"><li class=\"shariff-button twitter shariff-nocustomcolor\" style=\"background-color:#595959\"><a href=\"https:\/\/twitter.com\/share?url=http%3A%2F%2Fwww.gsm-modem.de%2FM2M%2Fm2m_iot_cookbook%2F&text=IoT%20M2M%20Cookbook\" title=\"Share on X\" aria-label=\"Share on X\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#000; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"#000\" d=\"M14.258 10.152L23.176 0h-2.113l-7.747 8.813L7.133 0H0l9.352 13.328L0 23.973h2.113l8.176-9.309 6.531 9.309h7.133zm-2.895 3.293l-.949-1.328L2.875 1.56h3.246l6.086 8.523.945 1.328 7.91 11.078h-3.246zm0 0\"\/><\/svg><\/span><span class=\"shariff-text\">share<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button facebook shariff-nocustomcolor\" style=\"background-color:#4273c8\"><a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=http%3A%2F%2Fwww.gsm-modem.de%2FM2M%2Fm2m_iot_cookbook%2F\" title=\"Share on Facebook\" aria-label=\"Share on Facebook\" role=\"button\" rel=\"nofollow\" class=\"shariff-link\" style=\"; background-color:#3b5998; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 18 32\"><path fill=\"#3b5998\" d=\"M17.1 0.2v4.7h-2.8q-1.5 0-2.1 0.6t-0.5 1.9v3.4h5.2l-0.7 5.3h-4.5v13.6h-5.5v-13.6h-4.5v-5.3h4.5v-3.9q0-3.3 1.9-5.2t5-1.8q2.6 0 4.1 0.2z\"\/><\/svg><\/span><span class=\"shariff-text\">share<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button linkedin shariff-nocustomcolor\" style=\"background-color:#1488bf\"><a href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=http%3A%2F%2Fwww.gsm-modem.de%2FM2M%2Fm2m_iot_cookbook%2F\" title=\"Share on LinkedIn\" aria-label=\"Share on LinkedIn\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#0077b5; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 27 32\"><path fill=\"#0077b5\" d=\"M6.2 11.2v17.7h-5.9v-17.7h5.9zM6.6 5.7q0 1.3-0.9 2.2t-2.4 0.9h0q-1.5 0-2.4-0.9t-0.9-2.2 0.9-2.2 2.4-0.9 2.4 0.9 0.9 2.2zM27.4 18.7v10.1h-5.9v-9.5q0-1.9-0.7-2.9t-2.3-1.1q-1.1 0-1.9 0.6t-1.2 1.5q-0.2 0.5-0.2 1.4v9.9h-5.9q0-7.1 0-11.6t0-5.3l0-0.9h5.9v2.6h0q0.4-0.6 0.7-1t1-0.9 1.6-0.8 2-0.3q3 0 4.9 2t1.9 6z\"\/><\/svg><\/span><span class=\"shariff-text\">share<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button mailto shariff-nocustomcolor\" style=\"background-color:#a8a8a8\"><a href=\"mailto:?body=http%3A%2F%2Fwww.gsm-modem.de%2FM2M%2Fm2m_iot_cookbook%2F&subject=IoT%20M2M%20Cookbook\" title=\"Send by email\" aria-label=\"Send by email\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#999; color:#fff\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#999\" d=\"M32 12.7v14.2q0 1.2-0.8 2t-2 0.9h-26.3q-1.2 0-2-0.9t-0.8-2v-14.2q0.8 0.9 1.8 1.6 6.5 4.4 8.9 6.1 1 0.8 1.6 1.2t1.7 0.9 2 0.4h0.1q0.9 0 2-0.4t1.7-0.9 1.6-1.2q3-2.2 8.9-6.1 1-0.7 1.8-1.6zM32 7.4q0 1.4-0.9 2.7t-2.2 2.2q-6.7 4.7-8.4 5.8-0.2 0.1-0.7 0.5t-1 0.7-0.9 0.6-1.1 0.5-0.9 0.2h-0.1q-0.4 0-0.9-0.2t-1.1-0.5-0.9-0.6-1-0.7-0.7-0.5q-1.6-1.1-4.7-3.2t-3.6-2.6q-1.1-0.7-2.1-2t-1-2.5q0-1.4 0.7-2.3t2.1-0.9h26.3q1.2 0 2 0.8t0.9 2z\"\/><\/svg><\/span><span class=\"shariff-text\">email<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button whatsapp shariff-nocustomcolor\" style=\"background-color:#5cbe4a\"><a href=\"https:\/\/api.whatsapp.com\/send?text=http%3A%2F%2Fwww.gsm-modem.de%2FM2M%2Fm2m_iot_cookbook%2F%20IoT%20M2M%20Cookbook\" title=\"Share on Whatsapp\" aria-label=\"Share on Whatsapp\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#34af23; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#34af23\" d=\"M17.6 17.4q0.2 0 1.7 0.8t1.6 0.9q0 0.1 0 0.3 0 0.6-0.3 1.4-0.3 0.7-1.3 1.2t-1.8 0.5q-1 0-3.4-1.1-1.7-0.8-3-2.1t-2.6-3.3q-1.3-1.9-1.3-3.5v-0.1q0.1-1.6 1.3-2.8 0.4-0.4 0.9-0.4 0.1 0 0.3 0t0.3 0q0.3 0 0.5 0.1t0.3 0.5q0.1 0.4 0.6 1.6t0.4 1.3q0 0.4-0.6 1t-0.6 0.8q0 0.1 0.1 0.3 0.6 1.3 1.8 2.4 1 0.9 2.7 1.8 0.2 0.1 0.4 0.1 0.3 0 1-0.9t0.9-0.9zM14 26.9q2.3 0 4.3-0.9t3.6-2.4 2.4-3.6 0.9-4.3-0.9-4.3-2.4-3.6-3.6-2.4-4.3-0.9-4.3 0.9-3.6 2.4-2.4 3.6-0.9 4.3q0 3.6 2.1 6.6l-1.4 4.2 4.3-1.4q2.8 1.9 6.2 1.9zM14 2.2q2.7 0 5.2 1.1t4.3 2.9 2.9 4.3 1.1 5.2-1.1 5.2-2.9 4.3-4.3 2.9-5.2 1.1q-3.5 0-6.5-1.7l-7.4 2.4 2.4-7.2q-1.9-3.2-1.9-6.9 0-2.7 1.1-5.2t2.9-4.3 4.3-2.9 5.2-1.1z\"\/><\/svg><\/span><span class=\"shariff-text\">share<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button rss shariff-nocustomcolor\" style=\"background-color:#ff8c00\"><a href=\"http:\/\/www.gsm-modem.de\/M2M\/feed\/rss\/\" title=\"RSS feed\" aria-label=\"RSS feed\" role=\"button\" class=\"shariff-link\" style=\"; background-color:#fe9312; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#fe9312\" d=\"M4.3 23.5c-2.3 0-4.3 1.9-4.3 4.3 0 2.3 1.9 4.2 4.3 4.2 2.4 0 4.3-1.9 4.3-4.2 0-2.3-1.9-4.3-4.3-4.3zM0 10.9v6.1c4 0 7.7 1.6 10.6 4.4 2.8 2.8 4.4 6.6 4.4 10.6h6.2c0-11.7-9.5-21.1-21.1-21.1zM0 0v6.1c14.2 0 25.8 11.6 25.8 25.9h6.2c0-17.6-14.4-32-32-32z\"\/><\/svg><\/span><span class=\"shariff-text\">RSS feed<\/span>&nbsp;<\/a><\/li><\/ul><\/div>","protected":false},"excerpt":{"rendered":"<p>How to develop a device based on Wireless Wide Area Network modules Excerpt of the IoT-M2M-Cookbook here &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Table of contents 1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Why Did I Write the IoT\/M2M Cookbook?\u00a0\u00a0\u00a0\u00a0\u00a0 4 2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Fundamental considerations before starting an IoT\/M2M project\u00a0\u00a0\u00a0\u00a0 6 3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Certifications and approvals\u00a0\u00a0 6 3.1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Examples for Radio approvals [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":6156,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"om_disable_all_campaigns":false,"footnotes":""},"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/pages\/5215"}],"collection":[{"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/comments?post=5215"}],"version-history":[{"count":35,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/pages\/5215\/revisions"}],"predecessor-version":[{"id":8495,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/pages\/5215\/revisions\/8495"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/media\/6156"}],"wp:attachment":[{"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/media?parent=5215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}