{"id":3717,"date":"2024-12-25T16:07:06","date_gmt":"2024-12-25T15:07:06","guid":{"rendered":"https:\/\/www.rommelkist.nl\/elec\/?p=3717"},"modified":"2024-12-28T17:48:55","modified_gmt":"2024-12-28T16:48:55","slug":"modelbaan-deel-9-ontkoppelrail","status":"publish","type":"post","link":"https:\/\/www.rommelkist.nl\/elec\/arduino\/modelbaan-deel-9-ontkoppelrail\/","title":{"rendered":"Modelbaan &#8211; deel 9 &#8211; Ontkoppelrail"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In een eerder deel (<a href=\"https:\/\/www.rommelkist.nl\/elec\/arduino\/modelbaan-deel-7-wisselsturing-met-servos\/\" data-type=\"post\" data-id=\"3676\">deel 7<\/a>) heb ik beschreven hoe middels de combinatie Arduino en de MOSFET-module wissels omgezet kunnen worden. Deze MOSFET-modules kunnen ook gebruikt worden om bijvoorbeeld ontkoppelrails aan te sturen. Hiervoor gebruiken we weer de DCC Accessory sketch (zie hieronder). <\/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\/12\/image-15.png\"><img loading=\"lazy\" decoding=\"async\" width=\"367\" height=\"741\" src=\"https:\/\/www.rommelkist.nl\/elec\/wp-content\/uploads\/2024\/12\/image-15.png\" alt=\"\" class=\"wp-image-3671\" style=\"width:150px\" srcset=\"https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/12\/image-15.png 367w, https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/12\/image-15-149x300.png 149w, https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/12\/image-15-272x550.png 272w\" sizes=\"auto, (max-width: 367px) 100vw, 367px\" \/><\/a><figcaption class=\"wp-element-caption\">Minitrix 4969 ontkoppelrail.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In dit geval wordt de hierboven getoonde K-83 vervangen door de Arduino en MOSFET-module.<\/p>\n\n\n\n<div class=\"wp-block-group is-content-justification-center is-nowrap is-layout-flex wp-container-core-group-is-layout-d05cb3ef wp-block-group-is-layout-flex\">\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/www.rommelkist.nl\/elec\/wp-content\/uploads\/2024\/12\/image-29.png\"><img loading=\"lazy\" decoding=\"async\" width=\"985\" height=\"654\" src=\"https:\/\/www.rommelkist.nl\/elec\/wp-content\/uploads\/2024\/12\/image-29.png\" alt=\"\" class=\"wp-image-3727\" style=\"width:450px\" srcset=\"https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/12\/image-29.png 985w, https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/12\/image-29-300x199.png 300w, https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/12\/image-29-768x510.png 768w, https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/12\/image-29-425x282.png 425w\" sizes=\"auto, (max-width: 985px) 100vw, 985px\" \/><\/a><figcaption class=\"wp-element-caption\">Arduino in adapter<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/www.rommelkist.nl\/elec\/wp-content\/uploads\/2024\/12\/image-28.png\"><img loading=\"lazy\" decoding=\"async\" width=\"460\" height=\"574\" src=\"https:\/\/www.rommelkist.nl\/elec\/wp-content\/uploads\/2024\/12\/image-28.png\" alt=\"\" class=\"wp-image-3726\" style=\"width:200px\" srcset=\"https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/12\/image-28.png 460w, https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/12\/image-28-240x300.png 240w, https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/12\/image-28-425x530.png 425w\" sizes=\"auto, (max-width: 460px) 100vw, 460px\" \/><\/a><figcaption class=\"wp-element-caption\">De MOSFET <br>IRF520-module<\/figcaption><\/figure>\n<\/div>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/www.rommelkist.nl\/elec\/wp-content\/uploads\/2024\/12\/image-27.png\"><img loading=\"lazy\" decoding=\"async\" width=\"652\" height=\"1024\" src=\"https:\/\/www.rommelkist.nl\/elec\/wp-content\/uploads\/2024\/12\/image-27-652x1024.png\" alt=\"\" class=\"wp-image-3725\" style=\"width:350px\" srcset=\"https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/12\/image-27-652x1024.png 652w, https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/12\/image-27-191x300.png 191w, https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/12\/image-27-768x1206.png 768w, https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/12\/image-27-350x550.png 350w, https:\/\/www.rommelkist.nl\/wp-content\/uploads\/2024\/12\/image-27.png 864w\" sizes=\"auto, (max-width: 652px) 100vw, 652px\" \/><\/a><figcaption class=\"wp-element-caption\">Minitrix ontkoppelrail<\/figcaption><\/figure>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: arduino; title: ; notranslate\" title=\"\">\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ DCC Accessory \/ Function Decoder\n\/\/ Author: Ruud Boer - September 2015\n\/\/ This sketch turns an Arduino into a DCC decoder with max 17 function outputs.\n\/\/ Output pins used: 3-19 (14-19 = A0-A5). Pin becomes LOW when accessory is switched ON\n\/\/ Modes: 1-continuous, 2=oneshot, 3=flasher with 2 alternatin outputs, 4=signal with 2 inverted outputs\n\/\/ The DCC signal is fed to pin 2 (=Interrupt 0).\n\/\/ Optocoupler schematics for DCC to 5V conversion: www.rudysmodelrailway.wordpress.com\/software\n\/\/ Many thanks to www.mynabay.com for publishing their DCC monitor and -decoder code.\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ IMPORTANT: GOTO lines 20 and 43 to configure some data!\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#include &lt;DCC_Decoder.h&gt;\n#define kDCC_INTERRUPT 0\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ Fill in the number of accessories \/ functions you want to control\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\nconst byte maxaccessories = 4;\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\ntypedef struct {\n  int               address;          \/\/ User Configurable. DCC address to respond to\n  byte              mode;             \/\/ User Configurable. Mode: 1=Continuous, 2=Oneshot, 3=Flasher\n  byte              outputPin;        \/\/ User Configurable. Arduino pin where accessory is connected to\n  byte              outputPin2;       \/\/ User Configurable. 2nd pin for AlternatingFlasher (e.g. railway crossing)\n  int               ontime;           \/\/ User Configurable. Oneshot or Flasher on time in ms\n  int               offtime;          \/\/ User Configurable. Flasher off time in ms\n  byte              onoff;            \/\/ User Configurable. Initial state of accessory output: 1=on, 0=off (ON = pin LOW)\n  byte              onoff2;           \/\/ User Configurable. Initial  state of 2nd output: 1=on, 0=off\n  byte              dccstate;         \/\/ Internal use. DCC state of accessory: 1=on, 0=off\n  byte              finished;         \/\/ Internal use. Memory that says the Oneshot is finished\n  unsigned long     onMilli;          \/\/ Internal use.\n  unsigned long     offMilli;         \/\/ Internal use.\n} \nDCCAccessoryAddress;\nDCCAccessoryAddress accessory&#x5B;maxaccessories];\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ Fill in the attributes for every accessory \/ function\n\/\/ COPY - PASTE as many times as you have functions. The amount must be same as in line 18 above!\n\/\/\n\/\/\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\nvoid ConfigureDecoderFunctions() \/\/ The amount of accessories must be same as in line 26 above!\n{\n  accessory&#x5B;0].address = 50; \/\/ DCC address\n  accessory&#x5B;0].mode = 1; \/\/ Continuous: HIGH until DCC switches the address off again\n  accessory&#x5B;0].outputPin = 3; \/\/ Arduino pin to which this accessory is connected\n\n  accessory&#x5B;1].address = 51;\n  accessory&#x5B;1].mode = 2; \/\/ Oneshot: HIGH for ontime ms, then LOW and stays LOW.\n  accessory&#x5B;1].outputPin = 4;\n  accessory&#x5B;1].ontime = 1000;\n \n  accessory&#x5B;2].address = 52;\n  accessory&#x5B;2].mode = 3; \/\/ Flasher: HIGH for ontime ms, LOW for offtime ms, repeats till DCC off\n  accessory&#x5B;2].outputPin = 5;\n  accessory&#x5B;2].outputPin2 = 6; \/\/ Flasher can use 2 outputs, they will flash  on\/off alternatively\n  accessory&#x5B;2].ontime = 500;\n  accessory&#x5B;2].offtime = 500;\n  \n  accessory&#x5B;3].address = 53; \/\/ DCC address\n  accessory&#x5B;3].mode = 4; \/\/ Continuous: HIGH until DCC switches the address off again\n  accessory&#x5B;3].outputPin = 7; \/\/ Green signal\n  accessory&#x5B;3].outputPin2 = 8; \/\/ Red Signal\n  accessory&#x5B;3].onoff2 = 1; \/\/ Initially set Red signal to ON\n  \n}  \/\/ END ConfigureDecoderFunctions\n\n  \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n  \/\/ DCC accessory packet handler \n  \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n  void BasicAccDecoderPacket_Handler(int address, boolean activate, byte data)\n  {\n    \/\/ Convert NMRA packet address format to human address\n    address -= 1;\n    address *= 4;\n    address += 1;\n    address += (data &amp; 0x06) &gt;&gt; 1;\n\n    boolean enable = (data &amp; 0x01) ? 1 : 0;\n\n    for (int i=0; i&lt;maxaccessories; i++)\n    {\n      if (address == accessory&#x5B;i].address)\n      {\n        if (enable) accessory&#x5B;i].dccstate = 1;\n        else accessory&#x5B;i].dccstate = 0;\n      }\n    }\n  } \/\/END BasicAccDecoderPacket_Handler\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ Setup (run once)\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\nvoid setup() \n{ \n  ConfigureDecoderFunctions();\n  DCC.SetBasicAccessoryDecoderPacketHandler(BasicAccDecoderPacket_Handler, true);\n  DCC.SetupDecoder( 0x00, 0x00, kDCC_INTERRUPT );\n  pinMode(2,INPUT_PULLUP); \/\/ Interrupt 0 with internal pull up resistor (can get rid of external 10k)\n\n  for(int i=3; i&lt;20; i++)\n  {\n    pinMode(i, OUTPUT);\n    digitalWrite(i, LOW); \/\/all function outputs are set to 0 at startup\n  }\n} \/\/ END setup\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ Main loop (run continuous)\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\nvoid loop()\n{\n  static int addr = 0;\n\n  DCC.loop(); \/\/ Loop DCC library\n    \n  if( ++addr &gt;= maxaccessories ) addr = 0; \/\/ Next address to test\n\n  if (accessory&#x5B;addr].dccstate)\n  {\n    switch (accessory&#x5B;addr].mode)\n    {\n    case 1: \/\/ Continuous\n      accessory&#x5B;addr].onoff = 1;\n      break;\n    case 2: \/\/ Oneshot\n      if (!accessory&#x5B;addr].onoff &amp;&amp; !accessory&#x5B;addr].finished)\n      {\n        accessory&#x5B;addr].onoff = 1;\n        accessory&#x5B;addr].offMilli = millis() + accessory&#x5B;addr].ontime;\n      }\n      if (accessory&#x5B;addr].onoff &amp;&amp; millis() &gt; accessory&#x5B;addr].offMilli)\n      {\n        accessory&#x5B;addr].onoff = 0;\n        accessory&#x5B;addr].finished = true; \/\/this is reset to flase below in the &#039;else&#039; statement\n      }\n      break;\n    case 3: \/\/ Flasher, is always an &#039;alternating&#039; flasher together with .outputPin2\n      if (!accessory&#x5B;addr].onoff &amp;&amp; millis() &gt; accessory&#x5B;addr].onMilli)\n      {\n        accessory&#x5B;addr].onoff = 1;\n        accessory&#x5B;addr].onoff2 = 0;\n        accessory&#x5B;addr].offMilli = millis() + accessory&#x5B;addr].ontime;\n      }\n      if (accessory&#x5B;addr].onoff &amp;&amp; millis() &gt; accessory&#x5B;addr].offMilli)\n      {\n        accessory&#x5B;addr].onoff = 0;\n        accessory&#x5B;addr].onoff2 = 1;\n        accessory&#x5B;addr].onMilli = millis() + accessory&#x5B;addr].offtime;\n      }\n      break;\n    case 4: \/\/ Signal\n      accessory&#x5B;addr].onoff = 1;\n      accessory&#x5B;addr].onoff2 = 0;\n      break;\n    }\n  }\n  else \/\/accessory&#x5B;addr].dccstate == 0\n  {\n    accessory&#x5B;addr].onoff = 0;\n    if (accessory&#x5B;addr].mode == 4) accessory&#x5B;addr].onoff2 = 1; else accessory&#x5B;addr].onoff2 = 0;\n    if (accessory&#x5B;addr].mode == 2) accessory&#x5B;addr].finished = false; \/\/ Oneshot finished by DCCstate, not by ontime\n  }\n\n  \/\/ activate outputpin, based on value of onoff\n  if (accessory&#x5B;addr].onoff) digitalWrite(accessory&#x5B;addr].outputPin, LOW);\n  else digitalWrite(accessory&#x5B;addr].outputPin, HIGH);\n  if (accessory&#x5B;addr].onoff2) digitalWrite(accessory&#x5B;addr].outputPin2, LOW);\n  else digitalWrite(accessory&#x5B;addr].outputPin2, HIGH);\n  \n} \/\/END loop\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>In een eerder deel (deel 7) heb ik beschreven hoe middels de combinatie Arduino en de MOSFET-module wissels omgezet kunnen worden. Deze MOSFET-modules kunnen ook gebruikt worden om bijvoorbeeld ontkoppelrails aan te sturen. Hiervoor gebruiken we weer de DCC Accessory sketch (zie hieronder). In dit geval wordt de hierboven getoonde K-83 vervangen door de Arduino en MOSFET-module.<\/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":[6,104],"tags":[155],"class_list":["entry","author-admin","post-3717","post","type-post","status-publish","format-standard","category-arduino","category-modeltreinbaan","tag-k83"],"_links":{"self":[{"href":"https:\/\/www.rommelkist.nl\/elec\/wp-json\/wp\/v2\/posts\/3717","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=3717"}],"version-history":[{"count":0,"href":"https:\/\/www.rommelkist.nl\/elec\/wp-json\/wp\/v2\/posts\/3717\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rommelkist.nl\/elec\/wp-json\/wp\/v2\/media?parent=3717"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rommelkist.nl\/elec\/wp-json\/wp\/v2\/categories?post=3717"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rommelkist.nl\/elec\/wp-json\/wp\/v2\/tags?post=3717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}