{"id":45977,"date":"2017-11-15T11:19:00","date_gmt":"2017-11-15T11:19:00","guid":{"rendered":"http:\/\/randomnerdtutorials.com\/?p=45977"},"modified":"2021-09-14T10:46:25","modified_gmt":"2021-09-14T10:46:25","slug":"node-red-with-ws2812b-addressable-rgb-led-strip","status":"publish","type":"post","link":"https:\/\/randomnerdtutorials.com\/node-red-with-ws2812b-addressable-rgb-led-strip\/","title":{"rendered":"Node-RED with WS2812B Addressable RGB LED Strip"},"content":{"rendered":"<p>Addressable RGB LED strips are just awesome! You can control each individual pixel of the strip, allowing you to produce beautiful effects. However, controlling these kind of strips it&#8217;s not always easy.<!--more--> So, in this project we&#8217;re going to show you how to build a web application with Node-RED and Raspberry Pi to control an addressable RGB LED strip to make your life simple.<\/p>\n<p><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-46008\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/WS2812B-Node-RED-1.jpg?resize=712%2C400&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"\" width=\"712\" height=\"400\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/WS2812B-Node-RED-1.jpg?w=1280&amp;quality=100&amp;strip=all&amp;ssl=1 1280w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/WS2812B-Node-RED-1.jpg?resize=300%2C169&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/WS2812B-Node-RED-1.jpg?resize=768%2C431&amp;quality=100&amp;strip=all&amp;ssl=1 768w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/WS2812B-Node-RED-1.jpg?resize=1024%2C575&amp;quality=100&amp;strip=all&amp;ssl=1 1024w\" sizes=\"(max-width: 712px) 100vw, 712px\" \/><\/p>\n<h2>Watch the video demonstration<\/h2>\n<p style=\"text-align:center\"><iframe width=\"720\" height=\"405\" src=\"https:\/\/www.youtube.com\/embed\/gbjEqXABnas?rel=0\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<h2>Prerequisites<\/h2>\n<ul>\n<li>You should be familiar with the Raspberry Pi \u2013\u00a0<a href=\"https:\/\/randomnerdtutorials.com\/getting-started-with-raspberry-pi\/\" target=\"_blank\" rel=\"noopener noreferrer\">read Getting Started with Raspberry Pi<\/a>.<\/li>\n<li>You should have the Raspbian operating system installed in your Raspberry Pi \u2013\u00a0<a href=\"https:\/\/randomnerdtutorials.com\/installing-raspbian-lite-enabling-and-connecting-with-ssh\/\">read Installing Raspbian Lite, Enabling and Connecting with SSH<\/a>.<\/li>\n<li>You need\u00a0<a href=\"https:\/\/randomnerdtutorials.com\/getting-started-with-node-red-on-raspberry-pi\/\">Node-RED installed on your Pi<\/a>\u00a0and\u00a0<a href=\"https:\/\/randomnerdtutorials.com\/getting-started-with-node-red-dashboard\/\">Node-RED Dashboard<\/a>.<\/li>\n<\/ul>\n<p>If you like home automation and you want to learn more about Node-RED, Raspberry Pi, ESP8266 and Arduino. I recommend that you download my course:\u00a0<a href=\"https:\/\/randomnerdtutorials.com\/build-a-home-automation-system-for-100\/\" target=\"_blank\" rel=\"noopener noreferrer\">Build a Home Automation System with Node-RED, ESP8266 and Arduino<\/a>.<\/p>\n<h2>Project overview<\/h2>\n<p>Here&#8217;s some important aspects about the Node-RED application built in this project:<\/p>\n<ul>\n<li>The addressable RGB LED strip will be controlled using the neopixel node that you need to install;<\/li>\n<li>In the application, you can select individual LEDs and set its color using a color picker;<\/li>\n<li>You can select the strip color either by using the color picker or a drop-down menu with preset colors;<\/li>\n<li>The application also allows you to display a moving rainbow effect on the strip;<\/li>\n<li>Finally, you&#8217;ll have a &#8220;Clear&#8221; button to unlit all the LEDs on the strip.<\/li>\n<\/ul>\n<h2>Parts required<\/h2>\n<p>In this project we&#8217;ll be controlling the WS2812B addressable RGB LED strip. For that you&#8217;ll need the following parts:<\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" class=\"aligncenter size-full wp-image-46006\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/DSC01841.jpg?resize=700%2C369&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"\" width=\"700\" height=\"369\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/DSC01841.jpg?w=700&amp;quality=100&amp;strip=all&amp;ssl=1 700w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/DSC01841.jpg?resize=300%2C158&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/p>\n<ul>\n<li><a href=\"https:\/\/makeradvisor.com\/tools\/raspberry-pi-board\/\" target=\"_blank\" rel=\"noopener noreferrer\">Raspberry Pi Board<\/a>\u00a0\u00a0\u2013 read\u00a0<a href=\"https:\/\/makeradvisor.com\/best-raspberry-pi-3-starter-kits\/\" target=\"_blank\" rel=\"noopener noreferrer\">Best Raspberry Pi Starter Kits<\/a><\/li>\n<li><a href=\"https:\/\/makeradvisor.com\/tools\/ws2812b-addressable-rgb-led-strip\/\" target=\"_blank\" rel=\"noopener noreferrer\">WS2812B Addressable RGB LED strip<\/a><\/li>\n<li><a href=\"https:\/\/makeradvisor.com\/tools\/logic-level-converter-module\/\" target=\"_blank\" rel=\"noopener noreferrer\">Logic level converter module bss138<\/a><\/li>\n<li><a href=\"https:\/\/makeradvisor.com\/tools\/mb-102-solderless-breadboard-830-points\/\" target=\"_blank\" rel=\"noopener noreferrer\">Breadboard<\/a><\/li>\n<li><a href=\"https:\/\/makeradvisor.com\/tools\/jumper-wires-kit-120-pieces\/\" target=\"_blank\" rel=\"noopener noreferrer\">Jumper wires<\/a><\/li>\n<\/ul>\n<p>You can use the preceding links or go directly to <a href=\"https:\/\/makeradvisor.com\/tools\/?utm_source=rnt&utm_medium=post&utm_campaign=post\" target=\"_blank\">MakerAdvisor.com\/tools<\/a> to find all the parts for your projects at the best price!<\/p><p style=\"text-align:center;\"><a href=\"https:\/\/makeradvisor.com\/tools\/?utm_source=rnt&utm_medium=post&utm_campaign=post\" target=\"_blank\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/10\/header-200.png?w=1200&#038;quality=100&#038;strip=all&#038;ssl=1\"><\/a><\/p>\n<h2>Wiring the WS2812B RGB LED Strip<\/h2>\n<p>With your Pi shutdown, follow the next schematic diagram to wire the WS2812B RGB LED strip to your Pi. The WS2812B data pin should be controlled by the Pi&#8217;s GPIO18, because that&#8217;s the GPIO used by the neopixel node.<\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" class=\"aligncenter wp-image-60365\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/ws2812B-rpi_bb.jpg?resize=538%2C836&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"\" width=\"538\" height=\"836\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/ws2812B-rpi_bb.jpg?w=1024&amp;quality=100&amp;strip=all&amp;ssl=1 1024w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/ws2812B-rpi_bb.jpg?resize=193%2C300&amp;quality=100&amp;strip=all&amp;ssl=1 193w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/ws2812B-rpi_bb.jpg?resize=768%2C1194&amp;quality=100&amp;strip=all&amp;ssl=1 768w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/ws2812B-rpi_bb.jpg?resize=659%2C1024&amp;quality=100&amp;strip=all&amp;ssl=1 659w\" sizes=\"(max-width: 538px) 100vw, 538px\" \/><\/p>\n<p>The pin used to control the strip may conflict with audio playback, so the pixels can go crazy and not work properly. If this happens, you need to add two lines to the <em>config.txt<\/em> file. In the Terminal enter the following:<\/p>\n<pre>pi@raspberrypi:~ $ sudo nano \/boot\/config.txt<\/pre>\n<p>In the file that opens, add the following two lines (anywhere should be fine):<\/p>\n<pre>hdmi_force_hotplug = 1\nhdmi_force_edid_audio = 1<\/pre>\n<p>Press ctrl-X to save the file and then, when prompted, type Y and press enter. Reboot your Pi for the changes to take effect, and then proceed with the instructions.<\/p>\n<h2>Installing the neopixel Node-RED node<\/h2>\n<p>To control the WS2812B addressable RGB LED strip with Node-RED, you need to install <strong>node-red-pi-neopixel<\/strong>. First, you need to install the Neopixel python driver. So, in the Terminal window type the following (this may take a few minutes):<\/p>\n<pre>pi@raspberry:~ $\u00a0<strong>curl -sS get.pimoroni.com\/unicornhat | bash<\/strong><\/pre>\n<p>Then, install the node to control the LED strip:<\/p>\n<pre>pi@raspberry:~ $ <strong>node-red-stop<\/strong>\npi@raspberry:~ $ <strong>cd ~\/.node-red<\/strong>\npi@raspberry:~\/.node-red $ <strong>npm install node-red-node-pi-neopixel<\/strong><\/pre>\n<h2>Starting Node-RED<\/h2>\n<p>To start Node-RED, enter the following in the Terminal window:<\/p>\n<pre>pi@raspberry:~ $ <strong>node-red-start<\/strong><\/pre>\n<p>To access Node-RED, open a tab in any browser on the local network and type the following:<\/p>\n<pre>http:\/\/<span style=\"color: #ff0000;\"><strong>Your_RPi_IP_address<\/strong><\/span>:1880<\/pre>\n<p>You should replace <span style=\"color: #ff0000;\"><strong>Your_RPi_IP_address<\/strong><\/span> with your Raspberry Pi IP address. If you don\u2019t know your Raspberry Pi IP address, in the Terminal enter:<\/p>\n<pre>pi@raspberry:~ $ <strong>hostname -I\n<\/strong><\/pre>\n<h2>Creating the Node-RED Flow<\/h2>\n<p>Before creating the flow, make sure you have the\u00a0<strong>rpi neopixels<\/strong>\u00a0node, as show in the figure below. If you don\u2019t have the node, check that you\u2019ve followed the instructions above in the\u00a0<strong>Installing the neopixel Node-RED node<\/strong>\u00a0section.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-45980\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/neopixel-node.jpg?resize=163%2C257&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"\" width=\"163\" height=\"257\" \/><\/p>\n<p>Here&#8217;s the flow to control the WS2812B RGB LED strip.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-45983\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/node-red-flow.png?resize=611%2C424&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"\" width=\"611\" height=\"424\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/node-red-flow.png?w=611&amp;quality=100&amp;strip=all&amp;ssl=1 611w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/node-red-flow.png?resize=300%2C208&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 611px) 100vw, 611px\" \/><\/p>\n<p>As this flow is a bit complex, we recommend importing the flow we provide instead of building it from scratch. Then, you can make modifications to the flow, if necessary.<\/p>\n<h3>Importing the Node-RED flow<\/h3>\n<p>To import the Node-RED flow provided, go to the\u00a0<a href=\"https:\/\/raw.githubusercontent.com\/RuiSantosdotme\/Random-Nerd-Tutorials\/master\/Projects\/Node-RED_Neopixel_flow.txt\" target=\"_blank\" rel=\"noopener noreferrer\">GitHub repository<\/a> or click the figure below to see the raw file, and copy the code provided.<\/p>\n<p><a href=\"https:\/\/raw.githubusercontent.com\/RuiSantosdotme\/Random-Nerd-Tutorials\/master\/Projects\/Node-RED_Neopixel_flow.txt\" target=\"_blank\" rel=\"noopener noreferrer\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-45986 size-full\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/flow-code.png?resize=991%2C96&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"\" width=\"991\" height=\"96\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/flow-code.png?w=991&amp;quality=100&amp;strip=all&amp;ssl=1 991w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/flow-code.png?resize=300%2C29&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/flow-code.png?resize=768%2C74&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 991px) 100vw, 991px\" \/><\/a><\/p>\n<p>Next, in the Node-RED window, at the top right corner, select the menu, and go to <strong>Import\u00a0<\/strong> &gt;\u00a0<strong>Clipboard<\/strong>.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-45987\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/import-nodes.png?resize=523%2C291&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"\" width=\"523\" height=\"291\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/import-nodes.png?w=523&amp;quality=100&amp;strip=all&amp;ssl=1 523w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/import-nodes.png?resize=300%2C167&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 523px) 100vw, 523px\" \/><\/p>\n<p>Then, paste the code provided and click <strong>Import<\/strong>.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-45988\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/import-nodes-2.png?resize=500%2C337&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"\" width=\"500\" height=\"337\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/import-nodes-2.png?w=500&amp;quality=100&amp;strip=all&amp;ssl=1 500w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/import-nodes-2.png?resize=300%2C202&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/p>\n<h3>Select the Number of LEDs<\/h3>\n<p>This flow was built for a strip with 14 LEDs. You&#8217;ll be probably using a different number of LEDs. So, you&#8217;ll need to make some changes to the flow.<\/p>\n<h4>WS2812B LED STRIP Node<\/h4>\n<p>Double click the <strong>WS2812B LED STRIP<\/strong> node, and change the number of LEDs in the first field.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-45991\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/edit-neopixel-node.png?resize=493%2C438&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"\" width=\"493\" height=\"438\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/edit-neopixel-node.png?w=493&amp;quality=100&amp;strip=all&amp;ssl=1 493w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/edit-neopixel-node.png?resize=300%2C267&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 493px) 100vw, 493px\" \/><\/p>\n<h4>Select LED Slider Node<\/h4>\n<p>You also should edit the <strong>Select LED Slider<\/strong> Node, so that you are able to select all the pixels on your strip with the slider.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-45994\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/slider-node.png?resize=494%2C308&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"\" width=\"494\" height=\"308\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/slider-node.png?w=494&amp;quality=100&amp;strip=all&amp;ssl=1 494w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/slider-node.png?resize=300%2C187&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 494px) 100vw, 494px\" \/><\/p>\n<h4>Select LED Numeric Node<\/h4>\n<p>You need to edit the <strong>Select LED numeric<\/strong> node to match the number of LEDs on your strip.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-45993\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/numeric-node.png?resize=493%2C355&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"\" width=\"493\" height=\"355\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/numeric-node.png?w=493&amp;quality=100&amp;strip=all&amp;ssl=1 493w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/numeric-node.png?resize=300%2C216&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 493px) 100vw, 493px\" \/><\/p>\n<h4>Rainbow Effect Function Node<\/h4>\n<p>Edit the number of LEDs on the <strong>Rainbow Effect function<\/strong> node, as highlighted in the figure below. You need to do this, so that the rainbow effect spreads across the number of LEDs on your strip.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-45992\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/edit-function-node.png?resize=495%2C412&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"\" width=\"495\" height=\"412\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/edit-function-node.png?w=495&amp;quality=100&amp;strip=all&amp;ssl=1 495w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/edit-function-node.png?resize=300%2C250&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 495px) 100vw, 495px\" \/><\/p>\n<h4>Adding More Preset Colors<\/h4>\n<p>This Node-RED application has a drop-down menu that allows to chose a color for the entire strip. We&#8217;ve added some preset colors, but you can add more colors if you like. For that, double-click on the <strong>Select Strip Color drop-down<\/strong> node and add more options. You should set the color in RGB.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-45995\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/dropdown-menu.png?resize=500%2C477&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"\" width=\"500\" height=\"477\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/dropdown-menu.png?w=500&amp;quality=100&amp;strip=all&amp;ssl=1 500w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/dropdown-menu.png?resize=300%2C286&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/p>\n<h2>Node-RED UI<\/h2>\n<p>After making all the necessary changes, click the <strong>Deploy<\/strong> button to save all the changes.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-40013\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/06\/11_deploy_button.png?resize=138%2C40&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"\" width=\"138\" height=\"40\" \/><\/p>\n<p>Now, you Node-RED application is ready. To access Node-RED UI and see how your application looks, access any browser in your local networks and type:<\/p>\n<pre>http:\/\/<span style=\"color: #ff0000;\"><strong>Your_RPi_IP_address:1880<\/strong><\/span>\/ui<\/pre>\n<p>Your application should look as in the following figure.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-45997\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/node-red-application.png?resize=747%2C727&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"\" width=\"747\" height=\"727\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/node-red-application.png?w=747&amp;quality=100&amp;strip=all&amp;ssl=1 747w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/node-red-application.png?resize=300%2C292&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 747px) 100vw, 747px\" \/><\/p>\n<h2>Wrapping up<\/h2>\n<p>In this project we&#8217;ve made a Node-RED application to control the WS2812B RGB LED strip using the neopixel node. We hope you&#8217;ve liked this project, and have fun controlling your LED strip.<\/p>\n<p>If you like this project, you may also like:<\/p>\n<ul>\n<li><a href=\"https:\/\/randomnerdtutorials.com\/node-red-with-raspberry-pi-camera-take-photos\/\" target=\"_blank\" rel=\"noopener noreferrer\">Node-RED with Raspberry Pi Camera (Take Photos)<\/a><\/li>\n<li><a href=\"https:\/\/randomnerdtutorials.com\/best-led-strip-for-your-project\/\" target=\"_blank\" rel=\"noopener noreferrer\">What\u2019s the Best LED Strip For Your Project?<\/a><\/li>\n<li><a href=\"https:\/\/randomnerdtutorials.com\/getting-started-with-home-assistant-on-raspberry-pi\/\" target=\"_blank\" rel=\"noopener noreferrer\">Getting Started with Home Assistant on Raspberry Pi<\/a><\/li>\n<li><a href=\"https:\/\/randomnerdtutorials.com\/build-a-home-automation-system-for-100\/\" target=\"_blank\" rel=\"noopener noreferrer\">Build a Home Automation System with Node-RED<\/a><\/li>\n<\/ul>\n<p>Thanks for reading.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Addressable RGB LED strips are just awesome! You can control each individual pixel of the strip, allowing you to produce beautiful effects. However, controlling these kind of strips it&#8217;s not &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Node-RED with WS2812B Addressable RGB LED Strip\" class=\"read-more button\" href=\"https:\/\/randomnerdtutorials.com\/node-red-with-ws2812b-addressable-rgb-led-strip\/#more-45977\" aria-label=\"Read more about Node-RED with WS2812B Addressable RGB LED Strip\">CONTINUE READING \u00bb<\/a><\/p>\n","protected":false},"author":5,"featured_media":46008,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[304,256,273,264,190,268,274,192],"tags":[],"class_list":["post-45977","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-0-home-automation","category-electronics","category-node-red","category-project","category-raspberry-pi","category-raspberry-pi-project","category-rgb-led-strip","category-r-tutorials"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/11\/WS2812B-Node-RED-1.jpg?fit=1280%2C719&quality=100&strip=all&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/45977","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/comments?post=45977"}],"version-history":[{"count":1,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/45977\/revisions"}],"predecessor-version":[{"id":106569,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/45977\/revisions\/106569"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media\/46008"}],"wp:attachment":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media?parent=45977"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/categories?post=45977"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/tags?post=45977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}