User manual

Before we start ...
... a few more important announcements and notes for successful and stress-free work with the calendar.
This manual is supported by the website www.iot.fkainka.de, where you'll also find the necessary software. The manual gives an initial
overview of the individual tests. Because the Internet of Things is a complex subject, you'll find supplemental information on the Internet that
makes the path to success easier.
More pictures and some additional articles could be included on the website that are useful for the development and design of your own
projects.
There's a comment function on the site. If problems crop up with a project, it can be helpful to present them to a larger community. For this
reason, on every article, you can write comments, ask questions, suggest improvements or support other hobbyists with their problems. So you
can still have fun even when something gets jammed.
Another advantage of the website is the element of surprise. The appeal of an Advent calendar is really that you don't know what's behind the
next door. With a manual, most of the time, you already see the test on the next page. On the website, only the chapter for the respective day
appears each day. So here's what I recommend: After this chapter, just put the manual in the corner and don't take it out anymore for now.
Instead, go to www.iot.fkainka.de and bookmark it in your browser. Then you can read the chapter of the day wherever you are, and later,
when you get home, you can experiment with the practical part of the day's project.
All fans of a classic manual, of course, hang on to the book. It can be completely comfortable not to have to hold a digital device in your hands
when you're getting an initial overview of the current test. But a visit to the website is inevitable because you still have to download the
associated programme. You'll find it in each article under the heading "The programme."
I hope you have fun and have a joyful and exciting Advent!
Fabian Kainka
Day 1: The NanoESP board
It'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
1
. This Arduino-compatible controller with WLAN function is at the centre of the 24 tests.
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.
So that you can successfully program your board, you first need to install the driver. You'll find it on the page http://iot.fkainka.de/driver. There
are versions for different operating systems there. In the Windows version, there is a setup.exe file in the ZIP folder that you have to execute. In
the window that then appears, simply click on "Install."
After the installation, you can now connect the board to the PC for the first time. The PC should automatically find the driver, while the two
Power LEDS (D6 and D2) light up on the board. The third LED (D3) flashes first. If the LEDs light up but the PC does not recognise any new
hardware, check whether you're actually using a USB data cable. You see, there are also cables that are intended only for charging devices like
smartphones but don't enable data communication. You can also look in Device Manager to see whether the device has been correctly
recognised and installed.
The driver is now installed, and in the meantime the third LED should also have stopped flashing and remain constantly lit. That's the sign that
the initialisation of the board was successful. Now you should also be able to spot something else, namely that a new open WLAN exists within
your reach. The WLAN bears the name NanoESP. In today's practical test, you should connect to this WLAN. If the PC asks about the type of
connection, you should select the option "Home network." In this way, the communication with other devices isn't blocked. When you are
connected to the WLAN, you can open a browser of your choice and enter the following in the address bar:
192.168.4.1
This is the IP address of your board. The page that now loads for you to see is a small website that is sent from the board to your PC. This is an
Easter egg, which is a hidden function. The first test is a function test and at the same time offers a glance at a potential use of the board as a
web server. But more on that later.

Summary of content (13 pages)