{"id":5724,"date":"2025-03-07T13:18:41","date_gmt":"2025-03-07T12:18:41","guid":{"rendered":"https:\/\/home.et.utwente.nl\/slootenvanf\/?p=5724"},"modified":"2025-03-11T09:51:51","modified_gmt":"2025-03-11T08:51:51","slug":"create-rgb-led-controller-app","status":"publish","type":"post","link":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/03\/07\/create-rgb-led-controller-app\/","title":{"rendered":"Create an RGB Led controller App"},"content":{"rendered":"\n<p>This tutorial describes how to build an electronic circuit with an RGB LED (a LED that can change color), and change its color using an App. It also demonstrates two-way communication over Bluetooth LE between an App built with Android Studio.<\/p>\n\n\n\n<p>Older versions of this tutorial:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/2021\/02\/24\/bluetooth-comm-app-inventor-ble-nano\/\" target=\"_blank\" rel=\"noreferrer noopener\">Arduino BLE-Nano with the App built with App Inventor<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/2019\/02\/28\/control-rgb-led-bluetooth\/\" target=\"_blank\" rel=\"noreferrer noopener\">HM10 BLE Bluetooth module with an Arduino Uno<\/a><\/li>\n<\/ul>\n\n\n\n<p>If you have and Arduino, that can also work with the App made in this tutorial, everything is interchangeable, as the Bluetooth communication makes it independent of the electronics.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Create the RGB led prototype<\/h2>\n\n\n\n<p>First, build the circuit according to the example given below. <a href=\"https:\/\/wokwi.com\/projects\/424752867132476417\" target=\"_blank\" rel=\"noreferrer noopener\">See a full simulation on Wokwi. <\/a>Plug the Raspberry Pi Pico W onto a breadboard, add the RGB led and resistors and wire them:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image.png\"><img loading=\"lazy\" decoding=\"async\" width=\"982\" height=\"447\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image.png\" alt=\"\" class=\"wp-image-5727\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image.png 982w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-300x137.png 300w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-768x350.png 768w\" sizes=\"auto, (max-width: 982px) 100vw, 982px\" \/><\/a><\/figure>\n\n\n\n<p>Connect red to GPIO pin 26, green to GPIO pin 27 and blue to GPIO pin 28. Resistors are 220 ohm (180 or 330 will work also). RGB LED is of type common-cathode.<\/p>\n\n\n\n<p>If using a Common-Anode RGB LED: replace the&nbsp;<strong>black<\/strong>&nbsp;wire with a&nbsp;<strong>red<\/strong>&nbsp;one and connect that to 5V:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2019\/02\/rgb-led_cathode_anode.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"300\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2019\/02\/rgb-led_cathode_anode.jpg\" alt=\"\" class=\"wp-image-1519\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2019\/02\/rgb-led_cathode_anode.jpg 600w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2019\/02\/rgb-led_cathode_anode-300x150.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/figure>\n\n\n\n<p><strong>How to distinguish between common anode &amp; common cathode?<\/strong>&nbsp;Use a multimeter in continuity mode (turn knob to Diode-sign&nbsp;<img loading=\"lazy\" decoding=\"async\" width=\"27\" height=\"19\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2024\/06\/image-16.png\" alt=\"\">&nbsp;). If the LED lights up with the red tip on the longest lead and the black on one of the other leads \u2013 you have a common anode RGB LED. If the LED lights up with the black tip on the longest lead and the red tip on one of the other leads \u2013 you have a common cathode RGB LED.<\/p>\n\n\n\n<p>You should end up with something like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/breadboard_rgb_led_pico_w-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1030\" height=\"464\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/breadboard_rgb_led_pico_w-1030x464.jpg\" alt=\"breadboard with rgb led pico w\" class=\"wp-image-5739\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/breadboard_rgb_led_pico_w-1030x464.jpg 1030w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/breadboard_rgb_led_pico_w-300x135.jpg 300w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/breadboard_rgb_led_pico_w-768x346.jpg 768w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/breadboard_rgb_led_pico_w-1536x691.jpg 1536w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/breadboard_rgb_led_pico_w-2048x922.jpg 2048w\" sizes=\"auto, (max-width: 1030px) 100vw, 1030px\" \/><\/a><figcaption class=\"wp-element-caption\">Breadboard with rgb led &amp; pico w<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Test the circuit, getting the LED to change colors<\/h3>\n\n\n\n<figure class=\"wp-block-image alignright size-full\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-10.png\"><img loading=\"lazy\" decoding=\"async\" width=\"105\" height=\"80\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-10.png\" alt=\"\" class=\"wp-image-5765\"\/><\/a><\/figure>\n\n\n\n<p><a href=\"https:\/\/wokwi.com\/projects\/424752867132476417\" target=\"_blank\" rel=\"noreferrer noopener\">Run the full simulation on Wokwi.<\/a> As you can see the LED alternates Red-Green-Blue colors. To have your LED do the same, follow the steps below.<\/p>\n\n\n\n<p>First install MicroPython:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/micropython.org\/download\/RPI_PICO_W\/\" target=\"_blank\" rel=\"noreferrer noopener\">Download the latest release of the UF2 firmware file<\/a><\/li>\n\n\n\n<li>Connect the Pico to your computer while holding down the BOOTSEL button (it&#8217;s a small button on the Pico)<\/li>\n\n\n\n<li>A drive will appear. Drag\/drop or copy the UF2 file into that drive and wait for the copying to finish. The Pico will reboot, with the new MicroPython firmware.<\/li>\n<\/ul>\n\n\n\n<p>Download the Python script <strong><a href=\"http:\/\/home.et.utwente.nl\/slootenvanf\/div\/micropython\/rgb_led_test.py\" target=\"_blank\" rel=\"noreferrer noopener\">rgb_led_test.py<\/a><\/strong> and open it with the&nbsp;<a href=\"https:\/\/thonny.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">Thonny editor<\/a>. Connect the Raspberry Pi Pico to your computer with the USB cable. Set the proper connection option and Python version via&nbsp;<em>Run &gt; Configure interpreter<\/em>.<\/p>\n\n\n\n<p>Now press the Run icon in the toolbar to run the script. This should result in the LED blinking with alternating colors.<\/p>\n\n\n\n<hr class=\"wp-block-coblocks-dynamic-separator\" style=\"height:50px\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Test changing colors via Bluetooth<\/h2>\n\n\n\n<p>Before we are going to build our own app, we first test if we can change the color of the RGB led via Bluetooth.<\/p>\n\n\n\n<p>To allow the Python script to receive color values via Bluetooth, we are going to utilize <a href=\"https:\/\/github.com\/makeuseofcode\/Raspberry-Pi-Pico-W-WH-Bluetooth-Example-in-MicroPython\" target=\"_blank\" rel=\"noreferrer noopener\">this Bluetooth Example<\/a>.<\/p>\n\n\n\n<p><a href=\"http:\/\/home.et.utwente.nl\/slootenvanf\/div\/micropython\/rgb_led_ble.zip\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"17\" height=\"21\" class=\"wp-image-5757\" style=\"width: 17px;\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-8.png\" alt=\"Download\">&nbsp;Download the complete set of scripts here<\/a><\/p>\n\n\n\n<p>Extract the zip-file to a folder on your computer and open the main.py file in the <a href=\"https:\/\/thonny.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">Thonny editor<\/a>.<\/p>\n\n\n\n<p>Next, upload the files to the Raspberry PI Pico W: select all three files, and right-click on them. Then choose &#8220;Upload to \/&#8221;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"926\" height=\"600\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-2.png\" alt=\"\" class=\"wp-image-5735\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-2.png 926w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-2-300x194.png 300w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-2-768x498.png 768w\" sizes=\"auto, (max-width: 926px) 100vw, 926px\" \/><\/a><\/figure>\n\n\n\n<p>Now Run the main.py script. The LED should blink red 3 times to indicate it has started. It should now be available for Bluetooth connections.<\/p>\n\n\n\n<figure class=\"wp-block-image alignright size-full is-resized\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"480\" height=\"480\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-1.png\" alt=\"\" class=\"wp-image-5733\" style=\"width:155px;height:auto\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-1.png 480w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-1-300x300.png 300w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-1-80x80.png 80w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/a><\/figure>\n\n\n\n<p>To test if it is possible to connect and send values, we will use a Simple Bluetooth Terminal App, with which we can &#8216;chat&#8217; (exchange text messages) between our phone and the Raspberry PI Pico W.<\/p>\n\n\n\n<p><a href=\"https:\/\/play.google.com\/store\/apps\/details?id=de.kai_morich.serial_bluetooth_terminal\">Install the terminal App<\/a> on your phone (<a href=\"https:\/\/github.com\/kai-morich\/SimpleBluetoothLeTerminal\" target=\"_blank\" rel=\"noreferrer noopener\">Github project here<\/a>). If this app does not work for you, some other Bluetooth Terminal Apps might work also, for instance Dabble.<\/p>\n\n\n\n<p>Start the Terminal App you just installed (on your phone). If being asked for Location permission, allow this (it is needed to locate the device). Click the connect icon in the title bar:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2024\/04\/image-11.png\"><img loading=\"lazy\" decoding=\"async\" width=\"647\" height=\"123\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2024\/04\/image-11.png\" alt=\"\" class=\"wp-image-5204\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2024\/04\/image-11.png 647w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2024\/04\/image-11-300x57.png 300w\" sizes=\"auto, (max-width: 647px) 100vw, 647px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image alignright size-full\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/screenshot_app_bluetooth_terminal.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"250\" height=\"500\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/screenshot_app_bluetooth_terminal.jpg\" alt=\"\" class=\"wp-image-5741\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/screenshot_app_bluetooth_terminal.jpg 250w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/screenshot_app_bluetooth_terminal-150x300.jpg 150w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/figure>\n\n\n\n<p>Allow to turn on Bluetooth. If it does not come up with a list of devices to connect to, go to the menu, pick \u201cDevices\u201d and go to the tab \u201cBLUETOOTH LE\u201d. Press scan. If your Pico is on, it should appear in the list (with the name assigned in the code). Click it to connect to it.<\/p>\n\n\n\n<p>You should now be able to send text messages in the terminal. Try sending:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>255,0,0<\/code><\/pre>\n\n\n\n<p>This should make the LED turn red.<\/p>\n\n\n\n<p>We have now confirmed that the Pico can receive text messages via Bluetooth to change the color.<\/p>\n\n\n\n<hr class=\"wp-block-coblocks-dynamic-separator\" style=\"height:50px\"\/>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-4.png\"><img loading=\"lazy\" decoding=\"async\" width=\"95\" height=\"95\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-4.png\" alt=\"\" class=\"wp-image-5745\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-4.png 95w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-4-80x80.png 80w\" sizes=\"auto, (max-width: 95px) 100vw, 95px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Creating the controller App with Android Studio<\/h2>\n\n\n\n<p>To quickly prototype the app, the code was generated with help of AI. <a href=\"https:\/\/github.com\/copilot\/\" target=\"_blank\" rel=\"noreferrer noopener\">Github Copilot<\/a> was used for that. First <a href=\"https:\/\/developer.android.com\/studio\" target=\"_blank\" rel=\"noreferrer noopener\">install Android Studio<\/a>. It&#8217;s advised to do <a href=\"https:\/\/developer.android.com\/get-started\/overview\" target=\"_blank\" rel=\"noreferrer noopener\">a first tutorial<\/a> first, as we will not explain every detail of Android Studio. <a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/tag\/android\/\" target=\"_blank\" rel=\"noreferrer noopener\">Here are some tutorials on Android Studio too.<\/a> You can get help from Copilot also, if you mention that you are a novice user and need more guidance. An advantage of using Github Copilot is that it offers better coding assistance, and works better with multiple files (like we will have when creating an Android Studio project). An alternative to consider is <a href=\"https:\/\/developer.android.com\/studio\/preview\/gemini\" target=\"_blank\" rel=\"noreferrer noopener\">Gemini<\/a>, the AI assistant added to Android Studio recently.<\/p>\n\n\n\n<p>Before you start, think of which AI model to choose. See below. I used the GPT-4o model for this exercise, and it worked pretty decent.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-5.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1030\" height=\"462\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-5-1030x462.png\" alt=\"\" class=\"wp-image-5750\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-5-1030x462.png 1030w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-5-300x135.png 300w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-5-768x344.png 768w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-5-1536x689.png 1536w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-5-604x270.png 604w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-5.png 1907w\" sizes=\"auto, (max-width: 1030px) 100vw, 1030px\" \/><\/a><\/figure>\n\n\n\n<p>The conversation with Copilot started with the prompt below. <a href=\"https:\/\/github.com\/copilot\/share\/023f131c-0bc0-8ce2-8813-2e0ac09841cc\" target=\"_blank\" rel=\"noreferrer noopener\">You may read the whole conversation here<\/a> (sign-up to GitHub first). <a href=\"https:\/\/covisian.com\/tech-post\/the-art-of-prompting-and-get-what-you-want-with-generative-ai\/\" target=\"_blank\" rel=\"noreferrer noopener\">The opening prompt with this kind of generative coding is very important<\/a>, so think that through well. <a href=\"https:\/\/www.reddit.com\/r\/ChatGPTCoding\/comments\/1f51y8s\/a_collection_of_prompts_for_generating_high\/\" target=\"_blank\" rel=\"noreferrer noopener\">Examples of good prompts can be found here<\/a>.<\/p>\n\n\n\n<p>Prompt used to get started:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>I would like to control an RGB led with an Android App via Bluetooth Low Energy (BLE). The RGB led is connected to a Raspberry Pi Pico W, with RGB pins connected to GPIO pins 26, 27 and 28. The given code below is an example of controlling it with MicroPython. It can receive color values like 255,0,0 (for red). Can you generate code for an Android app, usable in Android Studio, to have a Userinterface with a color selector and send the selected color value to the Raspberry Pi Pico W via Bluetooth? The App should also be able to setup the connection to the Raspberry Pi Pico W by scanning for BLE devices, presenting that as a list, and allow the user to select the device to connect to.\nThe MicroPython code on the Pico is given below.\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image alignright size-full\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"173\" height=\"267\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-3.png\" alt=\"\" class=\"wp-image-5744\"\/><\/a><\/figure>\n\n\n\n<p>After the initial prompt, I forgot to attach the example Python code. But Copilot got started pretty well without it and even generated that (although I decided not to go with that).<\/p>\n\n\n\n<p>Before you start an Android Studio project yourself: in order to be able to use Java in recent versions of Android Studio, you should start with a project template that supports that. For example the template &#8220;Empty Views Activity&#8221;.<\/p>\n\n\n\n<p>I opted to ask Copilot for solutions in Java, as the majority of available examples and libraries are using that. And it also fits my experience better.<\/p>\n\n\n\n<p>The code generated was not perfect and needed quite some iterations before it eventually worked. This might have been avoided if the initial prompt was <a href=\"https:\/\/www.reddit.com\/r\/ChatGPTCoding\/comments\/1f51y8s\/a_collection_of_prompts_for_generating_high\/\" target=\"_blank\" rel=\"noreferrer noopener\">prepared better<\/a>. But in the end the result was pretty impressive and significantly reduced the coding time.<\/p>\n\n\n\n<p><a href=\"http:\/\/home.et.utwente.nl\/slootenvanf\/div\/app\/RGBBLEControl.zip\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"17\" height=\"21\" class=\"wp-image-5757\" style=\"width: 17px;\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-8.png\" alt=\"Download\">&nbsp;The complete Android Studio project can be downloaded here.<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Structure of the App<\/h3>\n\n\n\n<p>The userinterface of the App consists of 3 main elements aligned vertically: the Scan button, a list of discovered Bluetooth devices and the color picker:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-6.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1030\" height=\"424\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-6-1030x424.png\" alt=\"\" class=\"wp-image-5753\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-6-1030x424.png 1030w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-6-300x123.png 300w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-6-768x316.png 768w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-6-1536x632.png 1536w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-6.png 1912w\" sizes=\"auto, (max-width: 1030px) 100vw, 1030px\" \/><\/a><\/figure>\n\n\n\n<p>Feedback is given mainly via <a href=\"https:\/\/developer.android.com\/guide\/topics\/ui\/notifiers\/toasts\" target=\"_blank\" rel=\"noreferrer noopener\">Toast messages<\/a> (small popup notifications).<\/p>\n\n\n\n<p>The main libraries chosen where the <a href=\"https:\/\/github.com\/skydoves\/ColorPickerView\" target=\"_blank\" rel=\"noreferrer noopener\">ColorPicker <\/a>and the <a href=\"https:\/\/github.com\/NordicSemiconductor\/Android-BLE-Library\" target=\"_blank\" rel=\"noreferrer noopener\">NordicSemiconductor\/Android-BLE-Library<\/a>. A full list can be managed via <em>File &gt; Product Structure<\/em>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-7.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1030\" height=\"515\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-7-1030x515.png\" alt=\"\" class=\"wp-image-5755\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-7-1030x515.png 1030w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-7-300x150.png 300w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-7-768x384.png 768w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-7-1536x768.png 1536w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-7.png 1915w\" sizes=\"auto, (max-width: 1030px) 100vw, 1030px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">The result<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-9.png\"><img loading=\"lazy\" decoding=\"async\" width=\"391\" height=\"869\" src=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-9.png\" alt=\"\" class=\"wp-image-5758\" srcset=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-9.png 391w, https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/image-9-135x300.png 135w\" sizes=\"auto, (max-width: 391px) 100vw, 391px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Learn more<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/github.blog\/ai-and-ml\/generative-ai\/how-ai-code-generation-works\/\" target=\"_blank\" rel=\"noreferrer noopener\">How AI code generation works<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/codesubmit.io\/blog\/ai-code-tools\/\" target=\"_blank\" rel=\"noreferrer noopener\">AI Code Tools: The Ultimate Guide <\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial describes how to build an electronic circuit with an RGB LED (a LED that can change color), and change its color using an App. It also demonstrates two-way communication over Bluetooth LE between an App built with Android Studio. Older versions of this tutorial: If you have and Arduino, that can also work [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5739,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"categories":[3],"tags":[548,196,108,92,107,95,529,198,197],"class_list":["post-5724","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-education","tag-ai","tag-android","tag-app","tag-electronics","tag-java","tag-programming","tag-raspberrypi","tag-rgb","tag-rgb-led"],"blocksy_meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Create an RGB Led controller App - vanslooten.com<\/title>\n<meta name=\"description\" content=\"Create an RGB Led controller App Create a RGB Led controller App based on a Raspberry Pi Pico that communicates with an Android App.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/03\/07\/create-rgb-led-controller-app\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create an RGB Led controller App - vanslooten.com\" \/>\n<meta property=\"og:description\" content=\"Create an RGB Led controller App Create a RGB Led controller App based on a Raspberry Pi Pico that communicates with an Android App.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/03\/07\/create-rgb-led-controller-app\/\" \/>\n<meta property=\"og:site_name\" content=\"vanslooten.com\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-07T12:18:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-11T08:51:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/breadboard_rgb_led_pico_w-scaled.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1152\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Fjodor van Slooten\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@fjodorvs\" \/>\n<meta name=\"twitter:site\" content=\"@fjodorvs\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fjodor van Slooten\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/03\\\/07\\\/create-rgb-led-controller-app\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/03\\\/07\\\/create-rgb-led-controller-app\\\/\"},\"author\":{\"name\":\"Fjodor van Slooten\",\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/#\\\/schema\\\/person\\\/e62ff2d6beaa937dc9345a023eeb05dd\"},\"headline\":\"Create an RGB Led controller App\",\"datePublished\":\"2025-03-07T12:18:41+00:00\",\"dateModified\":\"2025-03-11T08:51:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/03\\\/07\\\/create-rgb-led-controller-app\\\/\"},\"wordCount\":1181,\"publisher\":{\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/#\\\/schema\\\/person\\\/e62ff2d6beaa937dc9345a023eeb05dd\"},\"image\":{\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/03\\\/07\\\/create-rgb-led-controller-app\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/breadboard_rgb_led_pico_w-scaled.jpg\",\"keywords\":[\"ai\",\"android\",\"app\",\"electronics\",\"java\",\"programming\",\"raspberrypi\",\"rgb\",\"rgb-led\"],\"articleSection\":[\"Education\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/03\\\/07\\\/create-rgb-led-controller-app\\\/\",\"url\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/03\\\/07\\\/create-rgb-led-controller-app\\\/\",\"name\":\"Create an RGB Led controller App - vanslooten.com\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/03\\\/07\\\/create-rgb-led-controller-app\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/03\\\/07\\\/create-rgb-led-controller-app\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/breadboard_rgb_led_pico_w-scaled.jpg\",\"datePublished\":\"2025-03-07T12:18:41+00:00\",\"dateModified\":\"2025-03-11T08:51:51+00:00\",\"description\":\"Create an RGB Led controller App Create a RGB Led controller App based on a Raspberry Pi Pico that communicates with an Android App.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/03\\\/07\\\/create-rgb-led-controller-app\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/03\\\/07\\\/create-rgb-led-controller-app\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/03\\\/07\\\/create-rgb-led-controller-app\\\/#primaryimage\",\"url\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/breadboard_rgb_led_pico_w-scaled.jpg\",\"contentUrl\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/breadboard_rgb_led_pico_w-scaled.jpg\",\"width\":2560,\"height\":1152,\"caption\":\"breadboard with rgb led pico w\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/2025\\\/03\\\/07\\\/create-rgb-led-controller-app\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create an RGB Led controller App\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/#website\",\"url\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/\",\"name\":\"vanslooten.com\",\"description\":\"Personal website of Fjodor van Slooten\",\"publisher\":{\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/#\\\/schema\\\/person\\\/e62ff2d6beaa937dc9345a023eeb05dd\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/#\\\/schema\\\/person\\\/e62ff2d6beaa937dc9345a023eeb05dd\",\"name\":\"Fjodor van Slooten\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/2018-08-24-13.33.38_small.jpg\",\"url\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/2018-08-24-13.33.38_small.jpg\",\"contentUrl\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/2018-08-24-13.33.38_small.jpg\",\"width\":300,\"height\":214,\"caption\":\"Fjodor van Slooten\"},\"logo\":{\"@id\":\"https:\\\/\\\/home.et.utwente.nl\\\/slootenvanf\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/2018-08-24-13.33.38_small.jpg\"},\"sameAs\":[\"http:\\\/\\\/vanslooten.com\",\"https:\\\/\\\/x.com\\\/fjodorvs\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create an RGB Led controller App - vanslooten.com","description":"Create an RGB Led controller App Create a RGB Led controller App based on a Raspberry Pi Pico that communicates with an Android App.","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:\/\/home.et.utwente.nl\/slootenvanf\/2025\/03\/07\/create-rgb-led-controller-app\/","og_locale":"en_US","og_type":"article","og_title":"Create an RGB Led controller App - vanslooten.com","og_description":"Create an RGB Led controller App Create a RGB Led controller App based on a Raspberry Pi Pico that communicates with an Android App.","og_url":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/03\/07\/create-rgb-led-controller-app\/","og_site_name":"vanslooten.com","article_published_time":"2025-03-07T12:18:41+00:00","article_modified_time":"2025-03-11T08:51:51+00:00","og_image":[{"width":2560,"height":1152,"url":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/breadboard_rgb_led_pico_w-scaled.jpg","type":"image\/jpeg"}],"author":"Fjodor van Slooten","twitter_card":"summary_large_image","twitter_creator":"@fjodorvs","twitter_site":"@fjodorvs","twitter_misc":{"Written by":"Fjodor van Slooten","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/03\/07\/create-rgb-led-controller-app\/#article","isPartOf":{"@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/03\/07\/create-rgb-led-controller-app\/"},"author":{"name":"Fjodor van Slooten","@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/#\/schema\/person\/e62ff2d6beaa937dc9345a023eeb05dd"},"headline":"Create an RGB Led controller App","datePublished":"2025-03-07T12:18:41+00:00","dateModified":"2025-03-11T08:51:51+00:00","mainEntityOfPage":{"@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/03\/07\/create-rgb-led-controller-app\/"},"wordCount":1181,"publisher":{"@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/#\/schema\/person\/e62ff2d6beaa937dc9345a023eeb05dd"},"image":{"@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/03\/07\/create-rgb-led-controller-app\/#primaryimage"},"thumbnailUrl":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/breadboard_rgb_led_pico_w-scaled.jpg","keywords":["ai","android","app","electronics","java","programming","raspberrypi","rgb","rgb-led"],"articleSection":["Education"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/03\/07\/create-rgb-led-controller-app\/","url":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/03\/07\/create-rgb-led-controller-app\/","name":"Create an RGB Led controller App - vanslooten.com","isPartOf":{"@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/#website"},"primaryImageOfPage":{"@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/03\/07\/create-rgb-led-controller-app\/#primaryimage"},"image":{"@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/03\/07\/create-rgb-led-controller-app\/#primaryimage"},"thumbnailUrl":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/breadboard_rgb_led_pico_w-scaled.jpg","datePublished":"2025-03-07T12:18:41+00:00","dateModified":"2025-03-11T08:51:51+00:00","description":"Create an RGB Led controller App Create a RGB Led controller App based on a Raspberry Pi Pico that communicates with an Android App.","breadcrumb":{"@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/03\/07\/create-rgb-led-controller-app\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/03\/07\/create-rgb-led-controller-app\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/03\/07\/create-rgb-led-controller-app\/#primaryimage","url":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/breadboard_rgb_led_pico_w-scaled.jpg","contentUrl":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2025\/03\/breadboard_rgb_led_pico_w-scaled.jpg","width":2560,"height":1152,"caption":"breadboard with rgb led pico w"},{"@type":"BreadcrumbList","@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/2025\/03\/07\/create-rgb-led-controller-app\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/home.et.utwente.nl\/slootenvanf\/"},{"@type":"ListItem","position":2,"name":"Create an RGB Led controller App"}]},{"@type":"WebSite","@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/#website","url":"https:\/\/home.et.utwente.nl\/slootenvanf\/","name":"vanslooten.com","description":"Personal website of Fjodor van Slooten","publisher":{"@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/#\/schema\/person\/e62ff2d6beaa937dc9345a023eeb05dd"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/home.et.utwente.nl\/slootenvanf\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/#\/schema\/person\/e62ff2d6beaa937dc9345a023eeb05dd","name":"Fjodor van Slooten","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2019\/06\/2018-08-24-13.33.38_small.jpg","url":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2019\/06\/2018-08-24-13.33.38_small.jpg","contentUrl":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2019\/06\/2018-08-24-13.33.38_small.jpg","width":300,"height":214,"caption":"Fjodor van Slooten"},"logo":{"@id":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-content\/uploads\/2019\/06\/2018-08-24-13.33.38_small.jpg"},"sameAs":["http:\/\/vanslooten.com","https:\/\/x.com\/fjodorvs"]}]}},"_links":{"self":[{"href":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-json\/wp\/v2\/posts\/5724","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-json\/wp\/v2\/comments?post=5724"}],"version-history":[{"count":28,"href":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-json\/wp\/v2\/posts\/5724\/revisions"}],"predecessor-version":[{"id":5774,"href":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-json\/wp\/v2\/posts\/5724\/revisions\/5774"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-json\/wp\/v2\/media\/5739"}],"wp:attachment":[{"href":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-json\/wp\/v2\/media?parent=5724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-json\/wp\/v2\/categories?post=5724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/home.et.utwente.nl\/slootenvanf\/wp-json\/wp\/v2\/tags?post=5724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}