Tag 6: Touch to Speach

Behind the sixth door of the Advent calendar is a 1 kOhm resistor, which we will use tomorrow. Today we will continue with Node-RED and try out the touch function of the board. As always you will select the program of today. And today we will also build the following circuit. The yellow wires with one free end are the touch sensors. Breadboard Construction: Three wires suspended in the air from one end Once set up, you can restart Node-RED using the terminal and the node-red command. Then open the Node-RED editor via http://127.0.0.1:1880/. Today we will install a few nodes. To do this, click on the three dashes in the top right corner where you will see manage palette under which all the installed nodes are listed. Select the Install tab and you will see a large number of different modules that you can install. For today we are searching for the module node-red-dashboard. Click the Install button. A message appears warning you that installation may be difficult at times. Just click Ok, this module is easy to install. After a short while, a success message appears, and the new nodes are now in your node row. ...

06.12.2018 · 3 min · Fabian Kainka

Day 5: Node-RED

Behind the fifth door of the Advent calendar is a button and we are going to use it today in our experiment instead of the boot button. We will connect the button to pin 18 and GND in such a way that when pressed, it will pull the pin to ground, thus to LOW. If you have selected the program of the day and you press the button, a message is sent via UDP. ...

05.12.2018 · 4 min · Fabian Kainka

Day 4: UDP and JSON

Behind the fourth door of the Advent calendar is a set of cables that is very useful for the upcoming hardware setup. But today in our project we are going to look at the JSON format; what is it and how does it help us communicating with the board. As usual, first you need to activate today’s program. You will also need the Packet Sender program with the same settings that we were using yesterday. Today, a message appears only after you briefly press on the board’s boot button. This message looks like this: ...

04.12.2018 · 3 min · Fabian Kainka

Day 3: UDP and Packet Sender

Today’s door reveals another breadboard. It can be plugged into the board of yesterday. The NodeESP board can now be placed on both boards together. However, this constellation will not work for everyone. Breaking off the side parts of the boards is the easiest solution. I have done this by fitting the boards into each other and then bending one until a side part broke off. I did the same thing with the other board. But you could use pliers, too. Without the side parts, you can place the boards closer to each other, and then there won’t be a problem with the grid. Simply plug the NodeESP board onto both boards as shown in the picture. This leaves enough room for other components. In today’s project, we will learn how to connect to the board from your PC without using the web browser. ...

03.12.2018 · 3 min · Fabian Kainka

Day 2: OnBoard LED and Update

On the second day you will find a breadboard for the upcoming experiments hidden behind the door. I would recommend however, that you do not yet plug your NodeESP into the board. Let’s first look today at how we launch the programs preinstalled on the board and bring the board up to date. Reconnect your board first to a power source. Wi-Fi data that you entered yesterday is still stored and the board should automatically connect to your Wi-Fi network. Then access the board page using the IP or mDNS name (http: //nodeesp.local/). Now, the first thing you do is searching for possible software updates. To do this, open the configuration page, click Advanced Settings at the bottom and click on Check for Firmware Updates. ...

02.12.2018 · 2 min · Fabian Kainka

Day 1: The NodeESP Board

This is the first day of the 2018 Advent calendar project. The time has come to open the first window. Behind this calendar door you will find a microcontroller board. The main task today is to connect to the home network and to become acquainted with the board. The NodeESP board with WPS button selected In a first step we will supply power to the board by simply connecting the board using a MicroUSB cable to the PC or to a standard smartphone charger. You will need at least 300mA to power the board. Older laptops and USB hubs may pose a problem, if they do not have an external power supply however. After a short while the RGB LED on the board turns on and glows yellow. Initialisation is complete. Now all you have to do is enter your Wi-Fi data. There are two ways to do that: ...

01.12.2018 · 4 min · Fabian Kainka

NodeESP Kommandoreferenz

Auf dieser Seite finden Sie alle Befehle der vorprogrammierten Firmware aufgelistet. Viele Befehle funktionieren nur in dem entsprechenden Unterprogramm. Befehle zu den Board Einstellungen lassen sich meistens nur über UDP oder die Webseite nutzen. Buttons Sendet automatisch eine Nachricht mit allen Zuständen bei Änderung eines Button-Zustands. Sendet Button State beim Starten Buttons haben Pullup aktiviert Buttons werden gegen Masse geschaltet Buttons sind dann HIGH, wenn nicht gedrückt und LOW wenn gedrückt Default Pins im Beispiel: Pin 16 und Pin 18 Pin_value hat keine Bedeutung Befehl Beschreibung MQTT Topic Beispiel Anfrage (JSON) get_button_config Gibt verwendete Pins und Namen zurück | NodeESP/[PID]/button/config/get | {“cmd”:“get_button_config”} || get_button_state | Gibt den aktuellen Zustand der Buttons zurück | NodeESP/[PID]/button/state/get | {“cmd”:“get_button_state”} | ...

29.11.2018 · 3 min · Fabian Kainka

das-nodeesp-board

Das NodeESP Board Das NodeESP Board Der NodeESP ist ein Experimentier- und Entwicklungsboard für den Bereich IoT und Hausautomatisierung. Die vorprogrammierte Firmware mit integrierter Webseite erlaubt es Ihnen, einfache Konfigurationen vorzunehmen und Programme und Anwendungen kinderleicht in einem Menü auszuwählen. So können Sie durch wenige Mausklicks das Board als smarten Schalter, buntes Licht oder Raumklimasensor konfigurieren und mit anderen Geräten in Ihrem Heimnetz verbinden. Für eigene individuelle Projekte lässt sich das Board außerdem über die Arduino IDE programmieren. ...

10.11.2018 · 1 min · Fabian Kainka

NodeESP Technical Specs

10.11.2018 · 0 min · Fabian Kainka

NodeESP Firmware Reinstallieren

Das NodeESP wird mit einer Firmware ausgeliefert, die bereits einige Beispielprogramme beinhaltet. Diese Firmware lässt sich über die Update Funktion auf der Config-Seite updaten. Die Firmware kann aber auch mit eigenen Programmen überspielt werden. Doch egal ob man selbst ein paar eigene Programme auf das Board programmiert hat oder die Update Funktion mal nicht so funktioniert hat wie geplant, irgendwann kommt man eventuell an den Punkt, an dem man die Firmware neu installieren möchte. Diese Anleitung beschreibt die Schritte, die nötig sind, um die aktuelle Firmware manuell auf dem Board zu installieren. ...

10.11.2018 · 3 min · Fabian Kainka