{"id":6788,"date":"2016-08-04T11:11:08","date_gmt":"2016-08-04T09:11:08","guid":{"rendered":"http:\/\/www.gsm-modem.de\/M2M\/?p=6788"},"modified":"2016-08-08T13:40:06","modified_gmt":"2016-08-08T11:40:06","slug":"wi-fi-module-set-up-five-minutes","status":"publish","type":"post","link":"http:\/\/www.gsm-modem.de\/M2M\/m2m-apps\/wi-fi-module-set-up-five-minutes\/","title":{"rendered":"Wi-Fi module &#8211; five minute set up"},"content":{"rendered":"<div id=\"attachment_6789\" style=\"width: 143px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2016\/08\/Wifi-module-on-USB-dongle.png\"><img aria-describedby=\"caption-attachment-6789\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-6789 size-medium\" src=\"http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2016\/08\/Wifi-module-on-USB-dongle-133x400.png\" alt=\"Wi-Fi module on USB dongle\" width=\"133\" height=\"400\" srcset=\"http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2016\/08\/Wifi-module-on-USB-dongle-133x400.png 133w, http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2016\/08\/Wifi-module-on-USB-dongle.png 640w\" sizes=\"(max-width: 133px) 100vw, 133px\" \/><\/a><p id=\"caption-attachment-6789\" class=\"wp-caption-text\">Wi-Fi module on USB dongle<\/p><\/div>\n<p class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">This Wi-Fi module arrived yesterday.\u00a0 The complete package includes the Wi-Fi module,\u00a0 a USB connector and a Serial Peripheral Interface (SPI) to USB converter. The operating voltage is supplied via USB from the PC. After plugging the module into the USB port, a standard terminal software application was started on the PC. With the first AT command we asked for the MAC address and with the second we scanned for Wi-Fi networks and found three. <\/span><\/p>\n<h2 class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">Here is the log file:<br \/>\n<\/span><\/h2>\n<p class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\"><strong>Send:<\/strong> <em>AT+WF GetMACAddress&lt;cr&gt;&lt;lf&gt;<\/em><br \/>\n<em> AT-WF MACaddress 00043e94a508<\/em><\/span><\/p>\n<div id=\"attachment_6790\" style=\"width: 650px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2016\/08\/Wifi-module.png\"><img aria-describedby=\"caption-attachment-6790\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-6790 size-full\" title=\"Wi-Fi module with embedded stack and AT command interface\" src=\"http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2016\/08\/Wifi-module.png\" alt=\"Wifi-module\" width=\"640\" height=\"454\" srcset=\"http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2016\/08\/Wifi-module.png 640w, http:\/\/www.gsm-modem.de\/M2M\/.\/wp-content\/uploads\/2016\/08\/Wifi-module-400x284.png 400w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-6790\" class=\"wp-caption-text\">Wi-Fi module with embedded stack and AT command interface<\/p><\/div>\n<p class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\"><strong>Send:<\/strong> <em>AT+WF Scan&lt;cr&gt;&lt;lf&gt;<\/em><br \/>\n<em> BSSID Signal Freq SSID Flags<\/em><br \/>\n<em> c8:0e:14:8f:e6:1a -51 dBm 2412 TIP4711 [WPA-PSK-TKIP][WPA2-PSK-CCMP]<\/em><br \/>\n<em>ca:0e:14:8f:e6:1a -51 dBm 2412 WuM0816 [WPA-PSK-TKIP][WPA2-PSK-CCMP]<\/em><br \/>\n<em> bc:05:43:bf:a8:f7 -80 dBm 2437 FRITZ!Box Fon WLAN 7 [WPA-PSK-TKIP][WPA2-PSK-CCMP]<\/em><br \/>\n<em> AT-WF ScanComplete<\/em><\/span><\/p>\n<p>Unpacking, plugging, reading the documentation, starting the terminal software and typing the AT commands took less than five minutes. The plan is to use the module in a typical M2M application. The M2M device records the operating times of a machine and transmits them over the wireless link. The operating time counter is already operating over GSM and will soon have a redesign to use a new, better and cheaper GSM module with extension to support Wi-Fi and SIGFOX. The Wi-Fi link is necessary to communicate from the basement location to the cloud because inthe basement, the M2M device cannot receive a GSM signal. Based on this restriction Wi-FI has been selected. SIGFOX was included in the design because we are due to get indoor SIGFOX coverage in twenty German cities. As soon this is the case we won&#8217;t require access to Wi-Fi or GSM. However in parallel to the premium version offering GSM, Wi-Fi and SIGFOX connectivity there is a cheaper standard version using GSM only.<\/p>\n<p>The selected Wi-Fi module offers a 50 Ohm antenna interface. Based on that you have to place the embedded antenna you want to use withperfect matching to the environment or use an external antenna. In this M2M project, we elected to use a U.FL coaxial connector and a U.FL to SMA-RP pigtail cable.<\/p>\n<h2 class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">The Wi-Fi-module at a glance:<\/span><\/h2>\n<p class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">It is a standalone module supporting 802.11bgn plus a host MCU with an embedded Wi-Fi protocol stack. The low-cost module offers an antenna interface for an external antenna, 6 general purpose and ADCIO lines, several serial interface options, and up to 12 Mbps data throughput using the SPI interface. The complete stack (TCP\/IP &amp; Wi-Fi) is hosted on the integrated MCU. A simple AT command interface allows users to easily configure and operate the module.<br \/>\n<\/span><\/p>\n<h2 class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">Wi-Fi module features:<\/span><\/h2>\n<ul>\n<li class=\"Normal\">Dimensions (mm) 14x14x2.5<\/li>\n<li class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">802.11b\/g\/n, 802.11d Regulatory Domain, 802.11r<\/span><\/li>\n<li class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">Output Power, +23dBm<\/span><\/li>\n<li class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">Power savings mode<\/span><\/li>\n<li class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">Transmit power back-off<\/span><\/li>\n<li class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">Wi-Fi Direct (concurrent)<\/span><\/li>\n<li class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">Wi-Fi Display<\/span><\/li>\n<li class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">Wi-Fi Protected Setup<\/span><\/li>\n<li class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">Soft Access Point<\/span><\/li>\n<li class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">Hotspot 2.0<\/span><\/li>\n<li class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">Security: WPAI\/WPA2, AES, WEP<\/span><\/li>\n<li class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">Hardware configuration Cortex M4 microprocessor up to 84 MHz<\/span><\/li>\n<li class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">512 K bytes Flash memory<\/span><\/li>\n<li class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">96 K bytes RAM memory<\/span><\/li>\n<li class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">UART with up to 2.25 Mbaud<\/span><\/li>\n<li class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">SPI and I2C interfaces<\/span><\/li>\n<li class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">6 general purpose I\/O<\/span><\/li>\n<li class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">2 x12 bit A\/D inputs<\/span><\/li>\n<li class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">1 LPO input<\/span><\/li>\n<li class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">Standby current, 40 uA<\/span><\/li>\n<\/ul>\n<p class=\"Normal\"><span style=\"font-size: 12.0pt; font-family: 'Arial';\">\u00a0As you can see the redesign from a GSM-based operating counter to a GSM, Wi-Fi plus SIGFOX-based operating based counter is pretty straightforward. Our next task is to test our new, cheap SIGFOX modules with 21 dBm output, using only 7 uA in TX idle mode and 0.05 nA in OFF mode. The ultra-low power of the new SIGFOX module is less important for this project. The low price is also a benefit but does not matterin this case, because the module is being used in the premium version of the M2M device. The ouput of up to 21 dBm is creates an interesting challenge to balance the coaxial cable and SIGFOX antenna, however this is a story for the next blog post. We will keep you posted on our further testing and the results.<br \/>\nIf you are interested in wireless modules, antennas, an antenna pre-testing or antenna consulting for selection then do not hesitate to drop an email to harald.naumann (at) gsm \u2013 modem .de<\/span><\/p>\n<p class=\"Normal\">\n<p><span style=\"border-radius: 2px; text-indent: 20px; width: auto; padding: 0px 4px 0px 0px; text-align: center; font: bold 11px\/20px 'Helvetica Neue',Helvetica,sans-serif; color: #ffffff; background: #bd081c  no-repeat scroll 3px 50% \/ 14px 14px; position: absolute; opacity: 0.85; z-index: 8675309; display: none; cursor: pointer; top: 490px; left: 326px;\">Save<\/span><\/p>\n<div class=\"shariff shariff-align-flex-start shariff-widget-align-flex-start\"><ul class=\"shariff-buttons theme-default orientation-horizontal buttonsize-small\"><li class=\"shariff-button twitter shariff-nocustomcolor\" style=\"background-color:#32bbf5\"><a href=\"https:\/\/twitter.com\/share?url=http%3A%2F%2Fwww.gsm-modem.de%2FM2M%2Fm2m-apps%2Fwi-fi-module-set-up-five-minutes%2F&text=Wi-Fi%20module%20%E2%80%93%20five%20minute%20set%20up\" title=\"Share on Twitter\" aria-label=\"Share on Twitter\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#55acee; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 30 32\"><path fill=\"#55acee\" d=\"M29.7 6.8q-1.2 1.8-3 3.1 0 0.3 0 0.8 0 2.5-0.7 4.9t-2.2 4.7-3.5 4-4.9 2.8-6.1 1q-5.1 0-9.3-2.7 0.6 0.1 1.5 0.1 4.3 0 7.6-2.6-2-0.1-3.5-1.2t-2.2-3q0.6 0.1 1.1 0.1 0.8 0 1.6-0.2-2.1-0.4-3.5-2.1t-1.4-3.9v-0.1q1.3 0.7 2.8 0.8-1.2-0.8-2-2.2t-0.7-2.9q0-1.7 0.8-3.1 2.3 2.8 5.5 4.5t7 1.9q-0.2-0.7-0.2-1.4 0-2.5 1.8-4.3t4.3-1.8q2.7 0 4.5 1.9 2.1-0.4 3.9-1.5-0.7 2.2-2.7 3.4 1.8-0.2 3.5-0.9z\"\/><\/svg><\/span><span class=\"shariff-text\">tweet<\/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-apps%2Fwi-fi-module-set-up-five-minutes%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-apps%2Fwi-fi-module-set-up-five-minutes%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-apps%2Fwi-fi-module-set-up-five-minutes%2F&subject=Wi-Fi%20module%20%E2%80%93%20five%20minute%20set%20up\" 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-apps%2Fwi-fi-module-set-up-five-minutes%2F%20Wi-Fi%20module%20%E2%80%93%20five%20minute%20set%20up\" 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>This Wi-Fi module arrived yesterday.\u00a0 The complete package includes the Wi-Fi module,\u00a0 a USB connector and a Serial Peripheral Interface (SPI) to USB converter. The operating voltage is supplied via USB from the PC. After plugging the module into the USB port, a standard terminal software application was started on the PC. With the first [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":6790,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"footnotes":""},"categories":[24,11],"tags":[58,30],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/posts\/6788"}],"collection":[{"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/types\/post"}],"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=6788"}],"version-history":[{"count":6,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/posts\/6788\/revisions"}],"predecessor-version":[{"id":6803,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/posts\/6788\/revisions\/6803"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/media\/6790"}],"wp:attachment":[{"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/media?parent=6788"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/categories?post=6788"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gsm-modem.de\/M2M\/wp-json\/wp\/v2\/tags?post=6788"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}