<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Smart Windows and Blinds with Arduino and Raspberry Pi Pico -- Episode-652</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/71793/smart-windows-and-blinds-with-arduino-and-raspberry-pi-pico----episode-652</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Smart Windows and Blinds with Arduino and Raspberry Pi Pico -- Episode-652</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/71793/smart-windows-and-blinds-with-arduino-and-raspberry-pi-pico----episode-652</link><pubDate>Thu, 02 May 2024 18:39:52 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4b4a327e-2025-413b-a991-b45fcfff44e0</guid><dc:creator>pchan</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/71793/smart-windows-and-blinds-with-arduino-and-raspberry-pi-pico----episode-652#comments</comments><description>Current Revision posted to Documents by pchan on 5/2/2024 6:39:52 PM&lt;br /&gt;
&lt;p&gt;&lt;span class="TextRun SCXW143951625 BCX0" lang="EN" data-contrast="auto"&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;Want to set up your own home automation? Do you want &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;to be able to control &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;your lights,&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; or windows with a few clicks on your phone? You could run&amp;nbsp;&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;a sequence &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;that &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;turns &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;off the lights when you fall asleep, or to&amp;nbsp;&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;prevent waking&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; up in the middle of the night because &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;your environment is&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; too &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;hot,&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; and you want to open a window without getting up. &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;Join&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; Milos &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;as he &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;goes over simple ways &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;to automate&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; your &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;home &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;using an Arduino and Raspberry&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; Pi&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class="EOP SCXW143951625 BCX0"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssqco5i0"&gt;&lt;span class="EOP SCXW143951625 BCX0"&gt;Watch the Video:&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;&lt;a href="https://www.youtube.com/watch?v=5bLpkOdTbc4"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;&lt;a href="#download" data-e14adj="t"&gt;Download &amp;amp; Links&lt;/a&gt; | &lt;a href="#BOM" data-e14adj="t"&gt;Bill of Material&lt;/a&gt; | &lt;a href="#Discussion" data-e14adj="t"&gt;Discussion&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Be warned that this project can involve working with high voltages. If you are not experienced or qualified to do so, please do not attempt to replicate this project without guidance and assistance from a suitably qualified and competent person.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Milos decides to focus on the bedroom, aiming for a routine that is suitable for getting ready for sleep, or waking up. In their &amp;lsquo;smart room concept&amp;rsquo; we can see what he wants to control and how he intends to interact and control them. With separate nodes for each component, controlling window access, lighting along with sensors and the base server with communications.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/Drawing1-_2D00_-Room-Control-Concept.PNG" /&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Milos has three main components to this project; these are a server and two nodes. Identifying that the server would benefit from being low power, Milos opts for a&amp;nbsp; Raspberry Pi 3B+ (though any Raspberry with a wireless LAN connection will work), while the nodes will be a Raspberry Pi Pico W and an Arduino MKR 1000 (both could be done with a Pi Pico W, but Milos notes that the Arduino has already been a part of the project for the past five years!). Going for a standard protocol for the components to talk together, Milos uses MQTT, with the server running Node Red.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/Drawing2-_2D00_-How-MQTT-Works.PNG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;With Milos&amp;rsquo; decision to use MQTT it requires a broker which will be set up on the &amp;lsquo;server&amp;rsquo;. Using the Raspberry Pi 3B+ it will work as the message coordinator, so all communication goes through it. Any connected nodes can either subscribe or publish data to the &amp;lsquo;topics&amp;rsquo; (which are like messaging channels) that the MQTT broker controls. You can find more information on setting up Node Red and Mosquitto for this project below, be sure to check the official documentation with the latest downloads.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;After setting up the broker Milos quickly has a way to receive commands on his nodes and a way of sending the sensor data to the server.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/PXL_5F00_20240328_5F00_071346012.MV_7E00_2.jpg" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssqmj0j1"&gt;&lt;span data-contrast="auto"&gt;The Arduino Node&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Again, please be aware that this project can involve working with high voltages. If you are not experienced or qualified to do so, please do not attempt to replicate this project without guidance and assistance from a suitably qualified and competent person.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Milos blogged about this part of&amp;nbsp;&amp;nbsp;&lt;a href="https://community.element14.com/challenges-projects/project14/homeautomation/b/blog/posts/the-smart-room-project---current-phase"&gt;The Smart Room Project - Current Phase&lt;/a&gt;&amp;nbsp;&amp;nbsp;in 2019 (code included in link)&amp;nbsp;, using relays, motor control and blinds. This part of the project works by running a small server on the Arduino MKR1000 detecting requests and commands, the node also has a small infra-red receiver for infra-red remote control.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/IMG_5F00_20190310_5F00_120344.jpg" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/Drawing5-_2D00_-Main-Node-Design.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;span class="SCXW195654910 BCX0"&gt;&lt;span class="WACImageContainer NoPadding DragDrop BlobObject SCXW195654910 BCX0"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/pastedimage1714659824063v1.png" /&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssr1nf92"&gt;&lt;span data-contrast="auto"&gt;Raspberry Pi Pico W Node for the Window Blinds&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;On top of the existing project, this is the new addition that Milos will be adding to the room automation setup. This node will control the venetian blinds on both windows in the room, open the right window and monitor the ambient temperature, humidity, and CO2 levels. Milos mounted the node above his windows where the curtain will hide it which will also reduce the needed length of the cabling.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/PXL_5F00_20240328_5F00_071407790.MV_7E00_2.jpg" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;span class="SCXW200758484 BCX0"&gt;&lt;span class="WACImageContainer NoPadding DragDrop BlobObject SCXW200758484 BCX0"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/pastedimage1714659937881v2.png" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssr55iq3"&gt;&lt;span data-contrast="auto"&gt;Controlling the Venetian Blinds&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Designing the actuator for the venetian blind control was an entirely new experience for Milos. The ones in the room operate by turning an axle a few times in either direction, changing the angle of the light blades of the blinds. To accomplish this, Milos decided to use a 360-degree servo to ensure control of the range of motion in either direction. Adding small dimples to the blind&amp;rsquo;s coupler, it then triggers a micro switch which is used as a makeshift encoder.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/Drawing3-_2D00_-Venetian-Actuator-Deisgn.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/PXL_5F00_20240328_5F00_071529386.MV_7E00_2.jpg" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/VA_5F00_CAD_5F00_Cover.PNG" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/VA_5F00_CAD_5F00_Cover2.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssred5l4"&gt;&lt;span data-contrast="auto"&gt;Setting up the Window Control&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Controlling the opening and closing of the window required setting up another actuator, deciding to use the same motor, but this time requiring linear motion. This required setting up a rock and pinion mounted onto the window frame. When activated, this causes the setup to move and open and close the window as it navigates the rack gear, also using a micro switch for limit detection&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/Drawing4-_2D00_-Window-Actuator-Design.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/PXL_5F00_20240328_5F00_071432264.MV_7E00_2.jpg" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/PXL_5F00_20240328_5F00_071458395.MV_7E00_2.jpg" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/WA_5F00_CAD_5F00_Covered.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/WA_5F00_CAD_5F00_NoCover1.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/WA_5F00_CAD_5F00_NoCover2.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssrp2ik7"&gt;&lt;span data-contrast="auto"&gt;Setting up the Interface Control&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Since the server-side is programmed in Node Red, it has functional dashboard elements! Which are incredibly useful for making simple graphical interfaces. Milos wanted to be able to control everything in his room from his PC and his smart phone. By bookmarking the address to the dashboard, with its responsive design it can adapt suitably to both a desktop browser or a portrait layout without installing it as an app.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/Tab-1-_2D00_-PC.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/Tab-2-_2D00_-PC.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/Screenshot_5F00_20240327_2D00_235801.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/Screenshot_5F00_20240327_2D00_235807.png" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/Screenshot_5F00_20240327_2D00_235812.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/Screenshot_5F00_20240327_2D00_235826.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/Screenshot_5F00_20240327_2D00_235837.png" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/Screenshot_5F00_20240327_2D00_235843.png" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/Screenshot_5F00_20240327_2D00_235846.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/Screenshot_5F00_20240327_2D00_235858.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Overall, it provides a nice and presentable way to control lighting, windows and monitor the environment to ensure comfort all from the convenience of a computer or phone, potentially even away from home if necessary. So long as you take necessary security precautions of course!&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Is this something you would like to set up? Or have you already set up something like this yourself?&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hsss73f48"&gt;&lt;span&gt;Downloads &amp;amp; Links:&lt;a id="download" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="/challenges-projects/element14-presents/m/files/149313" data-e14adj="t"&gt;Download Code and CAD Files&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;a href="https://nodered.org/docs/getting-started/raspberrypi" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;Running on Raspberry Pi&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;a href="https://mosquitto.org/blog/2013/01/mosquitto-debian-repository/" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;Mosquitto Debian repository&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&amp;nbsp;&lt;a href="https://community.element14.com/challenges-projects/project14/homeautomation/b/blog/posts/the-smart-room-project---current-phase"&gt;The Smart Room Project - Current Phase&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssmfhav0"&gt;Bill of Material:&lt;a id="BOM" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-a3f39" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3996082,3924522,2830991,1652508~3,2842228,4007769,3677907&amp;nsku=38AK5986,29AK2395,47AC4164,28AC9286~3,49AC7637,42AK5729,x&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('a3f39'));" data-farnell="3996082,3924522,2830991,1652508~3,2842228,4007769,3677907" data-newark="38AK5986,29AK2395,47AC4164,28AC9286~3,49AC7637,42AK5729,x" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RASPBERRY-PI SBC, Raspberry Pi Pico W, RP2040, ARM Cortex-M0+, 264kB RAM, 2MB Flash, Wifi, Micro-USB&lt;/td&gt;
&lt;td&gt;RASPBERRY-PI&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-f0343" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3996082&amp;nsku=38AK5986&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('f0343'));" data-farnell="3996082" data-newark="38AK5986" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;MULTICOMP PRO 3D Printer Filament, 1.75 mm, White, EPLA, 1 kg&lt;/td&gt;
&lt;td&gt;MULTICOMP PRO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-d978d" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3924522&amp;nsku=29AK2395&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('d978d'));" data-farnell="3924522" data-newark="29AK2395" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ARDUINO ABX00004&lt;/td&gt;
&lt;td&gt;ARDUINO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-d0b56" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2830991&amp;nsku=47AC4164&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('d0b56'));" data-farnell="2830991" data-newark="47AC4164" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;VISHAY 4N27&lt;/td&gt;
&lt;td&gt;VISHAY&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-a285d" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=1652508~3&amp;nsku=28AC9286~3&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('a285d'));" data-farnell="1652508~3" data-newark="28AC9286~3" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RASPBERRY-PI RPI3-MODBP&lt;/td&gt;
&lt;td&gt;RASPBERRY-PI&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-5b163" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2842228&amp;nsku=49AC7637&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('5b163'));" data-farnell="2842228" data-newark="49AC7637" data-comoverride="" data-cmpoverride="" data-cpc="SC14882" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SEEED STUDIO 103020136&lt;/td&gt;
&lt;td&gt;SEEED STUDIO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-409fb" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4007769&amp;nsku=42AK5729&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('409fb'));" data-farnell="4007769" data-newark="42AK5729" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SENSIRION SEK-SCD41-SENSOR&lt;/td&gt;
&lt;td&gt;SENSIRION&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-f3d23" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3677907&amp;nsku=x&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('f3d23'));" data-farnell="3677907" data-newark="x" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssmgip61"&gt;Additional Parts:&lt;/h2&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Continous (360 degree) Servo Motor&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Micro Switches&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Passive components like resistors, capacitors, header pins, perfboard&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Cables&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Screws like M3, M4, M5&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Old 5V 2A Charger&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="background:#ffffff;border:1px solid #dadada;margin:0;padding:14px 16px 16px 18px;vertical-align:top;"&gt;
&lt;div style="display:inline-block;float:left;padding:0px 25px 8px 0px;"&gt;&lt;a href="/challengesprojects/element14-presents/" data-e14adj="t"&gt;&lt;img loading="lazy" alt="element14 presents" src="/e14/assets/legacy/2018/e14PresentsJune818.png" width="180px" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="display:inline-block;vertical-align:top;width:70%;"&gt;&lt;br /&gt;
&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/" data-e14adj="t"&gt;element14 presents&lt;/a&gt;&lt;/span&gt;&amp;nbsp; &lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a href="/challenges-projects/element14-presents/vcp-program/w/documents/28156/vcp-biography-milos-rasic" data-e14adj="t"&gt;About Milos Rasic&lt;/a&gt; &lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/" data-e14adj="t"&gt;Project Videos&lt;/a&gt;&lt;a id="Discussion" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/" data-e14adj="t"&gt;&lt;/a&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/" data-e14adj="t"&gt;&lt;/a&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/" data-e14adj="t"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;script&gt;window.top.e14.func.queueScripts.add(function() { window.top.e14.func.e14DynaloadGallery(window.document);}, true );&lt;/script&gt;

&lt;div style="font-size: 90%;"&gt;Tags: diy smart home, Arduino home automation projects, Smart bedroom ideas, Smart room setup, e14p_Milos, DIY home technology, Arduino home control, arduino home automation, Home automation tutorial, Raspberry Pi automation, raspberry pi projects, Smart room automation guide, Arduino automation guide, Raspberry Pi home projects, Home automation with Node Red, friday_release, Raspberry Pi home automation tutorial&lt;/div&gt;
</description></item><item><title>Smart Windows and Blinds with Arduino and Raspberry Pi Pico -- Episode-652</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/71793/smart-windows-and-blinds-with-arduino-and-raspberry-pi-pico----episode-652/revision/7</link><pubDate>Thu, 02 May 2024 18:39:52 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4b4a327e-2025-413b-a991-b45fcfff44e0</guid><dc:creator>tariq.ahmad</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/71793/smart-windows-and-blinds-with-arduino-and-raspberry-pi-pico----episode-652#comments</comments><description>Revision 7 posted to Documents by tariq.ahmad on 5/2/2024 6:39:52 PM&lt;br /&gt;
&lt;p&gt;&lt;span class="TextRun SCXW143951625 BCX0" lang="EN" data-contrast="auto"&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;Want to set up your own home automation? Do you want &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;to be able to control &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;your lights,&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; or windows with a few clicks on your phone? You could run&amp;nbsp;&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;a sequence &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;that &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;turns &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;off the lights when you fall asleep, or to&amp;nbsp;&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;prevent waking&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; up in the middle of the night because &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;your environment is&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; too &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;hot,&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; and you want to open a window without getting up. &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;Join&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; Milos &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;as he &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;goes over simple ways &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;to automate&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; your &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;home &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;using an Arduino and Raspberry&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; Pi&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class="EOP SCXW143951625 BCX0"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssqco5i0"&gt;&lt;span class="EOP SCXW143951625 BCX0"&gt;Watch the Video:&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;&lt;a href="https://www.youtube.com/watch?v=5bLpkOdTbc4"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;&lt;a href="#download" data-e14adj="t"&gt;Download &amp;amp; Links&lt;/a&gt; | &lt;a href="#BOM" data-e14adj="t"&gt;Bill of Material&lt;/a&gt; | &lt;a href="#Discussion" data-e14adj="t"&gt;Discussion&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Be warned that this project can involve working with high voltages. If you are not experienced or qualified to do so, please do not attempt to replicate this project without guidance and assistance from a suitably qualified and competent person.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Milos decides to focus on the bedroom, aiming for a routine that is suitable for getting ready for sleep, or waking up. In their &amp;lsquo;smart room concept&amp;rsquo; we can see what he wants to control and how he intends to interact and control them. With separate nodes for each component, controlling window access, lighting along with sensors and the base server with communications.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing1-_2D00_-Room-Control-Concept.PNG" /&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Milos has three main components to this project; these are a server and two nodes. Identifying that the server would benefit from being low power, Milos opts for a&amp;nbsp; Raspberry Pi 3B+ (though any Raspberry with a wireless LAN connection will work), while the nodes will be a Raspberry Pi Pico W and an Arduino MKR 1000 (both could be done with a Pi Pico W, but Milos notes that the Arduino has already been a part of the project for the past five years!). Going for a standard protocol for the components to talk together, Milos uses MQTT, with the server running Node Red.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing2-_2D00_-How-MQTT-Works.PNG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;With Milos&amp;rsquo; decision to use MQTT it requires a broker which will be set up on the &amp;lsquo;server&amp;rsquo;. Using the Raspberry Pi 3B+ it will work as the message coordinator, so all communication goes through it. Any connected nodes can either subscribe or publish data to the &amp;lsquo;topics&amp;rsquo; (which are like messaging channels) that the MQTT broker controls. You can find more information on setting up Node Red and Mosquitto for this project below, be sure to check the official documentation with the latest downloads.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;After setting up the broker Milos quickly has a way to receive commands on his nodes and a way of sending the sensor data to the server.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071346012.MV_7E00_2.jpg" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssqmj0j1"&gt;&lt;span data-contrast="auto"&gt;The Arduino Node&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Again, please be aware that this project can involve working with high voltages. If you are not experienced or qualified to do so, please do not attempt to replicate this project without guidance and assistance from a suitably qualified and competent person.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Milos blogged about this part of&amp;nbsp;&amp;nbsp;&lt;a href="https://community.element14.com/challenges-projects/project14/homeautomation/b/blog/posts/the-smart-room-project---current-phase"&gt;The Smart Room Project - Current Phase&lt;/a&gt;&amp;nbsp;&amp;nbsp;in 2019 (code included in link)&amp;nbsp;, using relays, motor control and blinds. This part of the project works by running a small server on the Arduino MKR1000 detecting requests and commands, the node also has a small infra-red receiver for infra-red remote control.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/IMG_5F00_20190310_5F00_120344.jpg" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing5-_2D00_-Main-Node-Design.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;span class="SCXW195654910 BCX0"&gt;&lt;span class="WACImageContainer NoPadding DragDrop BlobObject SCXW195654910 BCX0"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/pastedimage1714659824063v1.png" /&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssr1nf92"&gt;&lt;span data-contrast="auto"&gt;Raspberry Pi Pico W Node for the Window Blinds&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;On top of the existing project, this is the new addition that Milos will be adding to the room automation setup. This node will control the venetian blinds on both windows in the room, open the right window and monitor the ambient temperature, humidity, and CO2 levels. Milos mounted the node above his windows where the curtain will hide it which will also reduce the needed length of the cabling.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071407790.MV_7E00_2.jpg" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;span class="SCXW200758484 BCX0"&gt;&lt;span class="WACImageContainer NoPadding DragDrop BlobObject SCXW200758484 BCX0"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/pastedimage1714659937881v2.png" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssr55iq3"&gt;&lt;span data-contrast="auto"&gt;Controlling the Venetian Blinds&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Designing the actuator for the venetian blind control was an entirely new experience for Milos. The ones in the room operate by turning an axle a few times in either direction, changing the angle of the light blades of the blinds. To accomplish this, Milos decided to use a 360-degree servo to ensure control of the range of motion in either direction. Adding small dimples to the blind&amp;rsquo;s coupler, it then triggers a micro switch which is used as a makeshift encoder.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing3-_2D00_-Venetian-Actuator-Deisgn.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071529386.MV_7E00_2.jpg" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/VA_5F00_CAD_5F00_Cover.PNG" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/VA_5F00_CAD_5F00_Cover2.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssred5l4"&gt;&lt;span data-contrast="auto"&gt;Setting up the Window Control&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Controlling the opening and closing of the window required setting up another actuator, deciding to use the same motor, but this time requiring linear motion. This required setting up a rock and pinion mounted onto the window frame. When activated, this causes the setup to move and open and close the window as it navigates the rack gear, also using a micro switch for limit detection&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing4-_2D00_-Window-Actuator-Design.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071432264.MV_7E00_2.jpg" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071458395.MV_7E00_2.jpg" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/WA_5F00_CAD_5F00_Covered.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/WA_5F00_CAD_5F00_NoCover1.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/WA_5F00_CAD_5F00_NoCover2.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssrp2ik7"&gt;&lt;span data-contrast="auto"&gt;Setting up the Interface Control&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Since the server-side is programmed in Node Red, it has functional dashboard elements! Which are incredibly useful for making simple graphical interfaces. Milos wanted to be able to control everything in his room from his PC and his smart phone. By bookmarking the address to the dashboard, with its responsive design it can adapt suitably to both a desktop browser or a portrait layout without installing it as an app.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Tab-1-_2D00_-PC.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Tab-2-_2D00_-PC.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235801.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235807.png" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235812.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235826.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235837.png" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235843.png" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235846.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235858.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Overall, it provides a nice and presentable way to control lighting, windows and monitor the environment to ensure comfort all from the convenience of a computer or phone, potentially even away from home if necessary. So long as you take necessary security precautions of course!&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Is this something you would like to set up? Or have you already set up something like this yourself?&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hsss73f48"&gt;&lt;span&gt;Downloads &amp;amp; Links:&lt;a id="download" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="/challenges-projects/element14-presents/m/files/149313" data-e14adj="t"&gt;Download Code and CAD Files&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;a href="https://nodered.org/docs/getting-started/raspberrypi" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;Running on Raspberry Pi&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;a href="https://mosquitto.org/blog/2013/01/mosquitto-debian-repository/" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;Mosquitto Debian repository&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&amp;nbsp;&lt;a href="https://community.element14.com/challenges-projects/project14/homeautomation/b/blog/posts/the-smart-room-project---current-phase"&gt;The Smart Room Project - Current Phase&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssmfhav0"&gt;Bill of Material:&lt;a id="BOM" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-dee94" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3996082,3924522,2830991,1652508~3,2842228,4007769,3677907&amp;nsku=38AK5986,29AK2395,47AC4164,28AC9286~3,49AC7637,42AK5729,x&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('dee94'));" data-farnell="3996082,3924522,2830991,1652508~3,2842228,4007769,3677907" data-newark="38AK5986,29AK2395,47AC4164,28AC9286~3,49AC7637,42AK5729,x" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RASPBERRY-PI SBC, Raspberry Pi Pico W, RP2040, ARM Cortex-M0+, 264kB RAM, 2MB Flash, Wifi, Micro-USB&lt;/td&gt;
&lt;td&gt;RASPBERRY-PI&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-bf100" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3996082&amp;nsku=38AK5986&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('bf100'));" data-farnell="3996082" data-newark="38AK5986" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;MULTICOMP PRO 3D Printer Filament, 1.75 mm, White, EPLA, 1 kg&lt;/td&gt;
&lt;td&gt;MULTICOMP PRO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-4cec6" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3924522&amp;nsku=29AK2395&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('4cec6'));" data-farnell="3924522" data-newark="29AK2395" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ARDUINO ABX00004&lt;/td&gt;
&lt;td&gt;ARDUINO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-e74e8" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2830991&amp;nsku=47AC4164&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('e74e8'));" data-farnell="2830991" data-newark="47AC4164" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;VISHAY 4N27&lt;/td&gt;
&lt;td&gt;VISHAY&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-f374b" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=1652508~3&amp;nsku=28AC9286~3&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('f374b'));" data-farnell="1652508~3" data-newark="28AC9286~3" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RASPBERRY-PI RPI3-MODBP&lt;/td&gt;
&lt;td&gt;RASPBERRY-PI&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-7d0ec" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2842228&amp;nsku=49AC7637&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('7d0ec'));" data-farnell="2842228" data-newark="49AC7637" data-comoverride="" data-cmpoverride="" data-cpc="SC14882" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SEEED STUDIO 103020136&lt;/td&gt;
&lt;td&gt;SEEED STUDIO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-29f3f" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4007769&amp;nsku=42AK5729&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('29f3f'));" data-farnell="4007769" data-newark="42AK5729" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SENSIRION SEK-SCD41-SENSOR&lt;/td&gt;
&lt;td&gt;SENSIRION&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-c44be" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3677907&amp;nsku=x&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('c44be'));" data-farnell="3677907" data-newark="x" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssmgip61"&gt;Additional Parts:&lt;/h2&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Continous (360 degree) Servo Motor&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Micro Switches&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Passive components like resistors, capacitors, header pins, perfboard&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Cables&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Screws like M3, M4, M5&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Old 5V 2A Charger&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="background:#ffffff;border:1px solid #dadada;margin:0;padding:14px 16px 16px 18px;vertical-align:top;"&gt;
&lt;div style="display:inline-block;float:left;padding:0px 25px 8px 0px;"&gt;&lt;a href="/challengesprojects/element14-presents/" data-e14adj="t"&gt;&lt;img loading="lazy" alt="element14 presents" src="/e14/assets/legacy/2018/e14PresentsJune818.png" width="180px" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="display:inline-block;vertical-align:top;width:70%;"&gt;&lt;br /&gt;
&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/" data-e14adj="t"&gt;element14 presents&lt;/a&gt;&lt;/span&gt;&amp;nbsp; &lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a href="/challenges-projects/element14-presents/vcp-program/w/documents/28156/vcp-biography-milos-rasic" data-e14adj="t"&gt;About Milos Rasic&lt;/a&gt; &lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/" data-e14adj="t"&gt;Project Videos&lt;/a&gt;&lt;a id="Discussion" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/" data-e14adj="t"&gt;&lt;/a&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/" data-e14adj="t"&gt;&lt;/a&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/" data-e14adj="t"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;script&gt;window.top.e14.func.queueScripts.add(function() { window.top.e14.func.e14DynaloadGallery(window.document);}, true );&lt;/script&gt;

&lt;div style="font-size: 90%;"&gt;Tags: diy smart home, Arduino home automation projects, Smart bedroom ideas, Smart room setup, e14p_Milos, DIY home technology, Arduino home control, arduino home automation, Home automation tutorial, Raspberry Pi automation, raspberry pi projects, Smart room automation guide, Arduino automation guide, Raspberry Pi home projects, Home automation with Node Red, friday_release, Raspberry Pi home automation tutorial&lt;/div&gt;
</description></item><item><title>Smart Windows and Blinds with Arduino and Raspberry Pi Pico -- Episode-652</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/71793/smart-windows-and-blinds-with-arduino-and-raspberry-pi-pico----episode-652/revision/6</link><pubDate>Thu, 02 May 2024 18:33:42 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4b4a327e-2025-413b-a991-b45fcfff44e0</guid><dc:creator>tariq.ahmad</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/71793/smart-windows-and-blinds-with-arduino-and-raspberry-pi-pico----episode-652#comments</comments><description>Revision 6 posted to Documents by tariq.ahmad on 5/2/2024 6:33:42 PM&lt;br /&gt;
&lt;p&gt;&lt;span class="TextRun SCXW143951625 BCX0" lang="EN" data-contrast="auto"&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;Want to set up your own home automation? Do you want &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;to be able to control &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;your lights,&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; or windows with a few clicks on your phone? You could run&amp;nbsp;&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;a sequence &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;that &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;turns &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;off the lights when you fall asleep, or to&amp;nbsp;&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;prevent waking&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; up in the middle of the night because &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;your environment is&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; too &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;hot,&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; and you want to open a window without getting up. &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;Join&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; Milos &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;as he &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;goes over simple ways &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;to automate&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; your &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;home &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;using an Arduino and Raspberry&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; Pi&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class="EOP SCXW143951625 BCX0"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssqco5i0"&gt;&lt;span class="EOP SCXW143951625 BCX0"&gt;Watch the Video:&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;&lt;a href="https://www.youtube.com/watch?v=5bLpkOdTbc4"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Be warned that this project can involve working with high voltages. If you are not experienced or qualified to do so, please do not attempt to replicate this project without guidance and assistance from a suitably qualified and competent person.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Milos decides to focus on the bedroom, aiming for a routine that is suitable for getting ready for sleep, or waking up. In their &amp;lsquo;smart room concept&amp;rsquo; we can see what he wants to control and how he intends to interact and control them. With separate nodes for each component, controlling window access, lighting along with sensors and the base server with communications.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing1-_2D00_-Room-Control-Concept.PNG" /&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Milos has three main components to this project; these are a server and two nodes. Identifying that the server would benefit from being low power, Milos opts for a&amp;nbsp; Raspberry Pi 3B+ (though any Raspberry with a wireless LAN connection will work), while the nodes will be a Raspberry Pi Pico W and an Arduino MKR 1000 (both could be done with a Pi Pico W, but Milos notes that the Arduino has already been a part of the project for the past five years!). Going for a standard protocol for the components to talk together, Milos uses MQTT, with the server running Node Red.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing2-_2D00_-How-MQTT-Works.PNG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;With Milos&amp;rsquo; decision to use MQTT it requires a broker which will be set up on the &amp;lsquo;server&amp;rsquo;. Using the Raspberry Pi 3B+ it will work as the message coordinator, so all communication goes through it. Any connected nodes can either subscribe or publish data to the &amp;lsquo;topics&amp;rsquo; (which are like messaging channels) that the MQTT broker controls. You can find more information on setting up Node Red and Mosquitto for this project below, be sure to check the official documentation with the latest downloads.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;After setting up the broker Milos quickly has a way to receive commands on his nodes and a way of sending the sensor data to the server.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071346012.MV_7E00_2.jpg" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssqmj0j1"&gt;&lt;span data-contrast="auto"&gt;The Arduino Node&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Again, please be aware that this project can involve working with high voltages. If you are not experienced or qualified to do so, please do not attempt to replicate this project without guidance and assistance from a suitably qualified and competent person.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Milos blogged about this part of&amp;nbsp;&amp;nbsp;&lt;a href="https://community.element14.com/challenges-projects/project14/homeautomation/b/blog/posts/the-smart-room-project---current-phase"&gt;The Smart Room Project - Current Phase&lt;/a&gt;&amp;nbsp;&amp;nbsp;in 2019 (code included in link)&amp;nbsp;, using relays, motor control and blinds. This part of the project works by running a small server on the Arduino MKR1000 detecting requests and commands, the node also has a small infra-red receiver for infra-red remote control.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/IMG_5F00_20190310_5F00_120344.jpg" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing5-_2D00_-Main-Node-Design.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;span class="SCXW195654910 BCX0"&gt;&lt;span class="WACImageContainer NoPadding DragDrop BlobObject SCXW195654910 BCX0"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/pastedimage1714659824063v1.png" /&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssr1nf92"&gt;&lt;span data-contrast="auto"&gt;Raspberry Pi Pico W Node for the Window Blinds&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;On top of the existing project, this is the new addition that Milos will be adding to the room automation setup. This node will control the venetian blinds on both windows in the room, open the right window and monitor the ambient temperature, humidity, and CO2 levels. Milos mounted the node above his windows where the curtain will hide it which will also reduce the needed length of the cabling.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071407790.MV_7E00_2.jpg" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;span class="SCXW200758484 BCX0"&gt;&lt;span class="WACImageContainer NoPadding DragDrop BlobObject SCXW200758484 BCX0"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/pastedimage1714659937881v2.png" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssr55iq3"&gt;&lt;span data-contrast="auto"&gt;Controlling the Venetian Blinds&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Designing the actuator for the venetian blind control was an entirely new experience for Milos. The ones in the room operate by turning an axle a few times in either direction, changing the angle of the light blades of the blinds. To accomplish this, Milos decided to use a 360-degree servo to ensure control of the range of motion in either direction. Adding small dimples to the blind&amp;rsquo;s coupler, it then triggers a micro switch which is used as a makeshift encoder.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing3-_2D00_-Venetian-Actuator-Deisgn.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071529386.MV_7E00_2.jpg" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/VA_5F00_CAD_5F00_Cover.PNG" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/VA_5F00_CAD_5F00_Cover2.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssred5l4"&gt;&lt;span data-contrast="auto"&gt;Setting up the Window Control&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Controlling the opening and closing of the window required setting up another actuator, deciding to use the same motor, but this time requiring linear motion. This required setting up a rock and pinion mounted onto the window frame. When activated, this causes the setup to move and open and close the window as it navigates the rack gear, also using a micro switch for limit detection&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing4-_2D00_-Window-Actuator-Design.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071432264.MV_7E00_2.jpg" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071458395.MV_7E00_2.jpg" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/WA_5F00_CAD_5F00_Covered.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/WA_5F00_CAD_5F00_NoCover1.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/WA_5F00_CAD_5F00_NoCover2.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssrp2ik7"&gt;&lt;span data-contrast="auto"&gt;Setting up the Interface Control&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Since the server-side is programmed in Node Red, it has functional dashboard elements! Which are incredibly useful for making simple graphical interfaces. Milos wanted to be able to control everything in his room from his PC and his smart phone. By bookmarking the address to the dashboard, with its responsive design it can adapt suitably to both a desktop browser or a portrait layout without installing it as an app.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Tab-1-_2D00_-PC.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Tab-2-_2D00_-PC.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235801.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235807.png" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235812.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235826.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235837.png" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235843.png" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235846.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235858.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Overall, it provides a nice and presentable way to control lighting, windows and monitor the environment to ensure comfort all from the convenience of a computer or phone, potentially even away from home if necessary. So long as you take necessary security precautions of course!&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Is this something you would like to set up? Or have you already set up something like this yourself?&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hsss73f48"&gt;&lt;span&gt;Downloads &amp;amp; Links:&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;Download Code and CAD Files&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;a href="https://nodered.org/docs/getting-started/raspberrypi" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;Running on Raspberry Pi&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;a href="https://mosquitto.org/blog/2013/01/mosquitto-debian-repository/" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;Mosquitto Debian repository&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&amp;nbsp;&lt;a href="https://community.element14.com/challenges-projects/project14/homeautomation/b/blog/posts/the-smart-room-project---current-phase"&gt;The Smart Room Project - Current Phase&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssmfhav0"&gt;Bill of Material:&lt;/h2&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-f211f" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3996082,3924522,2830991,1652508~3,2842228,4007769,3677907&amp;nsku=38AK5986,29AK2395,47AC4164,28AC9286~3,49AC7637,42AK5729,x&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('f211f'));" data-farnell="3996082,3924522,2830991,1652508~3,2842228,4007769,3677907" data-newark="38AK5986,29AK2395,47AC4164,28AC9286~3,49AC7637,42AK5729,x" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RASPBERRY-PI SBC, Raspberry Pi Pico W, RP2040, ARM Cortex-M0+, 264kB RAM, 2MB Flash, Wifi, Micro-USB&lt;/td&gt;
&lt;td&gt;RASPBERRY-PI&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-b91b8" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3996082&amp;nsku=38AK5986&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('b91b8'));" data-farnell="3996082" data-newark="38AK5986" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;MULTICOMP PRO 3D Printer Filament, 1.75 mm, White, EPLA, 1 kg&lt;/td&gt;
&lt;td&gt;MULTICOMP PRO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-b5fef" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3924522&amp;nsku=29AK2395&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('b5fef'));" data-farnell="3924522" data-newark="29AK2395" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ARDUINO ABX00004&lt;/td&gt;
&lt;td&gt;ARDUINO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-58f89" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2830991&amp;nsku=47AC4164&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('58f89'));" data-farnell="2830991" data-newark="47AC4164" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;VISHAY 4N27&lt;/td&gt;
&lt;td&gt;VISHAY&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-9055d" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=1652508~3&amp;nsku=28AC9286~3&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('9055d'));" data-farnell="1652508~3" data-newark="28AC9286~3" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RASPBERRY-PI RPI3-MODBP&lt;/td&gt;
&lt;td&gt;RASPBERRY-PI&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-a8dba" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2842228&amp;nsku=49AC7637&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('a8dba'));" data-farnell="2842228" data-newark="49AC7637" data-comoverride="" data-cmpoverride="" data-cpc="SC14882" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SEEED STUDIO 103020136&lt;/td&gt;
&lt;td&gt;SEEED STUDIO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-6fbca" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4007769&amp;nsku=42AK5729&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('6fbca'));" data-farnell="4007769" data-newark="42AK5729" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SENSIRION SEK-SCD41-SENSOR&lt;/td&gt;
&lt;td&gt;SENSIRION&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-132cd" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3677907&amp;nsku=x&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('132cd'));" data-farnell="3677907" data-newark="x" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssmgip61"&gt;Additional Parts:&lt;/h2&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Continous (360 degree) Servo Motor&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Micro Switches&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Passive components like resistors, capacitors, header pins, perfboard&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Cables&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Screws like M3, M4, M5&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Old 5V 2A Charger&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="background:#ffffff;border:1px solid #dadada;margin:0;padding:14px 16px 16px 18px;vertical-align:top;"&gt;
&lt;div style="display:inline-block;float:left;padding:0px 25px 8px 0px;"&gt;&lt;a href="/challengesprojects/element14-presents/" data-e14adj="t"&gt;&lt;img loading="lazy" alt="element14 presents" src="/e14/assets/legacy/2018/e14PresentsJune818.png" width="180px" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="display:inline-block;vertical-align:top;width:70%;"&gt;&lt;br /&gt;
&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/" data-e14adj="t"&gt;element14 presents&lt;/a&gt;&lt;/span&gt;&amp;nbsp; &lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a href="/challenges-projects/element14-presents/vcp-program/w/documents/28156/vcp-biography-milos-rasic" data-e14adj="t"&gt;About Milos Rasic&lt;/a&gt; &lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/" data-e14adj="t"&gt;Project Videos&lt;/a&gt;&lt;a id="Discussion" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/" data-e14adj="t"&gt;&lt;/a&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/" data-e14adj="t"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;script&gt;window.top.e14.func.queueScripts.add(function() { window.top.e14.func.e14DynaloadGallery(window.document);}, true );&lt;/script&gt;

&lt;div style="font-size: 90%;"&gt;Tags: diy smart home, Arduino home automation projects, Smart bedroom ideas, Smart room setup, e14p_Milos, DIY home technology, Arduino home control, arduino home automation, Home automation tutorial, Raspberry Pi automation, raspberry pi projects, Smart room automation guide, Arduino automation guide, Raspberry Pi home projects, Home automation with Node Red, friday_release, Raspberry Pi home automation tutorial&lt;/div&gt;
</description></item><item><title>Smart Windows and Blinds with Arduino and Raspberry Pi Pico -- Episode-652</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/71793/smart-windows-and-blinds-with-arduino-and-raspberry-pi-pico----episode-652/revision/5</link><pubDate>Thu, 02 May 2024 15:10:29 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4b4a327e-2025-413b-a991-b45fcfff44e0</guid><dc:creator>tariq.ahmad</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/71793/smart-windows-and-blinds-with-arduino-and-raspberry-pi-pico----episode-652#comments</comments><description>Revision 5 posted to Documents by tariq.ahmad on 5/2/2024 3:10:29 PM&lt;br /&gt;
&lt;p&gt;&lt;span class="TextRun SCXW143951625 BCX0" lang="EN" data-contrast="auto"&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;Want to set up your own home automation? Do you want &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;to be able to control &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;your lights,&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; or windows with a few clicks on your phone? You could run&amp;nbsp;&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;a sequence &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;that &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;turns &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;off the lights when you fall asleep, or to&amp;nbsp;&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;prevent waking&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; up in the middle of the night because &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;your environment is&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; too &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;hot,&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; and you want to open a window without getting up. &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;Join&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; Milos &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;as he &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;goes over simple ways &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;to automate&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; your &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;home &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;using an Arduino and Raspberry&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; Pi&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class="EOP SCXW143951625 BCX0"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssqco5i0"&gt;&lt;span class="EOP SCXW143951625 BCX0"&gt;Watch the Video:&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Be warned that this project can involve working with high voltages. If you are not experienced or qualified to do so, please do not attempt to replicate this project without guidance and assistance from a suitably qualified and competent person.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Milos decides to focus on the bedroom, aiming for a routine that is suitable for getting ready for sleep, or waking up. In their &amp;lsquo;smart room concept&amp;rsquo; we can see what he wants to control and how he intends to interact and control them. With separate nodes for each component, controlling window access, lighting along with sensors and the base server with communications.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing1-_2D00_-Room-Control-Concept.PNG" /&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Milos has three main components to this project; these are a server and two nodes. Identifying that the server would benefit from being low power, Milos opts for a&amp;nbsp; Raspberry Pi 3B+ (though any Raspberry with a wireless LAN connection will work), while the nodes will be a Raspberry Pi Pico W and an Arduino MKR 1000 (both could be done with a Pi Pico W, but Milos notes that the Arduino has already been a part of the project for the past five years!). Going for a standard protocol for the components to talk together, Milos uses MQTT, with the server running Node Red.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing2-_2D00_-How-MQTT-Works.PNG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;With Milos&amp;rsquo; decision to use MQTT it requires a broker which will be set up on the &amp;lsquo;server&amp;rsquo;. Using the Raspberry Pi 3B+ it will work as the message coordinator, so all communication goes through it. Any connected nodes can either subscribe or publish data to the &amp;lsquo;topics&amp;rsquo; (which are like messaging channels) that the MQTT broker controls. You can find more information on setting up Node Red and Mosquitto for this project below, be sure to check the official documentation with the latest downloads.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;After setting up the broker Milos quickly has a way to receive commands on his nodes and a way of sending the sensor data to the server.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071346012.MV_7E00_2.jpg" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssqmj0j1"&gt;&lt;span data-contrast="auto"&gt;The Arduino Node&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Again, please be aware that this project can involve working with high voltages. If you are not experienced or qualified to do so, please do not attempt to replicate this project without guidance and assistance from a suitably qualified and competent person.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Milos blogged about this part of&amp;nbsp;&amp;nbsp;&lt;a href="https://community.element14.com/challenges-projects/project14/homeautomation/b/blog/posts/the-smart-room-project---current-phase"&gt;The Smart Room Project - Current Phase&lt;/a&gt;&amp;nbsp;&amp;nbsp;in 2019 (code included in link)&amp;nbsp;, using relays, motor control and blinds. This part of the project works by running a small server on the Arduino MKR1000 detecting requests and commands, the node also has a small infra-red receiver for infra-red remote control.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/IMG_5F00_20190310_5F00_120344.jpg" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing5-_2D00_-Main-Node-Design.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;span class="SCXW195654910 BCX0"&gt;&lt;span class="WACImageContainer NoPadding DragDrop BlobObject SCXW195654910 BCX0"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/pastedimage1714659824063v1.png" /&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssr1nf92"&gt;&lt;span data-contrast="auto"&gt;Raspberry Pi Pico W Node for the Window Blinds&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;On top of the existing project, this is the new addition that Milos will be adding to the room automation setup. This node will control the venetian blinds on both windows in the room, open the right window and monitor the ambient temperature, humidity, and CO2 levels. Milos mounted the node above his windows where the curtain will hide it which will also reduce the needed length of the cabling.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071407790.MV_7E00_2.jpg" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;span class="SCXW200758484 BCX0"&gt;&lt;span class="WACImageContainer NoPadding DragDrop BlobObject SCXW200758484 BCX0"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/pastedimage1714659937881v2.png" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssr55iq3"&gt;&lt;span data-contrast="auto"&gt;Controlling the Venetian Blinds&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Designing the actuator for the venetian blind control was an entirely new experience for Milos. The ones in the room operate by turning an axle a few times in either direction, changing the angle of the light blades of the blinds. To accomplish this, Milos decided to use a 360-degree servo to ensure control of the range of motion in either direction. Adding small dimples to the blind&amp;rsquo;s coupler, it then triggers a micro switch which is used as a makeshift encoder.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing3-_2D00_-Venetian-Actuator-Deisgn.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071529386.MV_7E00_2.jpg" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/VA_5F00_CAD_5F00_Cover.PNG" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/VA_5F00_CAD_5F00_Cover2.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssred5l4"&gt;&lt;span data-contrast="auto"&gt;Setting up the Window Control&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Controlling the opening and closing of the window required setting up another actuator, deciding to use the same motor, but this time requiring linear motion. This required setting up a rock and pinion mounted onto the window frame. When activated, this causes the setup to move and open and close the window as it navigates the rack gear, also using a micro switch for limit detection&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing4-_2D00_-Window-Actuator-Design.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071432264.MV_7E00_2.jpg" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071458395.MV_7E00_2.jpg" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/WA_5F00_CAD_5F00_Covered.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/WA_5F00_CAD_5F00_NoCover1.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/WA_5F00_CAD_5F00_NoCover2.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssrp2ik7"&gt;&lt;span data-contrast="auto"&gt;Setting up the Interface Control&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Since the server-side is programmed in Node Red, it has functional dashboard elements! Which are incredibly useful for making simple graphical interfaces. Milos wanted to be able to control everything in his room from his PC and his smart phone. By bookmarking the address to the dashboard, with its responsive design it can adapt suitably to both a desktop browser or a portrait layout without installing it as an app.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Tab-1-_2D00_-PC.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Tab-2-_2D00_-PC.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235801.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235807.png" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235812.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235826.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235837.png" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235843.png" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235846.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235858.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Overall, it provides a nice and presentable way to control lighting, windows and monitor the environment to ensure comfort all from the convenience of a computer or phone, potentially even away from home if necessary. So long as you take necessary security precautions of course!&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Is this something you would like to set up? Or have you already set up something like this yourself?&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hsss73f48"&gt;&lt;span&gt;Downloads &amp;amp; Links:&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;&lt;a href="https://nodered.org/docs/getting-started/raspberrypi" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;Running on Raspberry Pi&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;a href="https://mosquitto.org/blog/2013/01/mosquitto-debian-repository/" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;Mosquitto Debian repository&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&amp;nbsp;&lt;a href="https://community.element14.com/challenges-projects/project14/homeautomation/b/blog/posts/the-smart-room-project---current-phase"&gt;The Smart Room Project - Current Phase&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssmfhav0"&gt;Bill of Material:&lt;/h2&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-d5ee1" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3996082,3924522,2830991,1652508~3,2842228,4007769,3677907&amp;nsku=38AK5986,29AK2395,47AC4164,28AC9286~3,49AC7637,42AK5729,x&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('d5ee1'));" data-farnell="3996082,3924522,2830991,1652508~3,2842228,4007769,3677907" data-newark="38AK5986,29AK2395,47AC4164,28AC9286~3,49AC7637,42AK5729,x" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RASPBERRY-PI SBC, Raspberry Pi Pico W, RP2040, ARM Cortex-M0+, 264kB RAM, 2MB Flash, Wifi, Micro-USB&lt;/td&gt;
&lt;td&gt;RASPBERRY-PI&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-6e0a8" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3996082&amp;nsku=38AK5986&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('6e0a8'));" data-farnell="3996082" data-newark="38AK5986" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;MULTICOMP PRO 3D Printer Filament, 1.75 mm, White, EPLA, 1 kg&lt;/td&gt;
&lt;td&gt;MULTICOMP PRO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-cd3ef" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3924522&amp;nsku=29AK2395&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('cd3ef'));" data-farnell="3924522" data-newark="29AK2395" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ARDUINO ABX00004&lt;/td&gt;
&lt;td&gt;ARDUINO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-d727d" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2830991&amp;nsku=47AC4164&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('d727d'));" data-farnell="2830991" data-newark="47AC4164" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;VISHAY 4N27&lt;/td&gt;
&lt;td&gt;VISHAY&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-1c1e9" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=1652508~3&amp;nsku=28AC9286~3&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('1c1e9'));" data-farnell="1652508~3" data-newark="28AC9286~3" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RASPBERRY-PI RPI3-MODBP&lt;/td&gt;
&lt;td&gt;RASPBERRY-PI&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-4e00a" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2842228&amp;nsku=49AC7637&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('4e00a'));" data-farnell="2842228" data-newark="49AC7637" data-comoverride="" data-cmpoverride="" data-cpc="SC14882" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SEEED STUDIO 103020136&lt;/td&gt;
&lt;td&gt;SEEED STUDIO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-78c32" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4007769&amp;nsku=42AK5729&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('78c32'));" data-farnell="4007769" data-newark="42AK5729" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SENSIRION SEK-SCD41-SENSOR&lt;/td&gt;
&lt;td&gt;SENSIRION&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-8a13f" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3677907&amp;nsku=x&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('8a13f'));" data-farnell="3677907" data-newark="x" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssmgip61"&gt;Additional Parts:&lt;/h2&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Continous (360 degree) Servo Motor&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Micro Switches&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Passive components like resistors, capacitors, header pins, perfboard&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Cables&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Screws like M3, M4, M5&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Old 5V 2A Charger&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="background:#ffffff;border:1px solid #dadada;margin:0;padding:14px 16px 16px 18px;vertical-align:top;"&gt;
&lt;div style="display:inline-block;float:left;padding:0px 25px 8px 0px;"&gt;&lt;a href="/challengesprojects/element14-presents/" data-e14adj="t"&gt;&lt;img loading="lazy" alt="element14 presents" src="/e14/assets/legacy/2018/e14PresentsJune818.png" width="180px" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="display:inline-block;vertical-align:top;width:70%;"&gt;&lt;br /&gt;
&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/" data-e14adj="t"&gt;element14 presents&lt;/a&gt;&lt;/span&gt;&amp;nbsp; &lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a href="/challenges-projects/element14-presents/vcp-program/w/documents/28156/vcp-biography-milos-rasic" data-e14adj="t"&gt;About Milos Rasic&lt;/a&gt; &lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/" data-e14adj="t"&gt;Project Videos&lt;/a&gt;&lt;a id="Discussion" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/" data-e14adj="t"&gt;&lt;/a&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/" data-e14adj="t"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;script&gt;window.top.e14.func.queueScripts.add(function() { window.top.e14.func.e14DynaloadGallery(window.document);}, true );&lt;/script&gt;

&lt;div style="font-size: 90%;"&gt;Tags: diy smart home, Arduino home automation projects, Smart bedroom ideas, Smart room setup, e14p_Milos, DIY home technology, Arduino home control, arduino home automation, Home automation tutorial, Raspberry Pi automation, raspberry pi projects, Smart room automation guide, Arduino automation guide, Raspberry Pi home projects, Home automation with Node Red, friday_release, Raspberry Pi home automation tutorial&lt;/div&gt;
</description></item><item><title>Creating an MQTT Smart Bedroom with Arduino and Raspberry Pi Pico -- Episode 652</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/71793/smart-windows-and-blinds-with-arduino-and-raspberry-pi-pico----episode-652/revision/4</link><pubDate>Thu, 02 May 2024 14:56:55 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4b4a327e-2025-413b-a991-b45fcfff44e0</guid><dc:creator>tariq.ahmad</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/71793/smart-windows-and-blinds-with-arduino-and-raspberry-pi-pico----episode-652#comments</comments><description>Revision 4 posted to Documents by tariq.ahmad on 5/2/2024 2:56:55 PM&lt;br /&gt;
&lt;p&gt;&lt;span class="TextRun SCXW143951625 BCX0" lang="EN" data-contrast="auto"&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;Want to set up your own home automation? Do you want &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;to be able to control &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;your lights,&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; or windows with a few clicks on your phone? You could run&amp;nbsp;&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;a sequence &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;that &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;turns &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;off the lights when you fall asleep, or to&amp;nbsp;&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;prevent waking&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; up in the middle of the night because &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;your environment is&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; too &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;hot,&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; and you want to open a window without getting up. &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;Join&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; Milos &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;as he &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;goes over simple ways &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;to automate&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; your &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;home &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;using an Arduino and Raspberry&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; Pi&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class="EOP SCXW143951625 BCX0"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssqco5i0"&gt;&lt;span class="EOP SCXW143951625 BCX0"&gt;Watch the Video:&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Be warned that this project can involve working with high voltages. If you are not experienced or qualified to do so, please do not attempt to replicate this project without guidance and assistance from a suitably qualified and competent person.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Milos decides to focus on the bedroom, aiming for a routine that is suitable for getting ready for sleep, or waking up. In their &amp;lsquo;smart room concept&amp;rsquo; we can see what he wants to control and how he intends to interact and control them. With separate nodes for each component, controlling window access, lighting along with sensors and the base server with communications.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing1-_2D00_-Room-Control-Concept.PNG" /&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Milos has three main components to this project; these are a server and two nodes. Identifying that the server would benefit from being low power, Milos opts for a&amp;nbsp; Raspberry Pi 3B+ (though any Raspberry with a wireless LAN connection will work), while the nodes will be a Raspberry Pi Pico W and an Arduino MKR 1000 (both could be done with a Pi Pico W, but Milos notes that the Arduino has already been a part of the project for the past five years!). Going for a standard protocol for the components to talk together, Milos uses MQTT, with the server running Node Red.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing2-_2D00_-How-MQTT-Works.PNG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;With Milos&amp;rsquo; decision to use MQTT it requires a broker which will be set up on the &amp;lsquo;server&amp;rsquo;. Using the Raspberry Pi 3B+ it will work as the message coordinator, so all communication goes through it. Any connected nodes can either subscribe or publish data to the &amp;lsquo;topics&amp;rsquo; (which are like messaging channels) that the MQTT broker controls. You can find more information on setting up Node Red and Mosquitto for this project below, be sure to check the official documentation with the latest downloads.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;After setting up the broker Milos quickly has a way to receive commands on his nodes and a way of sending the sensor data to the server.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071346012.MV_7E00_2.jpg" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssqmj0j1"&gt;&lt;span data-contrast="auto"&gt;The Arduino Node&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Again, please be aware that this project can involve working with high voltages. If you are not experienced or qualified to do so, please do not attempt to replicate this project without guidance and assistance from a suitably qualified and competent person.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Milos blogged about this part of&amp;nbsp;&amp;nbsp;&lt;a href="https://community.element14.com/challenges-projects/project14/homeautomation/b/blog/posts/the-smart-room-project---current-phase"&gt;The Smart Room Project - Current Phase&lt;/a&gt;&amp;nbsp;&amp;nbsp;in 2019 (code included in link)&amp;nbsp;, using relays, motor control and blinds. This part of the project works by running a small server on the Arduino MKR1000 detecting requests and commands, the node also has a small infra-red receiver for infra-red remote control.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/IMG_5F00_20190310_5F00_120344.jpg" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing5-_2D00_-Main-Node-Design.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;span class="SCXW195654910 BCX0"&gt;&lt;span class="WACImageContainer NoPadding DragDrop BlobObject SCXW195654910 BCX0"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/pastedimage1714659824063v1.png" /&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssr1nf92"&gt;&lt;span data-contrast="auto"&gt;Raspberry Pi Pico W Node for the Window Blinds&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;On top of the existing project, this is the new addition that Milos will be adding to the room automation setup. This node will control the venetian blinds on both windows in the room, open the right window and monitor the ambient temperature, humidity, and CO2 levels. Milos mounted the node above his windows where the curtain will hide it which will also reduce the needed length of the cabling.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071407790.MV_7E00_2.jpg" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;span class="SCXW200758484 BCX0"&gt;&lt;span class="WACImageContainer NoPadding DragDrop BlobObject SCXW200758484 BCX0"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/pastedimage1714659937881v2.png" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssr55iq3"&gt;&lt;span data-contrast="auto"&gt;Controlling the Venetian Blinds&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Designing the actuator for the venetian blind control was an entirely new experience for Milos. The ones in the room operate by turning an axle a few times in either direction, changing the angle of the light blades of the blinds. To accomplish this, Milos decided to use a 360-degree servo to ensure control of the range of motion in either direction. Adding small dimples to the blind&amp;rsquo;s coupler, it then triggers a micro switch which is used as a makeshift encoder.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing3-_2D00_-Venetian-Actuator-Deisgn.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071529386.MV_7E00_2.jpg" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/VA_5F00_CAD_5F00_Cover.PNG" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/VA_5F00_CAD_5F00_Cover2.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssred5l4"&gt;&lt;span data-contrast="auto"&gt;Setting up the Window Control&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Controlling the opening and closing of the window required setting up another actuator, deciding to use the same motor, but this time requiring linear motion. This required setting up a rock and pinion mounted onto the window frame. When activated, this causes the setup to move and open and close the window as it navigates the rack gear, also using a micro switch for limit detection&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing4-_2D00_-Window-Actuator-Design.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071432264.MV_7E00_2.jpg" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071458395.MV_7E00_2.jpg" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/WA_5F00_CAD_5F00_Covered.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/WA_5F00_CAD_5F00_NoCover1.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/WA_5F00_CAD_5F00_NoCover2.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssrp2ik7"&gt;&lt;span data-contrast="auto"&gt;Setting up the Interface Control&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Since the server-side is programmed in Node Red, it has functional dashboard elements! Which are incredibly useful for making simple graphical interfaces. Milos wanted to be able to control everything in his room from his PC and his smart phone. By bookmarking the address to the dashboard, with its responsive design it can adapt suitably to both a desktop browser or a portrait layout without installing it as an app.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Tab-1-_2D00_-PC.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Tab-2-_2D00_-PC.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235801.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235807.png" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235812.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235826.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235837.png" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235843.png" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235846.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235858.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Overall, it provides a nice and presentable way to control lighting, windows and monitor the environment to ensure comfort all from the convenience of a computer or phone, potentially even away from home if necessary. So long as you take necessary security precautions of course!&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Is this something you would like to set up? Or have you already set up something like this yourself?&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hsss73f48"&gt;&lt;span&gt;Downloads &amp;amp; Links:&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;&lt;a href="https://nodered.org/docs/getting-started/raspberrypi" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;Running on Raspberry Pi&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;a href="https://mosquitto.org/blog/2013/01/mosquitto-debian-repository/" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;Mosquitto Debian repository&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&amp;nbsp;&lt;a href="https://community.element14.com/challenges-projects/project14/homeautomation/b/blog/posts/the-smart-room-project---current-phase"&gt;The Smart Room Project - Current Phase&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssmfhav0"&gt;Bill of Material:&lt;/h2&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-fc67f" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3996082,3924522,2830991,1652508~3,2842228,4007769,3677907&amp;nsku=38AK5986,29AK2395,47AC4164,28AC9286~3,49AC7637,42AK5729,x&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('fc67f'));" data-farnell="3996082,3924522,2830991,1652508~3,2842228,4007769,3677907" data-newark="38AK5986,29AK2395,47AC4164,28AC9286~3,49AC7637,42AK5729,x" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RASPBERRY-PI SBC, Raspberry Pi Pico W, RP2040, ARM Cortex-M0+, 264kB RAM, 2MB Flash, Wifi, Micro-USB&lt;/td&gt;
&lt;td&gt;RASPBERRY-PI&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-24cb5" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3996082&amp;nsku=38AK5986&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('24cb5'));" data-farnell="3996082" data-newark="38AK5986" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;MULTICOMP PRO 3D Printer Filament, 1.75 mm, White, EPLA, 1 kg&lt;/td&gt;
&lt;td&gt;MULTICOMP PRO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-9f120" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3924522&amp;nsku=29AK2395&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('9f120'));" data-farnell="3924522" data-newark="29AK2395" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ARDUINO ABX00004&lt;/td&gt;
&lt;td&gt;ARDUINO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-bd1af" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2830991&amp;nsku=47AC4164&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('bd1af'));" data-farnell="2830991" data-newark="47AC4164" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;VISHAY 4N27&lt;/td&gt;
&lt;td&gt;VISHAY&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-97503" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=1652508~3&amp;nsku=28AC9286~3&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('97503'));" data-farnell="1652508~3" data-newark="28AC9286~3" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RASPBERRY-PI RPI3-MODBP&lt;/td&gt;
&lt;td&gt;RASPBERRY-PI&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-07ec4" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2842228&amp;nsku=49AC7637&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('07ec4'));" data-farnell="2842228" data-newark="49AC7637" data-comoverride="" data-cmpoverride="" data-cpc="SC14882" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SEEED STUDIO 103020136&lt;/td&gt;
&lt;td&gt;SEEED STUDIO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-87b71" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4007769&amp;nsku=42AK5729&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('87b71'));" data-farnell="4007769" data-newark="42AK5729" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SENSIRION SEK-SCD41-SENSOR&lt;/td&gt;
&lt;td&gt;SENSIRION&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-e6692" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3677907&amp;nsku=x&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('e6692'));" data-farnell="3677907" data-newark="x" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssmgip61"&gt;Additional Parts:&lt;/h2&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Continous (360 degree) Servo Motor&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Micro Switches&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Passive components like resistors, capacitors, header pins, perfboard&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Cables&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Screws like M3, M4, M5&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Old 5V 2A Charger&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="background:#ffffff;border:1px solid #dadada;margin:0;padding:14px 16px 16px 18px;vertical-align:top;"&gt;
&lt;div style="display:inline-block;float:left;padding:0px 25px 8px 0px;"&gt;&lt;a href="/challengesprojects/element14-presents/" data-e14adj="t"&gt;&lt;img loading="lazy" alt="element14 presents" src="/e14/assets/legacy/2018/e14PresentsJune818.png" width="180px" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="display:inline-block;vertical-align:top;width:70%;"&gt;&lt;br /&gt;
&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/" data-e14adj="t"&gt;element14 presents&lt;/a&gt;&lt;/span&gt;&amp;nbsp; &lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a href="/challenges-projects/element14-presents/vcp-program/w/documents/28156/vcp-biography-milos-rasic" data-e14adj="t"&gt;About Milos Rasic&lt;/a&gt; &lt;strong&gt;|&lt;/strong&gt;&amp;nbsp; &lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/" data-e14adj="t"&gt;Project Videos&lt;/a&gt;&lt;a id="Discussion" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/" data-e14adj="t"&gt;&lt;/a&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/project-videos/" data-e14adj="t"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;script&gt;window.top.e14.func.queueScripts.add(function() { window.top.e14.func.e14DynaloadGallery(window.document);}, true );&lt;/script&gt;

&lt;div style="font-size: 90%;"&gt;Tags: diy smart home, Arduino home automation projects, Smart bedroom ideas, Smart room setup, e14p_Milos, DIY home technology, Arduino home control, arduino home automation, Home automation tutorial, Raspberry Pi automation, raspberry pi projects, Smart room automation guide, Arduino automation guide, Raspberry Pi home projects, Home automation with Node Red, friday_release, Raspberry Pi home automation tutorial&lt;/div&gt;
</description></item><item><title>Creating an MQTT Smart Bedroom with Arduino and Raspberry Pi Pico -- Episode 652</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/71793/smart-windows-and-blinds-with-arduino-and-raspberry-pi-pico----episode-652/revision/3</link><pubDate>Thu, 02 May 2024 14:49:24 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4b4a327e-2025-413b-a991-b45fcfff44e0</guid><dc:creator>tariq.ahmad</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/71793/smart-windows-and-blinds-with-arduino-and-raspberry-pi-pico----episode-652#comments</comments><description>Revision 3 posted to Documents by tariq.ahmad on 5/2/2024 2:49:24 PM&lt;br /&gt;
&lt;p&gt;&lt;span class="TextRun SCXW143951625 BCX0" lang="EN" data-contrast="auto"&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;Want to set up your own home automation? Do you want &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;to be able to control &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;your lights,&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; or windows with a few clicks on your phone? &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;Such as running a sequence &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;that &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;turns &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;off the lights when you fall asleep, or &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;to prevent waking&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; up in the middle of the night because &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;your environment is&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; too &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;hot,&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; and you want to open a window without getting up. &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;Join&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; Milos &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;as he &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;goes over simple ways &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;to automate&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; your &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;home &lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;using an Arduino and Raspberry&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt; Pi&lt;/span&gt;&lt;span class="NormalTextRun SCXW143951625 BCX0"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class="EOP SCXW143951625 BCX0"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssqco5i0"&gt;&lt;span class="EOP SCXW143951625 BCX0"&gt;Watch the Video:&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Be warned that this project can involve working with high voltages. If you are not experienced or qualified to do so, please do not attempt to replicate this project without guidance and assistance from a suitably qualified and competent person.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Milos decides to focus on the bedroom, aiming for a routine that is suitable for getting ready for sleep, or waking up. In their &amp;lsquo;smart room concept&amp;rsquo; we can see what he wants to control and how he intends to interact and control them. With separate nodes for each component, controlling window access, lighting along with sensors and the base server with communications.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing1-_2D00_-Room-Control-Concept.PNG" /&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Milos has three main components to this project; these are a server and two nodes. Identifying that the server would benefit from being low power, Milos opts for a&amp;nbsp; Raspberry Pi 3B+ (though any Raspberry with a wireless LAN connection will work), while the nodes will be a Raspberry Pi Pico W and an Arduino MKR 1000 (both could be done with a Pi Pico W, but Milos notes that the Arduino has already been a part of the project for the past five years!). Going for a standard protocol for the components to talk together, Milos uses MQTT, with the server running Node Red.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing2-_2D00_-How-MQTT-Works.PNG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;With Milos&amp;rsquo; decision to use MQTT it requires a broker which will be set up on the &amp;lsquo;server&amp;rsquo;. Using the Raspberry Pi 3B+ it will work as the message coordinator, so all communication goes through it. Any connected nodes can either subscribe or publish data to the &amp;lsquo;topics&amp;rsquo; (which are like messaging channels) that the MQTT broker controls. You can find more information on setting up Node Red and Mosquitto for this project below, be sure to check the official documentation with the latest downloads.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;After setting up the broker Milos quickly has a way to receive commands on his nodes and a way of sending the sensor data to the server.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071346012.MV_7E00_2.jpg" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssqmj0j1"&gt;&lt;span data-contrast="auto"&gt;The Arduino Node&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Again, please be aware that this project can involve working with high voltages. If you are not experienced or qualified to do so, please do not attempt to replicate this project without guidance and assistance from a suitably qualified and competent person.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Milos blogged about this part of&amp;nbsp;&amp;nbsp;&lt;a href="https://community.element14.com/challenges-projects/project14/homeautomation/b/blog/posts/the-smart-room-project---current-phase"&gt;The Smart Room Project - Current Phase&lt;/a&gt;&amp;nbsp;&amp;nbsp;in 2019 (code included in link)&amp;nbsp;, using relays, motor control and blinds. This part of the project works by running a small server on the Arduino MKR1000 detecting requests and commands, the node also has a small infra-red receiver for infra-red remote control.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/IMG_5F00_20190310_5F00_120344.jpg" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing5-_2D00_-Main-Node-Design.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;span class="SCXW195654910 BCX0"&gt;&lt;span class="WACImageContainer NoPadding DragDrop BlobObject SCXW195654910 BCX0"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/pastedimage1714659824063v1.png"  /&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssr1nf92"&gt;&lt;span data-contrast="auto"&gt;Raspberry Pi Pico W Node for the Window Blinds&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;On top of the existing project, this is the new addition that Milos will be adding to the room automation setup. This node will control the venetian blinds on both windows in the room, open the right window and monitor the ambient temperature, humidity, and CO2 levels. Milos mounted the node above his windows where the curtain will hide it which will also reduce the needed length of the cabling.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071407790.MV_7E00_2.jpg" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;span class="SCXW200758484 BCX0"&gt;&lt;span class="WACImageContainer NoPadding DragDrop BlobObject SCXW200758484 BCX0"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;" src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/pastedimage1714659937881v2.png"  /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssr55iq3"&gt;&lt;span data-contrast="auto"&gt;Controlling the Venetian Blinds&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Designing the actuator for the venetian blind control was an entirely new experience for Milos. The ones in the room operate by turning an axle a few times in either direction, changing the angle of the light blades of the blinds. To accomplish this, Milos decided to use a 360-degree servo to ensure control of the range of motion in either direction. Adding small dimples to the blind&amp;rsquo;s coupler, it then triggers a micro switch which is used as a makeshift encoder.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing3-_2D00_-Venetian-Actuator-Deisgn.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071529386.MV_7E00_2.jpg" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/VA_5F00_CAD_5F00_Cover.PNG" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/VA_5F00_CAD_5F00_Cover2.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssred5l4"&gt;&lt;span data-contrast="auto"&gt;Setting up the Window Control&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Controlling the opening and closing of the window required setting up another actuator, deciding to use the same motor, but this time requiring linear motion. This required setting up a rock and pinion mounted onto the window frame. When activated, this causes the setup to move and open and close the window as it navigates the rack gear, also using a micro switch for limit detection&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Drawing4-_2D00_-Window-Actuator-Design.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071432264.MV_7E00_2.jpg" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/PXL_5F00_20240328_5F00_071458395.MV_7E00_2.jpg" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/WA_5F00_CAD_5F00_Covered.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/WA_5F00_CAD_5F00_NoCover1.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/WA_5F00_CAD_5F00_NoCover2.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="mcetoc_1hssrp2ik7"&gt;&lt;span data-contrast="auto"&gt;Setting up the Interface Control&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Since the server-side is programmed in Node Red, it has functional dashboard elements! Which are incredibly useful for making simple graphical interfaces. Milos wanted to be able to control everything in his room from his PC and his smart phone. By bookmarking the address to the dashboard, with its responsive design it can adapt suitably to both a desktop browser or a portrait layout without installing it as an app.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;{gallery}My Gallery Title&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Tab-1-_2D00_-PC.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Tab-2-_2D00_-PC.PNG" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235801.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235807.png" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235812.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235826.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235837.png" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235843.png" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235846.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/Screenshot_5F00_20240327_2D00_235858.png" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Overall, it provides a nice and presentable way to control lighting, windows and monitor the environment to ensure comfort all from the convenience of a computer or phone, potentially even away from home if necessary. So long as you take necessary security precautions of course!&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;Is this something you would like to set up? Or have you already set up something like this yourself?&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hsss73f48"&gt;&lt;span&gt;Downloads &amp;amp; Links:&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;&lt;a href="https://nodered.org/docs/getting-started/raspberrypi" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;Running on Raspberry Pi&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;a href="https://mosquitto.org/blog/2013/01/mosquitto-debian-repository/" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;Mosquitto Debian repository&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&amp;nbsp;&lt;a href="https://community.element14.com/challenges-projects/project14/homeautomation/b/blog/posts/the-smart-room-project---current-phase"&gt;The Smart Room Project - Current Phase&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssmfhav0"&gt;Bill of Material:&lt;/h2&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-af8be" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3996082,3924522,2830991,1652508~3,2842228,4007769,3677907&amp;nsku=38AK5986,29AK2395,47AC4164,28AC9286~3,49AC7637,42AK5729,x&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('af8be'));" data-farnell="3996082,3924522,2830991,1652508~3,2842228,4007769,3677907" data-newark="38AK5986,29AK2395,47AC4164,28AC9286~3,49AC7637,42AK5729,x" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RASPBERRY-PI SBC, Raspberry Pi Pico W, RP2040, ARM Cortex-M0+, 264kB RAM, 2MB Flash, Wifi, Micro-USB&lt;/td&gt;
&lt;td&gt;RASPBERRY-PI&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-b85ef" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3996082&amp;nsku=38AK5986&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('b85ef'));" data-farnell="3996082" data-newark="38AK5986" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;MULTICOMP PRO 3D Printer Filament, 1.75 mm, White, EPLA, 1 kg&lt;/td&gt;
&lt;td&gt;MULTICOMP PRO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-ad391" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3924522&amp;nsku=29AK2395&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('ad391'));" data-farnell="3924522" data-newark="29AK2395" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ARDUINO ABX00004&lt;/td&gt;
&lt;td&gt;ARDUINO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-0c0ff" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2830991&amp;nsku=47AC4164&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('0c0ff'));" data-farnell="2830991" data-newark="47AC4164" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;VISHAY 4N27&lt;/td&gt;
&lt;td&gt;VISHAY&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-4da2e" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=1652508~3&amp;nsku=28AC9286~3&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('4da2e'));" data-farnell="1652508~3" data-newark="28AC9286~3" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RASPBERRY-PI RPI3-MODBP&lt;/td&gt;
&lt;td&gt;RASPBERRY-PI&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-bce73" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2842228&amp;nsku=49AC7637&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('bce73'));" data-farnell="2842228" data-newark="49AC7637" data-comoverride="" data-cmpoverride="" data-cpc="SC14882" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SEEED STUDIO 103020136&lt;/td&gt;
&lt;td&gt;SEEED STUDIO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-0dedc" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4007769&amp;nsku=42AK5729&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('0dedc'));" data-farnell="4007769" data-newark="42AK5729" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SENSIRION SEK-SCD41-SENSOR&lt;/td&gt;
&lt;td&gt;SENSIRION&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-062bd" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3677907&amp;nsku=x&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('062bd'));" data-farnell="3677907" data-newark="x" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssmgip61"&gt;Additional Parts:&lt;/h2&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Continous (360 degree) Servo Motor&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Micro Switches&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Passive components like resistors, capacitors, header pins, perfboard&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Cables&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Screws like M3, M4, M5&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Old 5V 2A Charger&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;script&gt;window.top.e14.func.queueScripts.add(function() { window.top.e14.func.e14DynaloadGallery(window.document);}, true );&lt;/script&gt;
</description></item><item><title>Creating an MQTT Smart Bedroom with Arduino and Raspberry Pi Pico -- Episode 652</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/71793/smart-windows-and-blinds-with-arduino-and-raspberry-pi-pico----episode-652/revision/2</link><pubDate>Thu, 02 May 2024 13:10:13 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4b4a327e-2025-413b-a991-b45fcfff44e0</guid><dc:creator>tariq.ahmad</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/71793/smart-windows-and-blinds-with-arduino-and-raspberry-pi-pico----episode-652#comments</comments><description>Revision 2 posted to Documents by tariq.ahmad on 5/2/2024 1:10:13 PM&lt;br /&gt;

&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssmfhav0"&gt;Bill of Material:&lt;/h2&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-e3ac8" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3996082,3924522,2830991,1652508~3,2842228,4007769,3677907&amp;nsku=38AK5986,29AK2395,47AC4164,28AC9286~3,49AC7637,42AK5729,x&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('e3ac8'));" data-farnell="3996082,3924522,2830991,1652508~3,2842228,4007769,3677907" data-newark="38AK5986,29AK2395,47AC4164,28AC9286~3,49AC7637,42AK5729,x" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RASPBERRY-PI SBC, Raspberry Pi Pico W, RP2040, ARM Cortex-M0+, 264kB RAM, 2MB Flash, Wifi, Micro-USB&lt;/td&gt;
&lt;td&gt;RASPBERRY-PI&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-7a85c" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3996082&amp;nsku=38AK5986&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('7a85c'));" data-farnell="3996082" data-newark="38AK5986" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;MULTICOMP PRO 3D Printer Filament, 1.75 mm, White, EPLA, 1 kg&lt;/td&gt;
&lt;td&gt;MULTICOMP PRO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-52cf2" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3924522&amp;nsku=29AK2395&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('52cf2'));" data-farnell="3924522" data-newark="29AK2395" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ARDUINO ABX00004&lt;/td&gt;
&lt;td&gt;ARDUINO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-0be46" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2830991&amp;nsku=47AC4164&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('0be46'));" data-farnell="2830991" data-newark="47AC4164" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;VISHAY 4N27&lt;/td&gt;
&lt;td&gt;VISHAY&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-182c2" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=1652508~3&amp;nsku=28AC9286~3&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('182c2'));" data-farnell="1652508~3" data-newark="28AC9286~3" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RASPBERRY-PI RPI3-MODBP&lt;/td&gt;
&lt;td&gt;RASPBERRY-PI&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-769a8" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2842228&amp;nsku=49AC7637&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('769a8'));" data-farnell="2842228" data-newark="49AC7637" data-comoverride="" data-cmpoverride="" data-cpc="SC14882" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SEEED STUDIO 103020136&lt;/td&gt;
&lt;td&gt;SEEED STUDIO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-a6cd7" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4007769&amp;nsku=42AK5729&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('a6cd7'));" data-farnell="4007769" data-newark="42AK5729" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SENSIRION SEK-SCD41-SENSOR&lt;/td&gt;
&lt;td&gt;SENSIRION&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-1a49f" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3677907&amp;nsku=x&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('1a49f'));" data-farnell="3677907" data-newark="x" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssmgip61"&gt;Additional Parts:&lt;/h2&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Continous (360 degree) Servo Motor&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Micro Switches&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Passive components like resistors, capacitors, header pins, perfboard&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Cables&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Screws like M3, M4, M5&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;Old 5V 2A Charger&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>Creating an MQTT Smart Bedroom with Arduino and Raspberry Pi Pico -- Episode 652</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/71793/smart-windows-and-blinds-with-arduino-and-raspberry-pi-pico----episode-652/revision/1</link><pubDate>Thu, 02 May 2024 13:08:14 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4b4a327e-2025-413b-a991-b45fcfff44e0</guid><dc:creator>tariq.ahmad</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/71793/smart-windows-and-blinds-with-arduino-and-raspberry-pi-pico----episode-652#comments</comments><description>Revision 1 posted to Documents by tariq.ahmad on 5/2/2024 1:08:14 PM&lt;br /&gt;

&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssmfhav0"&gt;Bill of Material:&lt;/h2&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-26b1f" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3996082,3924522,2830991,1652508~3,2842228,4007769,3677907&amp;nsku=38AK5986,29AK2395,47AC4164,28AC9286~3,49AC7637,42AK5729,x&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('26b1f'));" data-farnell="3996082,3924522,2830991,1652508~3,2842228,4007769,3677907" data-newark="38AK5986,29AK2395,47AC4164,28AC9286~3,49AC7637,42AK5729,x" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RASPBERRY-PI SBC, Raspberry Pi Pico W, RP2040, ARM Cortex-M0+, 264kB RAM, 2MB Flash, Wifi, Micro-USB&lt;/td&gt;
&lt;td&gt;RASPBERRY-PI&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-15dd0" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3996082&amp;nsku=38AK5986&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('15dd0'));" data-farnell="3996082" data-newark="38AK5986" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;MULTICOMP PRO 3D Printer Filament, 1.75 mm, White, EPLA, 1 kg&lt;/td&gt;
&lt;td&gt;MULTICOMP PRO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-38f65" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3924522&amp;nsku=29AK2395&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('38f65'));" data-farnell="3924522" data-newark="29AK2395" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ARDUINO ABX00004&lt;/td&gt;
&lt;td&gt;ARDUINO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-27b16" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2830991&amp;nsku=47AC4164&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('27b16'));" data-farnell="2830991" data-newark="47AC4164" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;VISHAY 4N27&lt;/td&gt;
&lt;td&gt;VISHAY&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-31306" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=1652508~3&amp;nsku=28AC9286~3&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('31306'));" data-farnell="1652508~3" data-newark="28AC9286~3" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RASPBERRY-PI RPI3-MODBP&lt;/td&gt;
&lt;td&gt;RASPBERRY-PI&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-18b73" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=2842228&amp;nsku=49AC7637&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('18b73'));" data-farnell="2842228" data-newark="49AC7637" data-comoverride="" data-cmpoverride="" data-cpc="SC14882" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SEEED STUDIO 103020136&lt;/td&gt;
&lt;td&gt;SEEED STUDIO&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-25d18" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4007769&amp;nsku=42AK5729&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('25d18'));" data-farnell="4007769" data-newark="42AK5729" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SENSIRION SEK-SCD41-SENSOR&lt;/td&gt;
&lt;td&gt;SENSIRION&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-a8f4f" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=3677907&amp;nsku=x&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('a8f4f'));" data-farnell="3677907" data-newark="x" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hssmgip61"&gt;Additional Parts:&lt;/h2&gt;
&lt;table style="border-collapse:collapse;width:65pt;" border="0" width="87" cellpadding="0" cellspacing="0"&gt;
&lt;tbody&gt;
&lt;tr style="height:15.0pt;"&gt;
&lt;td style="height:15.0pt;width:65pt;" width="87" height="20"&gt;Continous (360 degree) Servo Motor&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="height:15.0pt;"&gt;
&lt;td style="height:15.0pt;" height="20"&gt;Micro Switches&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="height:15.0pt;"&gt;
&lt;td style="height:15.0pt;" height="20"&gt;Passive components like resistors, capacitors, header pins, perfboard&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="height:15.0pt;"&gt;
&lt;td style="height:15.0pt;" height="20"&gt;Cables&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="height:15.0pt;"&gt;
&lt;td style="height:15.0pt;" height="20"&gt;Screws like M3, M4, M5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="height:15.0pt;"&gt;
&lt;td style="height:15.0pt;" height="20"&gt;Old 5V 2A Charger&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>