The new Arduino sketch can be downloaded below.
The firmware is present as Arduino sketch, which is customizable to your needs.
Die Firmware liegt als Arduino-Sketch vor, welche nach eigenen Bedürfnissen anpassbar ist.
Something like that can be easily implemented by slightly modifying the Arduino sketch used in the last installment.
Sowas ließe sich leicht realisieren, wenn wir den Arduino-Sketch aus der letzten Folge geringfügig abwandeln.
Download the Arduino sketch and compare the code with the sketch from the last installment.
Laden Sie den Arduino-Sketch herunter und vergleichen Sie den Code zuerst einmal mit dem Sketch aus der letzten Folge.
Frustratingly, in all the previous installments we've had to write these configuration credentials for the network in the Arduino sketch then recompile the program and upload it - when you want to use a different network, this procedure needs to be repeated.
Lästigerweise mussten wir in allen bisherigen Folgen immer noch die Zugangsdaten für das Netzwerk in den Arduino-Sketch schreiben, das Programm danach neu kompilieren und dann hochladen - bei einem Netzwerkwechsel geht das Spiel von neuem los.
You can probably already guess where we are going here: so far we've had to hardcode all the board settings into an Arduino sketch.
Vielleicht ahnen Sie auch schon, wo die Reise hingehen soll: Bisher mussten wir alle Einstellungen für unser Board hardcodiert in einen Arduino-Sketch eintragen.
The Arduino sketch described in the original document was also slightly modified: The number of samples for each calculated measurement was reduced to 2000.
Das Arduino-Sketch aus dem Originaldokument wurde ebenfalls leicht modifiziert: Die Anzahl Samples für jeden Messwert wurde auf 2000 reduziert.
By declaring the URL string '' instead of the specific IP address '52.29.193.216' in the Arduino sketch (and my test client for the PC) we were up and running again.
Jedenfalls funktionierte alles wieder, nachdem ich im Arduino-Sketch (und meinem Test-Client für den PC) statt der IP-Adresse „52.29.193.216" den URL-String „" angab.
Once the page is sent, the HTTP request is evaluated by the Arduino sketch.
Nach dem Abschicken des Formulars wird die HTTP-Anfrage vom Arduino-Sketch ausgewertet.
As a basis for my firmware I used the Arduino sketch from the last installment, including the small TCP/ IP and the rudimentary MQTT library.
Als Basis für meine Firmware verwendete ich den Arduino-Sketch aus der letzten Folge, inklusive der kleinen TCP/IP- und der rudimentären MQTT-Library.
You will first need to enter the SSID of your Wi-Fi and the Wi-Fi password into the Arduino sketch before you compile the program and load it onto the board.
Im Arduino-Sketch müssen Sie wie gehabt zuerst Ihre WLAN-SSID und das WLAN-Passwort eintragen, bevor Sie das Programm kompilieren und auf das Board laden.
Again the instructions, including the downloadable Arduino sketch, are to be found on the Instructables site.
Auch in diesem Fall sind die Anleitung und der Arduino-Sketch zum Herunterladen auf der Seite mit der Bauanleitung zu finden.
When run, this blinks the on-board LED. Readers familiar with Arduino's C-based code structure and functions will note the similarity of the class functions to those used within an Arduino sketch.
Sowohl Codestruktur als auch Funktionen des Arduino basieren auf C. Leser, die hiermit vertraut sind, werden daher die Ähnlichkeit zwischen diesen und den in einem Arduino-Sketch verwendeten Klassenfunktionen bemerken.