{"id":946,"date":"2018-08-06T21:06:34","date_gmt":"2018-08-06T19:06:34","guid":{"rendered":"https:\/\/www.nerdiy.de\/?p=946"},"modified":"2020-05-02T12:08:02","modified_gmt":"2020-05-02T10:08:02","slug":"ardunio-the-serial-interface","status":"publish","type":"post","link":"https:\/\/nerdiy.de\/en\/ardunio-the-serial-interface\/","title":{"rendered":"HowTo: Ardunio \u2013 Use the serial port"},"content":{"rendered":"<p>Normally every Arduino board is programmed via the serial interface.<br \/>\nBut not only the program code can be transferred to the Arduino. You can also send control commands to the Arduino or receive values from the Arduino.<\/p>\n<p>How to do this and what options you have I describe in the following article.<\/p>\n<hr \/>\n<h2><span style=\"color: #ff0000;\">Safety instructions <\/span><\/h2>\r\n<p><span style=\"color: #ff0000;\">I know the following notes are always kind of annoying and seem unnecessary. Unfortunately, many people who knew &quot;better&quot; have lost eyes, fingers or other things due to carelessness or injured themselves. Data loss is almost negligible in comparison, but even these can be really annoying. Therefore, please take five minutes to read the safety instructions. Because even the coolest project is not worth injury or other trouble.<\/span><br \/><strong><em><a href=\"https:\/\/nerdiy.de\/en\/safety-instructions\/\"><span style=\"color: #ff0000;\">https:\/\/www.nerdiy.de\/sicherheitshinweise\/<\/span><\/a><\/em><\/strong><\/p>\r\n<h2>Affiliate links\/advertising links<\/h2>\r\n<p><em>The links to online shops listed here are so-called affiliate links. If you click on such an affiliate link and make a purchase via this link, Nerdiy.de will receive a commission from the relevant online shop or provider. The price does not change for you. If you make your purchases via these links, you support Nerdiy.de in being able to offer other useful projects in the future. \ud83d\ude42\u00a0<\/em><\/p>\n<hr \/>\n<h2>Prepare serial interface<\/h2>\n<p>To use the serial port in your program you have to initialize it.<br \/>\nThis is done by calling in the \"setup()\" function the function<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">Serial.begin(115200);<\/pre>\n<p>is called. The number \"115200\" stands for the baud rate - i.e. the speed - with which the symbols (not bits or bytes) are transmitted via the serial interface. You should make this speed dependent on the \"quality\" of the connection line.<\/p>\n<p>For example, if you have a shielded and very short cable, the speed can be set very high.<br \/>\nFor unshielded and\/or very long cables, this speed should not be set so high.<\/p>\n<p>Common baud rates are for example the following values:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">50\r\n110\r\n150\r\n300\r\n1200\r\n2400\r\n4800\r\n9600\r\n19200\r\n38400\r\n57600\r\n115200\r\n230400\r\n460800\r\n500000<\/pre>\n<p>No matter which speed you set, this value must also be set in the \"Serial Monitor\" - i.e. the other communication partner of the serial communication. Only then the characters are received and sent correctly. You will learn more about this in the course of the text.<\/p>\n<p>If you are unsure which baud rate to use I recommend values between 9600 baud and 115200 baud. These and the values in between are also the common values for many finished products like sensors and actuators.<\/p>\n<hr \/>\n<h2>Send data from the Arduino board to the connected computer<\/h2>\n<p>To send data from your Arduino board to the connected computer you have to call the following function.<\/p>\n<p>This sends the text \"Hello world!\" including line break to the computer.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">Serial.println(&quot;Hello world!&quot;);<\/pre>\n<p>As an example you can try the following code.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">void setup() { Serial.begin(115200); } void loop() { Serial.println(&quot;Hello world!&quot;); delay(1000); }<\/pre>\n<figure id=\"attachment_6175\" aria-describedby=\"caption-attachment-6175\" style=\"width: 716px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-46-39.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"6175\" data-permalink=\"https:\/\/nerdiy.de\/en\/ardunio-the-serial-interface\/javaw-2019-05-28-21-46-39\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-46-39.png?fit=716%2C420&amp;ssl=1\" data-orig-size=\"716,420\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"javaw-2019-05-28-21-46-39\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-46-39.png?fit=300%2C176&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-46-39.png?fit=716%2C420&amp;ssl=1\" class=\"wp-image-6175 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-46-39.png?resize=716%2C420&#038;ssl=1\" alt=\"\" width=\"716\" height=\"420\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-46-39.png?w=716&amp;ssl=1 716w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-46-39.png?resize=300%2C176&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-46-39.png?resize=600%2C352&amp;ssl=1 600w\" sizes=\"auto, (max-width: 716px) 100vw, 716px\" \/><\/a><figcaption id=\"caption-attachment-6175\" class=\"wp-caption-text\">This will give you the output shown. After each \"Hello world!\" a change to the next line is made automatically.<\/figcaption><\/figure>\n<p>In the following combination, the function sends the text \"Hello world!\" to the computer without a line break.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">Serial.print(&quot;Hello world!&quot;);<\/pre>\n<p>There is another example of this.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">void setup() { Serial.begin(115200); } void loop() { Serial.print(&quot;Hello world!&quot;); delay(1000); }<\/pre>\n<figure id=\"attachment_6176\" aria-describedby=\"caption-attachment-6176\" style=\"width: 716px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-47-46.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"6176\" data-permalink=\"https:\/\/nerdiy.de\/en\/ardunio-the-serial-interface\/javaw-2019-05-28-21-47-46\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-47-46.png?fit=716%2C420&amp;ssl=1\" data-orig-size=\"716,420\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"javaw-2019-05-28-21-47-46\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-47-46.png?fit=300%2C176&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-47-46.png?fit=716%2C420&amp;ssl=1\" class=\"wp-image-6176 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-47-46.png?resize=716%2C420&#038;ssl=1\" alt=\"\" width=\"716\" height=\"420\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-47-46.png?w=716&amp;ssl=1 716w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-47-46.png?resize=300%2C176&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-47-46.png?resize=600%2C352&amp;ssl=1 600w\" sizes=\"auto, (max-width: 716px) 100vw, 716px\" \/><\/a><figcaption id=\"caption-attachment-6176\" class=\"wp-caption-text\">Since there is no line break after the \"Hello World!\", a long line is created from several \"Hello World!\" sections.<\/figcaption><\/figure>\n<p>If you want to send variable values - in this case the value of the variable \"funny_variable\" - you can do this as follows:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">uint8_t funny_variable=5; Serial.println(String(funny_variable));<\/pre>\n<p>As an example, the whole thing looks like this again.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">void setup() { Serial.begin(115200); } void loop() { uint8_t funny_variable=5; Serial.println(String(funny_variable)); delay(1000); }<\/pre>\n<figure id=\"attachment_6177\" aria-describedby=\"caption-attachment-6177\" style=\"width: 716px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-49-31.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"6177\" data-permalink=\"https:\/\/nerdiy.de\/en\/ardunio-the-serial-interface\/javaw-2019-05-28-21-49-31\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-49-31.png?fit=716%2C420&amp;ssl=1\" data-orig-size=\"716,420\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"javaw-2019-05-28-21-49-31\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-49-31.png?fit=300%2C176&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-49-31.png?fit=716%2C420&amp;ssl=1\" class=\"wp-image-6177 size-full\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-49-31.png?resize=716%2C420&#038;ssl=1\" alt=\"\" width=\"716\" height=\"420\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-49-31.png?w=716&amp;ssl=1 716w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-49-31.png?resize=300%2C176&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-49-31.png?resize=600%2C352&amp;ssl=1 600w\" sizes=\"auto, (max-width: 716px) 100vw, 716px\" \/><\/a><figcaption id=\"caption-attachment-6177\" class=\"wp-caption-text\">The value (5) of the variable is output including line break.<\/figcaption><\/figure>\n<p>Sending a line break means that in addition to the actual message content, a control character is also sent that signals the recipient to change to the next line.<\/p>\n<hr \/>\n<h2>Use serial monitor<\/h2>\n<p>The Serial Monitor is the counterpart to the Arduino board. It is the program which receives the data from the computer and makes it readable for you.<br \/>\nYou can find it as part of the Arduino IDE under the menu item \"Tools\/Serial Monitor\". Tools like this \"Serial Monitor\" are also called terminal programs. A good alternative to the \"Serial Monitor\" of the Arduino IDE is also the program <em><strong><a href=\"http:\/\/www.der-hammer.info\/terminal\/\">HTERM.<\/a><\/strong><\/em><\/p>\n<figure id=\"attachment_951\" aria-describedby=\"caption-attachment-951\" style=\"width: 810px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/06\/Screenshot-60.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"951\" data-permalink=\"https:\/\/nerdiy.de\/en\/ardunio-the-serial-interface\/screenshot-60\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/06\/Screenshot-60.png?fit=1367%2C674&amp;ssl=1\" data-orig-size=\"1367,674\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Serieller Monitor\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Im Fenster des Seriellen Monitors lassen sich der Zeilenumbruch und die Baudrate einstellen. Durch einen Klick auf &amp;#8222;Ausgabe l\u00f6schen&amp;#8220; l\u00e4sst sich au\u00dferdem der Inhalt des Ausgabefensters l\u00f6schen.&lt;\/p&gt;\" data-medium-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/06\/Screenshot-60.png?fit=300%2C148&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/06\/Screenshot-60.png?fit=810%2C399&amp;ssl=1\" class=\"size-large wp-image-951\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/06\/Screenshot-60-1024x505.png?resize=810%2C399&#038;ssl=1\" alt=\"\" width=\"810\" height=\"399\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/06\/Screenshot-60.png?resize=1024%2C505&amp;ssl=1 1024w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/06\/Screenshot-60.png?resize=300%2C148&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/06\/Screenshot-60.png?resize=768%2C379&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/06\/Screenshot-60.png?resize=600%2C296&amp;ssl=1 600w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/06\/Screenshot-60.png?w=1367&amp;ssl=1 1367w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><figcaption id=\"caption-attachment-951\" class=\"wp-caption-text\">In the Serial Monitor window the line terminator and the baud rate can be set. By clicking on \"Clear output\" the content of the output window can also be cleared.<\/figcaption><\/figure>\n<p>In the window of the serial monitor you can set the baud rate. Here you have to set the same value that you have set before in the program code.<br \/>\nIf you have used the command<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"cpp\">Serial.begin(115200);<\/pre>\n<p>so you have to set a baudrate of 115200 baud in the serial monitor.<\/p>\n<p>Besides the baud rate you can also set the line terminator. You only need this setting if you want to send data from the computer to the Arduino.<\/p>\n<p>Here you can set the character that is automatically appended and sent after each value is sent.<\/p>\n<p>You can use this in your code for example to detect on the Arduino if the transmission of a command or value is completed.<\/p>\n<p>In the section \"Sending commands and parameters to the Arduino\" this is explained in detail.<\/p>\n<hr \/>\n<h2>Use serial plotter<\/h2>\n<p>The serial plotter is a tool with which you can display numerical values (e.g. measured values) directly on the computer as a time curve. To do this, you must program the Arduino so that it sends the numerical values to the computer.<br \/>\nThis can be done, for example, with the command:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"cpp\">Serial.println(VariableWithAReading);<\/pre>\n<p>The variable \"VariableWithAMeasuredValue\" should of course contain your measured value as a number.<br \/>\nOn the computer you have to start the serial plotter. You can find it under \"Tools\/Serial Plotter\".<\/p>\n<p>A simple example that outputs a sine curve on the serial plotter is the following. Just try the code. It should run on any Arduino. Remember to set your serial plotter to 115200 baud.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">\/* _ _ _ _ _\r\n                                 | | | | |(_) | |\r\n  __ ____ ____ __ | | | ___ _ __ __| | _ _ _ __| | ___\r\n    \/ \/ \/ \/ \/ \/ \/ \/ \/ | . ` | \/ _ | '__|\/ _` || || | | | \/ _` | \/ _\r\n    V V \/ V V \/ V \/_ | | || __\/| | (_| || |_| | _| (_| || __\/\r\n    \\_\/\\_\/ \\_\/\\_\/ \\_\/\\_\/(_)|_| \\_| \\___||_| \\__,_||_| \\__, |(_)\\__,_| \\___|\r\n                                                               __\/ |\r\n                                                              |___\/\r\n     sinusTest by Fabian Steppat\r\n     Info on https:\/\/www.nerdiy.de\/ardunio-die-serielle-schnittstelle\/\r\n\r\n     This program is free software: you can redistribute it and\/or modify\r\n     it under the terms of the GNU General Public License as published by\r\n     the Free Software Foundation, either version 3 of the License, or\r\n     (at your option) any later version.\r\n\r\n     This program is distributed in the hope that it will be useful,\r\n     but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r\n     GNU General Public License for more details.\r\n\r\n     You should have received a copy of the GNU General Public License\r\n     along with this program.  If not, see .\r\n\r\n     You will find additional information to this project at the following address:\r\n     <blockquote class=\"wp-embedded-content\" data-secret=\"mLWFSFs3Oe\"><a href=\"https:\/\/nerdiy.de\/en\/ardunio-the-serial-interface\/\">HowTo: Ardunio \u2013 Use the serial port<\/a><\/blockquote><iframe loading=\"lazy\" title=\"&quot;HowTo: Ardunio - Use the serial interface&quot; \u2014 Nerdiy.de\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"https:\/\/nerdiy.de\/ardunio-die-serielle-schnittstelle\/embed\/#?secret=mLWFSFs3Oe\" data-secret=\"mLWFSFs3Oe\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\r\n\r\n     This codesnippet prints a sine wave via serial console or serial plotter *\/ \/\/variables and constants float degreeAngle = 0; float sinusValue = 0; const float pi = 3.1415; float radianAngle = 0; const uint8_t sinusFactor = 50; void setup() { Serial.begin(115200); } void loop() { radiantAngle = degreeAngle * pi \/ 180; \/\/making deg in radians sinusValue = sin(radiantAngle); \/\/calculate sine from radiant angle degreeAngle += 1.0; \/\/increase the angle delay(5); \/\/make output a bit slower if (degreeAngle &gt; 360) \/\/if degree boundary is reached reset it to zero { degreeAngle = 0; } Serial.println(sinusFactor * sinusValue); \/\/output to serial monitor\/plotter }<\/pre>\n<figure id=\"attachment_6174\" aria-describedby=\"caption-attachment-6174\" style=\"width: 810px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-36-47.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"6174\" data-permalink=\"https:\/\/nerdiy.de\/en\/ardunio-the-serial-interface\/javaw-2019-05-28-21-36-47\/\" data-orig-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-36-47.png?fit=1046%2C420&amp;ssl=1\" data-orig-size=\"1046,420\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"javaw-2019-05-28-21-36-47\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-36-47.png?fit=300%2C120&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-36-47.png?fit=810%2C325&amp;ssl=1\" class=\"wp-image-6174 size-large\" src=\"https:\/\/i0.wp.com\/www.nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-36-47-1024x411.png?resize=810%2C325&#038;ssl=1\" alt=\"\" width=\"810\" height=\"325\" srcset=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-36-47.png?resize=1024%2C411&amp;ssl=1 1024w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-36-47.png?resize=300%2C120&amp;ssl=1 300w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-36-47.png?resize=768%2C308&amp;ssl=1 768w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-36-47.png?resize=600%2C241&amp;ssl=1 600w, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-36-47.png?w=1046&amp;ssl=1 1046w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><figcaption id=\"caption-attachment-6174\" class=\"wp-caption-text\">The above example should display the illustrated sine wave on the serial plotter.<\/figcaption><\/figure>\n<p>Of course, the plotter works not only with sine values but also with all other numerical values.<\/p>\n<hr \/>\n<h2>Send commands and parameters to the Arduino<\/h2>\n<p>So now you know how to send various status messages or values from the Arduino to the computer.<br \/>\nBut it also works the other way around. This is especially useful or practical if you want to control the Arduino from the outside and do not want to connect input devices such as buttons and Co. to the Arduino (or can due to lack of GPIOs).<\/p>\n<p>For example, you can set the brightness or color of an LED or even a motor speed of a connected motor via the serial interface alone.<\/p>\n<p>For communication over the serial interface the Arduino IDE provides some useful functions. (The documentation with more details can be found here: <em><strong><a href=\"https:\/\/www.arduino.cc\/reference\/en\/language\/functions\/communication\/serial\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.arduino.cc\/reference\/en\/language\/functions\/communication\/serial\/<\/a><\/strong><\/em>)<\/p>\n<p>So that the reception and the evaluation of Befeheln works, there are now three tasks to solve:<br \/>\n1. how does the Arduino recognize received characters?<br \/>\n2. how to assemble complete commands from the received characters?<br \/>\n3. how can these received commands be evaluated?<\/p>\n<p><strong>1. how the Arduino recognizes received characters<\/strong><\/p>\n<p>Now to react on incoming characters there is the function<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">Serial.available()<\/pre>\n<p>This checks whether new characters are contained in the receive buffer of the Arduino. The receive buffer is a kind of buffer in which received characters are stored until the microcontroller of the Arduino has time to \"take care\" of the received characters.<\/p>\n<p>In the case that new characters have been received but not yet read from the receive buffer the function \"Serial.available()\" returns \"true\" otherwise \"false\".<\/p>\n<p>This function is perfect to check if characters have been received which have to be evaluated now. The command does not tell us how many characters were received. It only says that at least one character is in the receive buffer.<\/p>\n<p><strong>2. how to turn the received characters into complete commands<\/strong><\/p>\n<p>Good, now we have recognized thanks to the previous function that at least one character is available in the receive buffer. But how do we get the received characters now?<\/p>\n<p>Characters from the receive buffer can be deleted with the command<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">Serial.read()<\/pre>\n<p>read out. In doing so, the function outputs the first character contained in the receive buffer and automatically removes it from the receive buffer.<br \/>\nTo read all characters and write them into a variable, we now read from the receive buffer until it is empty and remember each character read.<br \/>\nThis can be implemented with a loop, for example, like this:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">void check_serial_receive() { String serialbuffer; while (Serial.available()) { char currentChar = (char)Serial.read(); if (currentChar == 13) \/\/check if the read character is the line terminator { evaluate_received_characters(serialbuffer); } else { serialbuffer += currentcharacter; } } }<\/pre>\n<p>As you can see the code consists of a while loop that runs until the receive buffer is empty (then Serial.available()==false).<br \/>\nWithin the while loop, the characters contained on the start buffer are read character by character (Serial.read()), assigned to the variable \"currentcharacter\" and appended to the string \"serialBuffer\".<\/p>\n<p>This is where the line terminator mentioned in the section \"Serial Monitor\" comes into play. In this (and any other terminal program) you can set a character which is automatically appended and sent after each character or string is sent.<\/p>\n<p>This line terminator can now be used to detect whether the previously read string is complete and can therefore be evaluated.<br \/>\nThis means that each character received must be checked to see if it is the line terminator character. In the code shown above this is done by<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">if (currentChar == 13)...<\/pre>\n<p>Don't let the 13 confuse you. The problem with line terminators is that they are not listed on a keyboard. So you can't \"type\" them into the code as comparison characters.<br \/>\nTo check the received character for the character terminator anyway, we use a trick here.<\/p>\n<p>Thanks to the <em><strong><a href=\"http:\/\/lmgtfy.com\/?t=i&amp;q=ascii+table\">Ascii table<\/a><\/strong><\/em> we know that each character in the computer corresponds to a byte value (i.e. a numerical value between 0 and 255).<br \/>\nSo if you store an \"A\" in the Arduino, for example, it actually stores the numerical value \"65\".<br \/>\nIf you want to check whether a received character corresponds to an \"A\" you could either use<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">if (currentcharacter == &quot;A&quot;)<\/pre>\n<p>or else<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">if (currentcharacter == 65)<\/pre>\n<p>write. Both comparisons would lead to the same result.<\/p>\n<p>We now make use of this trick. To check whether the currently received character is a line terminator such as the CR (=CarriageReturn), we do not check the character itself but the value of the character in the ascii table: i.e. 13.<\/p>\n<p>So as soon as this character has been received we know that all previously sent characters are supposed to represent a command and must now be evaluated.<\/p>\n<p><strong>3. how these received commands can be evaluated<\/strong><\/p>\n<p>We or the Arduino has now received a command. This is stored in the string variable \"serialBuffer\" and is passed as a function parameter to the function \"received_characters_evaluate()\".<\/p>\n<p>This function could look like this, for example:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">void received_character_evaluate(String serialBuffer)\r\n{\r\n   Serial.println(\"\" + String(serialBuffer) + \"\" received.\"); \/\/output the command just received.\r\n   \r\n   if (serialBuffer == \"simplerCommandDerWasTut\")\r\n   {\r\n      simpler_command_the_what_tut();\r\n   } else if (serialBuffer.indexOf('=') != -1)\r\n   {\r\n      uint16_t receivedValue = serialBuffer.substring(serialBuffer.indexOf('=') + 1).toInt();\r\n      String receivedParameter = serialBuffer.substring(0, serialBuffer.indexOf('='));\r\n      \r\n      if (receivedParameter == \"commandSetOneValue\")\r\n      {\r\n         if (receivedValue = 0)\r\n         {\r\n            command_the_one_value_sets(receivedvalue );\r\n         } else\r\n         {\r\n            Serial.println(F(\"Value outside the allowed range of values.\"));\r\n         }\r\n      } else\r\n      {\r\n         Serial.print(F(\"The command \"\"));\r\n         Serial.print(serialBuffer);\r\n         Serial.print(F(\"\" was not recognized.\"));\r\n      }\r\n   } else\r\n   {\r\n      Serial.print(F(\"The command \"\"));\r\n      Serial.print(serialBuffer);\r\n      Serial.print(F(\"\" was not recognized.\"));\r\n   }\r\n}<\/pre>\n<p>After receiving a command it will be output again, this is very useful for debugging purposes. So you can check which string has finally arrived in the Arduino.<\/p>\n<p>After that, a simple IF query can be used to check which string the received command corresponds to. Here, for example, it is checked whether the command corresponds to the string \"simplerCommandDerWasTut\".<br \/>\nIf this is the case, the function \"simpler_command_which_does();\" is executed.<\/p>\n<p>With the help of these \"absolute\" commands you can now send simple commands. For example, to turn a light on or off.<\/p>\n<p>However, in order to be able to pass values, it must also be possible to evaluate commands in the form \"brightnessSetTo=20\".<br \/>\nSo the command name (in this case \"brightnessSetOn\") and the value (in this case \"20\") must be recognized.<\/p>\n<p>This is done in the further part of the code shown above.<br \/>\nIf none of the \"absolute\" commands match the received string, the program checks if there is an \"=\" character in the received string.<\/p>\n<p>For example, if you send the command \"setbrightness=100\" to the Arduino, it will not be able to assign the entire string \"setbrightness=100\" to an \"absolute\" command.<\/p>\n<p>In this case, the received string is examined for an equal sign and this is also found.<\/p>\n<p>Then the received string is split into the part before and after the equal sign with the following commands.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">uint16_t receivedValue = serialbuffer.substring(serialbuffer.indexOf(&#039;=&#039;) + 1).toInt(); String of received parameters = serialbuffer.substring(0, serialbuffer.indexOf(&#039;=&#039;));<\/pre>\n<p>Now the variable \"receivedValue\" contains \"100\" and the variable \"receivedParameter\" contains the command \"setBrightness\".<\/p>\n<p>Once extracted from the received string, the two values can then be further processed and acted upon.<\/p>\n<p>Just try it \ud83d\ude42<br \/>\nYou can find the whole code to try out here:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">\/* _ _ _ _ _\r\n                                 | | | | |(_) | |\r\n  __ ____ ____ __ | | | ___ _ __ __| | _ _ _ __| | ___\r\n    \/ \/ \/ \/ \/ \/ \/ \/ \/ | . ` | \/ _ | '__|\/ _` || || | | | \/ _` | \/ _\r\n    V V \/ V V \/ V \/_ | | || __\/| | (_| || |_| | _| (_| || __\/\r\n    \\_\/\\_\/ \\_\/\\_\/ \\_\/\\_\/(_)|_| \\_| \\___||_| \\__,_||_| \\__, |(_)\\__,_| \\___|\r\n                                                               __\/ |\r\n                                                              |___\/\r\n     serialTest by Fabian Steppat\r\n     Info on https:\/\/www.nerdiy.de\/ardunio-die-serielle-schnittstelle\/\r\n\r\n     This program is free software: you can redistribute it and\/or modify\r\n     it under the terms of the GNU General Public License as published by\r\n     the Free Software Foundation, either version 3 of the License, or\r\n     (at your option) any later version.\r\n\r\n     This program is distributed in the hope that it will be useful,\r\n     but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r\n     GNU General Public License for more details.\r\n\r\n     You should have received a copy of the GNU General Public License\r\n     along with this program.  If not, see .\r\n\r\n     You will find additional information to this project at the following address:\r\n     <blockquote class=\"wp-embedded-content\" data-secret=\"mLWFSFs3Oe\"><a href=\"https:\/\/nerdiy.de\/en\/ardunio-the-serial-interface\/\">HowTo: Ardunio \u2013 Use the serial port<\/a><\/blockquote><iframe loading=\"lazy\" title=\"&quot;HowTo: Ardunio - Use the serial interface&quot; \u2014 Nerdiy.de\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"https:\/\/nerdiy.de\/ardunio-die-serielle-schnittstelle\/embed\/#?secret=mLWFSFs3Oe\" data-secret=\"mLWFSFs3Oe\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\r\n\r\n     This codesnippet is a basic concept of a serial communication to control an arduino via serial commands *\/ { Serial.begin(115200); } void loop() { check_serial_receive(); } void check_serial_receive() { String serialbuffer; while (Serial.available()) { char currentChar = (char)Serial.read(); if (currentChar == 13) { evaluate_received_characters(serialbuffer); } else { serialbuffer += currentcharacter; } } } void evaluate_received_characters(string serialbuffer) { Serial.println(&quot;&quot;&quot; + String(serialbuffer) + &quot;&quot;received.&quot;); if (serial buffer == &quot;simpleCommandTheWhatDoes&quot;) { simpler_command_that_does_the_what(); } else if (serialBuffer.indexOf(&#039;=&#039;) != -1) { uint16_t receivedValue = serialBuffer.substring(serialBuffer.indexOf(&#039;=&#039;) + 1).toInt(); String of received parameters = serialbuffer.substring(0, serialbuffer.indexOf(&#039;=&#039;)); if (receivedParameter == &quot;commandThatSetsAValue&quot;) { if (receivedValue &lt;= 23 &amp;amp; &amp; receivedValue &gt;= 0) { command_that_sets_a_value(receivedValue ); } else { Serial.println(F(&quot;Value outside the allowed value range.&quot;)); } } else { Serial.print(F(&quot;The command &quot;&quot;)); Serial.print(serial buffer); Serial.print(F(&quot;&quot; was not recognized.&quot;)); } } else { Serial.print(F(&quot;The command &quot;&quot;)); Serial.print(serial buffer); Serial.print(F(&quot;&quot; was not recognized.&quot;)); } }<\/pre>\n<hr \/>\n<h2>Have fun with the project<\/h2>\r\n<p>I hope everything worked as described for you. If not or you have questions or suggestions please let me know in the comments. I will then add this to the article if necessary.<br \/>Ideas for new projects are always welcome. \ud83d\ude42<\/p>\r\n<p><strong>PS Many of these projects - especially the hardware projects - cost a lot of time and money. Of course I do this because I enjoy it, but if you think it&#039;s cool that I share the information with you, I would be happy about a small donation to the coffee fund. \ud83d\ude42<\/strong><\/p>\r\n<p><a href=\"https:\/\/ko-fi.com\/nerdiy\" target=\"_blank\" rel=\"noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" style=\"border: 0px; height: 36px;\" src=\"https:\/\/i0.wp.com\/cdn.ko-fi.com\/cdn\/kofi4.png?resize=143%2C36&#038;ssl=1\" alt=\"Buy Me a Coffee at ko-fi.com\" width=\"143\" height=\"36\" border=\"0\" \/><\/a>\u00a0 \u00a0 \u00a0 \u00a0<input name=\"cmd\" type=\"hidden\" value=\"_s-xclick\" \/> <input name=\"hosted_button_id\" type=\"hidden\" value=\"UAZE9RMHJY7VJ\" \/> <input title=\"PayPal - The safer, easier way to pay online!\" alt=\"Donate with PayPal button\" name=\"submit\" src=\"https:\/\/www.paypalobjects.com\/de_DE\/DE\/i\/btn\/btn_donateCC_LG.gif\" type=\"image\" \/> <img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.paypal.com\/de_DE\/i\/scr\/pixel.gif?resize=1%2C1&#038;ssl=1\" alt=\"\" width=\"1\" height=\"1\" border=\"0\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>Normally every Arduino board is programmed via the serial interface. However, not only the program code can be transferred to the Arduino. It can also be used to send control commands to the Arduino [...].<\/p>","protected":false},"author":1,"featured_media":6174,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[149,56,66,86],"tags":[29],"class_list":["post-946","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-abendprojekt2h","category-arduino","category-codeschnipsel","category-elektronik","tag-arduino"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>HowTo: Ardunio - Die serielle Schnittstelle verwenden - nerdiy.de - DIY, Elektronik, 3D Druck und mehr...<\/title>\n<meta name=\"description\" content=\"Read a huge collection of detailed Tutorials on Nerdiy.de about all kind of Software, Hardware and general maker topics.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/nerdiy.de\/en\/ardunio-the-serial-interface\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HowTo: Ardunio - Die serielle Schnittstelle verwenden - nerdiy.de - DIY, Elektronik, 3D Druck und mehr...\" \/>\n<meta property=\"og:description\" content=\"Read a huge collection of detailed Tutorials on Nerdiy.de about all kind of Software, Hardware and general maker topics.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/nerdiy.de\/en\/ardunio-the-serial-interface\/\" \/>\n<meta property=\"og:site_name\" content=\"nerdiy.de - DIY, Elektronik, 3D Druck und mehr...\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/nerdiy.de\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/nerdiy.de\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-08-06T19:06:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-02T10:08:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-36-47.png?fit=1046%2C420&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"1046\" \/>\n\t<meta property=\"og:image:height\" content=\"420\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Fab\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@nerdiyde\" \/>\n<meta name=\"twitter:site\" content=\"@nerdiyde\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fab\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/ardunio-die-serielle-schnittstelle\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/ardunio-die-serielle-schnittstelle\\\/\"},\"author\":{\"name\":\"Fab\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/#\\\/schema\\\/person\\\/f1579a71868adb0be60a74246d3e0908\"},\"headline\":\"HowTo: Ardunio &#8211; Die serielle Schnittstelle verwenden\",\"datePublished\":\"2018-08-06T19:06:34+00:00\",\"dateModified\":\"2020-05-02T10:08:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/ardunio-die-serielle-schnittstelle\\\/\"},\"wordCount\":1870,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/ardunio-die-serielle-schnittstelle\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/nerdiy.de\\\/wp-content\\\/uploads\\\/2018\\\/08\\\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-36-47.png?fit=1046%2C420&ssl=1\",\"keywords\":[\"Arduino\"],\"articleSection\":[\"Abendprojekt(&lt;2h)\",\"Arduino\",\"Codeschnipsel\",\"Elektronik\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/ardunio-die-serielle-schnittstelle\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/ardunio-die-serielle-schnittstelle\\\/\",\"url\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/ardunio-die-serielle-schnittstelle\\\/\",\"name\":\"HowTo: Ardunio - Die serielle Schnittstelle verwenden - nerdiy.de - DIY, Elektronik, 3D Druck und mehr...\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/ardunio-die-serielle-schnittstelle\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/ardunio-die-serielle-schnittstelle\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/nerdiy.de\\\/wp-content\\\/uploads\\\/2018\\\/08\\\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-36-47.png?fit=1046%2C420&ssl=1\",\"datePublished\":\"2018-08-06T19:06:34+00:00\",\"dateModified\":\"2020-05-02T10:08:02+00:00\",\"description\":\"Read a huge collection of detailed Tutorials on Nerdiy.de about all kind of Software, Hardware and general maker topics.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/ardunio-die-serielle-schnittstelle\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/ardunio-die-serielle-schnittstelle\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/ardunio-die-serielle-schnittstelle\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/nerdiy.de\\\/wp-content\\\/uploads\\\/2018\\\/08\\\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-36-47.png?fit=1046%2C420&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/nerdiy.de\\\/wp-content\\\/uploads\\\/2018\\\/08\\\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-36-47.png?fit=1046%2C420&ssl=1\",\"width\":1046,\"height\":420},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/ardunio-die-serielle-schnittstelle\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HowTo: Ardunio &#8211; Die serielle Schnittstelle verwenden\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/#website\",\"url\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/\",\"name\":\"nerdiy.de - DIY, Elektronik, 3D Druck und mehr...\",\"description\":\"Bei nerdiy.de dreht sich alles um Elektronik, Heimwerken, 3D-Druck, Smart Home und viele andere technische Themen.\",\"publisher\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/#organization\",\"name\":\"Nerdiy.de\",\"url\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/nerdiy.de\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/www.nerdiy.de-v1.0final180x180-1.png?fit=180%2C180&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/nerdiy.de\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/www.nerdiy.de-v1.0final180x180-1.png?fit=180%2C180&ssl=1\",\"width\":180,\"height\":180,\"caption\":\"Nerdiy.de\"},\"image\":{\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/nerdiy.de\",\"https:\\\/\\\/x.com\\\/nerdiyde\",\"https:\\\/\\\/www.instagram.com\\\/nerdiy.de\\\/\",\"https:\\\/\\\/www.pinterest.de\\\/nerdiyde\\\/\",\"https:\\\/\\\/www.youtube.com\\\/nerdiy\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/nerdiy.de\\\/de_de\\\/#\\\/schema\\\/person\\\/f1579a71868adb0be60a74246d3e0908\",\"name\":\"Fab\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5cd8a2c5a20873f04ac46048f749a6f5335f6d9d3af744d9bb04f4052c44fca2?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5cd8a2c5a20873f04ac46048f749a6f5335f6d9d3af744d9bb04f4052c44fca2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5cd8a2c5a20873f04ac46048f749a6f5335f6d9d3af744d9bb04f4052c44fca2?s=96&d=mm&r=g\",\"caption\":\"Fab\"},\"sameAs\":[\"https:\\\/\\\/nerdiy.de\",\"https:\\\/\\\/www.facebook.com\\\/nerdiy.de\\\/\",\"https:\\\/\\\/www.instagram.com\\\/nerdiy.de\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/nerdiy-de\\\/\",\"http:\\\/\\\/www.pinterest.com\\\/nerdiyde\\\/\",\"https:\\\/\\\/x.com\\\/nerdiyde\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/Nerdiy\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HowTo: Ardunio - Using the serial interface - nerdiy.de - DIY, electronics, 3D printing and more...","description":"Read a huge collection of detailed Tutorials on Nerdiy.de about all kind of Software, Hardware and general maker topics.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/nerdiy.de\/en\/ardunio-the-serial-interface\/","og_locale":"en_US","og_type":"article","og_title":"HowTo: Ardunio - Die serielle Schnittstelle verwenden - nerdiy.de - DIY, Elektronik, 3D Druck und mehr...","og_description":"Read a huge collection of detailed Tutorials on Nerdiy.de about all kind of Software, Hardware and general maker topics.","og_url":"https:\/\/nerdiy.de\/en\/ardunio-the-serial-interface\/","og_site_name":"nerdiy.de - DIY, Elektronik, 3D Druck und mehr...","article_publisher":"https:\/\/www.facebook.com\/nerdiy.de","article_author":"https:\/\/www.facebook.com\/nerdiy.de\/","article_published_time":"2018-08-06T19:06:34+00:00","article_modified_time":"2020-05-02T10:08:02+00:00","og_image":[{"width":1046,"height":420,"url":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-36-47.png?fit=1046%2C420&ssl=1","type":"image\/png"}],"author":"Fab","twitter_card":"summary_large_image","twitter_creator":"@nerdiyde","twitter_site":"@nerdiyde","twitter_misc":{"Written by":"Fab","Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/nerdiy.de\/de_de\/ardunio-die-serielle-schnittstelle\/#article","isPartOf":{"@id":"https:\/\/nerdiy.de\/de_de\/ardunio-die-serielle-schnittstelle\/"},"author":{"name":"Fab","@id":"https:\/\/nerdiy.de\/de_de\/#\/schema\/person\/f1579a71868adb0be60a74246d3e0908"},"headline":"HowTo: Ardunio &#8211; Die serielle Schnittstelle verwenden","datePublished":"2018-08-06T19:06:34+00:00","dateModified":"2020-05-02T10:08:02+00:00","mainEntityOfPage":{"@id":"https:\/\/nerdiy.de\/de_de\/ardunio-die-serielle-schnittstelle\/"},"wordCount":1870,"commentCount":0,"publisher":{"@id":"https:\/\/nerdiy.de\/de_de\/#organization"},"image":{"@id":"https:\/\/nerdiy.de\/de_de\/ardunio-die-serielle-schnittstelle\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-36-47.png?fit=1046%2C420&ssl=1","keywords":["Arduino"],"articleSection":["Abendprojekt(&lt;2h)","Arduino","Codeschnipsel","Elektronik"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/nerdiy.de\/de_de\/ardunio-die-serielle-schnittstelle\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/nerdiy.de\/de_de\/ardunio-die-serielle-schnittstelle\/","url":"https:\/\/nerdiy.de\/de_de\/ardunio-die-serielle-schnittstelle\/","name":"HowTo: Ardunio - Using the serial interface - nerdiy.de - DIY, electronics, 3D printing and more...","isPartOf":{"@id":"https:\/\/nerdiy.de\/de_de\/#website"},"primaryImageOfPage":{"@id":"https:\/\/nerdiy.de\/de_de\/ardunio-die-serielle-schnittstelle\/#primaryimage"},"image":{"@id":"https:\/\/nerdiy.de\/de_de\/ardunio-die-serielle-schnittstelle\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-36-47.png?fit=1046%2C420&ssl=1","datePublished":"2018-08-06T19:06:34+00:00","dateModified":"2020-05-02T10:08:02+00:00","description":"Read a huge collection of detailed Tutorials on Nerdiy.de about all kind of Software, Hardware and general maker topics.","breadcrumb":{"@id":"https:\/\/nerdiy.de\/de_de\/ardunio-die-serielle-schnittstelle\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/nerdiy.de\/de_de\/ardunio-die-serielle-schnittstelle\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/nerdiy.de\/de_de\/ardunio-die-serielle-schnittstelle\/#primaryimage","url":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-36-47.png?fit=1046%2C420&ssl=1","contentUrl":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-36-47.png?fit=1046%2C420&ssl=1","width":1046,"height":420},{"@type":"BreadcrumbList","@id":"https:\/\/nerdiy.de\/de_de\/ardunio-die-serielle-schnittstelle\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/nerdiy.de\/de_de\/"},{"@type":"ListItem","position":2,"name":"HowTo: Ardunio &#8211; Die serielle Schnittstelle verwenden"}]},{"@type":"WebSite","@id":"https:\/\/nerdiy.de\/de_de\/#website","url":"https:\/\/nerdiy.de\/de_de\/","name":"nerdiy.de - DIY, electronics, 3D printing and more...","description":"At nerdiy.de, everything revolves around electronics, DIY, 3D printing, smart home and many other technical topics.","publisher":{"@id":"https:\/\/nerdiy.de\/de_de\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/nerdiy.de\/de_de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/nerdiy.de\/de_de\/#organization","name":"Nerdiy.de","url":"https:\/\/nerdiy.de\/de_de\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/nerdiy.de\/de_de\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2020\/04\/www.nerdiy.de-v1.0final180x180-1.png?fit=180%2C180&ssl=1","contentUrl":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2020\/04\/www.nerdiy.de-v1.0final180x180-1.png?fit=180%2C180&ssl=1","width":180,"height":180,"caption":"Nerdiy.de"},"image":{"@id":"https:\/\/nerdiy.de\/de_de\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/nerdiy.de","https:\/\/x.com\/nerdiyde","https:\/\/www.instagram.com\/nerdiy.de\/","https:\/\/www.pinterest.de\/nerdiyde\/","https:\/\/www.youtube.com\/nerdiy"]},{"@type":"Person","@id":"https:\/\/nerdiy.de\/de_de\/#\/schema\/person\/f1579a71868adb0be60a74246d3e0908","name":"Fab","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/5cd8a2c5a20873f04ac46048f749a6f5335f6d9d3af744d9bb04f4052c44fca2?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5cd8a2c5a20873f04ac46048f749a6f5335f6d9d3af744d9bb04f4052c44fca2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5cd8a2c5a20873f04ac46048f749a6f5335f6d9d3af744d9bb04f4052c44fca2?s=96&d=mm&r=g","caption":"Fab"},"sameAs":["https:\/\/nerdiy.de","https:\/\/www.facebook.com\/nerdiy.de\/","https:\/\/www.instagram.com\/nerdiy.de","https:\/\/www.linkedin.com\/company\/nerdiy-de\/","http:\/\/www.pinterest.com\/nerdiyde\/","https:\/\/x.com\/nerdiyde","https:\/\/www.youtube.com\/c\/Nerdiy"]}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/08\/www.nerdiy.de-howto-ardunio-die-serielle-schnittstelle-verwenden-javaw-2019-05-28-21-36-47.png?fit=1046%2C420&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9GM3g-fg","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":928,"url":"https:\/\/nerdiy.de\/en\/arduinoide-tips-and-tricks-2\/","url_meta":{"origin":946,"position":0},"title":"ArduinoIDE - Tips and Tricks","author":"Fab","date":"12. June 2018","format":false,"excerpt":"Die ArdunioIDE ist - verglichen mit anderen Entwicklungsumgebungen - sehr simpel gehalten. Es gibt nicht viele Sachen die man ein- oder verstellen kann. Dies hat den Vorteil, dass Anf\u00e4nger oder \"Fachfremde\" von der Einstellungsvielfalt nicht \u00fcberfordert werden und man bei der Programmierung und \u00dcbertragung nicht soviel falsch machen kann. Trotzdem\u2026","rel":"","context":"In &quot;Arduino&quot;","block_context":{"text":"Arduino","link":"https:\/\/nerdiy.de\/en\/category\/arduino\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/06\/Screenshot-57.png?fit=1200%2C592&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/06\/Screenshot-57.png?fit=1200%2C592&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/06\/Screenshot-57.png?fit=1200%2C592&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/06\/Screenshot-57.png?fit=1200%2C592&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/06\/Screenshot-57.png?fit=1200%2C592&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":6085,"url":"https:\/\/nerdiy.de\/en\/howto-espeasy-execute-commands-2-2\/","url_meta":{"origin":946,"position":1},"title":"HowTo: ESPEasy \u2013 Execute commands and actions via HTTP, MQTT, UDP and directly","author":"Fab","date":"26. May 2019","format":false,"excerpt":"Eine Sache die ESPEasy so praktisch und universell macht ist die M\u00f6glichkeit verschiedene Sensoren und Aktoren \u00fcber Befehle auslesen und steuern zu k\u00f6nnen. Gerade in Kombination mit entsprechenden Rules ergeben sich dadurch unheimlich viele M\u00f6glichkeiten. Um einzelne Befehle zu testen und\/oder generell ausf\u00fchren zu k\u00f6nnen, gibt es mehrere M\u00f6glichkeiten. Diese\u2026","rel":"","context":"In &quot;Arduino&quot;","block_context":{"text":"Arduino","link":"https:\/\/nerdiy.de\/en\/category\/arduino\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/05\/www.nerdiy.de-howto-espeasy-befehle-ausfuehren-firefox-2019-05-26-22-06-37.png?fit=1200%2C634&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/05\/www.nerdiy.de-howto-espeasy-befehle-ausfuehren-firefox-2019-05-26-22-06-37.png?fit=1200%2C634&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/05\/www.nerdiy.de-howto-espeasy-befehle-ausfuehren-firefox-2019-05-26-22-06-37.png?fit=1200%2C634&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/05\/www.nerdiy.de-howto-espeasy-befehle-ausfuehren-firefox-2019-05-26-22-06-37.png?fit=1200%2C634&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/05\/www.nerdiy.de-howto-espeasy-befehle-ausfuehren-firefox-2019-05-26-22-06-37.png?fit=1200%2C634&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":4511,"url":"https:\/\/nerdiy.de\/en\/tasmota-firmware-flash\/","url_meta":{"origin":946,"position":2},"title":"HowTo: Tasmota \u2013 flash firmware","author":"Fab","date":"7. March 2019","format":false,"excerpt":"Neben der Hardware ist die richtige Software f\u00fcr Euer Projekt nat\u00fcrlich genauso wichtig. Eine praktische und universell einsetzbare Firmware f\u00fcr den Wald-und-Wiesen-Mikrocontroller ESP8266 ist die Tasmota Firmware. Damit lassen sich diverse Projekte realisieren ohne, dass Ihr selber programmieren m\u00fcsst. Au\u00dferdem muss man das Rad ja auch nicht jedes mal \"neu\u2026","rel":"","context":"In &quot;Abendprojekt(&lt;2h)&quot;","block_context":{"text":"Abendprojekt(&lt;2h)","link":"https:\/\/nerdiy.de\/en\/category\/evening-project2h\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-tasmota-firmware-flashen-javaw-2019-02-25-20-41-40.png?fit=1200%2C684&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-tasmota-firmware-flashen-javaw-2019-02-25-20-41-40.png?fit=1200%2C684&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-tasmota-firmware-flashen-javaw-2019-02-25-20-41-40.png?fit=1200%2C684&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-tasmota-firmware-flashen-javaw-2019-02-25-20-41-40.png?fit=1200%2C684&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/03\/www.nerdiy.de-tasmota-firmware-flashen-javaw-2019-02-25-20-41-40.png?fit=1200%2C684&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":607,"url":"https:\/\/nerdiy.de\/en\/fibonacci-clock-instruction-manual\/","url_meta":{"origin":946,"position":3},"title":"Fibonacci Clock User Guide","author":"Fab","date":"29. May 2018","format":false,"excerpt":"In den Beitr\u00e4gen FibonacciUhr - Ein ungew\u00f6hnlicher Zeitanzeiger, FibonacciUhr - Zusammenbau und FibonacciUhr - Programmierung habe ich beschrieben wie man sich eine eigene FibonacciUhr bauen kann. Gerade f\u00fcr den Fall, dass man seine selbstgebaute FibonacciUhr verschenken m\u00f6chte ist es praktisch direkt eine Bedienungsanleitung mitschenken zu k\u00f6nnen. F\u00fcr diesen Fall habe\u2026","rel":"","context":"In &quot;Abendprojekt(&lt;2h)&quot;","block_context":{"text":"Abendprojekt(&lt;2h)","link":"https:\/\/nerdiy.de\/en\/category\/evening-project2h\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/05\/fibouhrUebersicht.png?fit=800%2C500&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/05\/fibouhrUebersicht.png?fit=800%2C500&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/05\/fibouhrUebersicht.png?fit=800%2C500&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/05\/fibouhrUebersicht.png?fit=800%2C500&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":617,"url":"https:\/\/nerdiy.de\/en\/fibonacci-clock-programming\/","url_meta":{"origin":946,"position":4},"title":"HowTo: Fibonacci Clock \u2013 Programming","author":"Fab","date":"29. May 2018","format":false,"excerpt":"In den beiden Beitr\u00e4gen FibonacciUhr - Ein ungew\u00f6hnlicher Zeitanzeiger und FibonacciUhr - Zusammenbau wurde die FibonacciUhr vorgestellt und beschrieben wie ihr eine eigene FibonacciUhr zusammenbauen k\u00f6nnt. Nachdem ihr den Zusammenbau abgeschlossen habt steht nun noch die Programmierung der Uhr an. Dies ist im folgendem Artikel beschrieben. Voraussetzungen Zur Programmierung eurer\u2026","rel":"","context":"In &quot;Abendprojekt(&lt;2h)&quot;","block_context":{"text":"Abendprojekt(&lt;2h)","link":"https:\/\/nerdiy.de\/en\/category\/evening-project2h\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/05\/InkedScreenshot-152_LI.jpg?fit=1048%2C590&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/05\/InkedScreenshot-152_LI.jpg?fit=1048%2C590&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/05\/InkedScreenshot-152_LI.jpg?fit=1048%2C590&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2018\/05\/InkedScreenshot-152_LI.jpg?fit=1048%2C590&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":6070,"url":"https:\/\/nerdiy.de\/en\/howto-espeasy-flashing-firmware-2\/","url_meta":{"origin":946,"position":5},"title":"HowTo: ESPEasy \u2013 Compile firmware, flash and configure WLAN access data","author":"Fab","date":"26. May 2019","format":false,"excerpt":"Jedes Projekt besteht neben vielen wichtigen Hardwarekomponenten auch aus der passenden Software. Dabei ist es oft weniger aufwendig das Projekt zusammenzubauen als sp\u00e4ter die dazu passende Software zu schreiben. Diese Arbeit kann man sich aber dank einiger OpenSource-Projekte sparen. Eins davon ist die hier schon oft erw\u00e4hnte Tasmota-Firmware. Eine andere\u2026","rel":"","context":"In &quot;Abendprojekt(&lt;2h)&quot;","block_context":{"text":"Abendprojekt(&lt;2h)","link":"https:\/\/nerdiy.de\/en\/category\/evening-project2h\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/05\/www.nerdiy.de-howto-espeasy-firmware-flashen-und-wlan-zugangsdaten-konfigurieren-screenshot-20190604-150012-settings.jpg?fit=675%2C1200&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/05\/www.nerdiy.de-howto-espeasy-firmware-flashen-und-wlan-zugangsdaten-konfigurieren-screenshot-20190604-150012-settings.jpg?fit=675%2C1200&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/nerdiy.de\/wp-content\/uploads\/2019\/05\/www.nerdiy.de-howto-espeasy-firmware-flashen-und-wlan-zugangsdaten-konfigurieren-screenshot-20190604-150012-settings.jpg?fit=675%2C1200&ssl=1&resize=525%2C300 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/posts\/946","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/comments?post=946"}],"version-history":[{"count":0,"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/posts\/946\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/media\/6174"}],"wp:attachment":[{"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/media?parent=946"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/categories?post=946"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nerdiy.de\/en\/wp-json\/wp\/v2\/tags?post=946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}