<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Basics on Internet of Things with the NanoESP</title><link>https://neu-iot.fkainka.de/en/tag/basics/</link><description>Recent content in Basics on Internet of Things with the NanoESP</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Tue, 10 Jan 2023 11:33:25 +0100</lastBuildDate><atom:link href="https://neu-iot.fkainka.de/en/tag/basics/index.xml" rel="self" type="application/rss+xml"/><item><title>Driver -NanoESP &amp; Pretzelboard</title><link>https://neu-iot.fkainka.de/en/driver/</link><pubDate>Sun, 23 Aug 2015 10:02:42 +0200</pubDate><guid>https://neu-iot.fkainka.de/en/driver/</guid><description>&lt;p&gt;The Pretzelboard (NanoESP) needs a driver for the USB-to-Serial Chip CH340G to work properly. You can download the driver here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://neu-iot.fkainka.de/images/2015/09/CH341SER.zip"&gt;Windows (Windows 98 - Windows 10, 32-Bit/64-Bit)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://neu-iot.fkainka.de/images/2015/09/CH341SER_LINUX.zip"&gt;Linux Version&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://neu-iot.fkainka.de/images/2015/08/CH34x_Install.zip"&gt;Mac Version&lt;/a&gt; (&lt;strong&gt;Attention&lt;/strong&gt;: There seems to be a problem with MAC OS Sierra. Bellow are two links with walkthroughs:&lt;br&gt;
&lt;a href="https://github.com/jimaobian/CH34x_Install_V1.3/blob/master/CH34x_Install_V1.3.zip"&gt;https://github.com/jimaobian/CH34x_Install_V1.3/blob/master/CH34x_Install_V1.3.zip&lt;/a&gt;&lt;br&gt;
&lt;a href="https://github.com/adrianmihalko/ch340g-ch34g-ch34x-mac-os-x-driver"&gt;https://github.com/adrianmihalko/ch340g-ch34g-ch34x-mac-os-x-driver&lt;/a&gt; )&lt;/p&gt;
&lt;p&gt;&lt;a href="https://neu-iot.fkainka.de/images/2015/09/CH341SER_ANDROID.zip"&gt;Android Version&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There is a Setup.exe file (Windows Version) in the Zip-Folder which needs to be executed. Choose Install in the following Window.&lt;/p&gt;</description></item><item><title>Day 4: Setting up Internet connection</title><link>https://neu-iot.fkainka.de/en/day4-2016/</link><pubDate>Sun, 04 Dec 2016 00:01:49 +0100</pubDate><guid>https://neu-iot.fkainka.de/en/day4-2016/</guid><description>&lt;p&gt;Behind today&amp;rsquo;s door is a 1-kohm resistor. We&amp;rsquo;re not going to do much with it today, but tomorrow it becomes important. In today&amp;rsquo;s test, we want to set up an initial connection to your home WLAN network. For this purpose, you need, as you will on many days to come, to enter your WLAN data in the programme.&lt;/p&gt;
&lt;figure&gt;&lt;a href="https://neu-iot.fkainka.de/images/2016/08/Day4_1.jpg"&gt;&lt;img class="size-large wp-image-1295" src="https://neu-iot.fkainka.de/images/2016/08/Day4_1.jpg" alt="Das Board pingt den Google Server an" width="616" height="359" /&gt;&lt;/a&gt;&lt;figcaption&gt;The Board pings the Goolge server&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;But first you need to download today&amp;rsquo;s programme. You can download it via the right button on the from the &lt;a href="https://create.arduino.cc/"&gt;Arduino Create&lt;/a&gt; Iframe.&lt;/p&gt;</description></item><item><title>Day 3: The NanoESP in access point mode</title><link>https://neu-iot.fkainka.de/en/day3-2016/</link><pubDate>Sat, 03 Dec 2016 00:01:18 +0100</pubDate><guid>https://neu-iot.fkainka.de/en/day3-2016/</guid><description>&lt;p&gt;Behind the third door is the jumper wire, which is important for many tests. To prepare for later tests, you can place the supply lines GND and VCC on the outermost lanes. You&amp;rsquo;ll thereby have better access to these important lines later.&lt;/p&gt;
&lt;figure&gt;&lt;a href="https://neu-iot.fkainka.de/images/2016/08/Day3_0.jpg"&gt;&lt;img class="wp-image-1290 size-large" src="https://neu-iot.fkainka.de/images/2016/08/Day3_0.jpg" alt="Die Drahtbrücken an GND und VCC" width="616" height="306" /&gt;&lt;/a&gt;&lt;figcaption&gt;The jumpers to GND and VCC&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;In the project for today, you now get around to changing something in a programme even on your own. The following sample programme serves as a basis:&lt;/p&gt;</description></item><item><title>Day 2: The Arduino IDE</title><link>https://neu-iot.fkainka.de/en/day2-2016/</link><pubDate>Fri, 02 Dec 2016 00:01:47 +0100</pubDate><guid>https://neu-iot.fkainka.de/en/day2-2016/</guid><description>&lt;p&gt;This time there&amp;rsquo;s a breadboard behind the door. On it, you can quickly and easily assemble the hardware layouts of the Advent calendar. Since only the NanoESP is available so far, we&amp;rsquo;ll start with it.&lt;/p&gt;
&lt;figure&gt;&lt;a href="https://neu-iot.fkainka.de/images/2016/08/Day2_1.jpg"&gt;&lt;img class="size-large wp-image-1286" src="https://neu-iot.fkainka.de/images/2016/08/Day2_1.jpg" alt="NanoESP auf dem Steckboard" width="616" height="309" /&gt;&lt;/a&gt;&lt;figcaption&gt;NanoESP on a breadboard&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;It&amp;rsquo;s best if you plug the controller into the breadboard as shown in the picture. That way, the greatest space remains free for experiments; the WLAN module sticks out behind past the breadboard. The micro-USB cable then hangs between the contact sides and is only a minimal disruption. The board needs to be pressed in gently until it touches the contacts.&lt;/p&gt;</description></item><item><title>Tag 1: Das NanoESP-Board</title><link>https://neu-iot.fkainka.de/en/day1-2016/</link><pubDate>Thu, 01 Dec 2016 00:01:19 +0100</pubDate><guid>https://neu-iot.fkainka.de/en/day1-2016/</guid><description>&lt;p&gt;It&amp;rsquo;s the first of December and thus time to open the first door. Behind it is arguably the most important element of the calendar: the NanoESP board. This Arduino-compatible controller with WLAN function is at the centre of the 24 tests.&lt;/p&gt;
&lt;figure&gt;&lt;a href="https://neu-iot.fkainka.de/images/2016/08/Day1_1.jpg"&gt;&lt;img class="size-large wp-image-1280" src="https://neu-iot.fkainka.de/images/2016/08/Day1_1.jpg" alt="Das NanoESP Board" width="616" height="186" /&gt;&lt;/a&gt;&lt;figcaption&gt;The NanoESP Board&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;To s briefly, it can be said that the board is most likely a cross between a board similar to an Arduino Nano and a WLAN module with the name ESP8266. The communication between the two elements runs through a serial port generated via software, which is connected to Pins D11 and D12. You should thus avoid these pins with your own projects.&lt;/p&gt;</description></item><item><title>Day 11: TCP-Webserver</title><link>https://neu-iot.fkainka.de/en/day-11/</link><pubDate>Fri, 11 Dec 2015 00:01:31 +0100</pubDate><guid>https://neu-iot.fkainka.de/en/day-11/</guid><description>&lt;p&gt;In the previous experiments, we dealt with the subject of TCP and access to web servers a lot. Today, the module is to act as a web server of its own for the first time.&lt;/p&gt;
&lt;p&gt;Behind the door of the 11th day, there is a special cable that will be very useful soon. A special setup is not necessary today, since the program works similarly to the serial monitor programme of day one.&lt;/p&gt;</description></item><item><title>Day 8: A browser</title><link>https://neu-iot.fkainka.de/en/day-8/</link><pubDate>Tue, 08 Dec 2015 00:01:36 +0100</pubDate><guid>https://neu-iot.fkainka.de/en/day-8/</guid><description>&lt;p&gt;In the last days, we mostly dealt with the UDP protocol with which data can be sent out simply and directly. In the next few days, we will deal with the TCP (Transmission Control Protocol). TCP only permits one connection at a time between precisely two computers. It is mostly used online for browsing on websites.&lt;/p&gt;
&lt;p&gt;Behind today&amp;rsquo;s door, there is another resistor with 1 kΩ (brown, black, red). As with all other parts: keep it safe, even though you are not using this part today yet.&lt;/p&gt;</description></item><item><title>Day 3: UDP-Send</title><link>https://neu-iot.fkainka.de/en/day-3/</link><pubDate>Thu, 03 Dec 2015 00:01:45 +0100</pubDate><guid>https://neu-iot.fkainka.de/en/day-3/</guid><description>&lt;p&gt;In today&amp;rsquo;s project, data are exchanged between the board and the PC through the WLAN for the first time. The prerequisite for this is that your computer has a WLAN adapter. The UDP (User Datagram Protocol) is used. Another program on the PC-side ensures successful receipt of the messages.&lt;/p&gt;
&lt;p&gt;Behind the third door of the calendar, you can find an insulated cable that you will need to build circuits. To prepare for later experiments, you can place the supply lines ground and VCC on the outer tracks.&lt;/p&gt;</description></item><item><title>Day 2: Google Ping</title><link>https://neu-iot.fkainka.de/en/day-2/</link><pubDate>Wed, 02 Dec 2015 00:01:40 +0100</pubDate><guid>https://neu-iot.fkainka.de/en/day-2/</guid><description>&lt;p&gt;With today&amp;rsquo;s project, you test whether you can reach the Google server. This is used as a test of whether there generally is a connection to the Internet or, e.g., a firewall is blocking the NanoESP-board.&lt;/p&gt;
&lt;p&gt;You will find a plug board behind today&amp;rsquo;s door. The plug board is used as an experimenting platform later, to connect sensors and other elements. It is best if you plug the controller onto the plug board as shown in the following figure. This leaves you the most space for experiments, while the WLAN module protrudes over the plug board at the rear. The micro USB cable is then suspended between the contact sides and will only interfere minimally.&lt;/p&gt;</description></item><item><title>Day 1 - First Steps</title><link>https://neu-iot.fkainka.de/en/day-1/</link><pubDate>Tue, 01 Dec 2015 00:01:38 +0100</pubDate><guid>https://neu-iot.fkainka.de/en/day-1/</guid><description>&lt;p&gt;It is the first day of December and thus time to open the first door. Behind the door, you will find the most important part of this calendar: the Arduino™-compatible NanoESP-board with integrated WLAN module that this calendar is about.&lt;/p&gt;
&lt;figure&gt;&lt;a href="https://neu-iot.fkainka.de/images/2015/09/Day1-1.jpg"&gt;&lt;img class="size-large wp-image-84" src="https://neu-iot.fkainka.de/images/2015/09/Day1-1.jpg" alt="Das NanoESP Board" width="616" height="240" /&gt;&lt;/a&gt;&lt;figcaption&gt;The NanoESP Board&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;As you can see quite well on the PCB, the board is made up of two components. The left half is an Arduino™-compatible micro controller system that can be compared to the Arduino™ Nano. The right part is the WLAN module with the designation ESP8266. These two components communicate via a serial interface generated by software. The Arduino™-side rather acts as the boss, forwarding the commands to the WLAN module. Some of these commands will already be tried out today on the first day.&lt;/p&gt;</description></item><item><title>Board specifications NanoESP &amp; Pretzel Board</title><link>https://neu-iot.fkainka.de/en/technische-daten/</link><pubDate>Wed, 23 Sep 2015 08:05:57 +0200</pubDate><guid>https://neu-iot.fkainka.de/en/technische-daten/</guid><description>&lt;p&gt;On this page you can find the specifications of the Board&lt;/p&gt;
&lt;h2 id="specifications"&gt;Specifications:&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Microcontroller:                                  ATmega328&lt;/li&gt;
&lt;li&gt;Flash memory:                                  32 KB (including 0,5 KB for the Bootloader)&lt;/li&gt;
&lt;li&gt;SRAM:                                              2 KB&lt;/li&gt;
&lt;li&gt;EEPROM:                                         1 KB&lt;/li&gt;
&lt;li&gt;Taktrate:                                           16 MHz&lt;/li&gt;
&lt;li&gt;I/O-Pins:                                           20 (including 2 for communication with the WiFi module)
&lt;ul&gt;
&lt;li&gt;Included PWM:                              6&lt;/li&gt;
&lt;li&gt;Included analog inputs:                   6&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;USB-to-Serial Chip:                            CH340G&lt;/li&gt;
&lt;li&gt;Operating voltage:                              5 V&lt;/li&gt;
&lt;li&gt;Recommended input voltage::             7-12 V&lt;/li&gt;
&lt;li&gt;Maximum current per I/O pin:              40 mA&lt;/li&gt;
&lt;li&gt;Load capacityof the 3.3 V output:        50 mA&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;WLAN-Modul:                                      ESP8266&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Quick Start - NanoESP &amp; Pretzelboard</title><link>https://neu-iot.fkainka.de/en/schnellstart-anleitung/</link><pubDate>Tue, 22 Sep 2015 08:05:40 +0200</pubDate><guid>https://neu-iot.fkainka.de/en/schnellstart-anleitung/</guid><description>&lt;p&gt;When you attach the board for the first time via the MicroUSB connector, your PC will try to install a driver. If this does not work automatically download and install &lt;a href="https://neu-iot.fkainka.de/treiber"&gt;the driver here.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The ArduinoTM IDE provides the simplest way of programming the development board. Download the IDE from &lt;a href="https://www.arduino.cc/en/Main/Software"&gt;www.Arduino.cc&lt;/a&gt;. When you start the software, you first have to choose the correct port and board. For the latter, you select the &lt;strong&gt;Arduino NanoTM (ATmega328 processor).&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>AT Commands -NanoESP &amp; Pretzelboard</title><link>https://neu-iot.fkainka.de/en/at-befehlsliste/</link><pubDate>Sun, 20 Sep 2015 10:11:14 +0200</pubDate><guid>https://neu-iot.fkainka.de/en/at-befehlsliste/</guid><description>&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Command&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Basics&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Test Command&lt;/td&gt;
&lt;td&gt;AT&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Reset&lt;/td&gt;
&lt;td&gt;AT+RST&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Firmware Infos&lt;/td&gt;
&lt;td&gt;AT+GMR&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Echo On/Off&lt;/td&gt;
&lt;td&gt;ATE&amp;lt;1/0&amp;gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;WiFi Commands&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;WiFi-Modus (1 = Client, 2 = AP, 3 = Dual)&lt;/td&gt;
&lt;td&gt;AT+CWMODE=&lt;mode&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Search WiFi network&lt;/td&gt;
&lt;td&gt;AT+CWLAP&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Connect to Wifi&lt;/td&gt;
&lt;td&gt;AT+CWJAP=“&lt;ssid&gt;“,“&lt;pass&gt;“&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Disconnect WiFi&lt;/td&gt;
&lt;td&gt;AT+CWQAP&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Settings WiFi -AccesPoint&lt;/td&gt;
&lt;td&gt;AT+CWSAP=“&lt;ssid&gt;“,“&lt;pass&gt;“[,&lt;chan&gt;,&lt;enc&gt;]&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Show IP&lt;/td&gt;
&lt;td&gt;AT+CIFSR&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;activate/deactivate DHCP&lt;/td&gt;
&lt;td&gt;AT+CWDHCP=&amp;lt;1/0&amp;gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Auto connect to WiFi&lt;/td&gt;
&lt;td&gt;AT+CWAUTOCONN=&amp;lt;1/0&amp;gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Change MAC address of AP&lt;/td&gt;
&lt;td&gt;AT+CIPSTAMAC=&lt;MAC&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Set IP address of station&lt;/td&gt;
&lt;td&gt;AT+CIPSTA=&lt;IP&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Set IP address of AccesPoint&lt;/td&gt;
&lt;td&gt;AT+CIPAP=&lt;IP&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Start SmartConfig&lt;/td&gt;
&lt;td&gt;AT+CWSTARTSMART=&lt;typ&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Stop SmartConfig&lt;/td&gt;
&lt;td&gt;AT+CWSTOPSMART&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Communication&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Ping&lt;/td&gt;
&lt;td&gt;AT+PING=&lt;HOST&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Accept multiple connections&lt;/td&gt;
&lt;td&gt;AT+CIPMUX=&lt;mode&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Set transfer mode (0=normal, 1= unvarnished transmission mode, only for TCP single connection)&lt;/td&gt;
&lt;td&gt;AT+CIPMODE=&lt;mode&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Structure of received data&lt;/td&gt;
&lt;td&gt;+IPD,&lt;id&gt;,&lt;len&gt;:&lt;data&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Start connection&lt;/td&gt;
&lt;td&gt;AT+CIPSTART=“&lt;type&gt;“,“&lt;address&gt;“,&lt;port&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Send data&lt;/td&gt;
&lt;td&gt;AT+CIPSEND=&lt;id&gt;,&lt;len&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Close connection&lt;/td&gt;
&lt;td&gt;AT+CIPCLOSE=&lt;id&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Server Commands&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Start TCP server&lt;/td&gt;
&lt;td&gt;AT+CIPSERVER=1,&lt;port&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Stop TCP server&lt;/td&gt;
&lt;td&gt;AT+CIPSERVER=0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Server status &amp;amp; connected clients&lt;/td&gt;
&lt;td&gt;AT+CIPSTATUS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Set server timeout&lt;/td&gt;
&lt;td&gt;AT+CIPSTO=&lt;timeout&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Show connected clients&lt;/td&gt;
&lt;td&gt;AT+CWLIF&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;</description></item></channel></rss>