Day 5: Switching an LED

Today’s program is finally about controlling hardware via the UDP protocol. In this case, an LED is switched on and off with simple commands. The LED in Pin D9 You will find an LED board behind the fifth door. The right dropping resistor already was in yesterday’s door. Build the circuit as the picture shows. The program: Day5_UDPLED ! Attention: Some MAC-Users reportet a bug in the PacketSender-Software. This bug doesn’t allow you to change the ports. If you have problems with this bug you can change the ports in the Arduino program. All you have to do for todays project is to change the line 83 from succes &= sendCom(“AT+CIPSTART="UDP","192.168.4.255",90,91”, “OK”); to succes &= sendCom(“AT+CIPSTART="UDP","192.168.4.255",5505,5506”, “OK”); ...

05.12.2015 · 2 min · Fabian Kainka

Day 4: UDP bidirectional

In yesterday’s project, the UDP communication was tested in one direction, i.e. from the board to the PC. In this program, the module is set so that communication in the other direction is possible as well, almost like in a chat. Behind the fourth door of the Advent calendar, there is a resistor with 1 kΩ (brown, black, red). The component is not used in today’s test yet, but should be kept for later. ...

04.12.2015 · 2 min · Fabian Kainka

Day 3: UDP-Send

In today’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. 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. ...

03.12.2015 · 3 min · Fabian Kainka

Day 2: Google Ping

With today’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. You will find a plug board behind today’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. ...

02.12.2015 · 2 min · Fabian Kainka

Tag 1 - Hinweis für Arduino Neulinge

Der erste Tag des Adventskalenders ist bereits rum und ich war überrascht und erfreut über all die Kommentare. Sehr gefreut hat mich vor allem die Bereitschaft der Community sich gegengeseitigt mit diesem zugegebenermaßen nicht völlig einfachen Thema zu helfen. Aus den Kommentaren konnte ich außerdem herauslesen, dass der Ein oder Andere noch nie mit Arduino oder Mikrocontrollern im Allgemeinen zu tun hatte. Deswegen habe ich unter dem unten stehen Link einen längeren Artikel veröffentlicht, der ein Auszug aus einem meiner ersten Schnelleinstieg Hefte darstellt. Ich hoffe, dass ich damit einigen Leuten den Einstieg in den Adventskalender erleichtern kann. ...

01.12.2015 · 1 min · Fabian Kainka

Day 1 - First Steps

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. The NanoESP Board 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. ...

01.12.2015 · 4 min · Fabian Kainka

Day 0: Alternative zum ausverkauften Adventskalender (Spoiler Alert)

Der Internet of Things Adventskalender ist nun weitestgehendst ausverkauft. Nur in vereinzelten Conrad Filialen sind noch Exemplare zu erhalten. Viele Leute haben mich allerdings gefragt, ob ich eine Bauteileliste veröffentlichen kann, damit man sich einen Kalender selbst zusammenstellen kann. Es ist natürlich nicht möglich, die exakt gleichen Bauteile bei jedem Händler zu bekommen, dafür ist die Menge an Herstellern einfach zu groß. Dennoch habe ich mich bemüht, eine Einkaufsliste zusammenzustellen und dabei darauf geachtet, dass möglichst kompatible Elemente verwendet werden (also identisches Pin-Layout, Kenndaten etc.). Es kann dennoch sein, dass bei dem ein oder anderen Versuchen eine Variation der Schaltung verwendet werden muss. ...

27.11.2015 · 2 min · Fabian Kainka

Day 0: Download all Projects (Spoiler Alert)

Many people asked me when the projects will be ready for download. Every project description including schematics and software will come on its owm December day. But if you can’t wait, you can download only all software files in advance here. CalenderIoT

10.11.2015 · 1 min · Fabian Kainka