{"id":3220,"date":"2024-09-22T10:44:53","date_gmt":"2024-09-22T08:44:53","guid":{"rendered":"https:\/\/www.rommelkist.nl\/elec\/?p=3220"},"modified":"2024-09-22T22:38:58","modified_gmt":"2024-09-22T20:38:58","slug":"n-spoor-deel-28-loc-besturing-met-esp32-c3-2","status":"publish","type":"post","link":"https:\/\/www.rommelkist.nl\/elec\/elektronica\/n-spoor-deel-28-loc-besturing-met-esp32-c3-2\/","title":{"rendered":"N-spoor \u2013 deel 28 \u2013 Loc-besturing met ESP32 &#8211; 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Ok\u00e9. In mijn <a href=\"https:\/\/www.rommelkist.nl\/elec\/elektronica\/supercaps-super-condensatoren\/\" data-type=\"post\" data-id=\"3207\">vorige artikeltje<\/a> heb ik een uitstapje gemaakt naar het inzetten van een supercap om spanningsdips richting de ESP-module op te vangen. <br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/www.rommelkist.nl\/elec\/wp-content\/uploads\/2024\/09\/image-5.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"391\" src=\"https:\/\/www.rommelkist.nl\/elec\/wp-content\/uploads\/2024\/09\/image-5-1024x391.png\" alt=\"\" class=\"wp-image-3236\" style=\"width:550px\" srcset=\"https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/09\/image-5-1024x391.png 1024w, https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/09\/image-5-300x115.png 300w, https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/09\/image-5-768x294.png 768w, https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/09\/image-5-1536x587.png 1536w, https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/09\/image-5-425x162.png 425w, https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/09\/image-5.png 1651w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Hierboven nog een keer het schema hoe de supercap in het geheel ingezet zou moeten\/kunnen worden. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/www.rommelkist.nl\/elec\/wp-content\/uploads\/2024\/09\/Afbeelding-van-WhatsApp-op-2024-09-22-om-10.34.26_f19d39ac.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"769\" height=\"1024\" src=\"https:\/\/www.rommelkist.nl\/elec\/wp-content\/uploads\/2024\/09\/Afbeelding-van-WhatsApp-op-2024-09-22-om-10.34.26_f19d39ac-769x1024.jpg\" alt=\"\" class=\"wp-image-3235\" style=\"width:500px\" srcset=\"https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/09\/Afbeelding-van-WhatsApp-op-2024-09-22-om-10.34.26_f19d39ac-769x1024.jpg 769w, https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/09\/Afbeelding-van-WhatsApp-op-2024-09-22-om-10.34.26_f19d39ac-225x300.jpg 225w, https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/09\/Afbeelding-van-WhatsApp-op-2024-09-22-om-10.34.26_f19d39ac-768x1023.jpg 768w, https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/09\/Afbeelding-van-WhatsApp-op-2024-09-22-om-10.34.26_f19d39ac-1153x1536.jpg 1153w, https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/09\/Afbeelding-van-WhatsApp-op-2024-09-22-om-10.34.26_f19d39ac-413x550.jpg 413w, https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/09\/Afbeelding-van-WhatsApp-op-2024-09-22-om-10.34.26_f19d39ac.jpg 1537w\" sizes=\"auto, (max-width: 769px) 100vw, 769px\" \/><\/a><figcaption class=\"wp-element-caption\">Testopstelling<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Nog even terug: waarom was die spanningsdip ook alweer een probleem? Nou, wanneer de ESP-module start (wanneer de spanning erop gezet wordt) wordt de webserver die erop draait (zie de code hieronder) ook gestart. Wanneer de spanning tijdens een dip wegvalt en weer terugkomt wordt de ESP feitelijk gereset en wordt de webserver dus gestopt en weer opgestart. Dat kost tijd, maar belangrijker: de ESP heeft geen idee meer waarmee ie bezig was! Richting en snelheid worden gereset: de trein staat stil. Die spanningsdip hoeft maar een fractie van een seconde aan te houden om dit probleem te veroorzaken.<br><br>In de testopstelling (hierboven) zorgt de supercap er inderdaad voor dat de ESP bij het tijdelijk wegvallen van de spanning blijft &#8216;leven&#8217;. Zelfs een dip van meerdere seconden (dit zal in de praktijk niet voorkomen) zal opgevangen worden.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: arduino; title: ; notranslate\" title=\"\">\n#include &lt;WiFi.h&gt;\n\n\/\/ Replace with your network credentials\nconst char *ssid = &quot;IthurtswhenIP_2.4&quot;;\nconst char *password = &quot;xxxxxxxxxxx&quot;; \/\/ in te vullen\n\n\/\/ Set web server port number to 80\nWiFiServer server(80);\n\n\/\/ Variable to store the HTTP request\nString header;\nint snelheid;\nint ist_snelheid;\n\n\/\/ Auxiliar variables to store the current output state\nString richtingStatus = &quot;uit&quot;;\nString ist_richtingStatus = &quot;Vooruit&quot;;;\n\n\/\/ the number of the motor pin\nconst int motorPin1 = 9;  \/\/ motor aansluiting 1\nconst int motorPin2 = 8;  \/\/ motor aansluiting 2\n\n\/\/ setting PWM properties\nconst int freq = 200;          \/\/ was 4000\nconst int ledChannel1 = 1;       \/\/ was 0; er zijn 16 channels: 0 - 15\nconst int ledChannel2 = 4;       \/\/ was 0; er zijn 16 channels: 0 - 15\nconst int resolution = 8;       \/\/ was 8: waarde 0 - 255; van 1 tot 16 \n\nvoid setup() {\n\n  \/\/ configure motor PWM functionalitites\n  ledcSetup(ledChannel1, freq, resolution);\n  ledcSetup(ledChannel2, freq, resolution);\n  \n  \/\/ attach the channel to the GPIO to be controlled\n  ledcAttachPin(motorPin1, ledChannel1);\n  ledcAttachPin(motorPin2, ledChannel2); \n\n  Serial.begin(115200);\n  Serial.println(&quot;Loc_besturing_ESP_C3_MotorControl_WiFi_test_4.ino&quot;);\n  \n  \/\/ Connect to Wi-Fi network with SSID and password\n  Serial.print(&quot;Connecting to &quot;);\n  Serial.println(ssid);\n  WiFi.begin(ssid, password);\n  while (WiFi.status() != WL_CONNECTED) {\n    Serial.print(&quot;WL not connected, trying again...&quot;);\n    WiFi.begin(ssid, password);\n    delay(1000);\n    \/\/delay(500);\n    Serial.print(&quot;.&quot;);\n  }\n  \/\/ Print local IP address and start web server\n  Serial.println(&quot;&quot;);\n  Serial.println(&quot;WiFi connected.&quot;);\n  Serial.print(&quot;IP address: &quot;);\n  Serial.println(WiFi.localIP());\n  server.begin();\n}\n\nvoid loop(){\n  WiFiClient client = server.available();   \/\/ Listen for incoming clients\n\n  if (client) {                             \/\/ If a new client connects,\n\/\/    Serial.println(&quot;New Client.&quot;);          \/\/ print a message out in the serial port\n    String currentLine = &quot;&quot;;                \/\/ make a String to hold incoming data from the client\n    while (client.connected()) {            \/\/ loop while the client&#039;s connected\n      if (client.available()) {             \/\/ if there&#039;s bytes to read from the client,\n        char c = client.read();             \/\/ read a byte, then\n        Serial.write(c);                    \/\/ print it out the serial monitor\n        header += c;\n        if (c == &#039;\\n&#039;) {                    \/\/ if the byte is a newline character\n          \/\/ if the current line is blank, you got two newline characters in a row.\n          \/\/ that&#039;s the end of the client HTTP request, so send a response:\n          if (currentLine.length() == 0) {\n            \/\/ HTTP headers always start with a response code (e.g. HTTP\/1.1 200 OK)\n            \/\/ and a content-type so the client knows what&#039;s coming, then a blank line:\n            client.println(&quot;HTTP\/1.1 200 OK&quot;);\n            client.println(&quot;Content-type:text\/html&quot;);\n            client.println(&quot;Connection: close&quot;);\n            client.println();\n\n            \/\/ turns the GPIOs on and off\n            if (header.indexOf(&quot;GET \/1\/on&quot;) &gt;= 0) {\n              richtingStatus = &quot;Vooruit&quot;;     \n            } else if (header.indexOf(&quot;GET \/1\/off&quot;) &gt;= 0) {\n              richtingStatus = &quot;Achteruit&quot;;\n            } \n            \n            if (header.indexOf(&quot;GET \/10&quot;) &gt;= 0) {\n              snelheid = 10;\n            }\n            if (header.indexOf(&quot;GET \/20&quot;) &gt;= 0) {\n              snelheid = 20;\n            } \n            if (header.indexOf(&quot;GET \/30&quot;) &gt;= 0) {\n              snelheid = 30;\n            }           \n            if (header.indexOf(&quot;GET \/40&quot;) &gt;= 0) {\n              snelheid = 40;\n            }\n            if (header.indexOf(&quot;GET \/50&quot;) &gt;= 0) {\n              snelheid = 50;\n            } \n            if (header.indexOf(&quot;GET \/60&quot;) &gt;= 0) {\n              snelheid = 60;\n            }           \n            if (header.indexOf(&quot;GET \/70&quot;) &gt;= 0) {\n              snelheid = 70;\n            }\n            if (header.indexOf(&quot;GET \/80&quot;) &gt;= 0) {\n              snelheid = 80;\n            }\n            if (header.indexOf(&quot;GET \/90&quot;) &gt;= 0) {\n              snelheid = 90;\n            } \n            if (header.indexOf(&quot;GET \/100&quot;) &gt;= 0) {\n              snelheid = 100;\n            }           \n            if (header.indexOf(&quot;GET \/110&quot;) &gt;= 0) {\n              snelheid = 110;\n            }\n            if (header.indexOf(&quot;GET \/120&quot;) &gt;= 0) {\n              snelheid = 120;\n            }\n\n            if (header.indexOf(&quot;GET \/STOP&quot;) &gt;= 0) {\n              snelheid = 0;\n            }\n\n            \/\/ Bij wisseling van rijrichting\n            if (richtingStatus == &quot;Vooruit&quot; &amp;&amp; ist_richtingStatus == &quot;Achteruit&quot;) {\n              snelheid = 0;\n              achteruit_afremmen();\n              ist_richtingStatus = richtingStatus;\n            }\n            if (richtingStatus == &quot;Achteruit&quot; &amp;&amp; ist_richtingStatus == &quot;Vooruit&quot;) {\n              snelheid = 0;\n              vooruit_afremmen();\n              ist_richtingStatus = richtingStatus;\n            }\n\n\n            \/\/ Vooruit of achteruit afhankelijk van richtingStatus\n            if ((ist_richtingStatus) == &quot;Vooruit&quot;) {\n              if ((snelheid) &gt;= (ist_snelheid)){\n                vooruit_optrekken();\n              } else if ((snelheid) &lt;= (ist_snelheid)){\n                vooruit_afremmen();\n              }\n            }\n            if ((ist_richtingStatus) == &quot;Achteruit&quot;) {\n              if ((snelheid) &gt;= (ist_snelheid)){\n                achteruit_optrekken();\n              } else if ((snelheid) &lt;= (ist_snelheid)){\n                achteruit_afremmen();\n              }\n            }\n\n\n            \/\/ Display the HTML web page\n            client.println(&quot;&lt;!DOCTYPE html&gt;&lt;html&gt;&quot;);\n            client.println(&quot;&lt;head&gt;&lt;meta name=\\&quot;viewport\\&quot; content=\\&quot;width=device-width, initial-scale=1\\&quot;&gt;&quot;);\n            client.println(&quot;&lt;link rel=\\&quot;icon\\&quot; href=\\&quot;data:,\\&quot;&gt;&quot;);\n            \/\/ CSS to style the on\/off buttons \n            \/\/ Feel free to change the background-color and font-size attributes to fit your preferences\n            client.println(&quot;&lt;style&gt;html { font-family: Helvetica; display: inline-block; margin: 0px auto; text-align: center;}&quot;);\n            \n            client.println(&quot;.button { background-color: #196A5B; border: none; color: white; padding: 16px 40px;&quot;);\n            client.println(&quot;text-decoration: none; font-size: 18px; margin: 2px; cursor: pointer;}&quot;);\n            client.println(&quot;.button2 {background-color: #196A5B;}&lt;\/style&gt;&lt;\/head&gt;&quot;);\n\n            \/\/ Web Page Heading\n            client.println(&quot;&lt;body&gt;&lt;h1&gt;Locomotief 1&lt;\/h1&gt;&quot;);\n            client.println(WiFi.localIP());\n\n            \/\/ Display current state, and ON\/OFF buttons for motorPin1 \n            \/\/client.println(&quot;&lt;p&gt;Richting is &quot; + richtingStatus + &quot;&lt;\/p&gt;&quot;);\n            \/\/client.println(&quot;&lt;p&gt;Snelheid is &quot; + ist_snelheid + &quot;&lt;\/p&gt;&quot;);\n\n            \n            \/\/client.println(&quot;&lt;p&gt;motorPin2State is &quot; + motorPin2State + &quot;&lt;\/p&gt;&quot;);\n\n            client.print(&quot;&lt;p&gt;&lt;a href=\\&quot;\/10\\&quot;&gt;&lt;button class=\\&quot;button button3\\&quot;&gt;10&lt;\/button&gt;&lt;\/a&gt;&quot;);\n            client.print(&quot;&lt;a href=\\&quot;\/20\\&quot;&gt;&lt;button class=\\&quot;button button3\\&quot;&gt;20&lt;\/button&gt;&lt;\/a&gt;&quot;);\n            client.print(&quot;&lt;a href=\\&quot;\/30\\&quot;&gt;&lt;button class=\\&quot;button button3\\&quot;&gt;30&lt;\/button&gt;&lt;\/a&gt;&quot;);\n            client.print(&quot;&lt;a href=\\&quot;\/40\\&quot;&gt;&lt;button class=\\&quot;button button3\\&quot;&gt;40&lt;\/button&gt;&lt;\/a&gt;&lt;\/p&gt;&quot;);\n\n            client.print(&quot;&lt;p&gt;&lt;a href=\\&quot;\/50\\&quot;&gt;&lt;button class=\\&quot;button button3\\&quot;&gt;50&lt;\/button&gt;&lt;\/a&gt;&quot;);\n            client.print(&quot;&lt;a href=\\&quot;\/60\\&quot;&gt;&lt;button class=\\&quot;button button3\\&quot;&gt;60&lt;\/button&gt;&lt;\/a&gt;&quot;);\n            client.print(&quot;&lt;a href=\\&quot;\/70\\&quot;&gt;&lt;button class=\\&quot;button button3\\&quot;&gt;70&lt;\/button&gt;&lt;\/a&gt;&quot;);\n            client.print(&quot;&lt;a href=\\&quot;\/80\\&quot;&gt;&lt;button class=\\&quot;button button3\\&quot;&gt;80&lt;\/button&gt;&lt;\/a&gt;&lt;\/p&gt;&quot;);\n            \n            client.print(&quot;&lt;p&gt;&lt;a href=\\&quot;\/90\\&quot;&gt;&lt;button class=\\&quot;button button3\\&quot;&gt;90&lt;\/button&gt;&lt;\/a&gt;&quot;);\n            client.print(&quot;&lt;a href=\\&quot;\/100\\&quot;&gt;&lt;button class=\\&quot;button button3\\&quot;&gt;100&lt;\/button&gt;&lt;\/a&gt;&quot;);\n            client.print(&quot;&lt;a href=\\&quot;\/110\\&quot;&gt;&lt;button class=\\&quot;button button3\\&quot;&gt;110&lt;\/button&gt;&lt;\/a&gt;&quot;);\n            client.print(&quot;&lt;a href=\\&quot;\/120\\&quot;&gt;&lt;button class=\\&quot;button button3\\&quot;&gt;120&lt;\/button&gt;&lt;\/a&gt;&lt;\/p&gt;&quot;);\n\n            client.print(&quot;&lt;p&gt;&lt;a href=\\&quot;\/STOP\\&quot;&gt;&lt;button class=\\&quot;button button3\\&quot;&gt;STOP&lt;\/button&gt;&lt;\/a&gt;&lt;\/p&gt;&quot;);\n                       \n            \/\/ Wanneer richtingStatus is Vooruit, toon Achteruit in button       \n            if (richtingStatus==&quot;Achteruit&quot;) {\n              client.println(&quot;&lt;p&gt;&lt;a href=\\&quot;\/1\/on\\&quot;&gt;&lt;button class=\\&quot;button\\&quot;&gt;Vooruit&lt;\/button&gt;&lt;\/a&gt;&lt;\/p&gt;&quot;);\n            } else {\n              client.println(&quot;&lt;p&gt;&lt;a href=\\&quot;\/1\/off\\&quot;&gt;&lt;button class=\\&quot;button button2\\&quot;&gt;Achteruit&lt;\/button&gt;&lt;\/a&gt;&lt;\/p&gt;&quot;);\n            } \n            client.println(&quot;&lt;\/body&gt;&lt;\/html&gt;&quot;);\n\n            \/\/ The HTTP response ends with another blank line\n            client.println();\n            \/\/ Break out of the while loop\n            break;\n          } else { \/\/ if you got a newline, then clear currentLine\n            currentLine = &quot;&quot;;\n          }\n        } else if (c != &#039;\\r&#039;) {  \/\/ if you got anything else but a carriage return character,\n          currentLine += c;      \/\/ add it to the end of the currentLine\n        }\n      }\n    }\n    \/\/ Clear the header variable\n    header = &quot;&quot;;\n    \/\/ Close the connection\n    client.stop();\n    Serial.println(&quot;Client disconnected.&quot;);\n    Serial.println(&quot;&quot;);\n  }\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Wat raar is, is dat een eerder gemaakt programma (&#8220;Loc_besturing_ESP_C3_MotorControl_WiFi_test_4.ino&#8221;) opeens problemen gaf om de verbinding met het WiFi-netwerk op te bouwen. Blijkbaar lukt het (nu?) opeens alleen maar het een 2,4GHz netwerk! Waarom? Geen idee. <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: arduino; title: ; notranslate\" title=\"\">\n  while (WiFi.status() != WL_CONNECTED) {\n    Serial.print(&quot;WL not connected, trying again...&quot;);\n    WiFi.begin(ssid, password);\n    delay(1000);\n    \/\/delay(500);\n    Serial.print(&quot;.&quot;);\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">De ESP32 heeft soms wat moeite met het opzetten van de WiFi-verbinding. Met bovenstaande regels (2 t\/m 4) toegevoegd wordt er net zolang geprobeerd totdat het is gelukt. <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nWiFi connected.\nIP address: 192.168.2.102\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">De ESP krijgt keurig een IP-adres van de DHCP. En de webserver werkt prima!<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/www.rommelkist.nl\/elec\/wp-content\/uploads\/2024\/09\/image-3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"738\" height=\"729\" src=\"https:\/\/www.rommelkist.nl\/elec\/wp-content\/uploads\/2024\/09\/image-3.png\" alt=\"\" class=\"wp-image-3221\" style=\"width:500px\" srcset=\"https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/09\/image-3.png 738w, https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/09\/image-3-300x296.png 300w, https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/09\/image-3-425x420.png 425w\" sizes=\"auto, (max-width: 738px) 100vw, 738px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ook de motorsturing werkt goed! Versnellen, vertragen. Stoppen en van richting veranderen! Het werkt gewoon allemaal.<br><br>Tijd om e.e.a. in het locje &#8220;in te bouwen&#8221;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ok\u00e9. In mijn vorige artikeltje heb ik een uitstapje gemaakt naar het inzetten van een supercap om spanningsdips richting de ESP-module op te vangen. Hierboven nog een keer het schema hoe de supercap in het geheel ingezet zou moeten\/kunnen worden. Nog even terug: waarom was die spanningsdip ook alweer een probleem? Nou, wanneer de ESP-module start (wanneer de spanning erop gezet wordt) wordt de webserver die erop draait (zie de code hieronder) ook gestart. Wanneer de spanning tijdens een dip wegvalt en weer terugkomt wordt de ESP feitelijk gereset en wordt de webserver dus gestopt en weer opgestart. Dat kost tijd,<span class=\"more-link\"><a href=\"https:\/\/www.rommelkist.nl\/elec\/elektronica\/n-spoor-deel-28-loc-besturing-met-esp32-c3-2\/\">Read More &rarr;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[3,104],"tags":[131,108],"class_list":["entry","author-admin","post-3220","post","type-post","status-publish","format-standard","category-elektronica","category-modeltreinbaan","tag-esp32-c3","tag-wifi"],"_links":{"self":[{"href":"https:\/\/www.rommelkist.nl\/elec\/wp-json\/wp\/v2\/posts\/3220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rommelkist.nl\/elec\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rommelkist.nl\/elec\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rommelkist.nl\/elec\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rommelkist.nl\/elec\/wp-json\/wp\/v2\/comments?post=3220"}],"version-history":[{"count":0,"href":"https:\/\/www.rommelkist.nl\/elec\/wp-json\/wp\/v2\/posts\/3220\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rommelkist.nl\/elec\/wp-json\/wp\/v2\/media?parent=3220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rommelkist.nl\/elec\/wp-json\/wp\/v2\/categories?post=3220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rommelkist.nl\/elec\/wp-json\/wp\/v2\/tags?post=3220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}