{"id":102,"date":"2015-09-19T13:18:09","date_gmt":"2015-09-19T13:18:09","guid":{"rendered":"https:\/\/einhugur.com\/blog\/?page_id=102"},"modified":"2016-05-01T19:30:02","modified_gmt":"2016-05-01T19:30:02","slug":"relay-board","status":"publish","type":"page","link":"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/relay-board\/","title":{"rendered":"Relay board"},"content":{"rendered":"<p>In this example we are going to wire up a relay board and let your Xojo code control it.<\/p>\n<p>A really board is normally used to control high voltage devices such as lights for example. In my case I will be using them \u00a0to remote control electric heaters in a summer house in the winters when I am not there.<\/p>\n<p>Be smart when doing projects with relays. If you have very large relay boards operating many relays at once then it will draw a lot of current from your Raspberry PI and the Raspberry PI does not allow you to draw unlimited amount of it.<\/p>\n<p>Max output for any single GPIO is 16 ma with total current from all GPIO pins at around 50 ma.<\/p>\n<p>The relay I used draws around 4 ma from the GPIO pin when turning it to HIGH per relay. And it was draws\u00a0around 14,5 ma from from 5V power pin. So powering all four of them would be taking around 16 ma from the GPIO&#8217;s total budget and around 58ma from the 5V pin.<\/p>\n<p>(How much your 5V pin can supply depends a bit on your power supply)<\/p>\n<p><strong>Disclaimer:<\/strong><br \/>\nWe do not take any responsibility for possible errors in the guide or errors that you might do wiring it up. Incorrect wiring can result in damaged\u00a0relay board\u00a0or damaged Raspberry PI. Connecting the high voltage connectors can potentially be life threatening, be careful and do at your own risk.<\/p>\n<p><strong>Pieces we use are:<\/strong><\/p>\n<ul>\n<li>Raspberry PI 2<\/li>\n<li>Cobbler and Cobbler cable<\/li>\n<li>4 way relay board. (I bought 5 pieces of 4 way boards for $14 from store called\u00a0<a href=\"http:\/\/www.aliexpress.com\/store\/110055\">A+A+A+<\/a>\u00a0on Aliexpress)<\/li>\n<li><a href=\"https:\/\/github.com\/xojo\/GPIO\">Wiring PI Xojo module from\u00a0Paul Lefebvre<\/a><\/li>\n<\/ul>\n<p><strong>First thing is connecting the relay board:<\/strong><\/p>\n<p><a href=\"https:\/\/i1.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2015\/09\/RelayWiring.jpg?ssl=1\"><img data-attachment-id=\"98\" data-permalink=\"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/relaywiring\/\" data-orig-file=\"https:\/\/i1.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/RelayWiring.jpg?fit=640%2C480&amp;ssl=1\" data-orig-size=\"640,480\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;2.2&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;iPhone 6&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1442667098&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;4.15&quot;,&quot;iso&quot;:&quot;200&quot;,&quot;shutter_speed&quot;:&quot;0.033333333333333&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"Relay wiring\" data-image-description=\"\" data-medium-file=\"https:\/\/i1.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/RelayWiring.jpg?fit=300%2C225&amp;ssl=1\" data-large-file=\"https:\/\/i1.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/RelayWiring.jpg?fit=474%2C356&amp;ssl=1\" loading=\"lazy\" class=\"alignnone size-medium wp-image-98\" src=\"https:\/\/i0.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2015\/09\/RelayWiring-300x225.jpg?resize=300%2C225&#038;ssl=1\" alt=\"Relay wiring\" width=\"300\" height=\"225\" srcset=\"https:\/\/i1.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/RelayWiring.jpg?resize=300%2C225&amp;ssl=1 300w, https:\/\/i1.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/RelayWiring.jpg?w=640&amp;ssl=1 640w\" sizes=\"(max-width: 300px) 100vw, 300px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<ul>\n<li>(5V)\u00a0Red is the 5V input, its marked as VCC on the board \u2013\u00a0<span style=\"color: #808080;\">I always use red for the power input.<\/span><\/li>\n<li>(GND)\u00a0Blue is the ground.<span style=\"color: #808080;\">\u00a0I always use blue for ground<\/span><\/li>\n<li>(GPIOX1)\u00a0Yellow is connected to IN1 which means yellow will control relay 1<\/li>\n<li>(GPIOX2) Green\u00a0is connected to IN3 which means yellow will control relay 3<\/li>\n<li><\/li>\n<\/ul>\n<p><a href=\"https:\/\/i1.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2015\/09\/HighVoltageRelayConnection.jpg?ssl=1\"><img data-attachment-id=\"99\" data-permalink=\"https:\/\/einhugur.net\/blog\/highvoltagerelayconnection\/\" data-orig-file=\"https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/HighVoltageRelayConnection.jpg?fit=640%2C480&amp;ssl=1\" data-orig-size=\"640,480\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;2.2&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;iPhone 6&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1442667225&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;4.15&quot;,&quot;iso&quot;:&quot;200&quot;,&quot;shutter_speed&quot;:&quot;0.033333333333333&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;6&quot;}\" data-image-title=\"HighVoltageRelayConnection\" data-image-description=\"\" data-medium-file=\"https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/HighVoltageRelayConnection.jpg?fit=300%2C225&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/HighVoltageRelayConnection.jpg?fit=474%2C356&amp;ssl=1\" loading=\"lazy\" class=\"alignnone size-medium wp-image-99\" src=\"https:\/\/i0.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2015\/09\/HighVoltageRelayConnection-300x225.jpg?resize=300%2C225&#038;ssl=1\" alt=\"HighVoltageRelayConnection\" width=\"300\" height=\"225\" srcset=\"https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/HighVoltageRelayConnection.jpg?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/HighVoltageRelayConnection.jpg?w=640&amp;ssl=1 640w\" sizes=\"(max-width: 300px) 100vw, 300px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>To connect your high voltage device such as light bulb, then you use the ends of the relays as shown above.<\/p>\n<p>If you are just testing then you can skip connecting high voltage device. Sounds from the relays and lights on it will show you if your experiment worked.<\/p>\n<p>You will not be connecting your high voltage ground to any of the connectors.<\/p>\n<p>If your connecting a bulb for example to relay one on the board then<\/p>\n<ul>\n<li>High voltage ground goes to the Bulb<\/li>\n<li>High voltage input goes to the middle connector on the relay.<\/li>\n<li>High voltage output that goes from the relay to the bull will go either in the left or the right connector on the relay depending on if you want the bulb on or off when the relay is powered.<\/li>\n<\/ul>\n<p><strong>Connecting the cobbler:<\/strong><\/p>\n<p>Make sure your Raspberry PI is not powered on when you do the connections.<\/p>\n<figure id=\"attachment_80\" aria-describedby=\"caption-attachment-80\" style=\"width: 225px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2015\/09\/Sensor-connection-e1442664059628.jpg?ssl=1\"><img data-attachment-id=\"80\" data-permalink=\"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/hc-sr501-sensor\/sensor-connection\/\" data-orig-file=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/Sensor-connection-e1442664059628.jpg?fit=480%2C640&amp;ssl=1\" data-orig-size=\"480,640\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;2.2&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;iPhone 6&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1442662628&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;4.15&quot;,&quot;iso&quot;:&quot;64&quot;,&quot;shutter_speed&quot;:&quot;0.033333333333333&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;6&quot;}\" data-image-title=\"Cobbler\" data-image-description=\"\" data-medium-file=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/Sensor-connection-e1442664059628.jpg?fit=225%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/Sensor-connection-e1442664059628.jpg?fit=474%2C632&amp;ssl=1\" loading=\"lazy\" class=\"size-medium wp-image-80\" src=\"https:\/\/i1.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2015\/09\/Sensor-connection-e1442664059628-225x300.jpg?resize=225%2C300&#038;ssl=1\" alt=\"Cobbler for Raspberry PI\" width=\"225\" height=\"300\" srcset=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/Sensor-connection-e1442664059628.jpg?resize=225%2C300&amp;ssl=1 225w, https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/Sensor-connection-e1442664059628.jpg?w=480&amp;ssl=1 480w\" sizes=\"(max-width: 225px) 100vw, 225px\" data-recalc-dims=\"1\" \/><\/a><figcaption id=\"caption-attachment-80\" class=\"wp-caption-text\">Cobbler for Raspberry PI<\/figcaption><\/figure>\n<p><a href=\"https:\/\/i0.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2015\/09\/GPIO-Header.png?ssl=1\"><img data-attachment-id=\"82\" data-permalink=\"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/hc-sr501-sensor\/gpio-header\/\" data-orig-file=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/GPIO-Header.png?fit=440%2C870&amp;ssl=1\" data-orig-size=\"440,870\" 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=\"GPIO Header\" data-image-description=\"\" data-medium-file=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/GPIO-Header.png?fit=152%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/GPIO-Header.png?fit=440%2C870&amp;ssl=1\" loading=\"lazy\" class=\"alignnone size-medium wp-image-82\" src=\"https:\/\/i1.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2015\/09\/GPIO-Header-152x300.png?resize=152%2C300&#038;ssl=1\" alt=\"GPIO Header\" width=\"152\" height=\"300\" srcset=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/GPIO-Header.png?resize=152%2C300&amp;ssl=1 152w, https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/GPIO-Header.png?w=440&amp;ssl=1 440w\" sizes=\"(max-width: 152px) 100vw, 152px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>In my example then I have it connected as follows:<\/p>\n<ul>\n<li>Red to pin 2 (5V)<\/li>\n<li>Blue to pin 6\u00a0(GND)<\/li>\n<li>Yellow to GPIO 4\u00a0which is pin 7.<\/li>\n<li>\u0007Green\u00a0to GPIO 17 which is pin 11.<\/li>\n<\/ul>\n<p><strong>The Xojo code:<\/strong><\/p>\n<p>I had a window, with two buttons on it, one says\u00a0<strong>Toggle Relay 1<\/strong>\u00a0the other says\u00a0<strong>Toggle Relay 3.<\/strong><\/p>\n<p>In the window I added the following properties:<\/p>\n<pre lang=\"xojo\">Protected Relay1On As Boolean = false\r\nProtected Relay2On As Boolean = false<\/pre>\n<p>The Window Open event was as follows:<\/p>\n<pre lang=\"xojo\">Const kRelay1Pin = 4\r\nConst kRelay2Pin = 17\r\n\r\nGPIO.SetupGPIO\r\n\r\nGPIO.PinMode(kRelay1Pin, GPIO.OUTPUT)\r\nGPIO.PinMode(kRelay2Pin, GPIO.OUTPUT)\r\n\r\n\/\/ I want both the relays to be off when I power on:\r\n\r\nGPIO.DigitalWrite(kRelay1Pin, GPIO.OFF)\r\nGPIO.DigitalWrite(kRelay2Pin, GPIO.OFF)<\/pre>\n<p>Then the button events where as follows:<\/p>\n<pre lang=\"xojo\">Sub Action()\r\nConst\u00a0kRelay1Pin\u00a0= 4\r\n\r\nif Relay1On then\r\nGPIO.DigitalWrite(kRelay1Pin, GPIO.OFF)\r\nRelay1On = false\r\nelse\r\nGPIO.DigitalWrite(kRelay1Pin, GPIO.ON)\r\nRelay1On = true\r\nend if\r\nEnd Sub<\/pre>\n<p>and<\/p>\n<pre lang=\"xojo\">Sub Action()\r\nConst\u00a0kRelay2Pin\u00a0= 17\r\n\r\nif Relay1On then\r\nGPIO.DigitalWrite(kRelay2Pin, GPIO.OFF)\r\nRelay2On = false\r\nelse\r\nGPIO.DigitalWrite(kRelay2Pin, GPIO.ON)\r\nRelay2On = true\r\nend if\r\nEnd Sub<\/pre>\n<p>Thats all\u00a0there\u00a0is to it!<\/p>\n<p><code><br \/>\n<a href=\"http:\/\/s.click.aliexpress.com\/e\/I2rBAeAuN\" target=\"_parent\"><img src=\"https:\/\/i1.wp.com\/g02.a.alicdn.com\/kf\/HTB1k5Q3JXXXXXcPXpXXq6xXFXXXr\/1pcs-lot-4-channel-font-b-relay-b-font-module-4-channel-font-b-relay-b.jpg_220x220.jpg?w=474\" data-recalc-dims=\"1\" \/><span style=\"display: block;\">AliExpress.com Product - 1pcs\/lot 4 channel relay module 4-channel relay control board with optocoupler. Relay Output 4 way relay module for arduino<\/span><\/a><br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this example we are going to wire up a relay board and let your Xojo code control it. A really board is normally used to control high voltage devices such as lights for example. In my case I will be using them \u00a0to remote control electric heaters in a summer house in the winters &hellip; <a href=\"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/relay-board\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Relay board<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":94,"menu_order":1,"comment_status":"open","ping_status":"closed","template":"","meta":{"spay_email":""},"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/Pd75nk-1E","jetpack-related-posts":[{"id":94,"url":"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/","url_meta":{"origin":102,"position":0},"title":"Xojo GPIO","date":"September 19, 2015","format":false,"excerpt":"Guides for GPIO in Xojo \u00a0Infrared motion detection (Updated 1. May 2016) Shows\u00a02 ways of coding: Using Interrupts or simple polling. Sensors: \u00a0HC-SR501,\u00a0ST-00082 Mini,\u00a0Mini IR Pyroelectric Infrared PIR Motion Human Sensor Detector Module Uses:\u00a0Basic GPIO Relay board In this example we \u00a0wire up a relay board and let your Xojo\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":311,"url":"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/putting-the-gpio-pin-behind-transistor-to-get-more-current\/","url_meta":{"origin":102,"position":1},"title":"Putting the GPIO pin behind transistor to get more current","date":"October 23, 2015","format":false,"excerpt":"In this example we are going to let the GPIO pin control a transistor so that we can draw more power when controlling a LED than what the GPIO pin can supply. We will be using a simple LED in this example where we aim to draw 16 mA power\u2026","rel":"","context":"Similar post","img":{"alt_text":"TransistorExperimentbb","src":"https:\/\/i0.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2015\/10\/TransistorExperimentbb.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":224,"url":"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/working-with-leds-and-wiring-4-pin-rgb-led-to-raspberry-pi\/","url_meta":{"origin":102,"position":2},"title":"Working with LED's - And Wiring 4 pin RGB led to Raspberry PI","date":"October 12, 2015","format":false,"excerpt":"In this example we are going\u00a0learn some basics on how to calculate the resistor for LED, and we will take a look at how to wire up a 4 pin RGB LED. Disclaimer: We do not take any responsibility for possible errors in the guide or errors that you might\u2026","rel":"","context":"Similar post","img":{"alt_text":"RGBLedMutimeterTestNew","src":"https:\/\/i1.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2015\/10\/RGBLedMutimeterTestNew.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":421,"url":"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/optocouplers\/","url_meta":{"origin":102,"position":3},"title":"Optocouplers","date":"April 18, 2016","format":false,"excerpt":"In this example we are going to take a look at Optocouplers. Disclaimer: We do not take any responsibility for possible errors in the guide or errors that you might do wiring it up. Incorrect wiring can result in damaged sensor or damaged Raspberry PI. Prerequisites: We hight recommend that\u2026","rel":"","context":"Similar post","img":{"alt_text":"Optocoupler","src":"https:\/\/i0.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2016\/04\/Optocoupler.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":617,"url":"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/bmp180-barometer-sensor\/","url_meta":{"origin":102,"position":4},"title":"BMP180 Barometer sensor","date":"May 22, 2016","format":false,"excerpt":"In this example we are going to connect to BMP180 barometer sensor, we will be using brake-out board called GY-68. This sensor is really small even the full brake-outboard is only size of a fingernail. The board does not come with the header pins soldered on, but with mine the\u2026","rel":"","context":"Similar post","img":{"alt_text":"BMP180Soldered","src":"https:\/\/i1.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2016\/05\/BMP180Soldered.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":345,"url":"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/using-logic-gates\/","url_meta":{"origin":102,"position":5},"title":"Using logic gates","date":"November 8, 2015","format":false,"excerpt":"In this guide we are going to learn how to use logic gates. \u00a0Even if you can usually do things by just taking more GPIO pins and do the logic in a code then there will be times you may want to do things in hardware. For example you might\u2026","rel":"","context":"Similar post","img":{"alt_text":"LogicCircuits","src":"https:\/\/i2.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2015\/11\/LogicCircuits.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/pages\/102"}],"collection":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=102"}],"version-history":[{"count":7,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/pages\/102\/revisions"}],"predecessor-version":[{"id":512,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/pages\/102\/revisions\/512"}],"up":[{"embeddable":true,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/pages\/94"}],"wp:attachment":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}