<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2130408337301681016</id><updated>2025-10-04T21:19:34.854+05:30</updated><title type='text'>ImpulseTech</title><subtitle type='html'>Explore interesting arduino based projects and tutorials based on different types of arduino baords like Arduino Uno, Arduino Mega , etc. These simple arduino projects are explained well and you can find the complete guide to with the help of circuit diagrams, source codes and Youtube videos.&#xa;also you will  learn about the Arduino Simulator platform that is Tinkercad circuits.&#xa;&#xa;</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>30</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-3597874368696917393</id><published>2022-06-05T10:55:00.001+05:30</published><updated>2022-06-05T10:55:05.828+05:30</updated><title type='text'>Soil Moisture sensor with Arduino in Tinkercad | how to use soil moisture sensor in Tinkercad</title><content type='html'>&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Soil Moisture sensor with Arduino in Tinkercad | how to use soil moisture sensor in Tinkercad&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Circuit diagram:&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQkLosMP4XcskfkBh2HzkvxnaYMWJ96ZEZ_PCDTtq62IOiRqEtx1t3lxInMacsmXgqoRgFYMusCQPVrLM9itWCbw_oUAg2oePRDuiPhXf10RkgJsi9xzgPgrSP35lJUVVhDELAbeexn6jnz08yN-phOmyeDht5SXrE_98rizUJqoM-3cMtxX9pwLHA/s1911/Screenshot%20(644).png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;861&quot; data-original-width=&quot;1911&quot; height=&quot;288&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQkLosMP4XcskfkBh2HzkvxnaYMWJ96ZEZ_PCDTtq62IOiRqEtx1t3lxInMacsmXgqoRgFYMusCQPVrLM9itWCbw_oUAg2oePRDuiPhXf10RkgJsi9xzgPgrSP35lJUVVhDELAbeexn6jnz08yN-phOmyeDht5SXrE_98rizUJqoM-3cMtxX9pwLHA/w640-h288/Screenshot%20(644).png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Arduino Sketch:&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;// C++ code&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;//&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;int moisture_data = 0;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;void setup()&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;{&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; pinMode(A0, INPUT);&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; Serial.begin(9600);&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; pinMode(12, OUTPUT);&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; pinMode(6, OUTPUT);&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;}&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;void loop()&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;{&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; moisture_data = analogRead(A0);&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; Serial.println(moisture_data);&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; if (moisture_data &amp;lt; 21) {&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; digitalWrite(12, HIGH);&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; digitalWrite(6, HIGH);&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; } else {&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; digitalWrite(12, LOW);&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; digitalWrite(6, LOW);&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; }&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; delay(10); // Delay a little bit to improve simulation performance&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;background-color: white; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;}&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/3597874368696917393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2022/06/soil-moisture-sensor-with-arduino-in.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/3597874368696917393'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/3597874368696917393'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2022/06/soil-moisture-sensor-with-arduino-in.html' title='Soil Moisture sensor with Arduino in Tinkercad | how to use soil moisture sensor in Tinkercad'/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQkLosMP4XcskfkBh2HzkvxnaYMWJ96ZEZ_PCDTtq62IOiRqEtx1t3lxInMacsmXgqoRgFYMusCQPVrLM9itWCbw_oUAg2oePRDuiPhXf10RkgJsi9xzgPgrSP35lJUVVhDELAbeexn6jnz08yN-phOmyeDht5SXrE_98rizUJqoM-3cMtxX9pwLHA/s72-w640-h288-c/Screenshot%20(644).png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-6847573636000606160</id><published>2022-05-24T17:27:00.005+05:30</published><updated>2022-05-24T17:27:53.572+05:30</updated><title type='text'>IoT based Noise pollution monitoring using Blynk IoT platform | Final year ECE engineering project</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;h1 class=&quot;title style-scope ytd-video-primary-info-renderer&quot; style=&quot;--tw-ring-color: rgba(100, 149, 237, 0.5); --tw-ring-inset: var(--tw-empty, ); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; -webkit-box-orient: vertical; -webkit-line-clamp: 2; background: rgb(249, 249, 249); border: 0px; color: var(--ytd-video-primary-info-renderer-title-color,var(--yt-spec-text-primary)); display: -webkit-box; font-family: Roboto, Arial, sans-serif; font-size: var(--ytd-video-primary-info-renderer-title-font-size,var(--yt-navbar-title-font-size,inherit)); font-weight: 400; line-height: 2.6rem; margin: 0px; max-height: 5.2rem; overflow: hidden; padding: 0px; text-overflow: ellipsis; text-shadow: var(--ytd-video-primary-info-renderer-title-text-shadow,none); transform: var(--ytd-video-primary-info-renderer-title-transform,none);&quot;&gt;&lt;yt-formatted-string class=&quot;style-scope ytd-video-primary-info-renderer&quot; force-default-style=&quot;&quot; style=&quot;--tw-ring-color: rgba(100, 149, 237, 0.5); --tw-ring-inset: var(--tw-empty, ); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; word-break: break-word;&quot;&gt;IoT based Noise pollution monitoring using Blynk IoT platform | Final year ECE engineering project&lt;/yt-formatted-string&gt;&lt;/h1&gt;&lt;div&gt;&lt;yt-formatted-string class=&quot;style-scope ytd-video-primary-info-renderer&quot; force-default-style=&quot;&quot; style=&quot;--tw-ring-color: rgba(100, 149, 237, 0.5); --tw-ring-inset: var(--tw-empty, ); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; word-break: break-word;&quot;&gt;&lt;br /&gt;&lt;/yt-formatted-string&gt;&lt;/div&gt;&lt;div&gt;Code:&lt;/div&gt;&lt;div&gt;&lt;div&gt;/************************************************************************************&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;*&amp;nbsp; My Channel:https://www.youtube.com/c/ImpulseTech/featured Visit for More Project Videos&lt;/div&gt;&lt;div&gt;&amp;nbsp;*&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;*&amp;nbsp; *********************************************************************************&lt;/div&gt;&lt;div&gt;&amp;nbsp;*&amp;nbsp; Preferences--&amp;gt; Aditional boards Manager URLs :&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;*&amp;nbsp; For ESP32:&lt;/div&gt;&lt;div&gt;&amp;nbsp;*&amp;nbsp; https://dl.espressif.com/dl/package_esp32_index.json&lt;/div&gt;&lt;div&gt;&amp;nbsp;*&amp;nbsp; https://blynk.cloud/external/api/logEvent?token=YourAuthToken&amp;amp;code=hello for loging the events using rest API&lt;/div&gt;&lt;div&gt;&amp;nbsp;*&amp;nbsp; You can send only 100 events per devices per day&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; When the limit is reached you&#39;ll see the notification on the UI in the Device Timeline section&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; The maximum description length for the event is 300 chars&lt;/div&gt;&lt;div&gt;&amp;nbsp;*&amp;nbsp; *********************************************************************************/&lt;/div&gt;&lt;div&gt;#define BLYNK_TEMPLATE_ID &quot;TMPLn9VfWrsx&quot;&lt;/div&gt;&lt;div&gt;#define BLYNK_DEVICE_NAME &quot;IoT based Noise Pollution Monitoring&quot;&lt;/div&gt;&lt;div&gt;#define BLYNK_AUTH_TOKEN &quot;CC9dmUb0HwvPIngt13G_KRj8xhqTV4oC&quot;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;#define BLYNK_PRINT Serial&lt;/div&gt;&lt;div&gt;#include &amp;lt;WiFi.h&amp;gt;&lt;/div&gt;&lt;div&gt;#include &amp;lt;WiFiClient.h&amp;gt;&lt;/div&gt;&lt;div&gt;#include &amp;lt;BlynkSimpleEsp32.h&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;int sound_sensor=34;&lt;/div&gt;&lt;div&gt;char auth[] = BLYNK_AUTH_TOKEN;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;char ssid[] = &quot;impulsetech&quot;;&amp;nbsp; // type your wifi name&lt;/div&gt;&lt;div&gt;char pass[] = &quot;impulse567&quot;;&amp;nbsp; // type your wifi password&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;BlynkTimer timer;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;void sendSensor()&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;&amp;nbsp; // Request temperature to all devices on the data line&lt;/div&gt;&lt;div&gt;&amp;nbsp; int sound_value=analogRead(sound_sensor);&lt;/div&gt;&lt;div&gt;&amp;nbsp; Serial.print(&quot;Sound sensor data: &quot;);&lt;/div&gt;&lt;div&gt;&amp;nbsp; Serial.print(sound_value);&lt;/div&gt;&lt;div&gt;&amp;nbsp; delay(1000);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; // You can send any value at any time.&lt;/div&gt;&lt;div&gt;&amp;nbsp; // Please don&#39;t send more that 10 values per second.&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; Blynk.virtualWrite(V0, sound_value);&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; delay(500);&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;void setup()&lt;/div&gt;&lt;div&gt;{&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;Serial.begin(9600);&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; Blynk.begin(auth, ssid, pass);&lt;/div&gt;&lt;div&gt;&amp;nbsp; timer.setInterval(100L, sendSensor);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; }&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;void loop()&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;&amp;nbsp; Blynk.run();&lt;/div&gt;&lt;div&gt;&amp;nbsp; timer.run();&lt;/div&gt;&lt;div&gt;&amp;nbsp;}&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/6847573636000606160/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2022/05/iot-based-noise-pollution-monitoring.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/6847573636000606160'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/6847573636000606160'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2022/05/iot-based-noise-pollution-monitoring.html' title='IoT based Noise pollution monitoring using Blynk IoT platform | Final year ECE engineering project'/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-8603061950178136976</id><published>2022-05-01T20:28:00.006+05:30</published><updated>2022-05-01T20:28:58.495+05:30</updated><title type='text'>IoT based weather station using BM280 &amp; Qubitro IoT platform | BMP280 with ESP32 #iot #qubitro</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;IoT based weather station using BM280 &amp;amp; Qubitro IoT platform | BMP280 with ESP32 &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;code:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;i&gt;#include &amp;lt;QubitroMqttClient.h&amp;gt;
#include &amp;lt;WiFi.h&amp;gt;
#include &amp;lt;Wire.h&amp;gt;
#include &amp;lt;SPI.h&amp;gt;
#include &amp;lt;Adafruit_BMP280.h&amp;gt;

#define BMP_SCK  (13)
#define BMP_MISO (12)
#define BMP_MOSI (11)
#define BMP_CS   (10)

Adafruit_BMP280 bmp; // I2C
//Adafruit_BMP280 bmp(BMP_CS); // hardware SPI
//Adafruit_BMP280 bmp(BMP_CS, BMP_MOSI, BMP_MISO,  BMP_SCK);
// WiFi Client
WiFiClient wifiClient;

// Qubitro Client
QubitroMqttClient mqttClient(wifiClient);

// Device Parameters
char deviceID[] = &quot;5060befb-5aec-4777-b247-4c11ce884a54&quot;;
char deviceToken[] = &quot;IeqcXR0zhmhHpbmf-mt8t1w$9FAg3-gutaMd-0$J&quot;;

// WiFi Parameters
const char* ssid = &quot;impulsetech&quot;;
const char* password = &quot;impulse567&quot;;
void setup() {
  // Initialize the serial port
  serial_init();
  
  // Initialize wireless connectivity
  wifi_init();

  // Initialize Qubitro
  qubitro_init();
   while ( !Serial ) delay(100);   // wait for native usb
  Serial.println(F(&quot;BMP280 test&quot;));
  unsigned status;
  //status = bmp.begin(BMP280_ADDRESS_ALT, BMP280_CHIPID);
  status = bmp.begin(0x76);
  if (!status) {
    Serial.println(F(&quot;Could not find a valid BMP280 sensor, check wiring or &quot;
                      &quot;try a different address!&quot;));
    Serial.print(&quot;SensorID was: 0x&quot;); Serial.println(bmp.sensorID(),16);
    Serial.print(&quot;        ID of 0xFF probably means a bad address, a BMP 180 or BMP 085\n&quot;);
    Serial.print(&quot;   ID of 0x56-0x58 represents a BMP 280,\n&quot;);
    Serial.print(&quot;        ID of 0x60 represents a BME 280.\n&quot;);
    Serial.print(&quot;        ID of 0x61 represents a BME 680.\n&quot;);
    while (1) delay(10);
  }

  /* Default settings from datasheet. */
  bmp.setSampling(Adafruit_BMP280::MODE_NORMAL,     /* Operating Mode. */
                  Adafruit_BMP280::SAMPLING_X2,     /* Temp. oversampling */
                  Adafruit_BMP280::SAMPLING_X16,    /* Pressure oversampling */
                  Adafruit_BMP280::FILTER_X16,      /* Filtering. */
                  Adafruit_BMP280::STANDBY_MS_500); /* Standby time. */
}

void loop() {
    int temp=bmp.readTemperature();
    float pressure= bmp.readPressure();
    float altitude=bmp.readAltitude(1017);
    Serial.print(F(&quot;Temperature = &quot;));
    Serial.print(bmp.readTemperature());
    Serial.println(&quot; *C&quot;);

    Serial.print(F(&quot;Pressure = &quot;));
    Serial.print(bmp.readPressure());
    Serial.println(&quot; Pa&quot;);

    Serial.print(F(&quot;Approx altitude = &quot;));
    Serial.print(bmp.readAltitude(1017)); /* Adjusted to local forecast! */
    Serial.println(&quot; m&quot;);                    //If you don&#39;t know it, modify it until you get your current altitude
    Serial.println();
  // Generate random values
  //int sensor_value_1 = analogRead(potpin);
  //int sensor_value_2 = random(0, 100);

  // Print the random values
  //Serial.print(&quot;Sensor value 1: &quot;);
  //Serial.println(sensor_value_1);
  //Serial.print(&quot;Sensor value 2: &quot;);
  //Serial.println(sensor_value_2);

  // Send telemetry
  String payload = &quot;{\&quot;Sensor 1\&quot;:&quot; + String(temp)
    + &quot;,\&quot;Sensor 2\&quot;:&quot; + String(pressure) + &quot;}&quot;;
  mqttClient.poll();
  mqttClient.beginMessage(deviceID);
  mqttClient.print(payload);
  mqttClient.endMessage();

  // Delay
  delay(2000);
}

// Initialization code

void serial_init() {
  // Initiate serial port connection
  Serial.begin(115200);

  // Delay for stabilization
  delay(200);
}

void wifi_init() {
  // Set WiFi mode
  WiFi.mode(WIFI_STA);

  // Disconnect WiFi
  WiFi.disconnect();
  delay(100);

  // Initiate WiFi connection
  WiFi.begin(ssid, password);

  // Print connectivity status to the terminal
  Serial.print(&quot;Connecting to WiFi...&quot;);
  while(true)
  {
    delay(1000);
    Serial.print(&quot;.&quot;);
    if (WiFi.status() == WL_CONNECTED)
    {
      Serial.println(&quot;&quot;);
      Serial.println(&quot;WiFi Connected.&quot;);
      Serial.print(&quot;Local IP: &quot;);
      Serial.println(WiFi.localIP());
      Serial.print(&quot;RSSI: &quot;);
      Serial.println(WiFi.RSSI());
      break;
    }
  }
}

void qubitro_init() {
  char host[] = &quot;broker.qubitro.com&quot;;
  int port = 1883;
  mqttClient.setId(deviceID);
  mqttClient.setDeviceIdToken(deviceID, deviceToken);
  Serial.println(&quot;Connecting to Qubitro...&quot;);
  if (!mqttClient.connect(host, port))
  {
    Serial.print(&quot;Connection failed. Error code: &quot;);
    Serial.println(mqttClient.connectError());
    Serial.println(&quot;Visit docs.qubitro.com or create a new issue on github.com/qubitro&quot;);
  }
  Serial.println(&quot;Connected to Qubitro.&quot;);
  mqttClient.subscribe(deviceID);
}&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/8603061950178136976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2022/05/iot-based-weather-station-using-bm280.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/8603061950178136976'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/8603061950178136976'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2022/05/iot-based-weather-station-using-bm280.html' title='IoT based weather station using BM280 &amp; Qubitro IoT platform | BMP280 with ESP32 #iot #qubitro'/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-2506569983616898125</id><published>2022-03-31T21:47:00.002+05:30</published><updated>2022-03-31T21:47:55.090+05:30</updated><title type='text'>IoT based Liquid level Monitoring using ESP32 board and Qubitro IoT Portal</title><content type='html'>&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;IoT based Liquid level Monitoring using ESP32 board and Qubitro IoT Portal&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Hello Everyone!
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;IoT based Liquid level Monitoring using ESP32 board and Qubitro IoT Portal&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
In this video what you will learn about?
1. How to configure the new Qubitro Iot Platform.
2. How to Create new project on Qubitro IoT Platform.
4. How to Create Dashboard for Monitoring data.
5. How to Interface the Ultrasonic sensor  with ESP32.
6. How to do the programming for the ESP32.
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#Qubitro&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#IoT&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1cJSBaaBpO_iDE_UHiNVQjAO8H_7JjM0dSsFuFEcsV3N-0thGEmUFmDDL-uzaFTOLYUQ43cqbT16WbjfReQy9mdJ6XDPT3QS0L5D8FZ40IR0qCJVdFBo0mplvvZP2Un2lfvV6sWr9zeP3-KHZbgrRfshZHx2oRppjLoQOnuRX9mYpFDcyTEFjuyt6/s1280/Copy%20of%20Copy%20of%20White%20and%20Blue%20Smartphone%20Review%20Youtube%20Thumbnail%20(6).png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; height=&quot;360&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1cJSBaaBpO_iDE_UHiNVQjAO8H_7JjM0dSsFuFEcsV3N-0thGEmUFmDDL-uzaFTOLYUQ43cqbT16WbjfReQy9mdJ6XDPT3QS0L5D8FZ40IR0qCJVdFBo0mplvvZP2Un2lfvV6sWr9zeP3-KHZbgrRfshZHx2oRppjLoQOnuRX9mYpFDcyTEFjuyt6/w640-h360/Copy%20of%20Copy%20of%20White%20and%20Blue%20Smartphone%20Review%20Youtube%20Thumbnail%20(6).png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;Circuit Diagram:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjX27qBvQdPsPvKE-81sC8hy1hwC1Ht4tLeQuPoX8FaV-CPz42-hYqWXZ_QlNuixJf5i-93S_ZU3WY2giHflJ58Men7uJXgIR7Z_mVaLtYmoLwGEP8FN25qfc0GR_wdxu7RRpyzBF03riBAyVPSJavitEnwIOELlpe7jEjrc8Lwvvr-3X3fUptJph7i&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;751&quot; data-original-width=&quot;1393&quot; height=&quot;346&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjX27qBvQdPsPvKE-81sC8hy1hwC1Ht4tLeQuPoX8FaV-CPz42-hYqWXZ_QlNuixJf5i-93S_ZU3WY2giHflJ58Men7uJXgIR7Z_mVaLtYmoLwGEP8FN25qfc0GR_wdxu7RRpyzBF03riBAyVPSJavitEnwIOELlpe7jEjrc8Lwvvr-3X3fUptJph7i=w640-h346&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;Code:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;b&gt;[Note :you need to install the&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;i style=&quot;color: #3d85c6;&quot;&gt;QubitroMqttClient.h&amp;nbsp;&amp;nbsp;&lt;/i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;library&lt;/i&gt;&lt;/span&gt;&lt;b style=&quot;color: #073763;&quot;&gt;]&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;b style=&quot;color: #073763;&quot;&gt;you can download the library click here&amp;nbsp;&lt;a href=&quot;https://drive.google.com/file/d/1T29mVCRIP20imggiRUIgUc42wlTvv_fO/view?usp=sharing&quot; target=&quot;_blank&quot;&gt;Download&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;#include &amp;lt;QubitroMqttClient.h&amp;gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;#include &amp;lt;WiFi.h&amp;gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;#define trig 5&amp;nbsp; &amp;nbsp;// Trig pin&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;#define echo 18&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;int duration;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;int distance;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;// WiFi Client&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;WiFiClient wifiClient;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;// Qubitro Client&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;QubitroMqttClient mqttClient(wifiClient);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;// Device Parameters&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;char deviceID[] = &quot;5060befb-5aec-4777-b247-4c11ce884a54&quot;;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;char deviceToken[] = &quot;IeqcXR0zhmhHpbmf-mt8t1w$9FAg3-gutaMd-0$J&quot;;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;// WiFi Parameters&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;const char* ssid = &quot;impulsetech&quot;;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;const char* password = &quot;impulse567&quot;;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;void setup() {&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; // Initialize the serial port&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; serial_init();&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; // Initialize wireless connectivity&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; wifi_init();&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; // Initialize Qubitro&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; qubitro_init();&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; pinMode(trig, OUTPUT);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; pinMode(echo, INPUT);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;}&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;void loop() {&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(trig, LOW);&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; delayMicroseconds(2);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(trig, HIGH);&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; delayMicroseconds(10);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(trig, LOW);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; duration = pulseIn(echo, HIGH);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; distance= duration*0.034/2;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; //Serial.println(distance);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; delay(100);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; // Generate random values&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; int sensor_value_1 = distance;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; int sensor_value_2 = random(0, 100);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; // Print the random values&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; Serial.print(&quot;Sensor value 1: &quot;);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; Serial.println(sensor_value_1);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; Serial.print(&quot;Sensor value 2: &quot;);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; Serial.println(sensor_value_2);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; // Send telemetry&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; String payload = &quot;{\&quot;Sensor 1\&quot;:&quot; + String(sensor_value_1)&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; + &quot;,\&quot;Sensor 2\&quot;:&quot; + String(sensor_value_2) + &quot;}&quot;;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; mqttClient.poll();&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; mqttClient.beginMessage(deviceID);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; mqttClient.print(payload);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; mqttClient.endMessage();&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; // Delay&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; delay(2000);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;}&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;// Initialization code&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;void serial_init() {&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; // Initiate serial port connection&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; Serial.begin(115200);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; // Delay for stabilization&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; delay(200);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;}&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;void wifi_init() {&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; // Set WiFi mode&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; WiFi.mode(WIFI_STA);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; // Disconnect WiFi&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; WiFi.disconnect();&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; delay(100);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; // Initiate WiFi connection&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; WiFi.begin(ssid, password);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; // Print connectivity status to the terminal&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; Serial.print(&quot;Connecting to WiFi...&quot;);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; while(true)&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; {&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; delay(1000);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Serial.print(&quot;.&quot;);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; if (WiFi.status() == WL_CONNECTED)&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; {&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Serial.println(&quot;&quot;);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Serial.println(&quot;WiFi Connected.&quot;);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Serial.print(&quot;Local IP: &quot;);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Serial.println(WiFi.localIP());&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Serial.print(&quot;RSSI: &quot;);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Serial.println(WiFi.RSSI());&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; }&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; }&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;}&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;void qubitro_init() {&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; char host[] = &quot;broker.qubitro.com&quot;;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; int port = 1883;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; mqttClient.setId(deviceID);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; mqttClient.setDeviceIdToken(deviceID, deviceToken);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; Serial.println(&quot;Connecting to Qubitro...&quot;);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; if (!mqttClient.connect(host, port))&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; {&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Serial.print(&quot;Connection failed. Error code: &quot;);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Serial.println(mqttClient.connectError());&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Serial.println(&quot;Visit docs.qubitro.com or create a new issue on github.com/qubitro&quot;);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; }&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; Serial.println(&quot;Connected to Qubitro.&quot;);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; mqttClient.subscribe(deviceID);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;}&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/2506569983616898125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2022/03/iot-based-liquid-level-monitoring-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/2506569983616898125'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/2506569983616898125'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2022/03/iot-based-liquid-level-monitoring-using.html' title='IoT based Liquid level Monitoring using ESP32 board and Qubitro IoT Portal'/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1cJSBaaBpO_iDE_UHiNVQjAO8H_7JjM0dSsFuFEcsV3N-0thGEmUFmDDL-uzaFTOLYUQ43cqbT16WbjfReQy9mdJ6XDPT3QS0L5D8FZ40IR0qCJVdFBo0mplvvZP2Un2lfvV6sWr9zeP3-KHZbgrRfshZHx2oRppjLoQOnuRX9mYpFDcyTEFjuyt6/s72-w640-h360-c/Copy%20of%20Copy%20of%20White%20and%20Blue%20Smartphone%20Review%20Youtube%20Thumbnail%20(6).png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-6967078204537842743</id><published>2022-03-27T17:25:00.005+05:30</published><updated>2022-03-27T17:27:36.830+05:30</updated><title type='text'>DS18B20 Temperature sensor with Arduino IoT Cloud | DS18B20 with Esp32 &amp; Arduino IoT Cloud</title><content type='html'>&lt;p&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;b&gt;DS18B20 Temperature sensor with Arduino IoT Cloud | DS18B20 with Esp32 &amp;amp; Arduino IoT Cloud&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixIlaWTmhrQO_JklQ0-pWfW5Fc9lejNuirhMKLlXtqQ8D-ZmVWlJVaQ_zL2y2C0c5cLLUKGlFrEfpngnK75rhPBnnrY0tKNnyVZk5q4OnR8zv4rd0KOPVH09AnCmArLDwiphgKWp6emmsZXuUKVo-x38Ch7ozN2_ez-NhSr48Ij1P1GGsa4uCF5w4d/s1280/Copy%20of%20White%20and%20Blue%20Smartphone%20Review%20Youtube%20Thumbnail%20(3).png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; height=&quot;360&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixIlaWTmhrQO_JklQ0-pWfW5Fc9lejNuirhMKLlXtqQ8D-ZmVWlJVaQ_zL2y2C0c5cLLUKGlFrEfpngnK75rhPBnnrY0tKNnyVZk5q4OnR8zv4rd0KOPVH09AnCmArLDwiphgKWp6emmsZXuUKVo-x38Ch7ozN2_ez-NhSr48Ij1P1GGsa4uCF5w4d/w640-h360/Copy%20of%20White%20and%20Blue%20Smartphone%20Review%20Youtube%20Thumbnail%20(3).png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;Hello Everyone!&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;
I have come up with new tutorial based on the all new Blynk IoT platform.&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;
which is DS18B20 Temperature sensor with new Blynk IOT Platform | DS18B20 with Esp32 &amp;amp; Blynk IoT Cloud &lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;#blynk&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;
In this video what you will learn about?
1. How to configure the new Blynk IoT Platform.
2. How to interface DS18B20 sensor with esp32
4. How to configure mobile blynk IoT platform
5. How to setup Automation in Blynk IoT

&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;b&gt;You can Watch Playlist on New Blynk IoT Platfom&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;
1.New Blynk IoT platform with esp32 | how to setup automation in Blynk IoT app | &lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;#blynk&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;#esp32&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt; 
&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/O2HZuu4KtIc&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;

2.How to create events in blynk IoT platform | events in new Blynk IoT platform 🔥🔥 &lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;#blynk&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;#esp32&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/X5zVaGk8QV0&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;

3.IoT Based smart garden monitoring system | Smart plant monitoring using Blynk IoT &lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;#blynk&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;#esp32&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/GTdxD5vQwy0&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;

4.Water level monitoring system using IoT | IoT based water level using Nodemcu ESP8266 &amp;amp; ESP32 &lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/WsfyeBtGXNM&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;

5.Monitoring MPU6050 data over blynk IoT platform | IoT based Vibration Monitoring using Esp32 MPU6050
&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/zFbH-f8mhAE&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;

6.IoT Based weather station using BMP280 &amp;amp; ESP32 | BMP280 pressure and temperature sensor with Blynk
&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/4CysMQn-OLE&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;

7.Home automation using blynk IoT platform | home automation project using esp32 &lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;#homeautomation&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/Moow367kucU&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #0d0d0d;&quot;&gt;

&lt;/span&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;b&gt;You can watch my previous series videos based on Arduino IoT cloud Platform&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #0d0d0d;&quot;&gt;

1.Getting started with Arduino IoT cloud | Arduino IoT cloud with Esp32🔥 &lt;/span&gt;&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;#arduinoiotcloud&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;#esp32&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/I92CX2V5NxA&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;

2. Home automation using Arduino IoT cloud | controlling relay using Arduino IoT cloud &lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iotproject&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/19DYvM-N2ps&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;

3. Soil moisture sensor with Arduino IoT cloud | IOT Smart Plant Monitoring System &lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;#esp32&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;
 &lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/VryVyi9Kj0Y&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;

4. How to send sensor data from Arduino IoT cloud to Email | webhook &amp;amp; IFTTT with Arduino IoT cloud &lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/KwkAI8ZT7fo&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;

5. Sending sensor data to google sheet using Arduino IoT cloud | log sensor data in cloud &lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;#esp32&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt; 
&lt;/span&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/D5gBc29V8xg&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #0b5394;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;#include &quot;arduino_secrets.h&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;/*&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; Sketch generated by the Arduino IoT Cloud Thing &quot;Untitled&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; https://create.arduino.cc/cloud/things/d68d2f9a-e8a5-4ecf-a7dd-218352c610a6&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; Arduino IoT Cloud Variables description&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; The following variables are automatically generated and updated when changes are made to the Thing&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; float temperature;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; Variables which are marked as READ/WRITE in the Cloud Thing will also have functions&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; which are called when their values are changed from the Dashboard.&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; These functions are generated with the Thing and added at the end of this sketch.&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;*/&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;#include &quot;thingProperties.h&quot;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;#include &amp;lt;OneWire.h&amp;gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;#include &amp;lt;DallasTemperature.h&amp;gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;#define ONE_WIRE_BUS 13&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;OneWire oneWire(ONE_WIRE_BUS);&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;DallasTemperature sensors(&amp;amp;oneWire);&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;void setup() {&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; // Initialize serial and wait for port to open:&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; Serial.begin(9600);&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; // This delay gives the chance to wait for a Serial Monitor without blocking if none is found&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; delay(1500);&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; // Defined in thingProperties.h&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; initProperties();&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; // Connect to Arduino IoT Cloud&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; ArduinoCloud.begin(ArduinoIoTPreferredConnection);&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; /*&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The following function allows you to obtain more information&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;related to the state of network and IoT Cloud connection and errors&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;the higher number the more granular information you’ll get.&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The default is 0 (only errors).&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Maximum is 4&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp;*/&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; setDebugMessageLevel(2);&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; ArduinoCloud.printDebugInfo();&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;}&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;void loop() {&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; ArduinoCloud.update();&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; // Your code here&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; // Request temperature to all devices on the data line&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; sensors.requestTemperatures();&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; Serial.print(&quot;Celsius temperature: &quot;);&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; //We can connect more than one IC on the same data wire. 0 refers to the first IC on the wire&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; Serial.print(sensors.getTempCByIndex(0));&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; Serial.print(&quot; - Fahrenheit temperature: &quot;);&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; Serial.println(sensors.getTempFByIndex(0));&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; temperature=sensors.getTempCByIndex(0);&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; //int tempC=sensors.getTempCByIndex(0);&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp;// int tempF=sensors.getTempFByIndex(0);&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; delay(1000);&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;background-color: white; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;i&gt;}&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Noto, sans-serif&quot; style=&quot;background-color: white; color: #0d0d0d; font-size: 15px; white-space: pre-wrap;&quot;&gt;

You can connect me on 
Facebook : facebook.com/impulsetech101
Instagram: instagram.com/impulsetechy/
Linkdin:       linkedin.com/in/yogesh-bawane
Linkdin:       linkedin.com/company/impulse-tech-robotics
Blog :           impulsetechx.blogspot.com/&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/6967078204537842743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2022/03/ds18b20-temperature-sensor-with-new_27.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/6967078204537842743'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/6967078204537842743'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2022/03/ds18b20-temperature-sensor-with-new_27.html' title='DS18B20 Temperature sensor with Arduino IoT Cloud | DS18B20 with Esp32 &amp; Arduino IoT Cloud'/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixIlaWTmhrQO_JklQ0-pWfW5Fc9lejNuirhMKLlXtqQ8D-ZmVWlJVaQ_zL2y2C0c5cLLUKGlFrEfpngnK75rhPBnnrY0tKNnyVZk5q4OnR8zv4rd0KOPVH09AnCmArLDwiphgKWp6emmsZXuUKVo-x38Ch7ozN2_ez-NhSr48Ij1P1GGsa4uCF5w4d/s72-w640-h360-c/Copy%20of%20White%20and%20Blue%20Smartphone%20Review%20Youtube%20Thumbnail%20(3).png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-1755329789693575158</id><published>2022-03-17T19:24:00.000+05:30</published><updated>2022-03-17T19:24:47.590+05:30</updated><title type='text'>IoT Based smart garden monitoring system | Smart plant monitoring using Blynk IoT</title><content type='html'>&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;IoT Based smart garden monitoring system | Smart plant monitoring using Blynk IoT&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Hello Everyone!&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;I have come up with new tutorial based on the all new Blynk IoT platform.
which is IoT Based smart garden monitoring system | Smart plant monitoring using Blynk IoT &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#blynk&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#esp32&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
In this video what you will learn about?
1. How to configure the new Blynk IoT Platform.
2. How to interface light sensor,soil moisture sensor and dht11 sensor with esp32
3. How to connect relay with esp32 and control using blynk.
4. How to configure mobile blynk IoT platform
5. How to setup Automation in Blynk IoT

You can watch my previous series videos based on Arduino IoT cloud Platform

1.Getting started with Arduino IoT cloud | Arduino IoT cloud with Esp32🔥 &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#arduinoiotcloud&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#esp32&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/I92CX2V5NxA&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

2. Home automation using Arduino IoT cloud | controlling relay using Arduino IoT cloud &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iotproject&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/19DYvM-N2ps&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

3. Soil moisture sensor with Arduino IoT cloud | IOT Smart Plant Monitoring System &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#esp32&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/VryVyi9Kj0Y&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

4. How to send sensor data from Arduino IoT cloud to Email | webhook &amp;amp; IFTTT with Arduino IoT cloud &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/KwkAI8ZT7fo&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

5. Sending sensor data to google sheet using Arduino IoT cloud | log sensor data in cloud &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#esp32&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; 
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/D5gBc29V8xg&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;1.You can Watch Playlist on New Blynk IoT Platfom
New Blynk IoT platform with esp32 | how to setup automation in Blynk IoT app 
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/O2HZuu4KtIc&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

2.How to create events in blynk IoT platform | events in new Blynk IoT platform 🔥🔥 
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/X5zVaGk8QV0&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

3.IoT Based smart garden monitoring system | Smart plant monitoring using Blynk IoT 
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/GTdxD5vQwy0&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

4.Water level monitoring system using IoT | IoT based water level using Nodemcu ESP8266 &amp;amp; ESP32 
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/WsfyeBtGXNM&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

5.Monitoring MPU6050 data over blynk IoT platform | IoT based Vibration Monitoring using Esp32 MPU6050
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/zFbH-f8mhAE&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

6.IoT Based weather station using BMP280 &amp;amp; ESP32 | BMP280 pressure and temperature sensor with Blynk
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/4CysMQn-OLE&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

7.Home automation using blynk IoT platform | home automation project using esp32 &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#homeautomation&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; 
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/Moow367kucU&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;Arduino Code:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;i&gt;/************************************************************************************

 *  My Channel:https://www.youtube.com/c/ImpulseTech/featured Visit for More Project Videos
 *  
 *  *********************************************************************************
 *  Preferences--&amp;gt; Aditional boards Manager URLs : 
 *  For ESP32:
 *  https://dl.espressif.com/dl/package_esp32_index.json
 *  https://blynk.cloud/external/api/logEvent?token=YourAuthToken&amp;amp;code=hello for loging the events using rest API
 *  You can send only 100 events per devices per day
    When the limit is reached you&#39;ll see the notification on the UI in the Device Timeline section
    The maximum description length for the event is 300 chars
 *  *********************************************************************************/
#define BLYNK_TEMPLATE_ID &quot;TMPLE8b_ltNC&quot;
#define BLYNK_DEVICE_NAME &quot;DS18B20 Temperature sensor&quot;
#define BLYNK_AUTH_TOKEN &quot;Ann6QdNGdrkIHC1_LxdR-_bNmlx7QS6Q&quot;

#define BLYNK_PRINT Serial
#include &amp;lt;WiFi.h&amp;gt;
#include &amp;lt;WiFiClient.h&amp;gt;
#include &amp;lt;BlynkSimpleEsp32.h&amp;gt;
#include&amp;lt;DHT.h&amp;gt;
#define DHTPIN 13
#define DHTTYPE DHT11 
DHT dht(DHTPIN, DHTTYPE);
int sm_sensor=34;
int light_sensor=35;

 BLYNK_WRITE(V3)
{
  int pinvalue = param.asInt();
  digitalWrite(15,pinvalue);
}  

char auth[] = BLYNK_AUTH_TOKEN;

char ssid[] = &quot;impulsetech&quot;;  // type your wifi name
char pass[] = &quot;impulse567&quot;;  // type your wifi password

BlynkTimer timer;

void sendSensor()
{
  //Reading temperature or humidity takes about 250 milliseconds!
  // Sensor readings may also be up to 2 seconds &#39;old&#39; (its a very slow sensor)
  float h = dht.readHumidity();
  // Read temperature as Celsius (the default)
  float t = dht.readTemperature();
  int moisture_sensor= analogRead(sm_sensor);
  int light_intensity=analogRead(light_sensor);
  // Check if any reads failed and exit early (to try again).
   if (isnan(h) || isnan(t)) {
    Serial.println(F(&quot;Failed to read from DHT sensor!&quot;));
    return;
  }
  // You can send any value at any time.
  // Please don&#39;t send more that 10 values per second.
    Blynk.virtualWrite(V0, t);
    Blynk.virtualWrite(V1, h);
    Blynk.virtualWrite(V2, moisture_sensor);
    Blynk.virtualWrite(V4, light_intensity);
    delay(500);
}
void setup()
{   
  
   Serial.begin(9600);
   pinMode (15,OUTPUT);
  Blynk.begin(auth, ssid, pass);
  timer.setInterval(100L, sendSensor);
 
  }

void loop()
{
  Blynk.run();
  timer.run();
 }&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;You can connect me on 
Facebook : facebook.com/impulsetech101
Instagram: instagram.com/impulsetechy/
Linkdin:       linkedin.com/in/yogesh-bawane
Linkdin:       linkedin.com/company/impulse-tech-robotics
Blog :           impulsetechx.blogspot.com/&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/1755329789693575158/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2022/03/iot-based-smart-garden-monitoring.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/1755329789693575158'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/1755329789693575158'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2022/03/iot-based-smart-garden-monitoring.html' title='IoT Based smart garden monitoring system | Smart plant monitoring using Blynk IoT'/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-8041423037006279275</id><published>2022-03-14T09:26:00.003+05:30</published><updated>2022-03-14T09:26:18.703+05:30</updated><title type='text'>Water level monitoring system using IoT | IoT based water level using Nodemcu ESP8266 &amp; ESP32</title><content type='html'>&lt;p&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;Water level monitoring system using IoT | IoT based water level using Nodemcu ESP8266 &amp;amp; ESP32&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Hello Everyone!&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;I have come up with new tutorial &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Water level monitoring system using IoT | IoT based water level using Nodemcu ESP8266 &amp;amp; ESP32&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;For Code &amp;amp; Circuit Diragram: &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;In this video what you will learn about?&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;1. How to configure the new Blynk IoT Platform.&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;2. How to setup web dashboard &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;3. How to create template in blynk iot &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;4. How to interface ultrasonic  sensor with node mcu esp8266.&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;5. How to read ultrasonic sensor with esp8266&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;1.You can Watch Playlist on New Blynk IoT Platfom&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;New Blynk IoT platform with esp32 | how to setup automation in Blynk IoT app &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/O2HZuu4KtIc&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;2.How to create events in blynk IoT platform | events in new Blynk IoT platform 🔥🔥 &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/X5zVaGk8QV0&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;3.IoT Based smart garden monitoring system | Smart plant monitoring using Blynk IoT &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/GTdxD5vQwy0&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;4.Water level monitoring system using IoT | IoT based water level using Nodemcu ESP8266 &amp;amp; ESP32 &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/WsfyeBtGXNM&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;5.Monitoring MPU6050 data over blynk IoT platform | IoT based Vibration Monitoring using Esp32 MPU6050&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/zFbH-f8mhAE&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;6.IoT Based weather station using BMP280 &amp;amp; ESP32 | BMP280 pressure and temperature sensor with Blynk&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/4CysMQn-OLE&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;7.Home automation using blynk IoT platform | home automation project using esp32 #homeautomation &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/Moow367kucU&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;You can watch my previous series videos based on Arduino IoT cloud Platform&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;1.Getting started with Arduino IoT cloud | Arduino IoT cloud with Esp32🔥 #arduinoiotcloud #esp32&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/I92CX2V5NxA&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;2. Home automation using Arduino IoT cloud | controlling relay using Arduino IoT cloud #iot #iotproject&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/19DYvM-N2ps&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;3. Soil moisture sensor with Arduino IoT cloud | IOT Smart Plant Monitoring System #iot #esp32&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; https://youtu.be/VryVyi9Kj0Y&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;4. How to send sensor data from Arduino IoT cloud to Email | webhook &amp;amp; IFTTT with Arduino IoT cloud #iot&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/KwkAI8ZT7fo&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;5. Sending sensor data to google sheet using Arduino IoT cloud | log sensor data in cloud #esp32 #iot &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/D5gBc29V8xg&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;Arduino Code:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;/* Fill-in your Template ID (only if using Blynk.Cloud) */

/*************************************************************

  You’ll need:
   - Blynk IoT app (download from App Store or Google Play)
   - ESP8266 board
   - Decide how to connect to Blynk
     (USB, Ethernet, Wi-Fi, Bluetooth, ...)

  There is a bunch of great example sketches included to show you how to get
  started. Think of them as LEGO bricks  and combine them as you wish.
  For example, take the Ethernet Shield sketch and combine it with the
  Servo example, or choose a USB sketch and add a code from SendData
  example.
 *************************************************************/

// Template ID, Device Name and Auth Token are provided by the Blynk.Cloud
// See the Device Info tab, or Template settings
#define BLYNK_TEMPLATE_ID &quot;TMPLqurZG25x&quot;
#define BLYNK_DEVICE_NAME &quot;IoT based Water level Monitoring&quot;
#define BLYNK_AUTH_TOKEN &quot;-AkGVEPXLIRo-A_iwecTEkl3Kc5x41Vh&quot;

// Comment this out to disable prints and save space
#define BLYNK_PRINT Serial


#include &amp;lt;ESP8266WiFi.h&amp;gt;
#include &amp;lt;BlynkSimpleEsp8266.h&amp;gt;
#define trig D5   // Trig pin
#define echo D6 
char auth[] = BLYNK_AUTH_TOKEN;

// Your WiFi credentials.
// Set password to &quot;&quot; for open networks.
char ssid[] = &quot;impulsetech&quot;;
char pass[] = &quot;impulse567&quot;;
int depth =20;

BlynkTimer timer;
 
void waterlevel()
{
  digitalWrite(trig, LOW);
  delayMicroseconds(2);
  digitalWrite(trig, HIGH);
  delayMicroseconds(10);
  digitalWrite(trig, LOW);
  long t = pulseIn(echo, HIGH);
  long cm = t / 29 / 2;
  Serial.println(cm);
  long level= depth-cm;
  if (level&amp;lt;0)
  level=0;
  level = map(level,0,depth-3,0,100);
  Blynk.virtualWrite(V0, level);
}

 
void setup()
{
  pinMode(trig, OUTPUT);
  pinMode(echo, INPUT);
  Serial.begin(115200);
  Blynk.begin(auth, ssid, pass);
  timer.setInterval(10L, waterlevel);
  
}

void loop()
{
 
  Blynk.run();
  timer.run();
  }&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;Video Tutorial :&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;378&quot; src=&quot;https://www.youtube.com/embed/WsfyeBtGXNM&quot; width=&quot;563&quot; youtube-src-id=&quot;WsfyeBtGXNM&quot;&gt;&lt;/iframe&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;You can connect with me on &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Facebook : facebook.com/impulsetech101&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Instagram: instagram.com/impulsetechy/&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Linkdin:       linkedin.com/in/yogesh-bawane&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Linkdin:       linkedin.com/company/impulse-tech-robotics&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Blog :           impulsetechx.blogspot.com/&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/8041423037006279275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2022/03/water-level-monitoring-system-using-iot.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/8041423037006279275'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/8041423037006279275'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2022/03/water-level-monitoring-system-using-iot.html' title='Water level monitoring system using IoT | IoT based water level using Nodemcu ESP8266 &amp; ESP32'/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/WsfyeBtGXNM/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-2411633327696620285</id><published>2022-03-14T09:13:00.006+05:30</published><updated>2022-03-14T09:13:50.057+05:30</updated><title type='text'>Monitoring sensor data on ubidots IoT platform | ESP32 with ubidots using MQTT</title><content type='html'>&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Monitoring sensor data on ubidots IoT platform | ESP32 with ubidots using MQTT&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;In this video what you will learn?&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;1. How to configure the Ubidots IoT platform.&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;2. Interfacing light sensor with esp32 board&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;3. How to send sensor data to ubidots iot cloud&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;1.You can Watch Playlist on New Blynk IoT Platfom&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;New Blynk IoT platform with esp32 | how to setup automation in Blynk IoT app &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/O2HZuu4KtIc&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;2.How to create events in blynk IoT platform | events in new Blynk IoT platform 🔥🔥 &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/X5zVaGk8QV0&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;3.IoT Based smart garden monitoring system | Smart plant monitoring using Blynk IoT &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/GTdxD5vQwy0&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;4.Water level monitoring system using IoT | IoT based water level using Nodemcu ESP8266 &amp;amp; ESP32 &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/WsfyeBtGXNM&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;5.Monitoring MPU6050 data over blynk IoT platform | IoT based Vibration Monitoring using Esp32 MPU6050&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/zFbH-f8mhAE&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;6.IoT Based weather station using BMP280 &amp;amp; ESP32 | BMP280 pressure and temperature sensor with Blynk&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/4CysMQn-OLE&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;7.Home automation using blynk IoT platform | home automation project using esp32 #homeautomation &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/Moow367kucU&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;you can watch my previous series videos based on Arduino IoT cloud Platform&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;1.Getting started with Arduino IoT cloud | Arduino IoT cloud with Esp32🔥 &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/I92CX2V5NxA&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;2. Home automation using Arduino IoT cloud | controlling relay using Arduino IoT cloud &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/19DYvM-N2ps&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;3. Soil moisture sensor with Arduino IoT cloud | IOT Smart Plant Monitoring System #iot #esp32&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; https://youtu.be/VryVyi9Kj0Y&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;4. How to send sensor data from Arduino IoT cloud to Email | webhook &amp;amp; IFTTT with Arduino IoT cloud&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/KwkAI8ZT7fo&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;5. Sending sensor data to google sheet using Arduino IoT cloud | log sensor data in cloud &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/D5gBc29V8xg&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;Arduino Code:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;/******************************************&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;*&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;* This example works for both Industrial and STEM users.&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;*&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;* Developed by Jose Garcia, https://github.com/jotathebest/&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;*&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;* ****************************************/&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;/****************************************&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;* Include Libraries&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;****************************************/&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;#include &quot;UbidotsEsp32Mqtt.h&quot;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;/****************************************&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;* Define Constants&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;****************************************/&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;const char *UBIDOTS_TOKEN = &quot;&quot;;&amp;nbsp; // Put here your Ubidots TOKEN&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;const char *WIFI_SSID = &quot;impulsetech&quot;;&amp;nbsp; &amp;nbsp; &amp;nbsp; // Put here your Wi-Fi SSID&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;const char *WIFI_PASS = &quot;impulse567&quot;;&amp;nbsp; &amp;nbsp; &amp;nbsp; // Put here your Wi-Fi password&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;const char *DEVICE_LABEL = &quot;esp32&quot;;&amp;nbsp; &amp;nbsp;// Put here your Device label to which data&amp;nbsp; will be published&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;const char *VARIABLE_LABEL = &quot;sensordata&quot;;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;const char *VARIABLE_LABEL2 = &quot;light&quot;;// Put here your Variable label to which data&amp;nbsp; will be published&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;const int PUBLISH_FREQUENCY = 5000; // Update rate in milliseconds&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;unsigned long timer;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;uint8_t analogPin = 34;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;uint8_t analogPin2 = 35;// Pin used to read data from GPIO34 ADC_CH6.&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;Ubidots ubidots(UBIDOTS_TOKEN);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;/****************************************&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;* Auxiliar Functions&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;****************************************/&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;void callback(char *topic, byte *payload, unsigned int length)&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;{&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Serial.print(&quot;Message arrived [&quot;);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Serial.print(topic);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Serial.print(&quot;] &quot;);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; for (int i = 0; i &amp;lt; length; i++)&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; {&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; Serial.print((char)payload[i]);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Serial.println();&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;}&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;/****************************************&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;* Main Functions&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;****************************************/&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;void setup()&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;{&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; // put your setup code here, to run once:&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Serial.begin(115200);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; // ubidots.setDebug(true);&amp;nbsp; // uncomment this to make debug messages available&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; ubidots.connectToWifi(WIFI_SSID, WIFI_PASS);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; ubidots.setCallback(callback);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; ubidots.setup();&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; ubidots.reconnect();&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; timer = millis();&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;}&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;void loop()&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;{&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; // put your main code here, to run repeatedly:&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; if (!ubidots.connected())&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; {&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; ubidots.reconnect();&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; if (abs(millis() - timer) &amp;gt; PUBLISH_FREQUENCY) // triggers the routine every 5 seconds&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; {&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; float value = analogRead(analogPin);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; float value2= analogRead(analogPin2);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; ubidots.add(VARIABLE_LABEL, value);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; ubidots.add(VARIABLE_LABEL2, value2);// Insert your variable Labels and the value to be sent&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; ubidots.publish(DEVICE_LABEL);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; timer = millis();&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; ubidots.loop();&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;}&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;b&gt;Video Tutorial:&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;396&quot; src=&quot;https://www.youtube.com/embed/eATq3CsVgA8&quot; width=&quot;576&quot; youtube-src-id=&quot;eATq3CsVgA8&quot;&gt;&lt;/iframe&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;You can connect me on &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Facebook : facebook.com/impulsetech101&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Instagram: instagram.com/impulsetechy/&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Linkdin:       linkedin.com/in/yogesh-bawane&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Linkdin:       linkedin.com/company/impulse-tech-robotics&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Blog :           impulsetechx.blogspot.com/&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/2411633327696620285/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2022/03/monitoring-sensor-data-on-ubidots-iot.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/2411633327696620285'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/2411633327696620285'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2022/03/monitoring-sensor-data-on-ubidots-iot.html' title='Monitoring sensor data on ubidots IoT platform | ESP32 with ubidots using MQTT'/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/eATq3CsVgA8/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-1815718389713739392</id><published>2022-03-14T09:03:00.000+05:30</published><updated>2022-03-14T09:03:03.260+05:30</updated><title type='text'>IoT Based weather station using BMP280 &amp; ESP32 | BMP280 pressure and temperature sensor with Blynk</title><content type='html'>&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;IoT Based weather station using BMP280 &amp;amp; ESP32 | BMP280 pressure and temperature sensor with Blynk&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Hello Everyone!&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;I have come up with new tutorial IoT Based weather station using BMP280 &amp;amp; ESP32 | BMP280 pressure and temperature sensor with Blynk &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#esp32&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#blynk&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #0d0d0d;&quot;&gt;In this video what you will learn about?
1. How to configure the new Blynk IoT Platform.
2. How to setup web dashboard 
3. How to create template in blynk iot 
4. How to interface BMP280 with esp32.
5. How to read pressure ,temperature ,and altitude form BMP280
&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;--tw-ring-color: rgba(100, 149, 237, 0.5); --tw-ring-inset: var(--tw-empty, ); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; background: rgb(249, 249, 249); border: 0px; color: #030303; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;1.You can Watch Playlist on New Blynk IoT Platfom
New Blynk IoT platform with esp32 | how to setup automation in Blynk IoT app 
&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/watch?v=O2HZuu4KtIc&amp;amp;t=0s&quot; spellcheck=&quot;false&quot; style=&quot;--tw-ring-color: rgba(100, 149, 237, 0.5); --tw-ring-inset: var(--tw-empty, ); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; background-color: #f9f9f9; cursor: pointer; display: var(--yt-endpoint-display,inline-block); font-family: Roboto, Arial, sans-serif; font-size: 13px; overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); white-space: pre-wrap; word-break: var(--yt-endpoint-word-break,none);&quot;&gt;https://youtu.be/O2HZuu4KtIc&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;--tw-ring-color: rgba(100, 149, 237, 0.5); --tw-ring-inset: var(--tw-empty, ); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; background: rgb(249, 249, 249); border: 0px; color: #030303; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;

2.How to create events in blynk IoT platform | events in new Blynk IoT platform 🔥🔥 
&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/watch?v=X5zVaGk8QV0&amp;amp;t=0s&quot; spellcheck=&quot;false&quot; style=&quot;--tw-ring-color: rgba(100, 149, 237, 0.5); --tw-ring-inset: var(--tw-empty, ); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; background-color: #f9f9f9; cursor: pointer; display: var(--yt-endpoint-display,inline-block); font-family: Roboto, Arial, sans-serif; font-size: 13px; overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); white-space: pre-wrap; word-break: var(--yt-endpoint-word-break,none);&quot;&gt;https://youtu.be/X5zVaGk8QV0&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;--tw-ring-color: rgba(100, 149, 237, 0.5); --tw-ring-inset: var(--tw-empty, ); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; background: rgb(249, 249, 249); border: 0px; color: #030303; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;

3.IoT Based smart garden monitoring system | Smart plant monitoring using Blynk IoT 
&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/watch?v=GTdxD5vQwy0&amp;amp;t=0s&quot; spellcheck=&quot;false&quot; style=&quot;--tw-ring-color: rgba(100, 149, 237, 0.5); --tw-ring-inset: var(--tw-empty, ); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; background-color: #f9f9f9; cursor: pointer; display: var(--yt-endpoint-display,inline-block); font-family: Roboto, Arial, sans-serif; font-size: 13px; overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); white-space: pre-wrap; word-break: var(--yt-endpoint-word-break,none);&quot;&gt;https://youtu.be/GTdxD5vQwy0&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;--tw-ring-color: rgba(100, 149, 237, 0.5); --tw-ring-inset: var(--tw-empty, ); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; background: rgb(249, 249, 249); border: 0px; color: #030303; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;

4.Water level monitoring system using IoT | IoT based water level using Nodemcu ESP8266 &amp;amp; ESP32 
&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/watch?v=WsfyeBtGXNM&amp;amp;t=0s&quot; spellcheck=&quot;false&quot; style=&quot;--tw-ring-color: rgba(100, 149, 237, 0.5); --tw-ring-inset: var(--tw-empty, ); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; background-color: #f9f9f9; cursor: pointer; display: var(--yt-endpoint-display,inline-block); font-family: Roboto, Arial, sans-serif; font-size: 13px; overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); white-space: pre-wrap; word-break: var(--yt-endpoint-word-break,none);&quot;&gt;https://youtu.be/WsfyeBtGXNM&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;--tw-ring-color: rgba(100, 149, 237, 0.5); --tw-ring-inset: var(--tw-empty, ); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; background: rgb(249, 249, 249); border: 0px; color: #030303; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;

5.Monitoring MPU6050 data over blynk IoT platform | IoT based Vibration Monitoring using Esp32 MPU6050
&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/watch?v=zFbH-f8mhAE&amp;amp;t=0s&quot; spellcheck=&quot;false&quot; style=&quot;--tw-ring-color: rgba(100, 149, 237, 0.5); --tw-ring-inset: var(--tw-empty, ); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; background-color: #f9f9f9; cursor: pointer; display: var(--yt-endpoint-display,inline-block); font-family: Roboto, Arial, sans-serif; font-size: 13px; overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); white-space: pre-wrap; word-break: var(--yt-endpoint-word-break,none);&quot;&gt;https://youtu.be/zFbH-f8mhAE&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;--tw-ring-color: rgba(100, 149, 237, 0.5); --tw-ring-inset: var(--tw-empty, ); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; background: rgb(249, 249, 249); border: 0px; color: #030303; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;

6.IoT Based weather station using BMP280 &amp;amp; ESP32 | BMP280 pressure and temperature sensor with Blynk
&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/watch?v=4CysMQn-OLE&amp;amp;t=0s&quot; spellcheck=&quot;false&quot; style=&quot;--tw-ring-color: rgba(100, 149, 237, 0.5); --tw-ring-inset: var(--tw-empty, ); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; background-color: #f9f9f9; cursor: pointer; display: var(--yt-endpoint-display,inline-block); font-family: Roboto, Arial, sans-serif; font-size: 13px; overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); white-space: pre-wrap; word-break: var(--yt-endpoint-word-break,none);&quot;&gt;https://youtu.be/4CysMQn-OLE&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;--tw-ring-color: rgba(100, 149, 237, 0.5); --tw-ring-inset: var(--tw-empty, ); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; background: rgb(249, 249, 249); border: 0px; color: #030303; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;

7.Home automation using blynk IoT platform | home automation project using esp32 &lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/hashtag/homeautomation&quot; spellcheck=&quot;false&quot; style=&quot;--tw-ring-color: rgba(100, 149, 237, 0.5); --tw-ring-inset: var(--tw-empty, ); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; background-color: #f9f9f9; cursor: pointer; display: var(--yt-endpoint-display,inline-block); font-family: Roboto, Arial, sans-serif; font-size: 13px; overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); white-space: pre-wrap; word-break: var(--yt-endpoint-word-break,none);&quot;&gt;#homeautomation&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;--tw-ring-color: rgba(100, 149, 237, 0.5); --tw-ring-inset: var(--tw-empty, ); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; background: rgb(249, 249, 249); border: 0px; color: #030303; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt; 
&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/watch?v=Moow367kucU&amp;amp;t=0s&quot; spellcheck=&quot;false&quot; style=&quot;--tw-ring-color: rgba(100, 149, 237, 0.5); --tw-ring-inset: var(--tw-empty, ); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; background-color: #f9f9f9; cursor: pointer; display: var(--yt-endpoint-display,inline-block); font-family: Roboto, Arial, sans-serif; font-size: 13px; overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); white-space: pre-wrap; word-break: var(--yt-endpoint-word-break,none);&quot;&gt;https://youtu.be/Moow367kucU&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b style=&quot;font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span&gt;
&lt;/span&gt;&lt;b style=&quot;font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;You can watch my previous series videos based on Arduino IoT cloud Platform&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

1.Getting started with Arduino IoT cloud | Arduino IoT cloud with Esp32🔥 &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#arduinoiotcloud&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#esp32&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/I92CX2V5NxA&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

2. Home automation using Arduino IoT cloud | controlling relay using Arduino IoT cloud &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iotproject&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/19DYvM-N2ps&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

3. Soil moisture sensor with Arduino IoT cloud | IOT Smart Plant Monitoring System &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#esp32&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/VryVyi9Kj0Y&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

4. How to send sensor data from Arduino IoT cloud to Email | webhook &amp;amp; IFTTT with Arduino IoT cloud &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/KwkAI8ZT7fo&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

5. Sending sensor data to google sheet using Arduino IoT cloud | log sensor data in cloud &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#esp32&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; 
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/D5gBc29V8xg&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;Circuit Diagram:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEg2yG7shxU-tZJRXepWpKeOe74g3Qmxy8TYKoPL4yTbz42dncnEztECIDrrBmElH14PKVM17rnKblQnJCrZgc5BvkWQRbhTBQnXr2iTvfhkNCX7OZ9KOPYa9jca2i4xnAUxq-v3aC05SaGjYgx_To3ud5MleXz3I3XusD30u5xl5-NMONXicGbPlpOV=s1195&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;729&quot; data-original-width=&quot;1195&quot; height=&quot;390&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEg2yG7shxU-tZJRXepWpKeOe74g3Qmxy8TYKoPL4yTbz42dncnEztECIDrrBmElH14PKVM17rnKblQnJCrZgc5BvkWQRbhTBQnXr2iTvfhkNCX7OZ9KOPYa9jca2i4xnAUxq-v3aC05SaGjYgx_To3ud5MleXz3I3XusD30u5xl5-NMONXicGbPlpOV=w640-h390&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;color: #073763;&quot;&gt; Arduino Code:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;i&gt;/***************************************************************************
  This is a library for the BMP280 humidity, temperature &amp;amp; pressure sensor

  Designed specifically to work with the Adafruit BMP280 Breakout
  ----&amp;gt; http://www.adafruit.com/products/2651

  These sensors use I2C or SPI to communicate, 2 or 4 pins are required
  to interface.

  Adafruit invests time and resources providing this open source code,
  please support Adafruit andopen-source hardware by purchasing products
  from Adafruit!

  Written by Limor Fried &amp;amp; Kevin Townsend for Adafruit Industries.
  BSD license, all text above must be included in any redistribution
 ***************************************************************************/
#define BLYNK_TEMPLATE_ID &quot;TMPL1UwtJgg3&quot;
#define BLYNK_DEVICE_NAME &quot;WAETHER STATION USING BMP280&quot;
#define BLYNK_AUTH_TOKEN &quot;5-ZgjAJPX1P56s-CmQrftUtgCcKtlA3A&quot;
#define BLYNK_PRINT Serial
#include &amp;lt;WiFi.h&amp;gt;
#include &amp;lt;WiFiClient.h&amp;gt;
#include &amp;lt;BlynkSimpleEsp32.h&amp;gt;
char auth[] = BLYNK_AUTH_TOKEN;

char ssid[] = &quot;impulsetech&quot;;  // type your wifi name
char pass[] = &quot;impulse567&quot;;  // type your wifi password

BlynkTimer timer;
#include &amp;lt;Wire.h&amp;gt;
#include &amp;lt;SPI.h&amp;gt;
#include &amp;lt;Adafruit_BMP280.h&amp;gt;

#define BMP_SCK  (13)
#define BMP_MISO (12)
#define BMP_MOSI (11)
#define BMP_CS   (10)

Adafruit_BMP280 bmp; // I2C
//Adafruit_BMP280 bmp(BMP_CS); // hardware SPI
//Adafruit_BMP280 bmp(BMP_CS, BMP_MOSI, BMP_MISO,  BMP_SCK);

void setup() {
  Blynk.begin(auth, ssid, pass);
  timer.setInterval(100L, sendSensor);
  Serial.begin(9600);
  while ( !Serial ) delay(100);   // wait for native usb
  Serial.println(F(&quot;BMP280 test&quot;));
  unsigned status;
  //status = bmp.begin(BMP280_ADDRESS_ALT, BMP280_CHIPID);
  status = bmp.begin(0x76);
  if (!status) {
    Serial.println(F(&quot;Could not find a valid BMP280 sensor, check wiring or &quot;
                      &quot;try a different address!&quot;));
    Serial.print(&quot;SensorID was: 0x&quot;); Serial.println(bmp.sensorID(),16);
    Serial.print(&quot;        ID of 0xFF probably means a bad address, a BMP 180 or BMP 085\n&quot;);
    Serial.print(&quot;   ID of 0x56-0x58 represents a BMP 280,\n&quot;);
    Serial.print(&quot;        ID of 0x60 represents a BME 280.\n&quot;);
    Serial.print(&quot;        ID of 0x61 represents a BME 680.\n&quot;);
    while (1) delay(10);
  }

  /* Default settings from datasheet. */
  bmp.setSampling(Adafruit_BMP280::MODE_NORMAL,     /* Operating Mode. */
                  Adafruit_BMP280::SAMPLING_X2,     /* Temp. oversampling */
                  Adafruit_BMP280::SAMPLING_X16,    /* Pressure oversampling */
                  Adafruit_BMP280::FILTER_X16,      /* Filtering. */
                  Adafruit_BMP280::STANDBY_MS_500); /* Standby time. */
}

void sendSensor()
{
    int temp =bmp.readTemperature();
    float pressure= bmp.readPressure();
    float altitude=bmp.readAltitude(1017);
    Serial.print(F(&quot;Temperature = &quot;));
    Serial.print(bmp.readTemperature());
    Serial.println(&quot; *C&quot;);

    Serial.print(F(&quot;Pressure = &quot;));
    Serial.print(bmp.readPressure());
    Serial.println(&quot; Pa&quot;);

    Serial.print(F(&quot;Approx altitude = &quot;));
    Serial.print(bmp.readAltitude(1017)); /* Adjusted to local forecast! */
    Serial.println(&quot; m&quot;);                    //If you don&#39;t know it, modify it until you get your current altitude
    Serial.println();
    Blynk.virtualWrite(V0, temp);
    Blynk.virtualWrite(V1, pressure);
    Blynk.virtualWrite(V2, altitude);                                  //The &quot;1019.66&quot; is the pressure(hPa) at sea level in day in your region
    delay(2000);
}
void loop()
{
Blynk.run();
  timer.run();
  }&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;For complete video tutorial:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;407&quot; src=&quot;https://www.youtube.com/embed/4CysMQn-OLE&quot; width=&quot;537&quot; youtube-src-id=&quot;4CysMQn-OLE&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/1815718389713739392/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2022/03/iot-based-weather-station-using-bmp280.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/1815718389713739392'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/1815718389713739392'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2022/03/iot-based-weather-station-using-bmp280.html' title='IoT Based weather station using BMP280 &amp; ESP32 | BMP280 pressure and temperature sensor with Blynk'/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEg2yG7shxU-tZJRXepWpKeOe74g3Qmxy8TYKoPL4yTbz42dncnEztECIDrrBmElH14PKVM17rnKblQnJCrZgc5BvkWQRbhTBQnXr2iTvfhkNCX7OZ9KOPYa9jca2i4xnAUxq-v3aC05SaGjYgx_To3ud5MleXz3I3XusD30u5xl5-NMONXicGbPlpOV=s72-w640-h390-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-5191843906540772452</id><published>2022-03-14T08:50:00.003+05:30</published><updated>2022-03-14T08:50:16.841+05:30</updated><title type='text'> Home automation using blynk IoT platform | simple home automation project </title><content type='html'>&lt;p&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Home automation using blynk IoT platform | simple home automation project &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;In this video what you will learn about?&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;1. How to configure the new Blynk IoT Platform.&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;2. How to interface Relay board with esp32&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;4. How to configure mobile blynk IoT platform&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;5. How to setup Automation in Blynk IoT&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;1.You can Watch Playlist on New Blynk IoT Platfom&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;New Blynk IoT platform with esp32 | how to setup automation in Blynk IoT app &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/O2HZuu4KtIc&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;2.How to create events in blynk IoT platform | events in new Blynk IoT platform 🔥🔥 &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/X5zVaGk8QV0&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;3.IoT Based smart garden monitoring system | Smart plant monitoring using Blynk IoT &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/GTdxD5vQwy0&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;4.Water level monitoring system using IoT | IoT based water level using Nodemcu ESP8266 &amp;amp; ESP32 &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/WsfyeBtGXNM&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;5.Monitoring MPU6050 data over blynk IoT platform | IoT based Vibration Monitoring using Esp32 MPU6050&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/zFbH-f8mhAE&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;6.IoT Based weather station using BMP280 &amp;amp; ESP32 | BMP280 pressure and temperature sensor with Blynk&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/4CysMQn-OLE&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;7.Home automation using blynk IoT platform | home automation project using esp32 #homeautomation &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/Moow367kucU&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;You can watch my previous series videos based on Arduino IoT cloud Platform&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;1.Getting started with Arduino IoT cloud | Arduino IoT cloud with Esp32🔥 &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/I92CX2V5NxA&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;2. Home automation using Arduino IoT cloud | controlling relay using Arduino IoT cloud &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/19DYvM-N2ps&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;3. Soil moisture sensor with Arduino IoT cloud | IOT Smart Plant Monitoring System #iot #esp32&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; https://youtu.be/VryVyi9Kj0Y&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;4. How to send sensor data from Arduino IoT cloud to Email | webhook &amp;amp; IFTTT with Arduino IoT cloud&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/KwkAI8ZT7fo&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;5. Sending sensor data to google sheet using Arduino IoT cloud | log sensor data in cloud &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/D5gBc29V8xg&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;b&gt;Circuit Diagram:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhQU-tLT239psQ6f-9GLdQHmweKR5olalFm0Ai56Nd-5sskPSAugL28vVeCsvjCNzpE4_hRyL9d4hEo0ttCa2Dp0XIE2LQEz_lDhx_F1eIDmjUBvOFgnI_AGledXg6TktReoSd8KAVrfEavGk1nT_rPHt3oZRnw5KLEDeRorBo7edreeZdr-HmFJZRy=s772&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;420&quot; data-original-width=&quot;772&quot; height=&quot;333&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhQU-tLT239psQ6f-9GLdQHmweKR5olalFm0Ai56Nd-5sskPSAugL28vVeCsvjCNzpE4_hRyL9d4hEo0ttCa2Dp0XIE2LQEz_lDhx_F1eIDmjUBvOFgnI_AGledXg6TktReoSd8KAVrfEavGk1nT_rPHt3oZRnw5KLEDeRorBo7edreeZdr-HmFJZRy=w614-h333&quot; width=&quot;614&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;b&gt;Arduino Code:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;i&gt;/************************************************************************************

 *  My Channel:https://www.youtube.com/c/ImpulseTech/featured Visit for More Project Videos
 *  
 *  *********************************************************************************
 *  Preferences--&amp;gt; Aditional boards Manager URLs : 
 *  For ESP32:
 *  https://dl.espressif.com/dl/package_esp32_index.json
 *  https://blynk.cloud/external/api/logEvent?token=YourAuthToken&amp;amp;code=hello for loging the events using rest API
 *  You can send only 100 events per devices per day
    When the limit is reached you&#39;ll see the notification on the UI in the Device Timeline section
    The maximum description length for the event is 300 chars
 *  *********************************************************************************/
#define BLYNK_TEMPLATE_ID &quot;TMPLn9VfWrsx&quot;
#define BLYNK_DEVICE_NAME &quot;Home Automation using Blynk&quot;
#define BLYNK_AUTH_TOKEN &quot;CC9dmUb0HwvPIngt13G_KRj8xhqTV4oC&quot;

#define BLYNK_PRINT Serial
#include &amp;lt;WiFi.h&amp;gt;
#include &amp;lt;WiFiClient.h&amp;gt;
#include &amp;lt;BlynkSimpleEsp32.h&amp;gt;

char auth[] = BLYNK_AUTH_TOKEN;

char ssid[] = &quot;impulsetech&quot;;  // type your wifi name
char pass[] = &quot;impulse567&quot;;  // type your wifi password

BlynkTimer timer;

  BLYNK_WRITE(V1)
{
  int switch1 = param.asInt(); // parameter as int 
  if(switch1 == HIGH)
  {    
    digitalWrite(18,HIGH);
    Serial.println(&quot;relay1 High&quot;);
    delay(10);
    }  
    if(switch1 == LOW)
  {
    digitalWrite(18,LOW);
    Serial.println(&quot;relay1 Low&quot;);
    delay(10);
    }  
}
BLYNK_WRITE(V2)
{
  int switch2 = param.asInt(); // parameter as int 
  if(switch2 == HIGH)
  {    
    digitalWrite(33,HIGH);
    Serial.println(&quot;relay2 High&quot;);
    delay(10);
    }  
    if(switch2 == LOW)
  {
    digitalWrite(33,LOW);
    Serial.println(&quot;relay2 Low&quot;);
    delay(10);
    }  
}
BLYNK_WRITE(V3)
{
  int switch3 = param.asInt(); // parameter as int 
  if(switch3 == HIGH)
  {    
    digitalWrite(21,HIGH);
    Serial.println(&quot;relay3 High&quot;);
    delay(10);
    }  
    if(switch3 == LOW)
  {
    digitalWrite(21,LOW);
    Serial.println(&quot;relay3 Low&quot;);
    delay(10);
    }  
}
BLYNK_WRITE(V4)
{
  int switch4 = param.asInt(); // parameter as int 
  if(switch4 == HIGH)
  {    
    digitalWrite(27,HIGH);
    Serial.println(&quot;relay4 High&quot;);
    delay(10);
    }  
    if(switch4 == LOW)
  {
    digitalWrite(27,LOW);
    Serial.println(&quot;relay4 Low&quot;);
    delay(10);
    }  
}

void setup()
{   
  
  Serial.begin(115200);
  pinMode(18,OUTPUT);
  pinMode(33,OUTPUT);
  pinMode(21,OUTPUT);
  pinMode(27,OUTPUT);
  pinMode(18,LOW);
  pinMode(33,LOW);
  pinMode(21,LOW);
  pinMode(27,LOW);

  Blynk.begin(auth, ssid, pass);
  //timer.setInterval(100L, sendSensor);
 
  }

void loop()
{
  Blynk.run();
  timer.run();
 }&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;You can connect me on &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Facebook : facebook.com/impulsetech101&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Instagram: instagram.com/impulsetechy/&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Linkdin:       linkedin.com/in/yogesh-bawane&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Linkdin:       linkedin.com/company/impulse-tech-robotics&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Blog :           impulsetechx.blogspot.com/&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/5191843906540772452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2022/03/home-automation-using-blynk-iot.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/5191843906540772452'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/5191843906540772452'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2022/03/home-automation-using-blynk-iot.html' title=' Home automation using blynk IoT platform | simple home automation project '/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEhQU-tLT239psQ6f-9GLdQHmweKR5olalFm0Ai56Nd-5sskPSAugL28vVeCsvjCNzpE4_hRyL9d4hEo0ttCa2Dp0XIE2LQEz_lDhx_F1eIDmjUBvOFgnI_AGledXg6TktReoSd8KAVrfEavGk1nT_rPHt3oZRnw5KLEDeRorBo7edreeZdr-HmFJZRy=s72-w614-h333-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-5670577207717298068</id><published>2022-03-14T08:35:00.003+05:30</published><updated>2022-03-14T08:35:45.760+05:30</updated><title type='text'>IoT based Noise pollution monitoring using Blynk IoT platform | Final year ECE engineering project</title><content type='html'>&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;IoT based Noise pollution monitoring using Blynk IoT platform | Final year ECE engineering project&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;Hello Everyone!&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;I have come up with new tutorial based on the all new Blynk IoT platform.
which is IoT based Noise pollution monitoring using Blynk IoT platform | Final year ECE engineering project &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#blynk&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#esp32project&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
In this video what you will learn about?
1. How to configure the new Blynk IoT Platform.
2. How to interface sound sensor with esp32
4. How to configure mobile blynk IoT platform
5. How to setup Automation in Blynk IoT

1.You can Watch Playlist on New Blynk IoT Platfom
New Blynk IoT platform with esp32 | how to setup automation in Blynk IoT app 
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/O2HZuu4KtIc&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

2.How to create events in blynk IoT platform | events in new Blynk IoT platform 🔥🔥 
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/X5zVaGk8QV0&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

3.IoT Based smart garden monitoring system | Smart plant monitoring using Blynk IoT 
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/GTdxD5vQwy0&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

4.Water level monitoring system using IoT | IoT based water level using Nodemcu ESP8266 &amp;amp; ESP32 
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/WsfyeBtGXNM&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

5.Monitoring MPU6050 data over blynk IoT platform | IoT based Vibration Monitoring using Esp32 MPU6050
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/zFbH-f8mhAE&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

6.IoT Based weather station using BMP280 &amp;amp; ESP32 | BMP280 pressure and temperature sensor with Blynk
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/4CysMQn-OLE&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

7.Home automation using blynk IoT platform | home automation project using esp32 &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#homeautomation&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; 
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/Moow367kucU&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

you can watch my previous series videos based on Arduino IoT cloud Platform

1.Getting started with Arduino IoT cloud | Arduino IoT cloud with Esp32🔥 
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/I92CX2V5NxA&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

2. Home automation using Arduino IoT cloud | controlling relay using Arduino IoT cloud 
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/19DYvM-N2ps&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

3. Soil moisture sensor with Arduino IoT cloud | IOT Smart Plant Monitoring System &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#esp32&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/VryVyi9Kj0Y&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

4. How to send sensor data from Arduino IoT cloud to Email | webhook &amp;amp; IFTTT with Arduino IoT cloud
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/KwkAI8ZT7fo&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

5. Sending sensor data to google sheet using Arduino IoT cloud | log sensor data in cloud 
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/D5gBc29V8xg&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;
&lt;span style=&quot;font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt; Circuit Diagram :&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;span style=&quot;font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhZBeqBHU-P9Ux7zQYCo1TjEq1DAm4ROvmSLHEaIORfuv2vsRitW-ZVmnGccnX0HXgklA4CGY68CCgtifh6h2eO3YYPTh36MxL4Zh0uQMGyza4SgtE-75kpTowNTsXgqvkr1LViMvkp2UXFQ13jbKuEGs8QgUbOgL13ThV1NlVHU47PDiGBNPjDRXmd=s917&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;493&quot; data-original-width=&quot;917&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhZBeqBHU-P9Ux7zQYCo1TjEq1DAm4ROvmSLHEaIORfuv2vsRitW-ZVmnGccnX0HXgklA4CGY68CCgtifh6h2eO3YYPTh36MxL4Zh0uQMGyza4SgtE-75kpTowNTsXgqvkr1LViMvkp2UXFQ13jbKuEGs8QgUbOgL13ThV1NlVHU47PDiGBNPjDRXmd=w640-h344&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;Arduino Code:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;span style=&quot;font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;i&gt;&lt;div&gt;/************************************************************************************&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;*&amp;nbsp; My Channel:https://www.youtube.com/c/ImpulseTech/featured Visit for More Project Videos&lt;/div&gt;&lt;div&gt;&amp;nbsp;*&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;*&amp;nbsp; *********************************************************************************&lt;/div&gt;&lt;div&gt;&amp;nbsp;*&amp;nbsp; Preferences--&amp;gt; Aditional boards Manager URLs :&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;*&amp;nbsp; For ESP32:&lt;/div&gt;&lt;div&gt;&amp;nbsp;*&amp;nbsp; https://dl.espressif.com/dl/package_esp32_index.json&lt;/div&gt;&lt;div&gt;&amp;nbsp;*&amp;nbsp; https://blynk.cloud/external/api/logEvent?token=YourAuthToken&amp;amp;code=hello for loging the events using rest API&lt;/div&gt;&lt;div&gt;&amp;nbsp;*&amp;nbsp; You can send only 100 events per devices per day&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; When the limit is reached you&#39;ll see the notification on the UI in the Device Timeline section&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; The maximum description length for the event is 300 chars&lt;/div&gt;&lt;div&gt;&amp;nbsp;*&amp;nbsp; *********************************************************************************/&lt;/div&gt;&lt;div&gt;#define BLYNK_TEMPLATE_ID &quot;TMPLn9VfWrsx&quot;&lt;/div&gt;&lt;div&gt;#define BLYNK_DEVICE_NAME &quot;IoT based Noise Pollution Monitoring&quot;&lt;/div&gt;&lt;div&gt;#define BLYNK_AUTH_TOKEN &quot;CC9dmUb0HwvPIngt13G_KRj8xhqTV4oC&quot;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;#define BLYNK_PRINT Serial&lt;/div&gt;&lt;div&gt;#include &amp;lt;WiFi.h&amp;gt;&lt;/div&gt;&lt;div&gt;#include &amp;lt;WiFiClient.h&amp;gt;&lt;/div&gt;&lt;div&gt;#include &amp;lt;BlynkSimpleEsp32.h&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;int sound_sensor=34;&lt;/div&gt;&lt;div&gt;char auth[] = BLYNK_AUTH_TOKEN;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;char ssid[] = &quot;impulsetech&quot;;&amp;nbsp; // type your wifi name&lt;/div&gt;&lt;div&gt;char pass[] = &quot;impulse567&quot;;&amp;nbsp; // type your wifi password&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;BlynkTimer timer;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;void sendSensor()&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;&amp;nbsp; // Request temperature to all devices on the data line&lt;/div&gt;&lt;div&gt;&amp;nbsp; int sound_value=analogRead(sound_sensor);&lt;/div&gt;&lt;div&gt;&amp;nbsp; Serial.print(&quot;Sound sensor data: &quot;);&lt;/div&gt;&lt;div&gt;&amp;nbsp; Serial.print(sound_value);&lt;/div&gt;&lt;div&gt;&amp;nbsp; delay(1000);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; // You can send any value at any time.&lt;/div&gt;&lt;div&gt;&amp;nbsp; // Please don&#39;t send more that 10 values per second.&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; Blynk.virtualWrite(V0, sound_value);&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; delay(500);&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;void setup()&lt;/div&gt;&lt;div&gt;{&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;Serial.begin(9600);&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; Blynk.begin(auth, ssid, pass);&lt;/div&gt;&lt;div&gt;&amp;nbsp; timer.setInterval(100L, sendSensor);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; }&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;void loop()&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;&amp;nbsp; Blynk.run();&lt;/div&gt;&lt;div&gt;&amp;nbsp; timer.run();&lt;/div&gt;&lt;div&gt;&amp;nbsp;}&lt;/div&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #0d0d0d; font-family: Roboto, Noto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
You can connect me on 
Facebook : facebook.com/impulsetech101
Instagram: instagram.com/impulsetechy/
Linkdin:       linkedin.com/in/yogesh-bawane
Linkdin:       linkedin.com/company/impulse-tech-robotics
Blog :           impulsetechx.blogspot.com/&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/5670577207717298068/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2022/03/iot-based-noise-pollution-monitoring.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/5670577207717298068'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/5670577207717298068'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2022/03/iot-based-noise-pollution-monitoring.html' title='IoT based Noise pollution monitoring using Blynk IoT platform | Final year ECE engineering project'/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEhZBeqBHU-P9Ux7zQYCo1TjEq1DAm4ROvmSLHEaIORfuv2vsRitW-ZVmnGccnX0HXgklA4CGY68CCgtifh6h2eO3YYPTh36MxL4Zh0uQMGyza4SgtE-75kpTowNTsXgqvkr1LViMvkp2UXFQ13jbKuEGs8QgUbOgL13ThV1NlVHU47PDiGBNPjDRXmd=s72-w640-h344-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-1067889278641611639</id><published>2022-03-14T08:26:00.004+05:30</published><updated>2022-03-14T08:26:54.135+05:30</updated><title type='text'>DS18B20 Temperature sensor with new Blynk IOT Platform | DS18B20 with Esp32 &amp; Blynk IoT Cloud </title><content type='html'>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;b&gt;DS18B20 Temperature sensor with new Blynk IOT Platform | DS18B20 with Esp32 &amp;amp; Blynk IoT Cloud&lt;/b&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #0d0d0d;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: medium; white-space: normal;&quot;&gt;&amp;nbsp;&lt;/span&gt;Hello Everyone!&lt;/div&gt;&lt;span style=&quot;color: #0d0d0d;&quot;&gt;I have come up with new tutorial based on the all new Blynk IoT platform.
which is DS18B20 Temperature sensor with new Blynk IOT Platform | DS18B20 with Esp32 &amp;amp; Blynk IoT Cloud &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#blynk&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
In this video what you will learn about?
1. How to configure the new Blynk IoT Platform.
2. How to interface DS18B20 sensor with esp32
4. How to configure mobile blynk IoT platform
5. How to setup Automation in Blynk IoT

1.You can Watch Playlist on New Blynk IoT Platfom
New Blynk IoT platform with esp32 | how to setup automation in Blynk IoT app | &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#blynk&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#esp32&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; 
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/O2HZuu4KtIc&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

2.How to create events in blynk IoT platform | events in new Blynk IoT platform 🔥🔥 &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#blynk&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#esp32&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/X5zVaGk8QV0&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

3.IoT Based smart garden monitoring system | Smart plant monitoring using Blynk IoT &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#blynk&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#esp32&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/GTdxD5vQwy0&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

4.Water level monitoring system using IoT | IoT based water level using Nodemcu ESP8266 &amp;amp; ESP32 &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/WsfyeBtGXNM&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

5.Monitoring MPU6050 data over blynk IoT platform | IoT based Vibration Monitoring using Esp32 MPU6050
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/zFbH-f8mhAE&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

6.IoT Based weather station using BMP280 &amp;amp; ESP32 | BMP280 pressure and temperature sensor with Blynk
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/4CysMQn-OLE&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

7.Home automation using blynk IoT platform | home automation project using esp32 &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#homeautomation&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/Moow367kucU&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

you can watch my previous series videos based on Arduino IoT cloud Platform

1.Getting started with Arduino IoT cloud | Arduino IoT cloud with Esp32🔥 &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#arduinoiotcloud&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#esp32&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/I92CX2V5NxA&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

2. Home automation using Arduino IoT cloud | controlling relay using Arduino IoT cloud &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iotproject&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/19DYvM-N2ps&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

3. Soil moisture sensor with Arduino IoT cloud | IOT Smart Plant Monitoring System &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#esp32&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/VryVyi9Kj0Y&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

4. How to send sensor data from Arduino IoT cloud to Email | webhook &amp;amp; IFTTT with Arduino IoT cloud &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/KwkAI8ZT7fo&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;

5. Sending sensor data to google sheet using Arduino IoT cloud | log sensor data in cloud &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#esp32&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;#iot&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt; 
&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;https://youtu.be/D5gBc29V8xg&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Arduino Code:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;/************************************************************************************&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;*&amp;nbsp; My Channel:https://www.youtube.com/c/ImpulseTech/featured Visit for More Project Videos&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;*&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;*&amp;nbsp; *********************************************************************************&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;*&amp;nbsp; Preferences--&amp;gt; Aditional boards Manager URLs :&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;*&amp;nbsp; For ESP32:&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;*&amp;nbsp; https://dl.espressif.com/dl/package_esp32_index.json&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;*&amp;nbsp; https://blynk.cloud/external/api/logEvent?token=YourAuthToken&amp;amp;code=hello for loging the events using rest API&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;*&amp;nbsp; You can send only 100 events per devices per day&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; When the limit is reached you&#39;ll see the notification on the UI in the Device Timeline section&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; The maximum description length for the event is 300 chars&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;*&amp;nbsp; *********************************************************************************/&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;#define BLYNK_TEMPLATE_ID &quot;TMPLE8b_ltNC&quot;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;#define BLYNK_DEVICE_NAME &quot;DS18B20 Temperature sensor&quot;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;#define BLYNK_AUTH_TOKEN &quot;Ann6QdNGdrkIHC1_LxdR-_bNmlx7QS6Q&quot;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;#define BLYNK_PRINT Serial&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;#include &amp;lt;WiFi.h&amp;gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;#include &amp;lt;WiFiClient.h&amp;gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;#include &amp;lt;BlynkSimpleEsp32.h&amp;gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;#include &amp;lt;OneWire.h&amp;gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;#include &amp;lt;DallasTemperature.h&amp;gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;#define ONE_WIRE_BUS 13&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;OneWire oneWire(ONE_WIRE_BUS);&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;DallasTemperature sensors(&amp;amp;oneWire);&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;char auth[] = BLYNK_AUTH_TOKEN;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;char ssid[] = &quot;impulsetech&quot;;&amp;nbsp; // type your wifi name&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;char pass[] = &quot;impulse567&quot;;&amp;nbsp; // type your wifi password&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;BlynkTimer timer;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;void sendSensor()&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;{&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; // Request temperature to all devices on the data line&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; sensors.requestTemperatures();&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Serial.print(&quot;Celsius temperature: &quot;);&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; //We can connect more than one IC on the same data wire. 0 refers to the first IC on the wire&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Serial.print(sensors.getTempCByIndex(0));&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Serial.print(&quot; - Fahrenheit temperature: &quot;);&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Serial.println(sensors.getTempFByIndex(0));&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; int tempC=sensors.getTempCByIndex(0);&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; int tempF=sensors.getTempFByIndex(0);&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; delay(1000);&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; // You can send any value at any time.&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; // Please don&#39;t send more that 10 values per second.&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; Blynk.virtualWrite(V0, tempC);&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; Blynk.virtualWrite(V1, tempF);&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; delay(500);&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;}&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;void setup()&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;{&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp;Serial.begin(9600);&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; sensors.begin();&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Blynk.begin(auth, ssid, pass);&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; timer.setInterval(100L, sendSensor);&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;void loop()&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;{&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Blynk.run();&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; timer.run();&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;}&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; color: #0d0d0d; font-family: Roboto, Noto, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;
You can connect me on 
Facebook : facebook.com/impulsetech101
Instagram: instagram.com/impulsetechy/
Linkdin:       linkedin.com/in/yogesh-bawane
Linkdin:       linkedin.com/company/impulse-tech-robotics
Blog :           impulsetechx.blogspot.com/&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/1067889278641611639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2022/03/ds18b20-temperature-sensor-with-new.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/1067889278641611639'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/1067889278641611639'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2022/03/ds18b20-temperature-sensor-with-new.html' title='DS18B20 Temperature sensor with new Blynk IOT Platform | DS18B20 with Esp32 &amp; Blynk IoT Cloud '/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-6478438630445043269</id><published>2022-01-31T09:20:00.001+05:30</published><updated>2022-01-31T09:20:08.075+05:30</updated><title type='text'>Soil moisture sensor with Arduino IoT cloud | IOT Smart Plant Monitoring System</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;h1 class=&quot;title style-scope ytd-video-primary-info-renderer&quot; style=&quot;-webkit-box-orient: vertical; -webkit-line-clamp: 2; background: rgb(249, 249, 249); border: 0px; color: var(--ytd-video-primary-info-renderer-title-color,var(--yt-spec-text-primary)); display: -webkit-box; font-family: Roboto, Arial, sans-serif; font-size: var(--ytd-video-primary-info-renderer-title-font-size,var(--yt-navbar-title-font-size,inherit)); font-weight: 400; line-height: 2.6rem; margin: 0px; max-height: 5.2rem; overflow: hidden; padding: 0px; text-overflow: ellipsis; text-shadow: var(--ytd-video-primary-info-renderer-title-text-shadow,none); transform: var(--ytd-video-primary-info-renderer-title-transform,none);&quot;&gt;&lt;yt-formatted-string class=&quot;style-scope ytd-video-primary-info-renderer&quot; force-default-style=&quot;&quot; style=&quot;word-break: break-word;&quot;&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot;&gt;Soil moisture sensor with Arduino IoT cloud | IOT Smart Plant Monitoring System&lt;/span&gt;&lt;/yt-formatted-string&gt;&lt;/h1&gt;&lt;div&gt;&lt;yt-formatted-string class=&quot;style-scope ytd-video-primary-info-renderer&quot; force-default-style=&quot;&quot; style=&quot;word-break: break-word;&quot;&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: rgb(249, 249, 249); border: 0px; color: #030303; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;Hello everyone !!
in this video, you learn about the following things 
1. How to interface soil moisture sensor with esp32 board
2. How to control pump using the Arduino IoT cloud platform
3. How to create a dashboard
4. How to install the Arduino Create agent.
5. how to do the programming in Arduino web-based editor 

if you want to know more about the Arduino IoT cloud platform then watch my previous video 
Getting started with Arduino IoT cloud | Arduino IoT cloud with Esp32🔥 &lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/hashtag/arduinoiotcloud&quot; spellcheck=&quot;false&quot; style=&quot;background-color: #f9f9f9; cursor: pointer; display: var(--yt-endpoint-display,inline-block); font-family: Roboto, Arial, sans-serif; font-size: 13px; overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); white-space: pre-wrap; word-break: var(--yt-endpoint-word-break,none);&quot;&gt;#arduinoiotcloud&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: rgb(249, 249, 249); border: 0px; color: #030303; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/hashtag/esp32&quot; spellcheck=&quot;false&quot; style=&quot;background-color: #f9f9f9; cursor: pointer; display: var(--yt-endpoint-display,inline-block); font-family: Roboto, Arial, sans-serif; font-size: 13px; overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); white-space: pre-wrap; word-break: var(--yt-endpoint-word-break,none);&quot;&gt;#esp32&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: rgb(249, 249, 249); border: 0px; color: #030303; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/watch?v=I92CX2V5NxA&amp;amp;t=0s&quot; spellcheck=&quot;false&quot; style=&quot;background-color: #f9f9f9; cursor: pointer; display: var(--yt-endpoint-display,inline-block); font-family: Roboto, Arial, sans-serif; font-size: 13px; overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); white-space: pre-wrap; word-break: var(--yt-endpoint-word-break,none);&quot;&gt;https://youtu.be/I92CX2V5NxA&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: rgb(249, 249, 249); border: 0px; color: #030303; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;

Checkout the previous series videos!
[E01]Getting started with Esp32 board | how to program esp32 board using Arduino ide
&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/watch?v=R4o2IHZm3E8&amp;amp;t=0s&quot; spellcheck=&quot;false&quot; style=&quot;background-color: #f9f9f9; cursor: pointer; display: var(--yt-endpoint-display,inline-block); font-family: Roboto, Arial, sans-serif; font-size: 13px; overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); white-space: pre-wrap; word-break: var(--yt-endpoint-word-break,none);&quot;&gt;https://youtu.be/R4o2IHZm3E8&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: rgb(249, 249, 249); border: 0px; color: #030303; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;

[E02] Esp32 analog input | read analog values with arduino IDE and potentiometer
&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/watch?v=63EPm6S7-UQ&amp;amp;t=0s&quot; spellcheck=&quot;false&quot; style=&quot;background-color: #f9f9f9; cursor: pointer; display: var(--yt-endpoint-display,inline-block); font-family: Roboto, Arial, sans-serif; font-size: 13px; overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); white-space: pre-wrap; word-break: var(--yt-endpoint-word-break,none);&quot;&gt;https://youtu.be/63EPm6S7-UQ&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: rgb(249, 249, 249); border: 0px; color: #030303; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;

[E03] Esp32 Built in Hall effect sensor | how to use esp32 built in hall effect sensor
&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/watch?v=DKdehe1BzYo&amp;amp;t=0s&quot; spellcheck=&quot;false&quot; style=&quot;background-color: #f9f9f9; cursor: pointer; display: var(--yt-endpoint-display,inline-block); font-family: Roboto, Arial, sans-serif; font-size: 13px; overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); white-space: pre-wrap; word-break: var(--yt-endpoint-word-break,none);&quot;&gt;https://youtu.be/DKdehe1BzYo&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: rgb(249, 249, 249); border: 0px; color: #030303; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;

[E04] how to use esp32 capacitive touch sensor pin | controlling AC appliances using esp32 touch pin
&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/watch?v=Lsm7qXU_9ZY&amp;amp;t=0s&quot; spellcheck=&quot;false&quot; style=&quot;background-color: #f9f9f9; cursor: pointer; display: var(--yt-endpoint-display,inline-block); font-family: Roboto, Arial, sans-serif; font-size: 13px; overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); white-space: pre-wrap; word-break: var(--yt-endpoint-word-break,none);&quot;&gt;https://youtu.be/Lsm7qXU_9ZY&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: rgb(249, 249, 249); border: 0px; color: #030303; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;

[E05] OLED Display with Esp32 | How to use OLED display with Esp32
&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/watch?v=jms9ccgyEDQ&amp;amp;t=0s&quot; spellcheck=&quot;false&quot; style=&quot;background-color: #f9f9f9; cursor: pointer; display: var(--yt-endpoint-display,inline-block); font-family: Roboto, Arial, sans-serif; font-size: 13px; overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); white-space: pre-wrap; word-break: var(--yt-endpoint-word-break,none);&quot;&gt;https://youtu.be/jms9ccgyEDQ&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: rgb(249, 249, 249); border: 0px; color: #030303; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;

[E06] IOT based remote sensor data monitoring | Sensor data monitoring using Esp32 and Ubidots .
&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/watch?v=8Df9omyF4HY&amp;amp;t=0s&quot; spellcheck=&quot;false&quot; style=&quot;background-color: #f9f9f9; cursor: pointer; display: var(--yt-endpoint-display,inline-block); font-family: Roboto, Arial, sans-serif; font-size: 13px; overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); white-space: pre-wrap; word-break: var(--yt-endpoint-word-break,none);&quot;&gt;https://youtu.be/8Df9omyF4HY&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: rgb(249, 249, 249); border: 0px; color: #030303; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;

[E07] Sending sensor data to google sheet using esp32 | How to send sensor data to google sheet
&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/watch?v=RpQxJkEZ-fA&amp;amp;t=0s&quot; spellcheck=&quot;false&quot; style=&quot;background-color: #f9f9f9; cursor: pointer; display: var(--yt-endpoint-display,inline-block); font-family: Roboto, Arial, sans-serif; font-size: 13px; overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); white-space: pre-wrap; word-break: var(--yt-endpoint-word-break,none);&quot;&gt;https://youtu.be/RpQxJkEZ-fA&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: rgb(249, 249, 249); border: 0px; color: #030303; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;
&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/yt-formatted-string&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Arduino code:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;#include &quot;arduino_secrets.h&quot;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;/*&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Sketch generated by the Arduino IoT Cloud Thing &quot;Untitled&quot;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; https://create.arduino.cc/cloud/things/d96be7c3-073d-4272-836b-3f69ceedd1a6&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Arduino IoT Cloud Variables description&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; The following variables are automatically generated and updated when changes are made to the Thing&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; int sm_sensor;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; bool esp32_relay1;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Variables which are marked as READ/WRITE in the Cloud Thing will also have functions&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; which are called when their values are changed from the Dashboard.&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; These functions are generated with the Thing and added at the end of this sketch.&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;*/&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;#include &quot;thingProperties.h&quot;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;int relay1=4;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;int soil_sensor=34;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;void setup() {&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; // Initialize serial and wait for port to open:&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Serial.begin(9600);&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; // This delay gives the chance to wait for a Serial Monitor without blocking if none is found&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; delay(1500);&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; pinMode(relay1,OUTPUT);&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; // Defined in thingProperties.h&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; initProperties();&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; // Connect to Arduino IoT Cloud&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; ArduinoCloud.begin(ArduinoIoTPreferredConnection);&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; /*&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The following function allows you to obtain more information&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;related to the state of network and IoT Cloud connection and errors&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;the higher number the more granular information you’ll get.&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The default is 0 (only errors).&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Maximum is 4&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;*/&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; setDebugMessageLevel(2);&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; ArduinoCloud.printDebugInfo();&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;}&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;void loop() {&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; ArduinoCloud.update();&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; // Your code here&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; sm_sensor=analogRead(soil_sensor);&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; delay(500);&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; if(sm_sensor&amp;gt;1200)&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; //modify this value based on soil moisture sensor reading&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; {&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; digitalWrite(relay1,LOW);&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; else&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; {&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; digitalWrite(relay1,);&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;}&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;/*&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Since Esp32Relay1 is READ_WRITE variable, onEsp32Relay1Change() is&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; executed every time a new value is received from IoT Cloud.&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;*/&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;void onEsp32Relay1Change()&amp;nbsp; {&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; // Add your code here to act upon Esp32Relay1 change&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;if(esp32_relay1)&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;{&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp;digitalWrite(relay1,HIGH);&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;}&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;else&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;{&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp;digitalWrite(relay1,LOW);&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;}&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;}&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;For complete video tutorial&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;397&quot; src=&quot;https://www.youtube.com/embed/VryVyi9Kj0Y&quot; width=&quot;589&quot; youtube-src-id=&quot;VryVyi9Kj0Y&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;yt-formatted-string class=&quot;style-scope ytd-video-primary-info-renderer&quot; force-default-style=&quot;&quot; style=&quot;word-break: break-word;&quot;&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: rgb(249, 249, 249); border: 0px; color: #030303; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;For supporting  
Like, Share, and SUBSCRIBE!

Follow me on!
Facebook:-&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/redirect?event=video_description&amp;amp;redir_token=QUFFLUhqa2VJdF9oTlBsdkRJT3Z5Vk9ULWR2YWJ3eHM1Z3xBQ3Jtc0tsaGJQU2sxbWU3Um8zelYyTmx4bEl3VUNjczc1RmdnZWpzNmJSUkk5SWJKNWU3Vl9wU3RjdDNGeVk4UUpkSDJ1ZGdzaWhLVExWM2RQUDF5Ml96ZjhRbmp2QjlHN1JMTWxtazJPY256NTVETkpwNVozUQ&amp;amp;q=https%3A%2F%2Fwww.facebook.com%2Fimpulsetech1%E2%80%8B%E2%80%8B%E2%80%8B&quot; rel=&quot;nofollow&quot; spellcheck=&quot;false&quot; style=&quot;background-color: #f9f9f9; cursor: pointer; display: var(--yt-endpoint-display,inline-block); font-family: Roboto, Arial, sans-serif; font-size: 13px; overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); white-space: pre-wrap; word-break: var(--yt-endpoint-word-break,none);&quot; target=&quot;_blank&quot;&gt;https://www.facebook.com/impulsetech1​​​&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: rgb(249, 249, 249); border: 0px; color: #030303; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;.
Instagram : &lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/redirect?event=video_description&amp;amp;redir_token=QUFFLUhqbTV4ZWsxc0hfZm9sMXUzcXlkelk4M0drNUZrd3xBQ3Jtc0ttc3JRVld5OVBQLU14VzZsUXhBemxjNmtwd2tMblZGVXZpeWh6Y2pRZldadlFhM1BGbFBZeGhiVDllaWVaM2wyQk51YVo5SkdVSHNyb3p2T20yN2sxczJaWGRXdUFmWU9oMEpBMzhQVmdIZlpxS191RQ&amp;amp;q=https%3A%2F%2Fwww.instagram.com%2Fimpulsetech&quot; rel=&quot;nofollow&quot; spellcheck=&quot;false&quot; style=&quot;background-color: #f9f9f9; cursor: pointer; display: var(--yt-endpoint-display,inline-block); font-family: Roboto, Arial, sans-serif; font-size: 13px; overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); white-space: pre-wrap; word-break: var(--yt-endpoint-word-break,none);&quot; target=&quot;_blank&quot;&gt;https://www.instagram.com/impulsetech&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: rgb(249, 249, 249); border: 0px; color: #030303; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;...
Instagram:  &lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/redirect?event=video_description&amp;amp;redir_token=QUFFLUhqbmZubU11LWZZcmE3eXVtUllERkdxdzdlWS1zUXxBQ3Jtc0traTdxMW4tUHJ3dHRsY1lkbVlfZm1BSW1FWnA2c21pdkhHM0tOWXJKWEF4OXVicDBiRHlpUkNMLXBnQVJGdnAxcXRldG4tMEhPenQ0VjNHdldCQkVYLTM2Q2ZPMzNDdWtCWVhqdmkyTGd3dmpUTUplNA&amp;amp;q=https%3A%2F%2Fwww.instagram.com%2Fyogii_bawane%2F%E2%80%8B&quot; rel=&quot;nofollow&quot; spellcheck=&quot;false&quot; style=&quot;background-color: #f9f9f9; cursor: pointer; display: var(--yt-endpoint-display,inline-block); font-family: Roboto, Arial, sans-serif; font-size: 13px; overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); white-space: pre-wrap; word-break: var(--yt-endpoint-word-break,none);&quot; target=&quot;_blank&quot;&gt;https://www.instagram.com/yogii_bawane/​&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: rgb(249, 249, 249); border: 0px; color: #030303; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;
contact us: impulsetech101@gmail.com&lt;/span&gt;&lt;/span&gt;&lt;/yt-formatted-string&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/6478438630445043269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2022/01/soil-moisture-sensor-with-arduino-iot.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/6478438630445043269'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/6478438630445043269'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2022/01/soil-moisture-sensor-with-arduino-iot.html' title='Soil moisture sensor with Arduino IoT cloud | IOT Smart Plant Monitoring System'/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/VryVyi9Kj0Y/default.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-8607697322540406435</id><published>2022-01-31T08:47:00.002+05:30</published><updated>2022-01-31T08:47:29.938+05:30</updated><title type='text'>How to send sensor data from Arduino IoT cloud to Email | webhook &amp; IFTTT with Arduino IoT cloud</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;h1 class=&quot;title style-scope ytd-video-primary-info-renderer&quot; style=&quot;-webkit-box-orient: vertical; -webkit-line-clamp: 2; background: rgb(249, 249, 249); border: 0px; color: var(--ytd-video-primary-info-renderer-title-color,var(--yt-spec-text-primary)); display: -webkit-box; font-family: Roboto, Arial, sans-serif; font-size: var(--ytd-video-primary-info-renderer-title-font-size,var(--yt-navbar-title-font-size,inherit)); font-weight: 400; line-height: 2.6rem; margin: 0px; max-height: 5.2rem; overflow: hidden; padding: 0px; text-overflow: ellipsis; text-shadow: var(--ytd-video-primary-info-renderer-title-text-shadow,none); transform: var(--ytd-video-primary-info-renderer-title-transform,none);&quot;&gt;&lt;yt-formatted-string class=&quot;style-scope ytd-video-primary-info-renderer&quot; force-default-style=&quot;&quot; style=&quot;word-break: break-word;&quot;&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot;&gt;How to send sensor data from Arduino IoT cloud to Email | webhook &amp;amp; IFTTT with Arduino IoT cloud.&lt;/span&gt;&lt;/yt-formatted-string&gt;&lt;/h1&gt;&lt;div&gt;&lt;yt-formatted-string class=&quot;style-scope ytd-video-primary-info-renderer&quot; force-default-style=&quot;&quot; style=&quot;word-break: break-word;&quot;&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;div class=&quot;style-scope ytd-watch-flexy&quot; id=&quot;meta&quot; style=&quot;background: rgb(249, 249, 249); border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;div class=&quot;style-scope ytd-watch-flexy&quot; id=&quot;meta-contents&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;ytd-video-secondary-info-renderer class=&quot;style-scope ytd-watch-flexy&quot; style=&quot;border-bottom: 1px solid var(--yt-spec-10-percent-layer); display: block; margin-bottom: 24px; padding-bottom: 16px;&quot;&gt;&lt;div class=&quot;style-scope ytd-video-secondary-info-renderer&quot; id=&quot;container&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;ytd-expander class=&quot;style-scope ytd-video-secondary-info-renderer&quot; style=&quot;--ytd-expander-collapsed-height: 60px; display: block; line-height: 2rem; margin-left: 64px;&quot;&gt;&lt;div class=&quot;style-scope ytd-expander&quot; id=&quot;content&quot; style=&quot;background: transparent; border: 0px; margin: 0px; min-width: 0px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&lt;div class=&quot;style-scope ytd-video-secondary-info-renderer&quot; id=&quot;description&quot; slot=&quot;content&quot; style=&quot;background: transparent; border: 0px; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; max-width: 615px; padding: 0px;&quot;&gt;&lt;yt-formatted-string class=&quot;content style-scope ytd-video-secondary-info-renderer&quot; force-default-style=&quot;&quot; split-lines=&quot;&quot; style=&quot;color: var(--yt-spec-text-primary); white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot;&gt;Hello everyone !!
I have started new series on the Arduino IoT Cloud Platform, I have started making several projects based on this platform I hope this would be helpful to you.
this video is about how to use the webhook service in the Arduino IoT cloud platform.
and using the webhook service we are sending the sensors data to the email.
you learn about the following things.
1. How to interface potentiometer  with esp32 board
2. How to configure the webhook and IFTTT
3. How to create a dashboard
4. How to do the programming in Arduino web-based editor 
5. how to create a thing in the Arduino IoT cloud platform.
6. how to send the sensors data to the email.

if you want to know more about the Arduino IoT cloud platform then watch my previous video 
Getting started with Arduino IoT cloud | Arduino IoT cloud with Esp32🔥 &lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/hashtag/arduinoiotcloud&quot; spellcheck=&quot;false&quot; style=&quot;cursor: pointer; display: var(--yt-endpoint-display,inline-block); overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); word-break: var(--yt-endpoint-word-break,none);&quot;&gt;#arduinoiotcloud&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/hashtag/esp32&quot; spellcheck=&quot;false&quot; style=&quot;cursor: pointer; display: var(--yt-endpoint-display,inline-block); overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); word-break: var(--yt-endpoint-word-break,none);&quot;&gt;#esp32&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot;&gt;
&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/watch?v=I92CX2V5NxA&amp;amp;t=0s&quot; spellcheck=&quot;false&quot; style=&quot;cursor: pointer; display: var(--yt-endpoint-display,inline-block); overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); word-break: var(--yt-endpoint-word-break,none);&quot;&gt;https://youtu.be/I92CX2V5NxA&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot;&gt;

Check out the previous series of videos!
[E01]Getting started with Esp32 board | how to program esp32 board using Arduino ide
&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/watch?v=R4o2IHZm3E8&amp;amp;t=0s&quot; spellcheck=&quot;false&quot; style=&quot;cursor: pointer; display: var(--yt-endpoint-display,inline-block); overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); word-break: var(--yt-endpoint-word-break,none);&quot;&gt;https://youtu.be/R4o2IHZm3E8&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot;&gt;

[E02] Esp32 analog input | read analog values with Arduino IDE and potentiometer
&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/watch?v=63EPm6S7-UQ&amp;amp;t=0s&quot; spellcheck=&quot;false&quot; style=&quot;cursor: pointer; display: var(--yt-endpoint-display,inline-block); overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); word-break: var(--yt-endpoint-word-break,none);&quot;&gt;https://youtu.be/63EPm6S7-UQ&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot;&gt;

[E03] Esp32 Built-in Hall effect sensor | how to use esp32 built-in hall effect sensor
&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/watch?v=DKdehe1BzYo&amp;amp;t=0s&quot; spellcheck=&quot;false&quot; style=&quot;cursor: pointer; display: var(--yt-endpoint-display,inline-block); overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); word-break: var(--yt-endpoint-word-break,none);&quot;&gt;https://youtu.be/DKdehe1BzYo&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot;&gt;

[E04] how to use esp32 capacitive touch sensor pin | controlling AC appliances using esp32 touch pin
&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/watch?v=Lsm7qXU_9ZY&amp;amp;t=0s&quot; spellcheck=&quot;false&quot; style=&quot;cursor: pointer; display: var(--yt-endpoint-display,inline-block); overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); word-break: var(--yt-endpoint-word-break,none);&quot;&gt;https://youtu.be/Lsm7qXU_9ZY&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot;&gt;

[E05] OLED Display with Esp32 | How to use OLED display with Esp32
&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/watch?v=jms9ccgyEDQ&amp;amp;t=0s&quot; spellcheck=&quot;false&quot; style=&quot;cursor: pointer; display: var(--yt-endpoint-display,inline-block); overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); word-break: var(--yt-endpoint-word-break,none);&quot;&gt;https://youtu.be/jms9ccgyEDQ&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot;&gt;

[E06] IoT-based remote sensor data monitoring | Sensor data monitoring using Esp32 and Ubidots.
&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/watch?v=8Df9omyF4HY&amp;amp;t=0s&quot; spellcheck=&quot;false&quot; style=&quot;cursor: pointer; display: var(--yt-endpoint-display,inline-block); overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); word-break: var(--yt-endpoint-word-break,none);&quot;&gt;https://youtu.be/8Df9omyF4HY&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot;&gt;

[E07] Sending sensor data to google sheet using esp32 | How to send sensor data to google sheet
&lt;/span&gt;&lt;a class=&quot;yt-simple-endpoint style-scope yt-formatted-string&quot; dir=&quot;auto&quot; href=&quot;https://www.youtube.com/watch?v=RpQxJkEZ-fA&amp;amp;t=0s&quot; spellcheck=&quot;false&quot; style=&quot;cursor: pointer; display: var(--yt-endpoint-display,inline-block); overflow-wrap: var(--yt-endpoint-word-wrap,none); text-decoration: var(--yt-endpoint-text-regular-decoration,none); word-break: var(--yt-endpoint-word-break,none);&quot;&gt;https://youtu.be/RpQxJkEZ-fA&lt;/a&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/span&gt;&lt;/yt-formatted-string&gt;&lt;/div&gt;&lt;div class=&quot;style-scope ytd-video-secondary-info-renderer&quot; id=&quot;description&quot; slot=&quot;content&quot; style=&quot;background: transparent; border: 0px; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; max-width: 615px; padding: 0px;&quot;&gt;&lt;yt-formatted-string class=&quot;content style-scope ytd-video-secondary-info-renderer&quot; force-default-style=&quot;&quot; split-lines=&quot;&quot; style=&quot;color: var(--yt-spec-text-primary); white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/yt-formatted-string&gt;&lt;/div&gt;&lt;div class=&quot;style-scope ytd-video-secondary-info-renderer&quot; id=&quot;description&quot; slot=&quot;content&quot; style=&quot;background: transparent; border: 0px; font-family: Roboto, Arial, sans-serif; font-size: 13px; margin: 0px; max-width: 615px; padding: 0px;&quot;&gt;&lt;yt-formatted-string class=&quot;content style-scope ytd-video-secondary-info-renderer&quot; force-default-style=&quot;&quot; split-lines=&quot;&quot; style=&quot;color: var(--yt-spec-text-primary); white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;b&gt;Arduino code:&lt;/b&gt;&lt;/span&gt;&lt;/yt-formatted-string&gt;&lt;/div&gt;&lt;div class=&quot;style-scope ytd-video-secondary-info-renderer&quot; id=&quot;description&quot; slot=&quot;content&quot; style=&quot;background: transparent; border: 0px; margin: 0px; max-width: 615px; padding: 0px;&quot;&gt;&lt;yt-formatted-string class=&quot;content style-scope ytd-video-secondary-info-renderer&quot; force-default-style=&quot;&quot; split-lines=&quot;&quot; style=&quot;word-break: break-word;&quot;&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: transparent; border: 0px; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-family: Roboto, Arial, sans-serif;&quot;&gt;&lt;i&gt;/* 
  Sketch generated by the Arduino IoT Cloud Thing &quot;Untitled&quot;
  https://create.arduino.cc/cloud/things/d96be7c3-073d-4272-836b-3f69ceedd1a6 

  Arduino IoT Cloud Variables description

  The following variables are automatically generated and updated when changes are made to the Thing

  int light_sensor;

  Variables which are marked as READ/WRITE in the Cloud Thing will also have functions
  which are called when their values are changed from the Dashboard.
  These functions are generated with the Thing and added at the end of this sketch.
*/

#include &quot;thingProperties.h&quot;
int ldr=34;
void setup() {
  // Initialize serial and wait for port to open:
  Serial.begin(9600);
  // This delay gives the chance to wait for a Serial Monitor without blocking if none is found
  delay(1500); 
 pinMode(ldr,INPUT);

  // Defined in thingProperties.h
  initProperties();

  // Connect to Arduino IoT Cloud
  ArduinoCloud.begin(ArduinoIoTPreferredConnection);
  
  /*
     The following function allows you to obtain more information
     related to the state of network and IoT Cloud connection and errors
     the higher number the more granular information you’ll get.
     The default is 0 (only errors).
     Maximum is 4
 */
  setDebugMessageLevel(2);
  ArduinoCloud.printDebugInfo();
}

void loop() {
  ArduinoCloud.update();
  // Your code here 
  light_sensor=analogRead(ldr);
  delay(500);
  Serial.println(light_sensor);
/*
  Since PotValue is READ_WRITE variable, onPotValueChange() is
  executed every time a new value is received from IoT Cloud.
*/
}


/*
  Since LightSensor is READ_WRITE variable, onLightSensorChange() is
  executed every time a new value is received from IoT Cloud.
*/
void onLightSensorChange()  {
  // Add your code here to act upon LightSensor change
}&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/yt-formatted-string&gt;&lt;/div&gt;&lt;div class=&quot;style-scope ytd-video-secondary-info-renderer&quot; id=&quot;description&quot; slot=&quot;content&quot; style=&quot;background: transparent; border: 0px; margin: 0px; max-width: 615px; padding: 0px;&quot;&gt;&lt;yt-formatted-string class=&quot;content style-scope ytd-video-secondary-info-renderer&quot; force-default-style=&quot;&quot; split-lines=&quot;&quot; style=&quot;word-break: break-word;&quot;&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: transparent; border: 0px; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: Roboto, Arial, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/yt-formatted-string&gt;&lt;/div&gt;&lt;div class=&quot;style-scope ytd-video-secondary-info-renderer&quot; id=&quot;description&quot; slot=&quot;content&quot; style=&quot;background: transparent; border: 0px; margin: 0px; max-width: 615px; padding: 0px;&quot;&gt;&lt;yt-formatted-string class=&quot;content style-scope ytd-video-secondary-info-renderer&quot; force-default-style=&quot;&quot; split-lines=&quot;&quot; style=&quot;word-break: break-word;&quot;&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: transparent; border: 0px; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: Roboto, Arial, sans-serif;&quot;&gt;&lt;b&gt;For complete step by step tutorial checkout the following video:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/yt-formatted-string&gt;&lt;/div&gt;&lt;div class=&quot;style-scope ytd-video-secondary-info-renderer&quot; id=&quot;description&quot; slot=&quot;content&quot; style=&quot;background: transparent; border: 0px; margin: 0px; max-width: 615px; padding: 0px;&quot;&gt;&lt;yt-formatted-string class=&quot;content style-scope ytd-video-secondary-info-renderer&quot; force-default-style=&quot;&quot; split-lines=&quot;&quot; style=&quot;word-break: break-word;&quot;&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: transparent; border: 0px; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: Roboto, Arial, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/yt-formatted-string&gt;&lt;/div&gt;&lt;div class=&quot;style-scope ytd-video-secondary-info-renderer&quot; id=&quot;description&quot; slot=&quot;content&quot; style=&quot;background: transparent; border: 0px; margin: 0px; max-width: 615px; padding: 0px;&quot;&gt;&lt;yt-formatted-string class=&quot;content style-scope ytd-video-secondary-info-renderer&quot; force-default-style=&quot;&quot; split-lines=&quot;&quot; style=&quot;word-break: break-word;&quot;&gt;&lt;span class=&quot;style-scope yt-formatted-string&quot; dir=&quot;auto&quot; style=&quot;background: transparent; border: 0px; font-size: 13px; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: Roboto, Arial, sans-serif;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;503&quot; src=&quot;https://www.youtube.com/embed/KwkAI8ZT7fo&quot; width=&quot;592&quot; youtube-src-id=&quot;KwkAI8ZT7fo&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/span&gt;&lt;h1 class=&quot;title style-scope ytd-video-primary-info-renderer&quot; style=&quot;-webkit-box-orient: vertical; -webkit-line-clamp: 2; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; color: var(--ytd-video-primary-info-renderer-title-color,var(--yt-spec-text-primary)); display: -webkit-box; font-family: Roboto, Arial, sans-serif; font-size: var(--ytd-video-primary-info-renderer-title-font-size,var(--yt-navbar-title-font-size,inherit)); font-weight: 400; line-height: 2.6rem; margin: 0px; max-height: 5.2rem; overflow: hidden; padding: 0px; text-overflow: ellipsis; text-shadow: var(--ytd-video-primary-info-renderer-title-text-shadow,none); transform: var(--ytd-video-primary-info-renderer-title-transform,none); white-space: normal;&quot;&gt;&lt;br /&gt;&lt;/h1&gt;&lt;/span&gt;&lt;/yt-formatted-string&gt;&lt;/div&gt;&lt;/div&gt;&lt;/ytd-expander&gt;&lt;/div&gt;&lt;/ytd-video-secondary-info-renderer&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/yt-formatted-string&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/8607697322540406435/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2022/01/how-to-send-sensor-data-from-arduino.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/8607697322540406435'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/8607697322540406435'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2022/01/how-to-send-sensor-data-from-arduino.html' title='How to send sensor data from Arduino IoT cloud to Email | webhook &amp; IFTTT with Arduino IoT cloud'/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/KwkAI8ZT7fo/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-7098295206407112563</id><published>2022-01-12T17:57:00.006+05:30</published><updated>2022-01-12T18:29:31.916+05:30</updated><title type='text'>Advantages and disadvantages of Arduino IoT cloud (Pros &amp; Cons)</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span style=&quot;background-color: white; color: #050505; font-family: inherit; font-size: 15px; white-space: pre-wrap;&quot;&gt;Hi ! Everyone &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #050505; font-family: inherit; font-size: 15px; white-space: pre-wrap;&quot;&gt;This is what my reviews after using the Arduino IoT cloud if you have something different points then you can mention in comment section. I hope you will find it helpful. I am writing the summary of the projects that I have created using the Arduino IoT cloud.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #050505; font-family: inherit; font-size: 15px; white-space: pre-wrap;&quot;&gt;These are the pros and cons of the Arduino IoT cloud Platform&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;bi6gxh9e&quot; data-block=&quot;true&quot; data-editor=&quot;5m071&quot; data-offset-key=&quot;frmni-0-0&quot; style=&quot;background-color: white; color: #050505; font-family: &amp;quot;Segoe UI Historic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; margin-bottom: 8px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;frmni-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;frmni-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Pros:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; data-block=&quot;true&quot; data-editor=&quot;5m071&quot; data-offset-key=&quot;8qsgh-0-0&quot; style=&quot;background-color: white; color: #050505; font-family: &amp;quot;Segoe UI Historic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; margin-bottom: 8px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;8qsgh-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;8qsgh-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;• It is Easy for beginners, fast for professionals as we can able to create things very quickly.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; data-block=&quot;true&quot; data-editor=&quot;5m071&quot; data-offset-key=&quot;4d432-0-0&quot; style=&quot;background-color: white; color: #050505; font-family: &amp;quot;Segoe UI Historic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; margin-bottom: 8px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;4d432-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;4d432-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;• Based on the Arduino environment familiar to millions of user&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; data-block=&quot;true&quot; data-editor=&quot;5m071&quot; data-offset-key=&quot;1nlnl-0-0&quot; style=&quot;background-color: white; color: #050505; font-family: &amp;quot;Segoe UI Historic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; margin-bottom: 8px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;1nlnl-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;1nlnl-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;• You can directly program the board from Arduino web editor itself and it has all the necessary libraries to work with.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; data-block=&quot;true&quot; data-editor=&quot;5m071&quot; data-offset-key=&quot;epq17-0-0&quot; style=&quot;background-color: white; color: #050505; font-family: &amp;quot;Segoe UI Historic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; margin-bottom: 8px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;epq17-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;epq17-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;• One can Quickly build remote sensor monitoring using simple widgets&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; data-block=&quot;true&quot; data-editor=&quot;5m071&quot; data-offset-key=&quot;637s9-0-0&quot; style=&quot;background-color: white; color: #050505; font-family: &amp;quot;Segoe UI Historic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; margin-bottom: 8px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;637s9-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;637s9-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;• We can connect to a spreadsheet, database, or automate alerts using webhooks&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; data-block=&quot;true&quot; data-editor=&quot;5m071&quot; data-offset-key=&quot;fh0ms-0-0&quot; style=&quot;background-color: white; color: #050505; font-family: &amp;quot;Segoe UI Historic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; margin-bottom: 8px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;fh0ms-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;fh0ms-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;• Arduino IoT cloud platform now started supporting the third party boards that is ESP-32 and ESP-8266 (Node MCU)&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; data-block=&quot;true&quot; data-editor=&quot;5m071&quot; data-offset-key=&quot;k6ib-0-0&quot; style=&quot;background-color: white; color: #050505; font-family: &amp;quot;Segoe UI Historic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; margin-bottom: 8px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;k6ib-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;k6ib-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br data-text=&quot;true&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; data-block=&quot;true&quot; data-editor=&quot;5m071&quot; data-offset-key=&quot;4hpr1-0-0&quot; style=&quot;background-color: white; color: #050505; font-family: &amp;quot;Segoe UI Historic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; margin-bottom: 8px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;4hpr1-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;4hpr1-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Cons:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; data-block=&quot;true&quot; data-editor=&quot;5m071&quot; data-offset-key=&quot;d1mvl-0-0&quot; style=&quot;background-color: white; color: #050505; font-family: &amp;quot;Segoe UI Historic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; margin-bottom: 8px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;d1mvl-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;d1mvl-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;• It has very less widgets &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; data-block=&quot;true&quot; data-editor=&quot;5m071&quot; data-offset-key=&quot;5pva9-0-0&quot; style=&quot;background-color: white; color: #050505; font-family: &amp;quot;Segoe UI Historic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; margin-bottom: 8px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;5pva9-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;5pva9-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;• There is very little space for customizing  widgets like pointer ,colour etc&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; data-block=&quot;true&quot; data-editor=&quot;5m071&quot; data-offset-key=&quot;8algm-0-0&quot; style=&quot;background-color: white; color: #050505; font-family: &amp;quot;Segoe UI Historic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; margin-bottom: 8px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;8algm-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;8algm-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;• Sometimes device shows offline even it is connected to the cloud&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; data-block=&quot;true&quot; data-editor=&quot;5m071&quot; data-offset-key=&quot;5t22n-0-0&quot; style=&quot;background-color: white; color: #050505; font-family: &amp;quot;Segoe UI Historic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; margin-bottom: 8px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;5t22n-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;5t22n-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;• Here we are not able Export a Device&#39;s Data in CSV&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; data-block=&quot;true&quot; data-editor=&quot;5m071&quot; data-offset-key=&quot;3c7sn-0-0&quot; style=&quot;background-color: white; color: #050505; font-family: &amp;quot;Segoe UI Historic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; margin-bottom: 8px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;3c7sn-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;3c7sn-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;3c7sn-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;3c7sn-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;These are the projects that I have created using the Arduino IoT cloud.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;3c7sn-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;3c7sn-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;3c7sn-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;89jdt-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;1.Getting started with Arduino IoT cloud | Arduino IoT cloud with Esp32🔥 &lt;/span&gt;&lt;span class=&quot;diy96o5h&quot; end=&quot;90&quot; start=&quot;74&quot; style=&quot;background-color: var(--text-highlight); font-family: inherit;&quot;&gt;#arduinoiotcloud&lt;/span&gt;&lt;span data-offset-key=&quot;89jdt-2-0&quot; style=&quot;font-family: inherit;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;diy96o5h&quot; end=&quot;97&quot; start=&quot;91&quot; style=&quot;background-color: var(--text-highlight); font-family: inherit;&quot;&gt;#esp32&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; data-block=&quot;true&quot; data-editor=&quot;5m071&quot; data-offset-key=&quot;9eb14-0-0&quot; style=&quot;background-color: white; color: #050505; font-family: &amp;quot;Segoe UI Historic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; margin-bottom: 8px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;9eb14-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span class=&quot;py34i1dx&quot; color=&quot;var(--blue-link)&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://youtu.be/I92CX2V5NxA&quot; target=&quot;_blank&quot;&gt;https://youtu.be/I92CX2V5NxA&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; data-block=&quot;true&quot; data-editor=&quot;5m071&quot; data-offset-key=&quot;9hvsr-0-0&quot; style=&quot;background-color: white; color: #050505; font-family: &amp;quot;Segoe UI Historic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; margin-bottom: 8px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;9hvsr-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;9hvsr-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;9hvsr-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;9hvsr-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;2. Home automation using Arduino IoT cloud | controlling relay using Arduino IoT cloud &lt;/span&gt;&lt;span class=&quot;diy96o5h&quot; end=&quot;91&quot; start=&quot;87&quot; style=&quot;background-color: var(--text-highlight); font-family: inherit;&quot;&gt;#iot&lt;/span&gt;&lt;span data-offset-key=&quot;9hvsr-2-0&quot; style=&quot;font-family: inherit;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;diy96o5h&quot; end=&quot;103&quot; start=&quot;92&quot; style=&quot;background-color: var(--text-highlight); font-family: inherit;&quot;&gt;#iotproject&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; data-block=&quot;true&quot; data-editor=&quot;5m071&quot; data-offset-key=&quot;9n63j-0-0&quot; style=&quot;background-color: white; color: #050505; font-family: &amp;quot;Segoe UI Historic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; margin-bottom: 8px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;9n63j-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span class=&quot;py34i1dx&quot; color=&quot;var(--blue-link)&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://youtu.be/19DYvM-N2ps&quot; target=&quot;_blank&quot;&gt;https://youtu.be/19DYvM-N2ps&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; data-block=&quot;true&quot; data-editor=&quot;5m071&quot; data-offset-key=&quot;1f33s-0-0&quot; style=&quot;background-color: white; color: #050505; font-family: &amp;quot;Segoe UI Historic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; margin-bottom: 8px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;1f33s-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;1f33s-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;1f33s-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;1f33s-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;3. Soil moisture sensor with Arduino IoT cloud | IOT Smart Plant Monitoring System &lt;/span&gt;&lt;span class=&quot;diy96o5h&quot; end=&quot;87&quot; start=&quot;83&quot; style=&quot;background-color: var(--text-highlight); font-family: inherit;&quot;&gt;#iot&lt;/span&gt;&lt;span data-offset-key=&quot;1f33s-2-0&quot; style=&quot;font-family: inherit;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;diy96o5h&quot; end=&quot;94&quot; start=&quot;88&quot; style=&quot;background-color: var(--text-highlight); font-family: inherit;&quot;&gt;#esp32&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; data-block=&quot;true&quot; data-editor=&quot;5m071&quot; data-offset-key=&quot;8u5h6-0-0&quot; style=&quot;background-color: white; color: #050505; font-family: &amp;quot;Segoe UI Historic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; margin-bottom: 8px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;8u5h6-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;a href=&quot; https://youtu.be/VryVyi9Kj0Y&quot; target=&quot;_blank&quot;&gt;&lt;span data-offset-key=&quot;8u5h6-0-0&quot; style=&quot;font-family: inherit;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;py34i1dx&quot; color=&quot;var(--blue-link)&quot; style=&quot;font-family: inherit;&quot;&gt;https://youtu.be/VryVyi9Kj0Y&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; data-block=&quot;true&quot; data-editor=&quot;5m071&quot; data-offset-key=&quot;du9cp-0-0&quot; style=&quot;background-color: white; color: #050505; font-family: &amp;quot;Segoe UI Historic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; margin-bottom: 8px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;du9cp-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;du9cp-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;du9cp-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;du9cp-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;4. How to send sensor data from Arduino IoT cloud to Email | webhook &amp;amp; IFTTT with Arduino IoT cloud &lt;/span&gt;&lt;span class=&quot;diy96o5h&quot; end=&quot;104&quot; start=&quot;100&quot; style=&quot;background-color: var(--text-highlight); font-family: inherit;&quot;&gt;#iot&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; data-block=&quot;true&quot; data-editor=&quot;5m071&quot; data-offset-key=&quot;83m2b-0-0&quot; style=&quot;background-color: white; color: #050505; font-family: &amp;quot;Segoe UI Historic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; margin-bottom: 8px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;83m2b-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span class=&quot;py34i1dx&quot; color=&quot;var(--blue-link)&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://youtu.be/KwkAI8ZT7fo&quot; target=&quot;_blank&quot;&gt;https://youtu.be/KwkAI8ZT7fo&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; data-block=&quot;true&quot; data-editor=&quot;5m071&quot; data-offset-key=&quot;atgjj-0-0&quot; style=&quot;background-color: white; color: #050505; font-family: &amp;quot;Segoe UI Historic&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; margin-bottom: 8px; white-space: pre-wrap;&quot;&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;atgjj-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;atgjj-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;atgjj-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span data-offset-key=&quot;atgjj-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;5. Sending sensor data to google sheet using Arduino IoT cloud | log sensor data in cloud &lt;/span&gt;&lt;span class=&quot;diy96o5h&quot; end=&quot;96&quot; start=&quot;90&quot; style=&quot;background-color: var(--text-highlight); font-family: inherit;&quot;&gt;#esp32&lt;/span&gt;&lt;span data-offset-key=&quot;atgjj-2-0&quot; style=&quot;font-family: inherit;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;diy96o5h&quot; end=&quot;101&quot; start=&quot;97&quot; style=&quot;background-color: var(--text-highlight); font-family: inherit;&quot;&gt;#iot&lt;/span&gt;&lt;span data-offset-key=&quot;atgjj-4-0&quot; style=&quot;font-family: inherit;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;atgjj-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;&lt;span class=&quot;py34i1dx&quot; color=&quot;var(--blue-link)&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://youtu.be/D5gBc29V8xg&quot; target=&quot;_blank&quot;&gt;https://youtu.be/D5gBc29V8xg&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/7098295206407112563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2022/01/advantages-and-disadvantages-of-arduino.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/7098295206407112563'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/7098295206407112563'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2022/01/advantages-and-disadvantages-of-arduino.html' title='Advantages and disadvantages of Arduino IoT cloud (Pros &amp; Cons)'/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-3846793764494115223</id><published>2022-01-05T09:36:00.007+05:30</published><updated>2022-01-05T09:52:48.809+05:30</updated><title type='text'>Getting Started with the Arduino IoT Cloud using Esp32 &amp; DHT-11</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 18pt; margin-bottom: 0in; mso-outline-level: 1; vertical-align: baseline;&quot;&gt;&lt;span face=&quot;&amp;quot;Lato&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot; style=&quot;mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 18.0pt;&quot;&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;b&gt;Getting
Started with the Arduino IoT Cloud using Esp32&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #222222;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 18pt; margin-bottom: 0in; mso-outline-level: 1; vertical-align: baseline;&quot;&gt;&lt;span face=&quot;Lato, sans-serif&quot; style=&quot;color: #222222;&quot;&gt;Introduction:&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 18pt; margin-bottom: 0in; mso-outline-level: 1; vertical-align: baseline;&quot;&gt;&lt;/p&gt;&lt;h1 style=&quot;background: white; line-height: 18pt; margin-bottom: .0001pt; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-weight: normal;&quot;&gt;The Internet of
Things has given rise to plenty of exciting new projects for makers. It&#39;s both
interesting and practical to be able to develop remote sensors and gadgets.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;

&lt;h1 style=&quot;background: white; line-height: 18pt; margin-bottom: .0001pt; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-weight: normal;&quot;&gt;Allowing IoT
devices from multiple manufacturers to interact with your innovations will open
up a lot of possibilities, including some you might not have considered before.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;

&lt;h1 style=&quot;background: white; line-height: 18pt; margin-bottom: .0001pt; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;In this getting
started guide of Arduino IOT cloud we will learn about how to use Arduino IOT
cloud with Esp32 board.&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div&gt;&lt;/div&gt;&lt;span face=&quot;Lato, sans-serif&quot; style=&quot;color: #222222;&quot;&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;h1 style=&quot;background: white; line-height: 18pt; margin-bottom: .0001pt; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #1f497d; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-bidi-font-weight: normal; mso-themecolor: text2;&quot;&gt;Arduino IOT
cloud&lt;/span&gt;&lt;/h1&gt;&lt;div&gt;&lt;h1 style=&quot;background: white; line-height: 18pt; margin-bottom: .0001pt; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-weight: normal;&quot;&gt;What is Arduino IOT cloud?&lt;/span&gt;&lt;/h1&gt;&lt;p style=&quot;background: white; line-height: 18pt; margin: 0in; text-align: left; vertical-align: baseline;&quot;&gt;Arduino IoT Cloud is a
web-based&amp;nbsp;service&amp;nbsp;that allows users to create connected
devices&amp;nbsp;quickly, easily, and securely. Multiple devices can be linked
together and data can be exchanged in real-time. Users can also able to monitor
the data&amp;nbsp;using a simple user interface from anywhere. one can also use
the&amp;nbsp;android application for monitoring and controlling&amp;nbsp;the devices.&lt;/p&gt;

&lt;h1 style=&quot;background: white; line-height: 18pt; margin-bottom: .0001pt; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-weight: normal;&quot;&gt;Because Arduino IoT Cloud
is completely integrated into the Arduino Create ecosystem, one can
easily&amp;nbsp;create a template code in Arduino IoT Cloud web-based
editor&amp;nbsp;and upload it to your board.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;&lt;/div&gt;&lt;h1 style=&quot;background: white; line-height: 18pt; margin-bottom: .0001pt; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #1f497d; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-bidi-font-weight: normal; mso-themecolor: text2;&quot;&gt;&amp;nbsp;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIsizb8WppVHEQPhHQiPqdPOBQriz91GU7iXJFIr4buqKd7LhgxYV0kI09xukhoTkbTDkFwY_avtuOqqcdNLZ1lGUpa1XHPU1_Ho_OcOOmWpBeNXx0kywj6jh1zPm7GVlWRo8sQL-bmx8/&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;452&quot; data-original-width=&quot;979&quot; height=&quot;296&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIsizb8WppVHEQPhHQiPqdPOBQriz91GU7iXJFIr4buqKd7LhgxYV0kI09xukhoTkbTDkFwY_avtuOqqcdNLZ1lGUpa1XHPU1_Ho_OcOOmWpBeNXx0kywj6jh1zPm7GVlWRo8sQL-bmx8/w640-h296/image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div&gt;&lt;span style=&quot;color: #1f497d; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-bidi-font-weight: normal; mso-themecolor: text2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #1f497d; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-bidi-font-weight: normal; mso-themecolor: text2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #1f497d; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-bidi-font-weight: normal; mso-themecolor: text2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #1f497d; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-bidi-font-weight: normal; mso-themecolor: text2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #1f497d; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-bidi-font-weight: normal; mso-themecolor: text2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #1f497d; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-bidi-font-weight: normal; mso-themecolor: text2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #1f497d; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-bidi-font-weight: normal; mso-themecolor: text2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #1f497d; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-bidi-font-weight: normal; mso-themecolor: text2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #1f497d; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-bidi-font-weight: normal; mso-themecolor: text2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #1f497d; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-bidi-font-weight: normal; mso-themecolor: text2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #1f497d; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-bidi-font-weight: normal; mso-themecolor: text2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #1f497d; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-bidi-font-weight: normal; mso-themecolor: text2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #1f497d; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-bidi-font-weight: normal; mso-themecolor: text2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #1f497d; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-bidi-font-weight: normal; mso-themecolor: text2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Setting up the Arduino IOT cloud
account&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;How to set up an Arduino IOT cloud
account?&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;A few basic steps are required to
set up the Arduino IoT Cloud and explore the various capabilities available.
So, let&#39;s look at how to get from point A to point B!&lt;/p&gt;&lt;h3 style=&quot;line-height: 17pt; text-align: left;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: #0b5394; font-size: small;&quot;&gt;Creating an Arduino Account&lt;/span&gt;&lt;/h3&gt;&lt;p class=&quot;MsoNormal&quot;&gt;For using Arduino IOT cloud Platform we need to sign up for
the Arduino account just click the below link&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;a href=&quot;https://id.arduino.cc/?iss=https%3A%2F%2Flogin.arduino.cc%2F&quot;&gt;https://id.arduino.cc/?iss=https%3A%2F%2Flogin.arduino.cc%2F&lt;/a&gt;&lt;/p&gt;&lt;h4 style=&quot;line-height: 13.6pt;&quot;&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Go to Arduino IoT Cloud&lt;/span&gt;&lt;/h4&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;











&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;Now you have successfully signed up for the Arduino account, you can access the Arduino IOT cloud by clicking the link &lt;a href=&quot;https://create.arduino.cc/iot&quot;&gt;https://create.arduino.cc/iot&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn4zxsrEf_6yPTcGi__sSUmxEZ0PUe4gxmnn33iwAIgZ90sYUniP10qwZ5jgridAdqhgqHRT9K7BMHIcx2ZfIjDgPGSjQsQU43Gylan_Wepq9YCHvw834u0hhYE1h9zGcDo6MQd9Hz2EQ/&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img data-original-height=&quot;450&quot; data-original-width=&quot;979&quot; height=&quot;294&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn4zxsrEf_6yPTcGi__sSUmxEZ0PUe4gxmnn33iwAIgZ90sYUniP10qwZ5jgridAdqhgqHRT9K7BMHIcx2ZfIjDgPGSjQsQU43Gylan_Wepq9YCHvw834u0hhYE1h9zGcDo6MQd9Hz2EQ/w640-h294/image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;span style=&quot;color: #0b5394; letter-spacing: 0.1pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;span style=&quot;color: #0b5394; letter-spacing: 0.1pt;&quot;&gt;Creating a thing&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;span style=&quot;letter-spacing: 0.1pt;&quot;&gt;how to create a thing in Arduino IoT cloud?&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;Inside creating thing in Arduino
IoT cloud there are 3 steps we need to complete&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;span style=&quot;font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; text-indent: -0.25in;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;Adding Variable&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;2.&lt;span style=&quot;font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;!--[endif]--&gt;Adding Device&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;3.&lt;span style=&quot;font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;!--[endif]--&gt;Setting up the Wi-Fi credentials.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;













&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;The way to the Arduino IOT cloud
begins with creating a new thing. in this section need to select the device that
we are going to use, in our case we are using &amp;nbsp;3rd party device that is Esp32 board.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;Next, we will select the Wi-Fi
network to which our board is going to connect, after this, we need to create
variables to store the temperature and humidity so that we can monitor the
sensor data over the dashboard.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;This is the area where whatever
changes that we have made are automatically generated into the Arduino Sketch file.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;



&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;Let&#39;s follow the picture step to
add a Variable.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_vox5xQk9Kjy-aaUcvGZoudsMrnH94dCF5kcgsptQ99vakVgrQNU6iFp4FX0dBj-rR08JywZqt93p11VTBjU4jDCNvyHbCLM8yLSQPZJ3kuzhUqTMV3xQL5Tu3j3uwMVOG1Z6UBFtUOU/&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img data-original-height=&quot;447&quot; data-original-width=&quot;979&quot; height=&quot;292&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_vox5xQk9Kjy-aaUcvGZoudsMrnH94dCF5kcgsptQ99vakVgrQNU6iFp4FX0dBj-rR08JywZqt93p11VTBjU4jDCNvyHbCLM8yLSQPZJ3kuzhUqTMV3xQL5Tu3j3uwMVOG1Z6UBFtUOU/w640-h292/image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;This is where you&#39;ll make changes
to the parameters of the variables.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;Begin by naming the variable in
the same way that you would any other variable in Arduino programming. Here I
am declaring the variable name temperature for storing the temperature value.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;After that, we can choose a
variable type. There are several types to pick from, including several
&quot;special&quot; types you&#39;ve probably never seen before.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;After that, we can choose a
variable type. There are various sorts to pick from, including several
&quot;special&quot; types you&#39;ve probably never seen before.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;Here I am choosing the temperature
in degree Celsius as a variable type &lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;













&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;After you&#39;ve chosen a type, you&#39;ll
see the variable declaration printed below it, in the same format as an Arduino project.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;The variable permission must be
addressed next. Here you have two options:&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&amp;nbsp;read and write&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;Only read&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;You&#39;ll need to pick Read &amp;amp;
Write for an LED because you&#39;ll need to be able to write to it to control it. If this had been a sensor like our DHT-11 read-only would work.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;Finally, there&#39;s the Update Policy
variable. You have two options once more:&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;On change — When something
changes, update the variable.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;Periodically - Update the variable
after a set amount of time has passed.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do the same thing for the humidity
variable &lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;Write the name of the variable as
humidity and then select the variable type relative humidity&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;

















&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;And click on add variable.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;after that add the last variable that is message ad select the variable type as a character string.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeq7iqfGQnu7Vp20z9SfMS41al-xWW_FX3NqwaCCJhiIqUqJB5HUSoq_COfaC1VMSOi-JfEohHfS-pZ2d4aSxXmikmlYkuXZK4Qy5h_DWWQrUJWgzoJ-UrynlEXXaeYdRGaOYhYHvvGHM/&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img data-original-height=&quot;745&quot; data-original-width=&quot;979&quot; height=&quot;488&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeq7iqfGQnu7Vp20z9SfMS41al-xWW_FX3NqwaCCJhiIqUqJB5HUSoq_COfaC1VMSOi-JfEohHfS-pZ2d4aSxXmikmlYkuXZK4Qy5h_DWWQrUJWgzoJ-UrynlEXXaeYdRGaOYhYHvvGHM/w640-h488/image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMtLdUzIcUB83ZBnGwMnrnB6nVUGantrfH4fas2fFDROv9tXwNfD7ftL3GzU92_pOL_Yegjy0aDKE-myAfjR7q7rizgrJmJu2AGq4tDSgT3PnTfk_Pw6PJmqBZMlEJIojJl4XpFACnbAI/&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img data-original-height=&quot;783&quot; data-original-width=&quot;983&quot; height=&quot;510&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMtLdUzIcUB83ZBnGwMnrnB6nVUGantrfH4fas2fFDROv9tXwNfD7ftL3GzU92_pOL_Yegjy0aDKE-myAfjR7q7rizgrJmJu2AGq4tDSgT3PnTfk_Pw6PJmqBZMlEJIojJl4XpFACnbAI/w640-h510/temp2.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;span style=&quot;font-size: 12pt; line-height: 115%; mso-bidi-font-size: 11.0pt;&quot;&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;b&gt;Adding the device &lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;How to add the device in Arduino IoT cloud&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;

&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;span style=&quot;font-size: 12pt; line-height: 115%; mso-bidi-font-size: 11.0pt;&quot;&gt;Now click on the Setup 3&lt;sup&gt;rd&lt;/sup&gt; party device&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt; line-height: 115%; mso-bidi-font-size: 11.0pt;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjau6nJEY8ShiPKZtpMUTauSGt45jSRk84gOIZo6AB_e6P71OoBzzOWLP2UsYtyoYfflRI5mSNrySFGOiLTOwUkBjVDkM6gqC6-lfpSRHJq38D1yu9098qo_bPlcvmvs1sG1koycEpRqB0/&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;451&quot; data-original-width=&quot;979&quot; height=&quot;294&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjau6nJEY8ShiPKZtpMUTauSGt45jSRk84gOIZo6AB_e6P71OoBzzOWLP2UsYtyoYfflRI5mSNrySFGOiLTOwUkBjVDkM6gqC6-lfpSRHJq38D1yu9098qo_bPlcvmvs1sG1koycEpRqB0/w640-h294/image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt; line-height: 115%; mso-bidi-font-size: 11.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt; line-height: 115%; mso-bidi-font-size: 11.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt; line-height: 115%; mso-bidi-font-size: 11.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt; line-height: 115%; mso-bidi-font-size: 11.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt; line-height: 115%; mso-bidi-font-size: 11.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt; line-height: 115%; mso-bidi-font-size: 11.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;b&gt;S&lt;span style=&quot;color: #0b5394;&quot;&gt;Select the esp32 dev module&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpgwvSJcak8EpKYgajsNXwnpYAXOlba33DBT_GfJCpLUOrNTe8ucVw6cWiIoHljImOSBw4wDjHMCIGLBjDev1fNmDRi9uDKJy2NriAe45jC6oEV-ZNsBvxY1vDuek0TCKLkdAAVUInNP0/&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img data-original-height=&quot;446&quot; data-original-width=&quot;979&quot; height=&quot;292&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpgwvSJcak8EpKYgajsNXwnpYAXOlba33DBT_GfJCpLUOrNTe8ucVw6cWiIoHljImOSBw4wDjHMCIGLBjDev1fNmDRi9uDKJy2NriAe45jC6oEV-ZNsBvxY1vDuek0TCKLkdAAVUInNP0/w640-h292/image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;Next, rename the device &lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;

&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;By default, Arduino IoT cloud
selects the name of the board also you can write your name of the board.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx-V3zG7qTlYqBGd-yGv8gduRmaagHPLBxlP4S_FfTy-d974ylmL1DLEqMFMzqerePSiyEvzgvEGiDWs4kjTFNPc2prinZysTJiOr2O6ZkiG5DcAma9ZxKwxSjnTV9N4kvpPhaqw-Le4I/&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img data-original-height=&quot;447&quot; data-original-width=&quot;979&quot; height=&quot;292&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx-V3zG7qTlYqBGd-yGv8gduRmaagHPLBxlP4S_FfTy-d974ylmL1DLEqMFMzqerePSiyEvzgvEGiDWs4kjTFNPc2prinZysTJiOr2O6ZkiG5DcAma9ZxKwxSjnTV9N4kvpPhaqw-Le4I/w640-h292/image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;You&#39;ll now be provided with a
screen that reads &quot;Secret Key.&quot; You&#39;ll need to copy this key because
it&#39;s the only place you&#39;ll see it. You can copy it by clicking the symbol next
to it or downloading the key as a PDF document.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;After you&#39;ve double-checked that
you have a copy of the secret key, you can go to the next step. Your ESP32
configuration will be finished.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;





&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;It&#39;s now time to configure your
network credentials. In the Network section, click the Configure button.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt-A2cQSpUHB4-TGUHOdLZ3e4cKrrGlp-nwd87tt9qSvHyaz3siGXYDLH0xCeIGhg5F07FprKcg0NOlNR2fVCVQ2ADIgMDRLgRSR49teKxUSGvAUhuLW8naGJm2W7O0uPOfxLlv2DvRiE/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;490&quot; data-original-width=&quot;979&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt-A2cQSpUHB4-TGUHOdLZ3e4cKrrGlp-nwd87tt9qSvHyaz3siGXYDLH0xCeIGhg5F07FprKcg0NOlNR2fVCVQ2ADIgMDRLgRSR49teKxUSGvAUhuLW8naGJm2W7O0uPOfxLlv2DvRiE/w640-h320/image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;You&#39;ll notice that instead of two
parameters, you&#39;ll need to offer three parameters.&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;1.&lt;span style=&quot;font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;!--[endif]--&gt;SSID name&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;2.&lt;span style=&quot;font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;!--[endif]--&gt;SSID password&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;





&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;3.&lt;span style=&quot;font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;!--[endif]--&gt;Secret key&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Schematic [Esp32 &amp;amp; DHT11]&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsOzAk06seW_PKnuipRMziCX7rW2rLVRUtT29Y59Ypd5t4Rsi3iUubHXIv0E9007-ThnqWT13U6iCeTknxssUqa5nWF5UP3IYCIKtKbw2f3vo_pJLURBlGgj2McoB0kawKFTw1pVH2FQM/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;694&quot; data-original-width=&quot;979&quot; height=&quot;454&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsOzAk06seW_PKnuipRMziCX7rW2rLVRUtT29Y59Ypd5t4Rsi3iUubHXIv0E9007-ThnqWT13U6iCeTknxssUqa5nWF5UP3IYCIKtKbw2f3vo_pJLURBlGgj2McoB0kawKFTw1pVH2FQM/w640-h454/image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Connection:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;Dht11 sensor has 4 pins that are VCC, DATA, NC, GND&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;Connect VCC pin to Vin pin of the
esp32 board, data into digital pin 13 of the esp32, and GND pin to GND pin of
the esp32 board.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;





&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;Connect the esp32 board to your
desktop with an appropriate MicroUSB cable once everything is connected.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;Just click on sketch then&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;You&#39;ll be redirected to the simple sketch editor if you
click the Sketch tab. You can continue working on your sketch here, or click
the Open Full Editor button to launch a more powerful editor, akin to the
Arduino IDE software.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Adding Arduino Sketch:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;Simply click on the sketch and follow the prompts.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;

&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;If you click the Sketch tab, you&#39;ll be sent to the simple
sketch editor. You can either continue working on your sketch or click the Open
Full Editor button to open a more capable editor, similar to the Arduino IDE
software.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;you need to do a few changes here like adding a library for the DHT-11 sensor.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;The sketch framework is already developed, and it includes
information about the cloud variable we just established in the header.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;This variable is already defined in the thingProperties.h
library, which is included with your sketch, so you don&#39;t need to specify it in
your sketch. You may look at this file in the advanced editor; it contains
definitions for your variable(s) as well as a declaration for a function
connected with the variable change event. There&#39;s also information on the cloud and
network connections.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;you can copy the necessary part from the following code and paste it into your Arduino sketch and you are good to go&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;#include &quot;arduino_secrets.h&quot;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;/*&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; Sketch generated by the Arduino IoT Cloud Thing &quot;Temperature and Humidity monitoring&quot;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; https://create.arduino.cc/cloud/things/b03581ea-7134-40e3-92db-cffc33abfa0b&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; Arduino IoT Cloud Variables description&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; The following variables are automatically generated and updated when changes are made to the Thing&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; CloudRelativeHumidity humidity;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; String msg;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; CloudTemperatureSensor temperature;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; Variables which are marked as READ/WRITE in the Cloud Thing will also have functions&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; which are called when their values are changed from the Dashboard.&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; These functions are generated with the Thing and added at the end of this sketch.&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;*/&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;#include &quot;thingProperties.h&quot;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;#include &quot;DHT.h&quot;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;#define DHTpin 13 // D4 on the nodemcu ESP8266&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;#define DHTTYPE DHT11&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;DHT dht(DHTpin,DHTTYPE);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;void setup() {&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; // Initialize serial and wait for port to open:&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; Serial.begin(9600);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; // This delay gives the chance to wait for a Serial Monitor without blocking if none is found&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; delay(1500);&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; // Defined in thingProperties.h&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; initProperties();&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; // Connect to Arduino IoT Cloud&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; ArduinoCloud.begin(ArduinoIoTPreferredConnection)&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; /*&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The following function allows you to obtain more information&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;related to the state of network and IoT Cloud connection and errors&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;the higher number the more granular information you’ll get.&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The default is 0 (only errors).&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Maximum is 4&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp;*/&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; setDebugMessageLevel(2);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; ArduinoCloud.printDebugInfo();&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;}&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;void loop() {&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; ArduinoCloud.update();&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; // Your code here&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;i style=&quot;color: #0b5394; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;float hm= dht.readHumidity();&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Serial.print(&quot;Humidity &quot;);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Serial.println(hm);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; float temp=dht.readTemperature();&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Serial.print(&quot;Temperature &quot;);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Serial.println(temp);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; humidity=hm;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; temperature=temp;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; message=&quot;Temperature = &quot; + String (temperature)+&quot;&amp;nbsp; Humidity = &quot; + String(humidity);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;}&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;/*&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; Since Humidity is READ_WRITE variable, onHumidityChange() is&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; executed every time a new value is received from IoT Cloud.&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;*/&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;void onHumidityChange()&amp;nbsp; {&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; // Add your code here to act upon Humidity change&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;}&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;/*&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; Since Msg is READ_WRITE variable, onMsgChange() is&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; executed every time a new value is received from IoT Cloud.&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;*/&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;void onMsgChange()&amp;nbsp; {&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; // Add your code here to act upon Msg change&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;}&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;void dht_sensor_getdata()&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; {&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; float hm= dht.readHumidity();&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Serial.print(&quot;Humidity &quot;);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Serial.println(hm);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; float temp=dht.readTemperature();&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Serial.print(&quot;Temperature &quot;);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; Serial.println(temp);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; humidity=hm;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; temperature=temp;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; message=&quot;Temperature = &quot; + String (temperature)+&quot;&amp;nbsp; Humidity = &quot; + String(humidity);&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #0b5394; font-size: xx-small;&quot;&gt;&lt;i&gt;&amp;nbsp; }&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;d&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;b&gt;Creating Dashboard&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: left;&quot;&gt;The Dashboard is a graphical user interface that can be
accessed via the web or a mobile application. Switches and displays can be
added to the dashboard, and those features can be linked to variables that we
have added.&lt;br /&gt;To set the value of the temperature and humidity we will add
&amp;nbsp;the variable we generated for our Thing That
variable will be used by the code we&#39;ve uploaded to our Arduino to show the
data on pin no 13 of esp32.&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot;&gt;Click the Build Dashboard button on the Dashboard tab. The
dashboard will be empty&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;The dashboard is blank and labelled &quot;Untitled,&quot;
and you&#39;ll need to switch to edit mode to change it .To enter edit mode, click
the edit (pencil) symbol in the upper left corner.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;You&#39;ll see an Add drop-down button once you&#39;re in edit mode.
You&#39;ll be able to change the title of your dashboard as well.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;The Add drop-down menu allows you to choose from a variety
of Widgets, which are elements that you can place on your dashboard.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;The first is a Switch, which appears to be a good choice for
controlling an LED. When you select Switch, a new one will appear on your
dashboard.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;Now for monitoring the temperature we need to select the
gauge widget and for humidity, we can percentage gauge or chart &lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;

















&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;To edit the Gauge, press the menu button on the Gauge. An
editing window will appear.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2AcoNhu4OK-DnR9xyQMrxNEL5p07wPBxCKlBbDZj5u7oxCgVr0evC37gtJCrIApSKxDhj7hGvN0cMf2eqQk5In-pL1e8qXfPIOSJia3PZbUPWH2ROQVyk5LX1wRJgp4HSt8uGQzKo9Bk/&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img data-original-height=&quot;451&quot; data-original-width=&quot;979&quot; height=&quot;294&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2AcoNhu4OK-DnR9xyQMrxNEL5p07wPBxCKlBbDZj5u7oxCgVr0evC37gtJCrIApSKxDhj7hGvN0cMf2eqQk5In-pL1e8qXfPIOSJia3PZbUPWH2ROQVyk5LX1wRJgp4HSt8uGQzKo9Bk/w640-h294/image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;You can give your gauge a name or leave it blank in this editor
box. Because it displays&amp;nbsp; temperature , I
named it temperature&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;To link a cloud variable to the gauge, select Linked
Variable. You&#39;ll be taken to a new window where you can link to an existing
cloud variable.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;I choose my Thing as well as the temperature variable. Then
I selected Link Variable from the drop-down menu. And now gauge is successfully
monitoring my temperature.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;Now we will do the same thing for 2&lt;sup&gt;nd&lt;/sup&gt; parameter that
we want to monitor that is &lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;







&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;Humidity ,lets add percentage widget .&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif9ZtBS3CTTvNnwEvXAzsWk4K8B1Q-wAmnNznpnOM8wKDWHRg_KNxqK9SGUIOhkfjpkKjJWKFTXqPKGOXObZsf7UCEGzUByFZ0_XU5P5AU5NhppJJyREChJCG4ULsQhY8MUXbAb2bcXfY/&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img data-original-height=&quot;498&quot; data-original-width=&quot;979&quot; height=&quot;308&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif9ZtBS3CTTvNnwEvXAzsWk4K8B1Q-wAmnNznpnOM8wKDWHRg_KNxqK9SGUIOhkfjpkKjJWKFTXqPKGOXObZsf7UCEGzUByFZ0_XU5P5AU5NhppJJyREChJCG4ULsQhY8MUXbAb2bcXfY/w605-h308/image.png&quot; width=&quot;605&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;Then click on Link Variable and select the variable the drop-down
menu. And now percentage widget is successfully link to humidity variable.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;For video Tutorial the you can watch below video.&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;483&quot; src=&quot;https://www.youtube.com/embed/I92CX2V5NxA&quot; width=&quot;619&quot; youtube-src-id=&quot;I92CX2V5NxA&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;br /&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;span style=&quot;color: #1f497d; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-bidi-font-weight: normal; mso-themecolor: text2;&quot;&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/3846793764494115223/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2022/01/getting-started-with-arduino-iot-cloud.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/3846793764494115223'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/3846793764494115223'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2022/01/getting-started-with-arduino-iot-cloud.html' title='Getting Started with the Arduino IoT Cloud using Esp32 &amp; DHT-11'/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIsizb8WppVHEQPhHQiPqdPOBQriz91GU7iXJFIr4buqKd7LhgxYV0kI09xukhoTkbTDkFwY_avtuOqqcdNLZ1lGUpa1XHPU1_Ho_OcOOmWpBeNXx0kywj6jh1zPm7GVlWRo8sQL-bmx8/s72-w640-h296-c/image.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-6955117435546684877</id><published>2021-12-17T18:07:00.002+05:30</published><updated>2022-01-12T18:37:05.048+05:30</updated><title type='text'>Sending sensor data to google sheet using esp32 | How to send sensor data to google sheet</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0in; mso-line-height-alt: 14.4pt; mso-outline-level: 1;&quot;&gt;&lt;b&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;font-size: 18pt;&quot;&gt;ESP32 Publish Sensor Readings to Google
Sheets&amp;nbsp;&lt;span style=&quot;color: #3a3a3a;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0in; mso-line-height-alt: 14.4pt; mso-outline-level: 1;&quot;&gt;&lt;/p&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;background: white; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;In this tutorial, we’re
going to learn about how to publish sensor data to Google Sheets using the ESP32
board. As an example, we’ll publish temperature, humidity, readings using the
DHT11 sensor to a Google Sheets spreadsheet we’ll be using IFTTT.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;background: white; color: #3a3a3a; font-size: 9pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;h2 style=&quot;background: white; line-height: 15.6pt; margin-bottom: 9.0pt; margin-left: 0in; margin-right: 0in; margin-top: 17.0pt; margin: 17pt 0in 9pt;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot;&gt;&lt;u&gt;Project Overview&lt;/u&gt;&lt;span style=&quot;color: #3a3a3a;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0in; mso-line-height-alt: 14.4pt; mso-outline-level: 1;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot; style=&quot;color: #3a3a3a; font-size: 18pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 18.0pt;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;background: white; line-height: 115%;&quot;&gt;

&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;square&quot;&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;First, the ESP32 connects to
     your Wi-Fi network&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Then, the DHT11 takes the
     temperature and humidity readings;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;ESP32 communicates with the
     IFTTT Webhooks service that publishes the&amp;nbsp;readings to a spreadsheet
     on Google Sheets that is saved in your Google Drive’s folder&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;color: #3a3a3a;&quot;&gt;&lt;span face=&quot;Helvetica, sans-serif&quot; style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;h2 style=&quot;background: white; line-height: 15.6pt; margin: 17pt 0in 9pt;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Creating Your IFTTT Account&lt;/span&gt;&lt;span style=&quot;color: #3a3a3a; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 115%;&quot;&gt;This project is
created by using IFTTT.IFTTT &amp;nbsp;integrates with Google Sheets. So, the first step is creating an account on IFTTT if you
don’t have one. Creating an account on IFTTT is free!&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 115%;&quot;&gt;Go to the official site:&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://ifttt.com/&quot; style=&quot;transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s;&quot; target=&quot;_blank&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1pt none windowtext; line-height: 115%; padding: 0in; text-decoration-line: none;&quot;&gt;ifttt.com&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;and enter your email to get started.&lt;/span&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;color: #3a3a3a; font-size: 9pt;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 9pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;h2 style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.6pt; margin: 17pt 0in 9pt;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Creating an Applet&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;h2 style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.6pt; margin: 17pt 0in 9pt;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Now let&#39;s see how to create a new applet. Follow the next simple steps to create a new
applet:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 115%;&quot;&gt;1. Go to “My
Applets” and create a new applet by clicking the “New Applet” button.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 115%;&quot;&gt;2. Click on the “this”
word that is in a blue color &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 115%;&quot;&gt;3. Search for the
“Webhooks” service and select the Webhooks icon.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 115%;&quot;&gt;4. Select the “Receive
a web request” trigger.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 115%;&quot;&gt;5. Give a name to the
event. Then, click the “Create trigger” button.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 115%;&quot;&gt;6. Click the “that”
word to proceed.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 115%;&quot;&gt;7. Now Search for the
“Google Sheets”, and select the Google Sheets icon.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 115%;&quot;&gt;8. You need to click
the “Connect” button.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 115%;&quot;&gt;9. Select the “Add a
row to spreadsheet” action.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 115%;&quot;&gt;





















&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 115%;&quot;&gt;10. Rename the
spreadsheet. leave the “Formatted row” field as default, and then, choose a Google
Drive folder path. If we leave this field empty, IFTTT will create a folder
called “IFTTT” in your Google Drive folder to save the spreadsheet. And last
click the “Create action” button.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;font-size: 9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;h2 style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.6pt; margin: 17pt 0in 9pt;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;color: #3a3a3a;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Parts Required&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p class=&quot;MsoNormal&quot;&gt;

&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #3a3a3a; line-height: 115%;&quot;&gt;For this project, we’ll
use DHT11 sensor readings. Following is the list of parts is needed to build the
project.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #3a3a3a; line-height: 115%;&quot;&gt;1.Esp32&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #3a3a3a; line-height: 115%;&quot;&gt;2.DHT11&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #3a3a3a; line-height: 115%;&quot;&gt;3. Jumper wires&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #3a3a3a; line-height: 115%;&quot;&gt;4. Breadboard&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #3a3a3a; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;h2 style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.6pt; margin: 17pt 0in 9pt;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Schematics&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;h3 style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.6pt; margin-top: 17pt;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;DHT11
with ESP32&lt;span style=&quot;color: #3a3a3a;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #3a3a3a; line-height: 115%;&quot;&gt;





&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #3a3a3a; line-height: 115%;&quot;&gt;Use the Following
schematic diagram to connect the DHT11 to the Esp32&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;font-size: 9pt;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #3a3a3a; font-size: 9pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: #3a3a3a; font-size: 9pt; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjDIFobPAXHvZ6HJVC71yZlYVzoRedaEEJm4cjx7NgfGkI8Uebt2wcr0N3CLmCkOJOb-HqwkZwFJEHecJuxvUF1b5uZk3IKhDbS2rRI1d-TcKGtpKXbZH__wbcy_alZsOk5j1ac8yvsP1Nb3xK1vEfJ_bQ4SM5x4IES_mJOjqvxJIyAtdH7C2AkHr14=s1791&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;925&quot; data-original-width=&quot;1791&quot; height=&quot;330&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjDIFobPAXHvZ6HJVC71yZlYVzoRedaEEJm4cjx7NgfGkI8Uebt2wcr0N3CLmCkOJOb-HqwkZwFJEHecJuxvUF1b5uZk3IKhDbS2rRI1d-TcKGtpKXbZH__wbcy_alZsOk5j1ac8yvsP1Nb3xK1vEfJ_bQ4SM5x4IES_mJOjqvxJIyAtdH7C2AkHr14=w640-h330&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: #3a3a3a; font-size: 9pt; text-align: center;&quot;&gt;&lt;b style=&quot;font-size: 9pt;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: #3a3a3a; font-size: 9pt; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;b&gt;Watch the Complete tutorial on Youtube:&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;font-size: 9pt;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;610&quot; src=&quot;https://www.youtube.com/embed/RpQxJkEZ-fA&quot; width=&quot;671&quot; youtube-src-id=&quot;RpQxJkEZ-fA&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;br /&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #3a3a3a; font-size: 9pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;font-size: 9pt;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #3a3a3a; font-size: 9pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;font-size: 9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;h3 style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.6pt; margin: 17pt 0in 9pt; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot;&gt;Code&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-weight: normal; line-height: 115%;&quot;&gt;After making sure you
have the ESP32 board installed on your arduino, you can copy the following
Sketch to Arduino IDE.&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;font-size: 9pt;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 9pt; line-height: 115%;&quot;&gt;

&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;/&lt;i&gt;/This code is edited by Yogesh Bawane&amp;nbsp;&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;//for impulsetech Youtube channel https://youtu.be/RpQxJkEZ-fA&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;//For complete video tutorial visit https://youtu.be/RpQxJkEZ-fA&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;#include &amp;lt;WiFi.h&amp;gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;#include &amp;lt;HTTPClient.h&amp;gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;#include &quot;DHT.h&quot;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;#define LDR_PIN&amp;nbsp; &amp;nbsp;34&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;#define DHTPIN&amp;nbsp; &amp;nbsp; 23&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;//our sensor is DHT11 type&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;#define DHTTYPE DHT11&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;DHT dht(DHTPIN, DHTTYPE);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;const char * ssid = &quot;impulsetech&quot;;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;const char * password = &quot;impulse567&quot;;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;String server = &quot;http://maker.ifttt.com&quot;;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;String eventName = &quot;sensor_data&quot;;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;String IFTTT_Key = &quot;drlqzriADlETJtD04KV_NfpVmzvtAVhrEhUSGNRNnN7&quot;;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;String IFTTTUrl=&quot;https://maker.ifttt.com/trigger/sensor_data/with/key/drlqzriADlETJtD04KV_NfpVmzvtAVhrEhUSGNRNnN7&quot;;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;int value1;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;int value2;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;int value3;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;void setup() {&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Serial.begin(115200);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; dht.begin();&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; WiFi.mode(WIFI_STA);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; WiFi.begin(ssid, password);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; while (WiFi.status() != WL_CONNECTED) {&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; delay(500);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; Serial.print(&quot;.&quot;);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Serial.println(&quot;Viola, Connected !!!&quot;);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;}&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;float getLightPercentage(void)&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;{&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; int ldrRawVal;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; float percentage;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; ldrRawVal = analogRead(LDR_PIN);&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; percentage = ((float)((ldrRawVal*100)/4096));&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; return percentage;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;}&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;void sendDataToSheet(void)&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;{&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; String url = server + &quot;/trigger/&quot; + eventName + &quot;/with/key/&quot; + IFTTT_Key + &quot;?value1=&quot; + String((int)value1) + &quot;&amp;amp;value2=&quot;+String((int)value2) +&quot;&amp;amp;value3=&quot; + String((int)value3);&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Serial.println(url);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; //Start to send data to IFTTT&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; HTTPClient http;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Serial.print(&quot;[HTTP] begin...\n&quot;);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; http.begin(url); //HTTP&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Serial.print(&quot;[HTTP] GET...\n&quot;);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; // start connection and send HTTP header&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; int httpCode = http.GET();&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; // httpCode will be negative on error&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; if(httpCode &amp;gt; 0) {&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; // HTTP header has been send and Server response header has been handled&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; Serial.printf(&quot;[HTTP] GET... code: %d\n&quot;, httpCode);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; // file found at server&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; if(httpCode == HTTP_CODE_OK) {&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; String payload = http.getString();&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Serial.println(payload);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; } else {&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; Serial.printf(&quot;[HTTP] GET... failed, error: %s\n&quot;, http.errorToString(httpCode).c_str());&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; http.end();&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;}&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;void loop() {&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; value1 = dht.readHumidity();&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; value2 = dht.readTemperature();&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; value3 = getLightPercentage();&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Serial.print(&quot;Values are &quot;);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Serial.print(value1);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Serial.print(&#39; &#39;);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Serial.print(value2);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Serial.print(&#39; &#39;);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Serial.println(value3);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; Serial.print(&#39; &#39;);&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; sendDataToSheet();&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; delay(10000);&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #3d85c6; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;}&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;font-size: 9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;font-size: 9pt;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #3a3a3a; font-size: 9pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: ebrima;&quot;&gt;&lt;b&gt;Like share and comment :&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;Our FaceBook Page&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #0000ee; font-family: ebrima;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimkCWpffD7Ywq8mm62jAvOtqXR26oISh8jpC4Vjq97L_ciWudutPBmLnfeF82jV1LONpZVmG_cKSkCGtcevJlzlzhFatNkmURxhaUTv9KOfRblbqHFuxPWcekU4_HhlOXpSZtN6ueF3Rs/s225/download.png&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;225&quot; data-original-width=&quot;225&quot; height=&quot;135&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimkCWpffD7Ywq8mm62jAvOtqXR26oISh8jpC4Vjq97L_ciWudutPBmLnfeF82jV1LONpZVmG_cKSkCGtcevJlzlzhFatNkmURxhaUTv9KOfRblbqHFuxPWcekU4_HhlOXpSZtN6ueF3Rs/w135-h135/download.png&quot; style=&quot;border: 0px; height: auto; max-width: 100%;&quot; width=&quot;135&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b style=&quot;text-align: left;&quot;&gt;&lt;a href=&quot;https://www.youtube.com/channel/UCHCzBGgDMjT3fOWCv1ruIdA&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;Our Youtube Channel.&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimPUqdQ-CnXbCOatulDLkn1fFERkAVSdRY-OP55K0OY_mDGItsU8krOA6qSZAdkzCbZ70tMedSJm5RyB1j0wuOHP7f6UR54-fllVFV9Zb-lU_WwmMlpbBo3CPwTwBBlxqH-bOaEWHpKT4/s512/58e9197deb97430e819064f8.png&quot; style=&quot;background: transparent; clear: left; color: #25a186; cursor: pointer; float: left; margin-bottom: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimPUqdQ-CnXbCOatulDLkn1fFERkAVSdRY-OP55K0OY_mDGItsU8krOA6qSZAdkzCbZ70tMedSJm5RyB1j0wuOHP7f6UR54-fllVFV9Zb-lU_WwmMlpbBo3CPwTwBBlxqH-bOaEWHpKT4/s512/58e9197deb97430e819064f8.png&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;512&quot; data-original-width=&quot;512&quot; height=&quot;149&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimPUqdQ-CnXbCOatulDLkn1fFERkAVSdRY-OP55K0OY_mDGItsU8krOA6qSZAdkzCbZ70tMedSJm5RyB1j0wuOHP7f6UR54-fllVFV9Zb-lU_WwmMlpbBo3CPwTwBBlxqH-bOaEWHpKT4/w149-h149/58e9197deb97430e819064f8.png&quot; style=&quot;border: 0px; height: auto; max-width: 100%;&quot; width=&quot;149&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/b&gt;&lt;/span&gt;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; font-family: ebrima; font-size: 16px; font-weight: bold; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;b style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;For any&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;font-family: ebrima;&quot;&gt;&lt;b&gt;queries&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&amp;nbsp;please contact:&lt;/b&gt;&lt;/div&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;color: #292929; font-family: Ebrima; font-size: 16px;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;font-size: 9pt;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #3a3a3a; font-size: 9pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 style=&quot;color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin: 1em 0px 0in;&quot;&gt;&lt;span style=&quot;font-family: ebrima;&quot;&gt;impulseTech101@gmail.com&lt;/span&gt;&lt;/h4&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;color: #3a3a3a; font-size: 9pt;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 9pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span face=&quot;Helvetica, sans-serif&quot; style=&quot;color: #3a3a3a;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/6955117435546684877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2021/12/sending-sensor-data-to-google-sheet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/6955117435546684877'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/6955117435546684877'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2021/12/sending-sensor-data-to-google-sheet.html' title='Sending sensor data to google sheet using esp32 | How to send sensor data to google sheet'/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEjDIFobPAXHvZ6HJVC71yZlYVzoRedaEEJm4cjx7NgfGkI8Uebt2wcr0N3CLmCkOJOb-HqwkZwFJEHecJuxvUF1b5uZk3IKhDbS2rRI1d-TcKGtpKXbZH__wbcy_alZsOk5j1ac8yvsP1Nb3xK1vEfJ_bQ4SM5x4IES_mJOjqvxJIyAtdH7C2AkHr14=s72-w640-h330-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-4305222038769563843</id><published>2021-12-04T22:01:00.002+05:30</published><updated>2021-12-04T22:01:14.508+05:30</updated><title type='text'>Interfacing of TMP36 Temperature Sensor with an Arduino in Tinkerad.</title><content type='html'>&lt;p style=&quot;text-align: center;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Interfacing
of TMP36 Temperature Sensor with an Arduino in Tinkerad.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;This project
will turn the Arduino into a thermometer! By using the tmp36 temperature
sensor. We can able to measure our body temperature and turn on the 3 LEDs.
Green LED indicates the low-temperature range, Yellow LED indicates the medium
temperature range and Red LED indicates the high-temperature range. One can
test the circuit starting the simulation, clicking on the sensor, then
adjusting its temperature value using the slider, and can test the desired
resulting LED patterns. For making the actual circuit, you need to use the
Arduino, breadboard, USB cable, male-female jumper wires, three LEDs, three
resistors (any value from 100-1K, 220 ohms), a TMP36 sensor, &lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;Circuit Diagram:&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-no-proof: yes;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_4&quot; o:spid=&quot;_x0000_i1034&quot; style=&quot;height: 280pt; mso-wrap-style: square; visibility: visible; width: 523.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;TMP36_with_Arduino&quot; src=&quot;file:///C:/Users/Lomesh/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM6a9Rc3eLZwksFARismfKhWw139-X27Jdb116ZB7OMQ29c_ot8V5Obswhxd9XYc2yrIVDMoJIEFo-tmgj_lbXBUSLxAQ54EDgVFIFaWanBBSG05DHYOOd8Oq7PvI6xZXN5kwFJxnFHkU/s971/tmpc.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;519&quot; data-original-width=&quot;971&quot; height=&quot;342&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM6a9Rc3eLZwksFARismfKhWw139-X27Jdb116ZB7OMQ29c_ot8V5Obswhxd9XYc2yrIVDMoJIEFo-tmgj_lbXBUSLxAQ54EDgVFIFaWanBBSG05DHYOOd8Oq7PvI6xZXN5kwFJxnFHkU/w640-h342/tmpc.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;Components Required:&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: Ebrima; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Arduino UNO&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: Ebrima; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;TMP36 (Temperature sensor)&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: Ebrima; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Resistor-03&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: Ebrima; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;LED – Green&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: Ebrima; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;LED – Yellow &lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: Ebrima; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;LED – Red &lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: Ebrima; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Connecting wires&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;Connection:&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;The hardware
a part of this project is quite simple and easy to place together. First of
all, make the connections for the TMP36 sensor with the Arduino. The
connections for the TMP36 sensor with the Arduino given in the above circuit
diagram:&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;Connect the
VCC pin of the TMP36 sensor to the 5V pin on the Arduino.&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;Connect GND
pin of TMP36 sensor to the GND terminal of An Arduino.&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;Connect the
green LED anode pin to pin no 4 of an Arduino&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;Connect the
yellow LED anode pin to pin no 3 of an Arduino.&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;Connect the
red LED anode pin to pin no 2 of an Arduino.&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;Connect the
cathode of all the LEDs to the Arduino GND.&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;About TMP 36 Temperature Sensor:&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;The TMP36
temperature sensor is used to measure temperature using an Arduino in various
applications! This sensor can measure a wide range of temperature range from
-40°C to 125°C, and its low-cost sensor, making it a popular choice. TMP36
gives a voltage output that is straightaway proportional to the outside
temperature. The TMP36 needs a very low voltage power supply to operate, it’s
an accurate temperature sensor.&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;It won’t
require any external calibration circuitry to give the accuracies of ±1°C at
+25°C and ±2°C over the −40°C to +125°C temperature range. TMP36 creates a
varying voltage output depending on the outside temperature it senses. It has
three pins: one which is connected to the ground, another one connects to 5
volts, and a third one is the output pin which is connected to an analog input
of an Arduino that is A0&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;Pinout:&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYOwXZaXs_p1wkfaivfwcxzg4nZ3kJ_CJ9RGNnnMfzwnjHxibtnMLMBirwjO1hMN8GbNDwH-EGmUk8jPSUs2YyNkyXFaXoF4yonc0SCGLGuoypjNFBREmpQpsB2PR9eFCSpiaT53mh_EQ/s500/tmp.gif&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;472&quot; data-original-width=&quot;500&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYOwXZaXs_p1wkfaivfwcxzg4nZ3kJ_CJ9RGNnnMfzwnjHxibtnMLMBirwjO1hMN8GbNDwH-EGmUk8jPSUs2YyNkyXFaXoF4yonc0SCGLGuoypjNFBREmpQpsB2PR9eFCSpiaT53mh_EQ/s320/tmp.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;Working of project:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;rtejustify&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;As per the circuit diagram,
the output voltage of the TMP36 is connected to the analog input pin of an
Arduino. The analog Pin A0 reads the voltage and gives some analog value to
Arduino. Or in simple words we can say the TMP36 sensor produces a changing voltage
signal depending on the outside temperature it senses So, when temperature
increases, the pin connected to A0 increases its voltage. And You can see in
the circuit diagram that three LEDs are each connected to their digital pin. &lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;rtejustify&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;This circuit operates in
three mode &lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;rtejustify&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;When the temperature is low
it will turn on the green LED.&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;rtejustify&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;When the temperature medium
it will turn on the yellow LED.&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;rtejustify&quot; style=&quot;background: white; margin-bottom: 11.25pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; margin: 0in 0in 11.25pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;When the temperature is high it will turn on the red
LED.&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 24pt; margin-bottom: 7.5pt; mso-outline-level: 3;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Ebrima; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Code
Explanation (Block Based):&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;rtejustify&quot; style=&quot;background: white; margin-bottom: 11.25pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; margin: 0in 0in 11.25pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;First of
all, we create a variable named temp, to store the temperature that is nothing
but the sensor value to declare the variable click on the variable block and
create a variable, see the below picture.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFJlfOJe5GZryWHOVYssBAo1gV4fqMrb_zki7Zc1XNFb8s5277scjN-nqGCxCrc9P1Ico57tJJhdRlfQu5tyE0SyFxBLiODD80HOiz4Cm_kCv7IxI3fB6HBhloRRuw7HUG1sHJCspCRc8/s413/tmpv.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;413&quot; data-original-width=&quot;374&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFJlfOJe5GZryWHOVYssBAo1gV4fqMrb_zki7Zc1XNFb8s5277scjN-nqGCxCrc9P1Ico57tJJhdRlfQu5tyE0SyFxBLiODD80HOiz4Cm_kCv7IxI3fB6HBhloRRuw7HUG1sHJCspCRc8/w363-h400/tmpv.png&quot; width=&quot;363&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;After declaring the variable drag
out the set block and set to the following blocks&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-no-proof: yes;&quot;&gt;&lt;v:shape id=&quot;Picture_x0020_33&quot; o:spid=&quot;_x0000_i1031&quot; style=&quot;height: 199.5pt; mso-wrap-style: square; visibility: visible; width: 501.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/Lomesh/AppData/Local/Temp/msohtmlclip1/01/clip_image004.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhip9xar_fNzSZPNGuGyLeukKbDTsm1Er4DuLUDuPXx32NlbY13BVCfLesxuPtdb2ctw5XKVNJHYd45RAJKnkJjobLpSbphG-OUq2W60G01EeK-C-twyBVe2qQHlVTD8nHfPynjI7EuPgE/s1003/tmpv1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;399&quot; data-original-width=&quot;1003&quot; height=&quot;254&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhip9xar_fNzSZPNGuGyLeukKbDTsm1Er4DuLUDuPXx32NlbY13BVCfLesxuPtdb2ctw5XKVNJHYd45RAJKnkJjobLpSbphG-OUq2W60G01EeK-C-twyBVe2qQHlVTD8nHfPynjI7EuPgE/w640-h254/tmpv1.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Step to set the variable to “map” or converting temperature into
degree Celsius&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Step 1:&lt;span style=&quot;background: white; color: black; mso-color-alt: windowtext;&quot;&gt; In the Math section, take out a &quot;map&quot; block, and
merge two arithmetic blocks inside the first field.&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;Step 2: Set
the temperature range -40 to 125.&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;Step 3: go
to the Input section and take out an &quot;analog read pin A0&quot; block, and
fix it into the first arithmetic block inside the &quot;map&quot; block.&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;Step 4: now
set the math’s blocks to &quot;(read analog pin A0 - 20) x 3.04&quot;.&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;After completing all steps, it should look like following picture&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-no-proof: yes;&quot;&gt;&lt;v:shape id=&quot;Picture_x0020_34&quot; o:spid=&quot;_x0000_i1030&quot; style=&quot;height: 92.5pt; mso-wrap-style: square; visibility: visible; width: 519.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/Lomesh/AppData/Local/Temp/msohtmlclip1/01/clip_image005.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirQpPQO4qhag3XaAbP2k5x8Zhx8B8L8SjsINX-aZOhk-v5k59Hei3pfF_DhXplWZRTqMZEBV97xLBpa-78nQiQUiNybdfglofJAQcgK39ZcjVsAJTwg1rS0rc_zVAWGw1qvS21Iaxa5u0/s1039/ser.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;185&quot; data-original-width=&quot;1039&quot; height=&quot;114&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirQpPQO4qhag3XaAbP2k5x8Zhx8B8L8SjsINX-aZOhk-v5k59Hei3pfF_DhXplWZRTqMZEBV97xLBpa-78nQiQUiNybdfglofJAQcgK39ZcjVsAJTwg1rS0rc_zVAWGw1qvS21Iaxa5u0/w640-h114/ser.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Take out the serial monitor block to
print the temperature on the screen&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-no-proof: yes;&quot;&gt;&lt;v:shape id=&quot;Picture_x0020_35&quot; o:spid=&quot;_x0000_i1029&quot; style=&quot;height: 95pt; mso-wrap-style: square; visibility: visible; width: 374.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/Lomesh/AppData/Local/Temp/msohtmlclip1/01/clip_image006.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb8lmN83-yIPxXCLRPbnXp3mKfB68S8M1n1_y6S13VEMe0qHV1u6CjU4xq8-CjYPUHlSn-71aVHK41zdZNGUeq-bDD1qPpDs0Zm-LnvuuJpkIJaqRfQ0oHPExTChXIhnA4hY4vWhcPnsY/s749/ser2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;241&quot; data-original-width=&quot;749&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb8lmN83-yIPxXCLRPbnXp3mKfB68S8M1n1_y6S13VEMe0qHV1u6CjU4xq8-CjYPUHlSn-71aVHK41zdZNGUeq-bDD1qPpDs0Zm-LnvuuJpkIJaqRfQ0oHPExTChXIhnA4hY4vWhcPnsY/s320/ser2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;[ Note: About an
Arduino map function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span class=&quot;match&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-border-alt: none windowtext 0in; padding: 0in;&quot;&gt;The map function in Arduino is used to change one scale of values
(that is analogue input values) into another scale of values, and a mainly it
is use&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt; to read an analogue input which is 10 bit that is it
converts varying voltage to 0 to 1023 using internal ADC (analogue to digital
converter) and map function change the output to desired range of values.&lt;/span&gt;&lt;span class=&quot;match&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-border-alt: none windowtext 0in; padding: 0in;&quot;&gt;for ex.output values from 0 to 255.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span class=&quot;match&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-border-alt: none windowtext 0in; padding: 0in;&quot;&gt;Example “C” code:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: rgb(247, 249, 249); line-height: normal; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;background: rgb(247, 249, 249); color: black; font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;/* Map an analog value
to 8 bits (0 to 255) */&lt;/span&gt;&lt;span style=&quot;background: rgb(247, 249, 249); font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: rgb(247, 249, 249); line-height: normal; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;background: rgb(247, 249, 249); color: black; font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;void setup() {}&lt;/span&gt;&lt;span style=&quot;background: rgb(247, 249, 249); font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: rgb(247, 249, 249); line-height: normal; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;background: rgb(247, 249, 249); font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: rgb(247, 249, 249); line-height: normal; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;background: rgb(247, 249, 249); color: black; font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;void loop() {&lt;/span&gt;&lt;span style=&quot;background: rgb(247, 249, 249); font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: rgb(247, 249, 249); line-height: normal; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;background: rgb(247, 249, 249); color: black; font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;int val = analogRead(0);&lt;/span&gt;&lt;span style=&quot;background: rgb(247, 249, 249); font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: rgb(247, 249, 249); line-height: normal; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;background: rgb(247, 249, 249); color: black; font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;val = map(val, 0, 1023, 0, 255);&lt;/span&gt;&lt;span style=&quot;background: rgb(247, 249, 249); font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: rgb(247, 249, 249); line-height: normal; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;background: rgb(247, 249, 249); color: black; font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;analogWrite(9, val);&lt;/span&gt;&lt;span style=&quot;background: rgb(247, 249, 249); font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: rgb(247, 249, 249); line-height: normal; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;background: rgb(247, 249, 249); color: black; font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;match&quot;&gt;&lt;span style=&quot;font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span class=&quot;match&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-border-alt: none windowtext 0in; padding: 0in;&quot;&gt;For reference click here &lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;https://www.arduino.cc/reference/en/language/functions/math/map/&quot;&gt;&lt;span color=&quot;windowtext&quot; style=&quot;border: 1pt none windowtext; font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-border-alt: none windowtext 0in; padding: 0in;&quot;&gt;Arduino map function&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;match&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-border-alt: none windowtext 0in; padding: 0in;&quot;&gt; ]&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;Let’s use the main conditional
statement of the program that is ‘if’ block&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-no-proof: yes;&quot;&gt;&lt;v:shape id=&quot;Picture_x0020_36&quot; o:spid=&quot;_x0000_i1028&quot; style=&quot;height: 267.5pt; mso-wrap-style: square; visibility: visible; width: 523.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/Lomesh/AppData/Local/Temp/msohtmlclip1/01/clip_image007.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span class=&quot;match&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-border-alt: none windowtext 0in; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDgSD6pbbhtA1gGlCgxrtI5wS4SgWtAVAwEPwW1-2XEqlZP_-cqSgKaKDnwl4MWwNNugws7HfEXge__kvIvznedwQbitVDG38Po11RoumGju4U7OUC8b2A_mia4nH2jgoKUt9AClOoA-0/s1263/maintm.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;617&quot; data-original-width=&quot;1263&quot; height=&quot;312&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDgSD6pbbhtA1gGlCgxrtI5wS4SgWtAVAwEPwW1-2XEqlZP_-cqSgKaKDnwl4MWwNNugws7HfEXge__kvIvznedwQbitVDG38Po11RoumGju4U7OUC8b2A_mia4nH2jgoKUt9AClOoA-0/w640-h312/maintm.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;first if statement block:&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;In this if block we will use the
less than “&amp;lt;” comparison operator.&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;Condition:&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;If the temperature value is less than 25
degree Celsius then pin 4 will be high and pin no 3 and pin no 2 will be Low.
This will make green LED to turn on and other two LEDs will turn off this
indicates the low temperature.&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiStWp3GO-_XN3dWPKol9OS3xvByRGKTu_a7IWLbn3QRhiZ6E8Q3ocJj73m1T90LP1WwmehdTFntOYIfNhlqmKh9ISYljiUyYNfwId9KGsQlsiUunEvX8FLuUb7km0uderHsW-dUCQztls/s801/c1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;499&quot; data-original-width=&quot;801&quot; height=&quot;398&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiStWp3GO-_XN3dWPKol9OS3xvByRGKTu_a7IWLbn3QRhiZ6E8Q3ocJj73m1T90LP1WwmehdTFntOYIfNhlqmKh9ISYljiUyYNfwId9KGsQlsiUunEvX8FLuUb7km0uderHsW-dUCQztls/w640-h398/c1.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;

&lt;div style=&quot;border-bottom: 1pt solid rgb(79, 129, 189); border-left: none; border-right: none; border-top: 1pt solid rgb(79, 129, 189); margin-left: 0.6in; margin-right: 0.6in; mso-border-bottom-alt: solid #4F81BD .5pt; mso-border-bottom-themecolor: accent1; mso-border-top-alt: solid #4F81BD .5pt; mso-border-top-themecolor: accent1; mso-element: para-border-div; padding: 10pt 0in;&quot;&gt;

&lt;p class=&quot;MsoIntenseQuote&quot; style=&quot;margin-bottom: .25in; margin-left: 0in; margin-right: 0in; margin-top: .25in; margin: 0.25in 0in;&quot;&gt;&lt;span color=&quot;windowtext&quot; style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-no-proof: yes;&quot;&gt;&lt;v:shape id=&quot;Picture_x0020_37&quot; o:spid=&quot;_x0000_i1027&quot; style=&quot;height: 249.5pt; mso-wrap-style: square; visibility: visible; width: 400.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/Lomesh/AppData/Local/Temp/msohtmlclip1/01/clip_image008.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span color=&quot;windowtext&quot; style=&quot;background: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;Second if statement block:&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;In this, if block we will use the
three different operators two comparison operator that is less than “&amp;lt;”
comparison operator and “&amp;gt;” greater than comparison operator and last the
logical operator that is “&amp;amp;&amp;amp;” (and) operator&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;Condition:&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;If the temperature value is less than 50
degrees Celsius and If the temperature value is greater than 25 degrees Celsius
then pin 3 will be high and pin no 4 and pin no 2 will be Low. This will make
green-yellow LED turn on and other two LEDs will turn off this indicates the medium
temperature.&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-no-proof: yes;&quot;&gt;&lt;v:shape id=&quot;Picture_x0020_38&quot; o:spid=&quot;_x0000_i1026&quot; style=&quot;height: 227.5pt; mso-wrap-style: square; visibility: visible; width: 503.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/Lomesh/AppData/Local/Temp/msohtmlclip1/01/clip_image009.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;Third if statement block:&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;In this, if block we will use the
three different operators two comparison operator that is less than “&amp;lt;”
comparison operator and “&amp;gt;” greater than comparison operator and last the
logical operator that is “&amp;amp;&amp;amp;” (and) operator.&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;Condition:&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;If the temperature value is less than 125
degrees Celsius and If the temperature value is greater than 50 degrees Celsius
then pin 2 will be high and pin no 4 and pin no 2 will be Low. This will make
the green-yellow RED turn on and the other two LEDs will turn off this
indicates the high temperature.&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIdOxVl3P8sMiAoj8j_aLpwiZJVnidNWPpnfWGrUlE-AsgWsd22sYDD9v1bIfL4E_iTu-9sTIiJ9aXwHXQBk1UNkgpWRPQiJisMsoR1pY7MTpoXWtGRSvwhM7TUVmkjvJ68NMt4N1v4k8/s1007/c2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;455&quot; data-original-width=&quot;1007&quot; height=&quot;290&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIdOxVl3P8sMiAoj8j_aLpwiZJVnidNWPpnfWGrUlE-AsgWsd22sYDD9v1bIfL4E_iTu-9sTIiJ9aXwHXQBk1UNkgpWRPQiJisMsoR1pY7MTpoXWtGRSvwhM7TUVmkjvJ68NMt4N1v4k8/w640-h290/c2.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;div style=&quot;border-bottom: 1pt solid rgb(79, 129, 189); border-left: none; border-right: none; border-top: 1pt solid rgb(79, 129, 189); margin-left: 0.6in; margin-right: 0.6in; mso-border-bottom-alt: solid #4F81BD .5pt; mso-border-bottom-themecolor: accent1; mso-border-top-alt: solid #4F81BD .5pt; mso-border-top-themecolor: accent1; mso-element: para-border-div; padding: 10pt 0in;&quot;&gt;

&lt;p class=&quot;MsoIntenseQuote&quot; style=&quot;margin-bottom: .25in; margin-left: 0in; margin-right: 0in; margin-top: .25in; margin: 0.25in 0in;&quot;&gt;&lt;span color=&quot;windowtext&quot; style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-no-proof: yes;&quot;&gt;&lt;v:shape id=&quot;Picture_x0020_39&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 202.5pt; mso-wrap-style: square; visibility: visible; width: 434.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/Lomesh/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span color=&quot;windowtext&quot; style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;h3 style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;[ Note:&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;The logical operators
return TRUE or FALSE, which are defined as&amp;nbsp;&lt;em&gt;&lt;span style=&quot;font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;1&lt;/span&gt;&lt;/em&gt;&amp;nbsp;and&amp;nbsp;&lt;em&gt;&lt;span style=&quot;font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;0,&lt;/span&gt;&lt;/em&gt;&amp;nbsp;respectively, logical operators use where
needs to make the decision based on multiple conditions&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;p style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&amp;amp;&amp;amp; is the logical&amp;nbsp;&lt;em&gt;&lt;span style=&quot;font-family: Ebrima; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;and&lt;/span&gt;&lt;/em&gt;&amp;nbsp;operator: it returns a true value only when
if both the conditions are true and returns a false value when both the
conditions are false]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;Arduino Sketch:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; id=&quot;_x0000_t202&quot; o:spt=&quot;202&quot; path=&quot;m,l,21600r21600,l21600,xe&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot;&gt;
&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Text_x0020_Box_x0020_2&quot; o:gfxdata=&quot;UEsDBBQABgAIAAAAIQC75UiUBQEAAB4CAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbKSRvU7DMBSF
dyTewfKKEqcMCKEmHfgZgaE8wMW+SSwc27JvS/v23KTJgkoXFsu+P+c7Ol5vDoMTe0zZBl/LVVlJ
gV4HY31Xy4/tS3EvRSbwBlzwWMsjZrlprq/W22PELHjb51r2RPFBqax7HCCXIaLnThvSAMTP1KkI
+gs6VLdVdad08ISeCho1ZLN+whZ2jsTzgcsnJwldluLxNDiyagkxOquB2Knae/OLUsyEkjenmdzb
mG/YhlRnCWPnb8C898bRJGtQvEOiVxjYhtLOxs8AySiT4JuDystlVV4WPeM6tK3VaILeDZxIOSsu
ti/jidNGNZ3/J08yC1dNv9v8AAAA//8DAFBLAwQUAAYACAAAACEArTA/8cEAAAAyAQAACwAAAF9y
ZWxzLy5yZWxzhI/NCsIwEITvgu8Q9m7TehCRpr2I4FX0AdZk2wbbJGTj39ubi6AgeJtl2G9m6vYx
jeJGka13CqqiBEFOe2Ndr+B03C3WIDihMzh6RwqexNA281l9oBFTfuLBBhaZ4ljBkFLYSMl6oAm5
8IFcdjofJ0z5jL0MqC/Yk1yW5UrGTwY0X0yxNwri3lQgjs+Qk/+zfddZTVuvrxO59CNCmoj3vCwj
MfaUFOjRhrPHaN4Wv0VV5OYgm1p+LW1eAAAA//8DAFBLAwQUAAYACAAAACEAT8xdilkFAAC1VAAA
HwAAAGNsaXBib2FyZC9kcmF3aW5ncy9kcmF3aW5nMS54bWzsXG1P4zgQ/n7S/YdRPqzKCmiaNuVt
w4plFxaJA0RB+9lN3NY6x845bil7uv9yv+V+2Y2dlpYuu/eS8G0i0cbxMLHHT8aPp/G8ez/PJcy4
KYVWSdDZDQPgKtWZUOMkuL8729kPoLRMZUxqxZPgkZfB++Off3rHDseGFRORAmpQ5SFLgom1xWG7
XaYTnrNyVxdcYd1Im5xZLJpxOzPsATXnsh2FYb+dM6GC45Wqj8wymBrxP1RJnf7Ks1OmZqxElTI9
XL+yaKNM62tmh2p2bopBcWNcy9Or2Y0BkSUBWk6xHE0UtBcVCzEstjf+a7xSMB+Z3Mnr0QjmSRDv
deIQVT3iYHSiOIrCSh2fW0ixvh/ud7tOIEWJvU4/2sdCdcPJ9Y9VpJNP/6AEm1k1B0/WmlgWroFq
9m2fe/Gy03eugR/0HKKn7jtxsHO8iH3xw1wWlzhMJSh9OmFqzE+M0Q8TzrLSSVR2QoNW9/E2W96y
dLqGD7/oDA3MplZ7fQ3Z7qnb7LAwpT3nOgd3kgSGp9bfic0uS1s1cCnibFJqKbIzIaUvmPHwVBqY
MZkEZ/5Y9OmZmFTwkAQHcRRXNvmuitAfL6nIheUGpMiTAIcfj8rmzpKfVObRYJmQ1Tn2TioPQWdE
11A7H/gRdWOTPborQ/xGAxuNfUZsoT/Ak4k2XwN4wKc8CcrfpszwAOSFwrE66PR6KGZ9oRfvIUjB
rNcM12uYSlFVEtgAqtNTi6XQ917pExzMkVjYtmqHa5Es7cA+Su4741vrEJAzc+lbiCe3Sx1SDYrU
D0CR3qS2sn/HPUbeLr7/K4kPfLSUtWUli75oaeUiXdWfjOym5Jqcr0XdC5t6wxpsokRgJwFXO/cD
9Jxf3WOM6mHoEA7o2RZPwndHvduPzw6WD8Mz4PDRCOFY4RANxKxQYB8LPmIpPhSnLB8awQIomNIl
XgijsBfGYRf/emEfv7GMtcKmkzOWC+k8DDr3dMJMyf24e1tztqb0TuS8hCv+ALc6Z+qZ8sgrdcpj
VN39V8rT8tWU41Cg+d2A2WOhLFieF5BAeOScLw6kq/efFZicICGKEPWDZ2EdUX/9STAix4R+7r97
vXUYzbTIAL3ttGhtEaAIULUB9TuhiFBUG0WAtFC5tVXrJNyGi6ub+7st4k3ExN0aot6EBzDguCqR
u0M+Fqp10A9DQlZAyKqPLGLkBCMf5KjroJZTX28bru/vaOpz0UtyUPUd1IpUdQlZT3FxQlaTyIoI
WYSsmlH59fjUHxROoHBC7UUfUXMiUA1Qcx8sl1pTrJwIefV7dr2lHsXKiXw3Qb4XbxbkrGi1Wkzh
i3HjW3zzBmPnW7ADEX6+he5u2NvaBoymd8II1387PXcaxRT8pKmxganxKaxeGHzXRaqWwyRhi7DV
CLbECDyg4I20R4BOC2jqpKmziakTIBNjYZn8YvAV1haG3D9fnH8mx0WOqxHHtQEv5F2X118IXYSu
10AXxt4JXfRj4fJd+3qxCQAKvRPFaoJircj72JN3eMPy4sh/VHsiPKmPMUpBpJ4Q1wTiNlgXknqa
F2lebGpe3EAXcnpaMvodpuS8XsF5Ealf7F8mdDWBLiL1hKMmcPSc1Mfhy6Te/b5IrJ6iXa8R7SJW
TxPjWmaJutGub1k9rRlpzfhKa0Yk9bRmpDXjU1qcus6LWD2x+iZYfcYle2x1cEc0tNvw0ZWAYVov
ayWHocAcRhpEXhg941CKfOpSPmkFBTc+p55KOW3XoO0atbdrkDsjd1bfnb246Qf3lq2SDE5LPihu
MYVdlUexykKIEi69ZHsjYafP1LZIMOqygq6Xj/8GAAD//wMAUEsDBBQABgAIAAAAIQDhUTcfzwYA
AOYbAAAaAAAAY2xpcGJvYXJkL3RoZW1lL3RoZW1lMS54bWzsWc1v3EQUvyPxP4x8b7PfzUbdVNnN
bgNt2ijZFvU4a8/a04w91sxs0r2h9oiEhCiIA5W4cUBApVbiUv6aQBEUqf8Cb2ZsryfrkLSNoILm
kLWff/O+35uvy1fuxQwdECEpT3pe/WLNQyTxeUCTsOfdGo8urHpIKpwEmPGE9Lw5kd6V9fffu4zX
fEbTCcciGEckJggYJXIN97xIqXRtZUX6QMbyIk9JAt+mXMRYwasIVwKBD0FAzFYatVpnJcY08daB
o9KMhgz+JUpqgs/EnmZDUIJjkH5zOqU+Mdhgv64Rci4HTKADzHoe8Az44ZjcUx5iWCr40PNq5s9b
Wb+8gteyQUydMLY0bmT+snHZgGC/YWSKcFIIrY9a3UubBX8DYGoZNxwOB8N6wc8AsO+DpVaXMs/W
aLXez3mWQPZxmfeg1q61XHyJf3NJ526/3293M10sUwOyj60l/Gqt09poOHgDsvj2Er7V3xgMOg7e
gCy+s4QfXep2Wi7egCJGk/0ltA7oaJRxLyBTzrYq4asAX61l8AUKsqHILi1iyhN1Uq7F+C4XIwBo
IMOKJkjNUzLFPuTkAMcTQbEWgNcILn2xJF8ukbQsJH1BU9XzPkxx4pUgL599//LZE3R0/+nR/Z+O
Hjw4uv+jZeSM2sJJWB714tvP/nz0MfrjyTcvHn5RjZdl/K8/fPLLz59XA6F8FuY9//Lxb08fP//q
09+/e1gB3xB4UoaPaUwkukEO0S6PwTDjFVdzMhGvNmIcYVoesZGEEidYS6ngP1SRg74xxyyLjqNH
n7gevC2gfVQBr87uOgrvRWKmaIXka1HsALc5Z30uKr1wTcsquXk8S8Jq4WJWxu1ifFAle4ATJ77D
WQp9M09Lx/BBRBw1dxhOFA5JQhTS3/g+IRXW3aHU8es29QWXfKrQHYr6mFa6ZEwnTjYtBm3RGOIy
r7IZ4u34Zvs26nNWZfUmOXCRUBWYVSg/Jsxx41U8UziuYjnGMSs7/DpWUZWSe3Phl3FDqSDSIWEc
DQMiZdWYmwLsLQX9GoaOVRn2bTaPXaRQdL+K53XMeRm5yfcHEY7TKuweTaIy9gO5DymK0Q5XVfBt
7laIfoc44OTEcN+mxAn36d3gFg0dlRYJor/MhI4ltGqnA8c0+bt2zCj0Y5sD59eOoQE+//pRRWa9
rY14A+akqkrYOtZ+T8Idb7oDLgL69vfcTTxLdgik+fLE867lvmu53n++5Z5Uz2dttIveCm1Xrxvs
otgskeMTV8hTytiemjNyXZpFsoR5IhgBUY8zO0FS7JjSCB6zvu7gQoHNGCS4+oiqaC/CKSyw655m
EsqMdShRyiVs7Ay5krfGwyJd2W1hW28YbD+QWG3zwJKbmpzvCwo2ZrYJzeYzF9TUDM4qrHkpYwpm
v46wulbqzNLqRjXT6hxphckQw2XTgFh4ExYgCJYt4OUO7MW1aNiYYEYC7Xc79+ZhMVE4zxDJCAck
i5G2ezlGdROkPFfMSQDkTkWM9CbvFK+VpHU12zeQdpYglcW1ThCXR+9NopRn8CJKum6PlSNLysXJ
EnTY87rtRttDPk573hT2tPAYpxB1qdd8mIVwGuQrYdP+1GI2Vb6IZjc3zC2COhxTWL8vGez0gVRI
tYllZFPDfMpSgCVaktW/0Qa3npcBNtNfQ4vmKiTDv6YF+NENLZlOia/KwS5RtO/sa9ZK+UwRsRcF
h2jCZmIXQ/h1qoI9AZVwNGE6gn6BczTtbfPJbc5Z0ZVPrwzO0jFLI5y1W12ieSVbuKnjQgfzVlIP
bKvU3Rj36qaYkj8nU8pp/D8zRc8ncFLQDHQEfDiUFRjpeu15XKiIQxdKI+qPBCwcTO+AbIGzWPgM
SQUnyOZXkAP9a2vO8jBlDRs+tUtDJCjMRyoShOxAWzLZdwqzejZ3WZYsY2QyqqSuTK3aE3JA2Fj3
wI6e2z0UQaqbbpK1AYM7nn/ue1ZBk1Avcsr15vSQYu61NfBPr3xsMYNRbh82C5rc/4WKFbOqHW+G
53Nv2RD9YbHMauVVAcJKU0E3K/vXVOEVp1rbsZYsbrRz5SCKyxYDsVgQpXDeg/Q/mP+o8Jm9bdAT
6pjvQm9FcNGgmUHaQFZfsAsPpBukJU5g4WSJNpk0K+vabOmkvZZP1ue80i3kHnO21uws8X5FZxeL
M1ecU4vn6ezMw46vLe1EV0Nkj5cokKb5RsYEpurWaRunaBLWex7c/ECg78ET3B15QGtoWkPT4Aku
hGCxZG9xel72kFPgu6UUmGZOaeaYVk5p5ZR2ToHFWXZfklM60Kn0FQdcsekfD+W3GbCCy24/8qbq
XM2t/wUAAP//AwBQSwMEFAAGAAgAAAAhAJxmRkG7AAAAJAEAACoAAABjbGlwYm9hcmQvZHJhd2lu
Z3MvX3JlbHMvZHJhd2luZzEueG1sLnJlbHOEj80KwjAQhO+C7xD2btJ6EJEmvYjQq9QHCMk2LTY/
JFHs2xvoRUHwsjCz7DezTfuyM3liTJN3HGpaAUGnvJ6c4XDrL7sjkJSl03L2DjksmKAV201zxVnm
cpTGKSRSKC5xGHMOJ8aSGtHKRH1AVzaDj1bmIqNhQaq7NMj2VXVg8ZMB4otJOs0hdroG0i+hJP9n
+2GYFJ69elh0+UcEy6UXFqCMBjMHSldnnTUtXYGJhn39Jt4AAAD//wMAUEsBAi0AFAAGAAgAAAAh
ALvlSJQFAQAAHgIAABMAAAAAAAAAAAAAAAAAAAAAAFtDb250ZW50X1R5cGVzXS54bWxQSwECLQAU
AAYACAAAACEArTA/8cEAAAAyAQAACwAAAAAAAAAAAAAAAAA2AQAAX3JlbHMvLnJlbHNQSwECLQAU
AAYACAAAACEAT8xdilkFAAC1VAAAHwAAAAAAAAAAAAAAAAAgAgAAY2xpcGJvYXJkL2RyYXdpbmdz
L2RyYXdpbmcxLnhtbFBLAQItABQABgAIAAAAIQDhUTcfzwYAAOYbAAAaAAAAAAAAAAAAAAAAALYH
AABjbGlwYm9hcmQvdGhlbWUvdGhlbWUxLnhtbFBLAQItABQABgAIAAAAIQCcZkZBuwAAACQBAAAq
AAAAAAAAAAAAAAAAAL0OAABjbGlwYm9hcmQvZHJhd2luZ3MvX3JlbHMvZHJhd2luZzEueG1sLnJl
bHNQSwUGAAAAAAUABQBnAQAAwA8AAAAA
&quot; o:spid=&quot;_x0000_s1026&quot; style=&quot;height: 564pt; margin-left: 9pt; margin-top: 24.25pt; mso-height-percent: 0; mso-height-relative: margin; mso-position-horizontal-relative: text; mso-position-horizontal: absolute; mso-position-vertical-relative: text; mso-position-vertical: absolute; mso-width-percent: 0; mso-width-relative: margin; mso-wrap-distance-bottom: 3.6pt; mso-wrap-distance-left: 9pt; mso-wrap-distance-right: 9pt; mso-wrap-distance-top: 3.6pt; mso-wrap-style: square; position: absolute; v-text-anchor: top; visibility: visible; width: 479pt; z-index: 251666432;&quot; type=&quot;#_x0000_t202&quot;&gt;
 &lt;v:textbox&gt;
  &lt;!--[if !mso]--&gt;
  &lt;/v:textbox&gt;&lt;/v:shape&gt;&lt;/p&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;
   &lt;tbody&gt;&lt;tr&gt;
    &lt;td&gt;&lt;!--[endif]--&gt;
    &lt;div&gt;
    &lt;h4&gt;int temp = 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;void setup()&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;pinMode(A0, INPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Serial.begin(9600);&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;pinMode(4, OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;pinMode(3, OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;pinMode(2, OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;void loop()&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;temp = map(((analogRead(A0) -
    20) * 3.04), 0, 1023, -40, 125);&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Serial.println(temp);&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;if (temp &amp;lt; 25) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;digitalWrite(4, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;digitalWrite(3, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;digitalWrite(2, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;if (temp &amp;gt; 25 &amp;amp;&amp;amp;
    temp &amp;lt; 50) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;digitalWrite(4, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;digitalWrite(3, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;digitalWrite(2, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;if (temp &amp;gt; 50 &amp;amp;&amp;amp;
    temp &amp;lt; 125) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;digitalWrite(4, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;digitalWrite(3, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;digitalWrite(2, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;delay(10); // Delay a little
    bit to improve simulation performance&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;h4&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/h4&gt;
    &lt;/div&gt;
    &lt;!--[if !mso]--&gt;&lt;/td&gt;
   &lt;/tr&gt;
  &lt;/tbody&gt;&lt;/table&gt;
  &lt;!--[endif]--&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/4305222038769563843/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2021/12/interfacing-of-tmp36-temperature-sensor.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/4305222038769563843'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/4305222038769563843'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2021/12/interfacing-of-tmp36-temperature-sensor.html' title='Interfacing of TMP36 Temperature Sensor with an Arduino in Tinkerad.'/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM6a9Rc3eLZwksFARismfKhWw139-X27Jdb116ZB7OMQ29c_ot8V5Obswhxd9XYc2yrIVDMoJIEFo-tmgj_lbXBUSLxAQ54EDgVFIFaWanBBSG05DHYOOd8Oq7PvI6xZXN5kwFJxnFHkU/s72-w640-h342-c/tmpc.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-1585026929139758624</id><published>2021-03-19T11:21:00.004+05:30</published><updated>2021-03-19T11:22:59.748+05:30</updated><title type='text'>Security system using Arduino and Ultrasonic sensor </title><content type='html'>&lt;p style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&amp;nbsp;Security system using Arduino and Ultrasonic sensor&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Arduino Sketch for the same project is given below:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;//this code is created by Yogesh Bawane for my channel ImpulseTech.&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;//you will find arduino tutorial on this channel https://www.youtube.com/channel/UCHCzBGgDMjT3fOWCv1ruIdA&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;const int pingPin = 7; // Trigger Pin of Ultrasonic Sensor&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;const int echoPin = 6;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;int buzzer=5;// Echo Pin of Ultrasonic Sensor&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;void setup() {&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;Serial.begin(9600); // Starting Serial Terminal&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;pinMode(buzzer,OUTPUT);&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;}&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;void loop() {&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;long duration, inches, cm;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;pinMode(pingPin, OUTPUT);&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;digitalWrite(pingPin, LOW);&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;delayMicroseconds(2);&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;digitalWrite(pingPin, HIGH);&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;delayMicroseconds(10);&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;digitalWrite(pingPin, LOW);&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;pinMode(echoPin, INPUT);&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;duration = pulseIn(echoPin, HIGH);&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;inches = microsecondsToInches(duration);&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;cm = microsecondsToCentimeters(duration);&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;Serial.print(inches);&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;Serial.print(&quot;in, &quot;);&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;Serial.print(cm);&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;Serial.print(&quot;cm&quot;);&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;Serial.println();&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;delay(100);&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;if(cm&amp;lt;10)&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;{&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; digitalWrite(buzzer,HIGH);&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; }&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; else&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; {&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; digitalWrite(buzzer,LOW);&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;}&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;long microsecondsToInches(long microseconds) {&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;return microseconds / 74 / 2;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;}&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;long microsecondsToCentimeters(long microseconds) {&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp; &amp;nbsp;return microseconds / 29 / 2;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;}&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: ebrima;&quot;&gt;&lt;b&gt;Like share and comment :&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;Our FaceBook Page&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #0000ee; font-family: ebrima;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimkCWpffD7Ywq8mm62jAvOtqXR26oISh8jpC4Vjq97L_ciWudutPBmLnfeF82jV1LONpZVmG_cKSkCGtcevJlzlzhFatNkmURxhaUTv9KOfRblbqHFuxPWcekU4_HhlOXpSZtN6ueF3Rs/s225/download.png&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;225&quot; data-original-width=&quot;225&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimkCWpffD7Ywq8mm62jAvOtqXR26oISh8jpC4Vjq97L_ciWudutPBmLnfeF82jV1LONpZVmG_cKSkCGtcevJlzlzhFatNkmURxhaUTv9KOfRblbqHFuxPWcekU4_HhlOXpSZtN6ueF3Rs/w200-h200/download.png&quot; style=&quot;border: 0px; height: auto; max-width: 100%;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b style=&quot;text-align: left;&quot;&gt;&lt;a href=&quot;https://www.youtube.com/channel/UCHCzBGgDMjT3fOWCv1ruIdA&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;Our Youtube Channel.&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimPUqdQ-CnXbCOatulDLkn1fFERkAVSdRY-OP55K0OY_mDGItsU8krOA6qSZAdkzCbZ70tMedSJm5RyB1j0wuOHP7f6UR54-fllVFV9Zb-lU_WwmMlpbBo3CPwTwBBlxqH-bOaEWHpKT4/s512/58e9197deb97430e819064f8.png&quot; style=&quot;background: transparent; clear: left; color: #25a186; cursor: pointer; float: left; margin-bottom: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimPUqdQ-CnXbCOatulDLkn1fFERkAVSdRY-OP55K0OY_mDGItsU8krOA6qSZAdkzCbZ70tMedSJm5RyB1j0wuOHP7f6UR54-fllVFV9Zb-lU_WwmMlpbBo3CPwTwBBlxqH-bOaEWHpKT4/s512/58e9197deb97430e819064f8.png&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;512&quot; data-original-width=&quot;512&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimPUqdQ-CnXbCOatulDLkn1fFERkAVSdRY-OP55K0OY_mDGItsU8krOA6qSZAdkzCbZ70tMedSJm5RyB1j0wuOHP7f6UR54-fllVFV9Zb-lU_WwmMlpbBo3CPwTwBBlxqH-bOaEWHpKT4/w200-h200/58e9197deb97430e819064f8.png&quot; style=&quot;border: 0px; height: auto; max-width: 100%;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/b&gt;&lt;/span&gt;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; font-family: ebrima; font-size: 16px; font-weight: bold; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;b style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;For Any&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;font-family: ebrima;&quot;&gt;&lt;b&gt;queries&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&amp;nbsp;please contact:&lt;/b&gt;&lt;/div&gt;&lt;h4 style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin: 1em 0px 0in;&quot;&gt;&lt;span style=&quot;font-family: ebrima;&quot;&gt;impulseTech101@gmail.com&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/1585026929139758624/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2021/03/security-system-using-arduino-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/1585026929139758624'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/1585026929139758624'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2021/03/security-system-using-arduino-and.html' title='Security system using Arduino and Ultrasonic sensor '/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimkCWpffD7Ywq8mm62jAvOtqXR26oISh8jpC4Vjq97L_ciWudutPBmLnfeF82jV1LONpZVmG_cKSkCGtcevJlzlzhFatNkmURxhaUTv9KOfRblbqHFuxPWcekU4_HhlOXpSZtN6ueF3Rs/s72-w200-h200-c/download.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-9094160037019887689</id><published>2021-03-02T15:33:00.003+05:30</published><updated>2021-12-24T09:54:33.376+05:30</updated><title type='text'>LED brightness control using Arduino and potentiometer in tinkercad</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;LED brightness control
using Arduino and potentiometer.&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #414042;&quot;&gt;In this
tutorial, we are controlling the LED brightness using the potentiometer. This is
an easy tutorial for demonstrating how can we control the brightness of an LED
or adjust the speed of a DC motor using Arduino Board, and potentiometer. in
this tutorial we have used the three LEDs yellow, blue, green to control the
brightness of the same.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Circuit Diagram:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7QZxkR35Zql4qAHULwXPX2fo1giDsX1cDWMN-2XXqoIHGofnOuuUUa6Q4NOZcJ29O7pE9FBDK1gvK0c2a2ip8KKZCOP5y2043d2TooG7xyJHi65FUbSui9EocIP2oOrJD7iHZBrNoMfo/s702/Neat+Amur.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;542&quot; data-original-width=&quot;702&quot; height=&quot;494&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7QZxkR35Zql4qAHULwXPX2fo1giDsX1cDWMN-2XXqoIHGofnOuuUUa6Q4NOZcJ29O7pE9FBDK1gvK0c2a2ip8KKZCOP5y2043d2TooG7xyJHi65FUbSui9EocIP2oOrJD7iHZBrNoMfo/w640-h494/Neat+Amur.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;Components Required:&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Arduino
UNO&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Yellow
LED &lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Blue LED&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Green LED&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Potentiometer
10K&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Connecting
wires&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;Connection:&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;The
hardware part of this project is very simple and easy to place together. First
of all, make the connections for LEDs with the Arduino. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Connect
the anode of the yellow LED to the digital pin12 of an Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Connect
the anode of the Blue LED to the digital pin 8 of an Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Connect
the anode of the Green LED to the digital pin 4 of an Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Connect
the cathode pin of all LEDs to the GND pin of an Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Let’s
do the connection for the potentiometer now,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Connect
the terminal-1 of the potentiometer to the GND of an Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Connect
the terminal-2 of the potentiometer to the +5V of an Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Connect
the middle terminal of the potentiometer to the analog input A0 of an Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;h2 style=&quot;background: white; line-height: 14.4pt; margin-bottom: 9.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; margin: 0in 0in 9pt;&quot;&gt;&lt;span style=&quot;font-family: Ebrima;&quot;&gt;What is a Potentiometer?&lt;/span&gt;&lt;span color=&quot;windowtext&quot; style=&quot;font-family: Ebrima; mso-color-alt: windowtext;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;A potentiometer (also called the pot) it’s a 3 terminal variable
resistor in which the resistance is manually controlled or varied by rotating
the nob clockwise or anticlockwise. Thus by varying resistance, we can able to produce
the changing voltage output.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;



&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_3075&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 256.5pt; mso-wrap-style: square; visibility: visible; width: 256.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/Lomesh/AppData/Local/Temp/msohtmlclip1/01/clip_image001.jpg&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;v:shape id=&quot;Picture_x0020_2075&quot; o:spid=&quot;_x0000_s1026&quot; style=&quot;height: 222pt; margin-left: 0px; margin-top: 0px; mso-position-horizontal-relative: text; mso-position-horizontal: left; mso-position-vertical-relative: text; mso-position-vertical: top; mso-wrap-distance-bottom: 0; mso-wrap-distance-left: 9pt; mso-wrap-distance-right: 9pt; mso-wrap-distance-top: 0; mso-wrap-style: square; position: absolute; visibility: visible; width: 215.5pt; z-index: 251689984;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/Lomesh/AppData/Local/Temp/msohtmlclip1/01/clip_image002.jpg&quot;&gt;
 &lt;w:wrap type=&quot;square&quot;&gt;
&lt;/w:wrap&gt;&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLJEXPYWM7j56DbfgIEvnrsxeLPuAcQS8khh1D5fUZ-U4kkDP4kN2R3O0CroDuw1QNPJQmQFORtt7WZMcecD-guimrNuOAY9oa56Dc8kwpY50K4FPk9hr5f5_TBvHGhriCmk0vLIf2x9g/s296/What-is-a-Potentiometer.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;296&quot; data-original-width=&quot;287&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLJEXPYWM7j56DbfgIEvnrsxeLPuAcQS8khh1D5fUZ-U4kkDP4kN2R3O0CroDuw1QNPJQmQFORtt7WZMcecD-guimrNuOAY9oa56Dc8kwpY50K4FPk9hr5f5_TBvHGhriCmk0vLIf2x9g/s0/What-is-a-Potentiometer.jpg&quot; /&gt;&lt;/a&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGnUKzAFPAR8Peh_ScJ0sznvrnuPdiCrYOLEXcxL8s284Kofzqe8lNO2HdXYoOdAIpv_e9Zt3bm83K5FEqlsQARzr_k-hlACywa81sTM8sP891iEGZ93-FOjaWabwNfcgOWE5hbycXaY8/s342/31ALofIyvBL._SX342_.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;342&quot; data-original-width=&quot;342&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGnUKzAFPAR8Peh_ScJ0sznvrnuPdiCrYOLEXcxL8s284Kofzqe8lNO2HdXYoOdAIpv_e9Zt3bm83K5FEqlsQARzr_k-hlACywa81sTM8sP891iEGZ93-FOjaWabwNfcgOWE5hbycXaY8/s320/31ALofIyvBL._SX342_.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;background: white; line-height: 14.4pt; margin-bottom: 9.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; margin: 0in 0in 9pt;&quot;&gt;&lt;span style=&quot;font-family: Ebrima;&quot;&gt;Applications of Potentiometer:&lt;/span&gt;&lt;span color=&quot;windowtext&quot; style=&quot;font-family: Ebrima; mso-color-alt: windowtext;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;following are the practical application of the potentiometer.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;ol start=&quot;1&quot; style=&quot;margin-top: 0in;&quot; type=&quot;1&quot;&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;background: white; color: #444444; line-height: normal; margin-bottom: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; vertical-align: baseline;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-size: 10.5pt;&quot;&gt;The&amp;nbsp;pot
     is used as a voltage divider in many electronic circuitries.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;background: white; color: #444444; line-height: normal; margin-bottom: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; vertical-align: baseline;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;&quot;&gt;The potentiometer is used in radio, television, and media
     players for volume control&lt;/span&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; vertical-align: baseline;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: #444444; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Potentiometers are widely used in sound
     controls in various amplifiers.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 15.0pt; margin-left: 0in; margin-right: 0in; margin-top: 15.0pt; margin: 15pt 0in; mso-outline-level: 3; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Working on the project:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;rtejustify&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span face=&quot;Calibri, sans-serif&quot; style=&quot;font-size: 11pt;&quot;&gt;As per the circuit diagram, the output
voltage of the potentiometer is connected to the analog input pin A0 of an Arduino.
The potentiometer gives the Analog output when it is rotated. The output of the potentiometer
is stored in a variable named inputval&lt;/span&gt;.
Three LEDs are connected to the digital pin 12,8,4 respectively.&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Whenever the pot rotated clockwise the output voltage increases
thus the brightness of all three LEDs also increases.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Whenever the pot rotated anticlockwise the output voltage
decreases thus the brightness of all three LEDs also decreases.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Arduino
Code Explanation:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Define
the LED and pot pin led1 is connected to pin 12, led2 is connected to pin 8, led3 is connected to pin 4, and the pot is connected to the analog input A0.
Declare the variable name inputval and set it to “0”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;int led1=12;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;int led2=8;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;int led3=4;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;int pot=A0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;int inputval=0;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #4f81bd; mso-themecolor: accent1;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;Inside the
void setup, we will define the pin which are input and which are output pins,
this set of code runs only once.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;void setup()&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;pinMode(led1,OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;pinMode(led2,OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;pinMode(led3,OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;pinMode(pot,INPUT);&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in;&quot;&gt;the code
inside the void loop runs over and over as long as the Arduino Board is turned
on.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in;&quot;&gt;&amp;nbsp;Here
inside the loop store the pot value in the variable named potval.&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i style=&quot;color: #548dd4;&quot;&gt;void loop()&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;i&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;i&gt;&amp;nbsp; inputval=analogRead(pot);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;i&gt;&amp;nbsp; analogWrite(led1,inputval);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;i&gt;&amp;nbsp; analogWrite(led2,inputval);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;i&gt;&amp;nbsp; analogWrite(led3,inputval);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;i&gt;&amp;nbsp; delay (100);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;i&gt;}&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Here we have to use the analogWrite function for all 3 LEDs to
control the brightness.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;Watch Working Video:&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;337&quot; src=&quot;https://www.youtube.com/embed/P8Y1V_yXuQg&quot; width=&quot;569&quot; youtube-src-id=&quot;P8Y1V_yXuQg&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;color: #1a1a1a; margin: 0in;&quot;&gt;&lt;b style=&quot;background-color: #d9ead3;&quot;&gt;Thanks for subscribing to my Youtube channel, here is the good news for you!! now you can join my Udemy course for FREE. fill the below form and you will receive the free Udemy coupon code in your mail. Click on the below link.&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;color: #1a1a1a; margin: 0in;&quot;&gt;&lt;b style=&quot;background-color: #d9ead3;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;color: #1a1a1a; margin: 0in;&quot;&gt;&lt;b style=&quot;background-color: #d9ead3;&quot;&gt;&lt;a href=&quot;Thanks for subscribing to my Youtube channel, here is the good news for you!! now you can join my Udemy course for FREE. fill the below form and you will receive the free Udemy coupon code in your mail. click on below link.  https://docs.google.com/forms/d/e/1FAIpQLSfY7sanjTlF6qgfFOo5mY68J8izOklnZ_f5-fJ3ecuQFsImmw/viewform?usp=sf_link&quot;&gt;FREE Udemy course&lt;/a&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;color: #1a1a1a;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;i&gt;https://docs.google.com/forms/d/e/1FAIpQLSfY7sanjTlF6qgfFOo5mY68J8izOklnZ_f5-fJ3ecuQFsImmw/viewform?usp=sf_link&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;color: #1a1a1a;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;Arduino Sketch:&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;int led1=12;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;int led2=8;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;int led3=4;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;int pot=A0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;int inputval=0;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;void setup()&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;pinMode(led1,OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;pinMode(led2,OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;pinMode(led3,OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;pinMode(pot,INPUT);&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;}&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4;&quot;&gt;&lt;i&gt;void loop()&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4;&quot;&gt;&lt;i&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;inputval=analogRead(pot);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;analogWrite(led1,inputval);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;analogWrite(led2,inputval);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;analogWrite(led3,inputval);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;delay (100);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4;&quot;&gt;&lt;i&gt;}&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: ebrima;&quot;&gt;&lt;b&gt;Like share and comment :&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;Our FaceBook Page&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #0000ee; font-family: ebrima;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimkCWpffD7Ywq8mm62jAvOtqXR26oISh8jpC4Vjq97L_ciWudutPBmLnfeF82jV1LONpZVmG_cKSkCGtcevJlzlzhFatNkmURxhaUTv9KOfRblbqHFuxPWcekU4_HhlOXpSZtN6ueF3Rs/s225/download.png&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;225&quot; data-original-width=&quot;225&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimkCWpffD7Ywq8mm62jAvOtqXR26oISh8jpC4Vjq97L_ciWudutPBmLnfeF82jV1LONpZVmG_cKSkCGtcevJlzlzhFatNkmURxhaUTv9KOfRblbqHFuxPWcekU4_HhlOXpSZtN6ueF3Rs/w200-h200/download.png&quot; style=&quot;border: 0px; height: auto; max-width: 100%;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b style=&quot;text-align: left;&quot;&gt;&lt;a href=&quot;https://www.youtube.com/channel/UCHCzBGgDMjT3fOWCv1ruIdA&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;Our Youtube Channel.&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimPUqdQ-CnXbCOatulDLkn1fFERkAVSdRY-OP55K0OY_mDGItsU8krOA6qSZAdkzCbZ70tMedSJm5RyB1j0wuOHP7f6UR54-fllVFV9Zb-lU_WwmMlpbBo3CPwTwBBlxqH-bOaEWHpKT4/s512/58e9197deb97430e819064f8.png&quot; style=&quot;background: transparent; clear: left; color: #25a186; cursor: pointer; float: left; margin-bottom: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimPUqdQ-CnXbCOatulDLkn1fFERkAVSdRY-OP55K0OY_mDGItsU8krOA6qSZAdkzCbZ70tMedSJm5RyB1j0wuOHP7f6UR54-fllVFV9Zb-lU_WwmMlpbBo3CPwTwBBlxqH-bOaEWHpKT4/s512/58e9197deb97430e819064f8.png&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;512&quot; data-original-width=&quot;512&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimPUqdQ-CnXbCOatulDLkn1fFERkAVSdRY-OP55K0OY_mDGItsU8krOA6qSZAdkzCbZ70tMedSJm5RyB1j0wuOHP7f6UR54-fllVFV9Zb-lU_WwmMlpbBo3CPwTwBBlxqH-bOaEWHpKT4/w200-h200/58e9197deb97430e819064f8.png&quot; style=&quot;border: 0px; height: auto; max-width: 100%;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/b&gt;&lt;/span&gt;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; font-family: ebrima; font-size: 16px; font-weight: bold; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;b style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;For any&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;font-family: ebrima;&quot;&gt;&lt;b&gt;queries&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&amp;nbsp;please contact:&lt;/b&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin: 1em 0px 0in;&quot;&gt;&lt;span style=&quot;font-family: ebrima;&quot;&gt;impulseTech101@gmail.com&lt;/span&gt;&lt;/h4&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;br clear=&quot;all&quot; /&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/9094160037019887689/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2021/03/led-brightness-control-using-arduino.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/9094160037019887689'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/9094160037019887689'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2021/03/led-brightness-control-using-arduino.html' title='LED brightness control using Arduino and potentiometer in tinkercad'/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7QZxkR35Zql4qAHULwXPX2fo1giDsX1cDWMN-2XXqoIHGofnOuuUUa6Q4NOZcJ29O7pE9FBDK1gvK0c2a2ip8KKZCOP5y2043d2TooG7xyJHi65FUbSui9EocIP2oOrJD7iHZBrNoMfo/s72-w640-h494-c/Neat+Amur.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-9063005958259811713</id><published>2021-03-02T15:23:00.003+05:30</published><updated>2021-03-02T15:23:45.225+05:30</updated><title type='text'>Interfacing Seven segment display with Arduino in tinkercad</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12.0pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Interfacing &lt;span style=&quot;color: #333333;&quot;&gt;Seven
segment display with Arduino&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin-bottom: 19.5pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;color: black; font-family: Ebrima; mso-bidi-font-family: Arial;&quot;&gt;In this project, we will interface seven segment display
with an Arduino &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin-bottom: 19.5pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: Ebrima; mso-bidi-font-family: Arial;&quot;&gt;For various application in day-to-day life, we need
display to show the values and much more things, and there is no point to use
expensive OLED and LCDs available in the market. Then what is the solution for
this so we are having less expensive display and that is a simple seven-segment
display. It is mainly use to display the numbers and some alphabets. Seven
segment display has 7 LEDs which are arranged in the shape of 8. See the image
below.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white; margin-bottom: 19.5pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: Ebrima; mso-bidi-font-family: Arial;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjIMz7K6HHVnu_Xnx3tbVyeDIO8C32sZSg5WA680HqBkySgpQAZtsPAGpSIABLlh57Wy3BqTlMJjtg8MIVKEzdjyraWJjh5msEBhf0Fvb0SL4FmKynYvlqSUJbwjhiL6Z5cWMS6jGeICU/s342/41Araxi2mwL._SX342_.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;342&quot; data-original-width=&quot;342&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjIMz7K6HHVnu_Xnx3tbVyeDIO8C32sZSg5WA680HqBkySgpQAZtsPAGpSIABLlh57Wy3BqTlMJjtg8MIVKEzdjyraWJjh5msEBhf0Fvb0SL4FmKynYvlqSUJbwjhiL6Z5cWMS6jGeICU/w400-h400/41Araxi2mwL._SX342_.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Circuit Diagram:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfWWwalqBQhdiucQLUHyCim0Q6uNCz6xHDips4etMqpiVD3JBIufGvN89TTCM2koo_6DaFqSa2lwhGbrXFsMBkPVrfjrVT7P2a2GVRWi3oeFs9ddDQO9wLbADWw-OpN4PyBYkukPIFG18/s637/7_segment_with_arduino.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;542&quot; data-original-width=&quot;637&quot; height=&quot;544&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfWWwalqBQhdiucQLUHyCim0Q6uNCz6xHDips4etMqpiVD3JBIufGvN89TTCM2koo_6DaFqSa2lwhGbrXFsMBkPVrfjrVT7P2a2GVRWi3oeFs9ddDQO9wLbADWw-OpN4PyBYkukPIFG18/w640-h544/7_segment_with_arduino.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;Components Required:&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;background: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Arduino
UNO&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Seven
Segment Display&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Resistors
-02&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Connecting
wires&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;Connection:&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;background: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; font-family: Ebrima; font-size: 12.0pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;The hardware a part of this project
looks quite messy but if we go step by step its simple and easy to place
together. First of all, we make the connections for the 7-segment display with
the Arduino. The connections for 7-segments with the Arduino given in the above
circuit diagram and below table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; font-family: Ebrima; font-size: 12.0pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;7 segment display has 5 pins on
upper side and 5 pins on downside.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; font-family: Ebrima; font-size: 12.0pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Total 7-segment that is &lt;b&gt;a,b,c,d,e,f,g
see the picture below&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9wdy0DaPYVY6LWB6Mi-llNtIAZTQUN9ibBZSUYJaF_edXSNdrhXE_XN5JiFcBTeHGvSaqnfA40BG1YMMqUffoZON59EFpQz3c91mT2xe91yc9eRDhuo7rDVuAX0MSFkKRscgi0doPS2U/s390/configuration.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;278&quot; data-original-width=&quot;390&quot; height=&quot;228&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9wdy0DaPYVY6LWB6Mi-llNtIAZTQUN9ibBZSUYJaF_edXSNdrhXE_XN5JiFcBTeHGvSaqnfA40BG1YMMqUffoZON59EFpQz3c91mT2xe91yc9eRDhuo7rDVuAX0MSFkKRscgi0doPS2U/w320-h228/configuration.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;background: white; margin-bottom: 19.5pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;

















&lt;span style=&quot;color: #666666; font-family: Ebrima; mso-bidi-font-family: Arial;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;h3 style=&quot;background: white; margin: 0in 0in 12pt; text-align: left;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;Types
of 7-segment display: there are two types of display available in market that
is common anode and common cathode. In this tutorial we are using the common
anode type of display.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.5pt; text-align: left;&quot;&gt;&lt;span style=&quot;color: #414042; font-family: Ebrima; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;There is bit difference
in both the displays as their name suggest that the common cathode type of
display has all the cathodes of the 7-segments connected at one place. And same
for the common anode type of display the anodes of the 7-segments connected at
one place.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraph&quot; style=&quot;line-height: normal; margin-bottom: 7.5pt; text-align: left; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;span style=&quot;color: #414143; font-family: Ebrima; font-size: 12.0pt; mso-bidi-font-family: Ebrima; mso-fareast-font-family: Ebrima;&quot;&gt;1.&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span style=&quot;color: #414143; font-family: Ebrima; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;The Common Cathode
displays.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.5pt; text-align: left;&quot;&gt;

&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.5pt; text-align: left;&quot;&gt;&lt;span style=&quot;color: #414042; font-family: Ebrima; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;In the common
cathode type of display, all the cathode connects together to logic “0” or GND.
The individual segments are turned on using “HIGH”, or logic “1”.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.5pt; text-align: left;&quot;&gt;&lt;b&gt;&lt;span class=&quot;mtxt&quot; style=&quot;text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #414143; font-family: Ebrima; font-size: 12pt;&quot;&gt;The Common Anode&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;mtxt&quot; style=&quot;text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #414143; font-family: Ebrima; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;mtxt&quot; style=&quot;text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #414143; font-family: Ebrima; font-size: 12pt;&quot;&gt;displays&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;/div&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #414042; font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;&amp;nbsp;In the common anode
type of display, all the anode terminals connected together to logic “1”. The
individual segments are turned on using the, logic “0” or “LOW” digital signal.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;br /&gt;&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;Connection:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;In this tutorial we are using common
anode type of display.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;table align=&quot;left&quot; border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;background: white; border-collapse: collapse; border: none; margin-left: 6.75pt; margin-right: 6.75pt; mso-border-alt: solid #E2E8F0 .75pt; mso-table-anchor-horizontal: margin; mso-table-anchor-vertical: page; mso-table-left: left; mso-table-lspace: 9.0pt; mso-table-rspace: 9.0pt; mso-table-top: 414.7pt; mso-yfti-tbllook: 1184; width: 677px;&quot;&gt;
 &lt;tbody&gt;&lt;tr style=&quot;height: 23.7pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;background: #EDF2F7; border: solid #E2E8F0 1.0pt; height: 23.7pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-bottom-alt: solid #E2E8F0 .75pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt; width: 175.35pt;&quot; width=&quot;234&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;Seven segment pins&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;background: #EDF2F7; border-left: none; border: solid #E2E8F0 1.0pt; height: 23.7pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-bottom-alt: solid #E2E8F0 .75pt; mso-border-left-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt; width: 166.85pt;&quot; width=&quot;222&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;Arduino pins&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;background: #EDF2F7; border-left: none; border: solid #E2E8F0 1.0pt; height: 23.7pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-bottom-alt: solid #E2E8F0 .75pt; mso-border-left-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt;&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;Wire Color&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style=&quot;height: 23.15pt; mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid #E2E8F0 1.0pt; height: 23.15pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt; width: 175.35pt;&quot; width=&quot;234&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;A&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E2E8F0 1.0pt; border-left: none; border-right: solid #E2E8F0 1.0pt; border-top: none; height: 23.15pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-left-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt; width: 166.85pt;&quot; width=&quot;222&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E2E8F0 1.0pt; border-left: none; border-right: solid #E2E8F0 1.0pt; border-top: none; height: 23.15pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-left-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt;&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;Black&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style=&quot;height: 23.7pt; mso-yfti-irow: 2;&quot;&gt;
  &lt;td style=&quot;background: #F7FAFC; border-top: none; border: solid #E2E8F0 1.0pt; height: 23.7pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt; width: 175.35pt;&quot; width=&quot;234&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;B&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;background: #F7FAFC; border-bottom: solid #E2E8F0 1.0pt; border-left: none; border-right: solid #E2E8F0 1.0pt; border-top: none; height: 23.7pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-left-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt; width: 166.85pt;&quot; width=&quot;222&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;background: #F7FAFC; border-bottom: solid #E2E8F0 1.0pt; border-left: none; border-right: solid #E2E8F0 1.0pt; border-top: none; height: 23.7pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-left-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt;&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;Yellow&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style=&quot;height: 23.7pt; mso-yfti-irow: 3;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid #E2E8F0 1.0pt; height: 23.7pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt; width: 175.35pt;&quot; width=&quot;234&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;C&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E2E8F0 1.0pt; border-left: none; border-right: solid #E2E8F0 1.0pt; border-top: none; height: 23.7pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-left-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt; width: 166.85pt;&quot; width=&quot;222&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E2E8F0 1.0pt; border-left: none; border-right: solid #E2E8F0 1.0pt; border-top: none; height: 23.7pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-left-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt;&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;Purple&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style=&quot;height: 23.15pt; mso-yfti-irow: 4;&quot;&gt;
  &lt;td style=&quot;background: #F7FAFC; border-top: none; border: solid #E2E8F0 1.0pt; height: 23.15pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt; width: 175.35pt;&quot; width=&quot;234&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;D&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;background: #F7FAFC; border-bottom: solid #E2E8F0 1.0pt; border-left: none; border-right: solid #E2E8F0 1.0pt; border-top: none; height: 23.15pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-left-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt; width: 166.85pt;&quot; width=&quot;222&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;background: #F7FAFC; border-bottom: solid #E2E8F0 1.0pt; border-left: none; border-right: solid #E2E8F0 1.0pt; border-top: none; height: 23.15pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-left-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt;&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;Turquoise&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style=&quot;height: 23.7pt; mso-yfti-irow: 5;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid #E2E8F0 1.0pt; height: 23.7pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt; width: 175.35pt;&quot; width=&quot;234&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;E&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E2E8F0 1.0pt; border-left: none; border-right: solid #E2E8F0 1.0pt; border-top: none; height: 23.7pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-left-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt; width: 166.85pt;&quot; width=&quot;222&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;6&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E2E8F0 1.0pt; border-left: none; border-right: solid #E2E8F0 1.0pt; border-top: none; height: 23.7pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-left-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt;&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;Brown&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style=&quot;height: 23.7pt; mso-yfti-irow: 6;&quot;&gt;
  &lt;td style=&quot;background: #F7FAFC; border-top: none; border: solid #E2E8F0 1.0pt; height: 23.7pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt; width: 175.35pt;&quot; width=&quot;234&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;F&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;background: #F7FAFC; border-bottom: solid #E2E8F0 1.0pt; border-left: none; border-right: solid #E2E8F0 1.0pt; border-top: none; height: 23.7pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-left-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt; width: 166.85pt;&quot; width=&quot;222&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;7&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;background: #F7FAFC; border-bottom: solid #E2E8F0 1.0pt; border-left: none; border-right: solid #E2E8F0 1.0pt; border-top: none; height: 23.7pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-left-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt;&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;Pink&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style=&quot;height: 23.15pt; mso-yfti-irow: 7;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid #E2E8F0 1.0pt; height: 23.15pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt; width: 175.35pt;&quot; width=&quot;234&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;G&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E2E8F0 1.0pt; border-left: none; border-right: solid #E2E8F0 1.0pt; border-top: none; height: 23.15pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-left-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt; width: 166.85pt;&quot; width=&quot;222&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E2E8F0 1.0pt; border-left: none; border-right: solid #E2E8F0 1.0pt; border-top: none; height: 23.15pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-left-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt;&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;Orange&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style=&quot;height: 23.7pt; mso-yfti-irow: 8;&quot;&gt;
  &lt;td style=&quot;background: #F7FAFC; border-top: none; border: solid #E2E8F0 1.0pt; height: 23.7pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt; width: 175.35pt;&quot; width=&quot;234&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;Dp&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;background: #F7FAFC; border-bottom: solid #E2E8F0 1.0pt; border-left: none; border-right: solid #E2E8F0 1.0pt; border-top: none; height: 23.7pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-left-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt; width: 166.85pt;&quot; width=&quot;222&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;background: #F7FAFC; border-bottom: solid #E2E8F0 1.0pt; border-left: none; border-right: solid #E2E8F0 1.0pt; border-top: none; height: 23.7pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-left-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt;&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;blue&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style=&quot;height: 23.7pt; mso-yfti-irow: 9; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid #E2E8F0 1.0pt; height: 23.7pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt; width: 175.35pt;&quot; width=&quot;234&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;Common pin 3 &amp;amp; 8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E2E8F0 1.0pt; border-left: none; border-right: solid #E2E8F0 1.0pt; border-top: none; height: 23.7pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-left-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt; width: 166.85pt;&quot; width=&quot;222&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;+5V&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E2E8F0 1.0pt; border-left: none; border-right: solid #E2E8F0 1.0pt; border-top: none; height: 23.7pt; mso-border-alt: solid #E2E8F0 .25pt; mso-border-left-alt: solid #E2E8F0 .25pt; mso-border-top-alt: solid #E2E8F0 .25pt; padding: 3.0pt 6.0pt 3.0pt 6.0pt;&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;Connected using&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 9.0pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: page; mso-element-frame-hspace: 9.0pt; mso-element-top: 414.7pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, sans-serif; font-size: 13.5pt;&quot;&gt;resistor&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;Pin no 3 &amp;amp; 8 connected to the +5V
through resistor.&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;br /&gt;&lt;/h3&gt;&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;For displaying the numbers coding
explanation.&lt;/h3&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfuI-gN7-NqJDps0HAg4YjSR1-CXGlyPI6OlgU4OmbHIBzqVsP-JWHP_sQZMTaDwoeyn08OG1Nq6AZw92iqetb0Qwl3C_Ex1nFTyLh_fP7VatXS139fNkutoS21FmzuXT-_ndNLbSH4_I/s564/articles-segment3.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;98&quot; data-original-width=&quot;564&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfuI-gN7-NqJDps0HAg4YjSR1-CXGlyPI6OlgU4OmbHIBzqVsP-JWHP_sQZMTaDwoeyn08OG1Nq6AZw92iqetb0Qwl3C_Ex1nFTyLh_fP7VatXS139fNkutoS21FmzuXT-_ndNLbSH4_I/s16000/articles-segment3.gif&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;h3 style=&quot;background: white; margin: 0in 0in 12pt; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;background: white; margin: 0in 0in 12pt; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;background: white; margin: 0in 0in 12pt; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 14pt;&quot;&gt;Case 1: to display “0”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin: 0in 0in 12pt; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;For displaying 1 on
the 7-segment display we need to turn on following segments&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin: 0in 0in 12pt 31.5pt; text-align: left; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 12pt; font-weight: normal;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;a,b,c,d,e,f segment “g” turned off&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgugl0AkQdYmxwLsSJQ0noJM1DG-AqMqVfKONdGaLHCb8S5maWHXblMJ4WS_6P-NKHHD_suBUUMmYRwftOAeqOjkgPn8NjOSQGEI7r2-dhIy7gZAVhyphenhyphenKF7A535CpFHUQktLoDPKu9dRYno/s556/7for0.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;556&quot; data-original-width=&quot;392&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgugl0AkQdYmxwLsSJQ0noJM1DG-AqMqVfKONdGaLHCb8S5maWHXblMJ4WS_6P-NKHHD_suBUUMmYRwftOAeqOjkgPn8NjOSQGEI7r2-dhIy7gZAVhyphenhyphenKF7A535CpFHUQktLoDPKu9dRYno/w283-h400/7for0.png&quot; width=&quot;283&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;

&lt;h3 style=&quot;background: white; margin: 0in 0in 12pt; text-align: center;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_2069&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 286.5pt; mso-wrap-style: square; visibility: visible; width: 243pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/Lomesh/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin: 0in 0in 12pt; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;As we are using the
common anode type of display, to turn on each segment we need to make the
digital pins low or logic “0”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 14pt;&quot;&gt;Case 2: to display “1”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;For displaying 0 on
the 7-segment display we need to turn on following segments&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 31.5pt; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 12pt; font-weight: normal;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;segment b,c turn on and other segment
turn off a,d,e,f,g&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-d6hHiCVMDl2m8hhrsVMgWD0e0tcyyP3Juj3W_YHa6TIe2LJBVcdJl-ATrzJumFvg2Wz3rpzrMi67EA2-Lohr57yeLzmu5PCurXFw6jn2DIqZ3bkID20i3sZHgre3rnHwPXqU6dCPaU4/s523/7for1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;523&quot; data-original-width=&quot;343&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-d6hHiCVMDl2m8hhrsVMgWD0e0tcyyP3Juj3W_YHa6TIe2LJBVcdJl-ATrzJumFvg2Wz3rpzrMi67EA2-Lohr57yeLzmu5PCurXFw6jn2DIqZ3bkID20i3sZHgre3rnHwPXqU6dCPaU4/w263-h400/7for1.png&quot; width=&quot;263&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;

&lt;h3 align=&quot;center&quot; style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_2072&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 262pt; mso-wrap-style: square; visibility: visible; width: 171.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/Lomesh/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;As we are using the
common anode type of display, to turn on each segment we need to make the digital
pins low or logic “0” b and c is connected to the 3 &amp;amp; 4 respectively make
it low to turn on.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 14pt;&quot;&gt;Case 3: To display “2”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;For displaying 2 on
the 7-segment display we need to turn on following segments&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 31.5pt; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 12pt; font-weight: normal;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;segment a,b,g,e,d turn on and other
segment turn off c,f&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF7HMOO4M8udQR02jkIqvhVKCq3q0-1DjOn5bu-ak9y1MYARK-2z7NKhwDEmo9IG78jGJcz3PjImoBdt1STkIcoFujgzwTTJiGASyAOZ5dwZJ5wEypHbMF3RLHEd5vkpuxQN0bYlEfp4I/s521/7for2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;521&quot; data-original-width=&quot;393&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF7HMOO4M8udQR02jkIqvhVKCq3q0-1DjOn5bu-ak9y1MYARK-2z7NKhwDEmo9IG78jGJcz3PjImoBdt1STkIcoFujgzwTTJiGASyAOZ5dwZJ5wEypHbMF3RLHEd5vkpuxQN0bYlEfp4I/w301-h400/7for2.png&quot; width=&quot;301&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;

&lt;h3 align=&quot;center&quot; style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_2074&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 260pt; mso-wrap-style: square; visibility: visible; width: 196.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/Lomesh/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;As we are using the
common anode type of display, to turn on each segment we need to make the
digital pins low or logic “0” pins a,b,g,e,d is connected to the 2,3,8,6,5
respectively make it low to turn on and give the delay of 1 sec.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 14pt;&quot;&gt;Case 4: to display “3”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;For displaying 3 on
the 7-segment display we need to turn on following segments&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 31.5pt; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 12pt; font-weight: normal;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;segment a,b,g,c,d turn on and other
segment turn off e,f&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxlakWqPlT0c4MMejC09VKe7sZ2-73nSbq116f3etfbGeesrakB4Z_evi-Fnw6Jg_wNLZ-Rk34OreanffzSqyL2fuIvlCOzerIYNywnGzq0guiDUZpDcr8CAKSkYlnElCNTEjxUGIhyphenhyphen_8/s523/7for3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;523&quot; data-original-width=&quot;427&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxlakWqPlT0c4MMejC09VKe7sZ2-73nSbq116f3etfbGeesrakB4Z_evi-Fnw6Jg_wNLZ-Rk34OreanffzSqyL2fuIvlCOzerIYNywnGzq0guiDUZpDcr8CAKSkYlnElCNTEjxUGIhyphenhyphen_8/w326-h400/7for3.png&quot; width=&quot;326&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;

&lt;h3 align=&quot;center&quot; style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_2076&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 262pt; mso-wrap-style: square; visibility: visible; width: 213.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/Lomesh/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;As we are using the
common anode type of display, to turn on each segment we need to make the
digital pins low or logic “0” pins a,b,g,c,d is connected to the 2,3,8,4,5
respectively make it low to turn on and give the delay of 1 sec.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 14pt;&quot;&gt;Case 5: to display “4”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;For displaying 4 on
the 7-segment display we need to turn on following segments&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 31.5pt; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 12pt; font-weight: normal;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;segment f,g,b,c turn on and other
segment turn off a,e,d&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjupX0wf_1JD3o-9kOgsyq5pQIPnzp3gIdgmmQYfMyxxmMTXF3cuEmPw4V37kWhcxkijvzHqCjGf0FZE-X5n6LpXqV0Sace7n6zX2-jdLcsegt3byaNs7WMqcxa7zk47wwVBilKfDL9m-E/s529/7for4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;529&quot; data-original-width=&quot;389&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjupX0wf_1JD3o-9kOgsyq5pQIPnzp3gIdgmmQYfMyxxmMTXF3cuEmPw4V37kWhcxkijvzHqCjGf0FZE-X5n6LpXqV0Sace7n6zX2-jdLcsegt3byaNs7WMqcxa7zk47wwVBilKfDL9m-E/w294-h400/7for4.png&quot; width=&quot;294&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;

&lt;h3 align=&quot;center&quot; style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_2079&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 264pt; mso-wrap-style: square; visibility: visible; width: 195pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/Lomesh/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;As we are using the
common anode type of display, to turn on each segment we need to make the
digital pins low or logic “0” pins f,g,b,c is connected to the 7,8,3,4
respectively make it low to turn on and give the delay of 1 sec.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 14pt;&quot;&gt;Case 6: To display “5”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;For displaying 5 on
the 7-segment display we need to turn on following segments&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 31.5pt; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 12pt; font-weight: normal;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;segment a,f,g,c,d turn on and other
segment turn off b,e&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMEd5kY4CNJUjjjOKazrrzyqmRN18UEaohZVIliG3oH7uQ6IqXlV7DSflNJn0laKe3HKdAJihTr1vedray53laYeEDAHAel97V6jbj9vpfi5rb6a0bOR11iXBmw_9eoUsxsyp4kyE4hnc/s527/7for5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;527&quot; data-original-width=&quot;359&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMEd5kY4CNJUjjjOKazrrzyqmRN18UEaohZVIliG3oH7uQ6IqXlV7DSflNJn0laKe3HKdAJihTr1vedray53laYeEDAHAel97V6jbj9vpfi5rb6a0bOR11iXBmw_9eoUsxsyp4kyE4hnc/w273-h400/7for5.png&quot; width=&quot;273&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;

&lt;h3 align=&quot;center&quot; style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_3073&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 263.5pt; mso-wrap-style: square; visibility: visible; width: 179.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/Lomesh/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;As we are using the
common anode type of display, to turn on each segment we need to make the
digital pins low or logic “0” pins a,f,g,c,d is connected to the 2,7,8,4,5
respectively make it low to turn on and give the delay of 1 sec.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 14pt;&quot;&gt;Case 7: To display “6”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;For displaying 6 on
the 7-segment display we need to turn on following segments&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 31.5pt; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 12pt; font-weight: normal;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;segment a,f,g,e,c,d turn on and other
segment turn off b&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy7l9bD2Xx4m4SnWJx68bOjmTNbI-gUbnTicLqH4z6PkpbQ7oNkjZGgybiE1a-kkAlQBRXR7IUv9GQZqVATHi0eEFbh0Kj-oIN-_a3_6XkF0mv4CtlOjLhw-uSKPUWfPA3i5GkeZxNsFY/s529/7for6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;529&quot; data-original-width=&quot;431&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy7l9bD2Xx4m4SnWJx68bOjmTNbI-gUbnTicLqH4z6PkpbQ7oNkjZGgybiE1a-kkAlQBRXR7IUv9GQZqVATHi0eEFbh0Kj-oIN-_a3_6XkF0mv4CtlOjLhw-uSKPUWfPA3i5GkeZxNsFY/w326-h400/7for6.png&quot; width=&quot;326&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;

&lt;h3 align=&quot;center&quot; style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_3076&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 264pt; mso-wrap-style: square; visibility: visible; width: 215.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/Lomesh/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;As we are using the
common anode type of display, to turn on each segment we need to make the
digital pins low or logic “0” pins a,f,g,e,c,d is connected to the 2,7,8,4,6,5
respectively make it low to turn on and give the delay of 1 sec.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 14pt;&quot;&gt;Case 8: To display “7”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;For displaying 7 on
the 7-segment display we need to turn on following segments&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 31.5pt; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 12pt; font-weight: normal;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;segment a,b,c turn on and other segment
turn off d,e,f,g&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8pwpeOElSfcZx5TAE3hhDUiWInDfGgHTpoHhnwa0EVs-jkKqvPVBk6AKFM4cyRqiLRjy4Wdrzf8LvB1-vPziG2as4f8L2u4lkhgPT_ekFc9dJHQ8z3Bx-73XNhZ3qsMv9pl4vUSM3NFY/s529/7for7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;529&quot; data-original-width=&quot;423&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8pwpeOElSfcZx5TAE3hhDUiWInDfGgHTpoHhnwa0EVs-jkKqvPVBk6AKFM4cyRqiLRjy4Wdrzf8LvB1-vPziG2as4f8L2u4lkhgPT_ekFc9dJHQ8z3Bx-73XNhZ3qsMv9pl4vUSM3NFY/w320-h400/7for7.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;

&lt;h3 align=&quot;center&quot; style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_3078&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 264pt; mso-wrap-style: square; visibility: visible; width: 211.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/Lomesh/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;As we are using the
common anode type of display, to turn on each segment we need to make the
digital pins low or logic “0” pins a,b,c is connected to the 2,3,4 respectively
make it low to turn on and give the delay of 1 sec.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 14pt;&quot;&gt;Case 9: To display “8”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;For displaying 8 on
the 7-segment display we need to turn on following segments&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 31.5pt; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 12pt; font-weight: normal;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;segment a,b,c,d,ef,g, turn on &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEideuJIFMlCA6TYdf8NBabRfLy8ePtJ-6et6C8q6-_IIn52n-73vLl9Si8zpY-lk7d20tWDKYcqK3VuL-JEAL5bG3Y39wnhSurFSF9YayYGWrGGtCjS9SR3ED2mQpLT8CtDSKqy_AZD7M0/s519/7for8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;519&quot; data-original-width=&quot;437&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEideuJIFMlCA6TYdf8NBabRfLy8ePtJ-6et6C8q6-_IIn52n-73vLl9Si8zpY-lk7d20tWDKYcqK3VuL-JEAL5bG3Y39wnhSurFSF9YayYGWrGGtCjS9SR3ED2mQpLT8CtDSKqy_AZD7M0/w336-h400/7for8.png&quot; width=&quot;336&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;

&lt;h3 align=&quot;center&quot; style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_3080&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 260pt; mso-wrap-style: square; visibility: visible; width: 218.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/Lomesh/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;As we are using the
common anode type of display, to turn on each segment we need to make the
digital pins low or logic “0” pins a,b,c ,d,e,f is connected to the 2,3,4,5,6,7,8
respectively make it low to turn on and give the delay of 1 sec.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 14pt;&quot;&gt;Case 10: To display “9”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; font-weight: normal;&quot;&gt;For displaying 9 on
the 7-segment display we need to turn on following segments&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 31.5pt; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 12pt; font-weight: normal;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;segment a,b,g,f,c,d turn on and e
should turn off&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYFPuflnTdEP-R9oFz16aakDhRCAWug5I3csKO8D-Y8zbqlmWkM5kEAauZzeUnupRNVuEAMqipAm4d5kLLx5AIm8f2CQKciuW415aMxeiW8L3epsY8pf1bPiXBeOSOPTGnBaoC-r0XbtI/s615/7for9.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;615&quot; data-original-width=&quot;405&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYFPuflnTdEP-R9oFz16aakDhRCAWug5I3csKO8D-Y8zbqlmWkM5kEAauZzeUnupRNVuEAMqipAm4d5kLLx5AIm8f2CQKciuW415aMxeiW8L3epsY8pf1bPiXBeOSOPTGnBaoC-r0XbtI/w264-h400/7for9.png&quot; width=&quot;264&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;

&lt;h3 align=&quot;center&quot; style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_2061&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 307pt; mso-wrap-style: square; visibility: visible; width: 202.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/Lomesh/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%;&quot;&gt;As we are using the common anode type of display, to
turn on each segment we need to make the digital pins low or logic “0” pins
a,b,g,f,c,d is connected to the 2,3,8,7,4,5 respectively make it low to turn on
,digital pin 9 is connected to the decimal point of the seven segment display
make it low to turn on&amp;nbsp; and give the
delay of 1 sec&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;b&gt;Watch the Working Video:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;345&quot; src=&quot;https://www.youtube.com/embed/kZ6CLJlvZ8c&quot; width=&quot;598&quot; youtube-src-id=&quot;kZ6CLJlvZ8c&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;b&gt;Arduino Sketch:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;void setup()&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; pinMode(2, OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; pinMode(3, OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; pinMode(4, OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; pinMode(5, OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; pinMode(6, OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; pinMode(7, OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; pinMode(8, OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; pinMode(9, OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;void loop()&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(2, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(3, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(4, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(5, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(6, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(7, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(8, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; delay(1000); // Wait for 1000 millisecond(s)&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(2, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(3, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(4, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(5, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(6, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(7, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(8, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; delay(1000); // Wait for 1000 millisecond(s)&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(2, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(3, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(4, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(5, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(6, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(7, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(8, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; delay(1000); // Wait for 1000 millisecond(s)&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(2, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(3, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(4, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(5, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(6, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(7, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(8, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; delay(1000); // Wait for 1000 millisecond(s)&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(2, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(3, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(4, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(5, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(6, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(7, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(8, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; delay(1000); // Wait for 1000 millisecond(s)&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(2, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(3, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(4, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(5, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(6, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(7, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(8, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; delay(1000); // Wait for 1000 millisecond(s)&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(2, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(3, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(4, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(5, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(6, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(7, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(8, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; delay(1000); // Wait for 1000 millisecond(s)&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(2, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(3, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(4, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(5, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(6, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(7, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(8, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; delay(1000); // Wait for 1000 millisecond(s)&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(2, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(3, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(4, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(5, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(6, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(7, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(8, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; delay(1000); // Wait for 1000 millisecond(s)&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(2, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(3, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(4, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(5, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(6, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(7, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(8, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(9, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; delay(1000); // Wait for 1000 millisecond(s)&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;digitalWrite(2, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(3, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(4, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(5, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(6, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(7, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(8, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; delay(1000); // Wait for 1000 millisecond(s)&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(2, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(3, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(4, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(5, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(6, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(7, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(8, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; delay(1000); // Wait for 1000 millisecond(s)&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(2, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(3, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(4, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(5, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(6, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(7, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(8, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; delay(1000); // Wait for 1000 millisecond(s)&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(2, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(3, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(4, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(5, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(6, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(7, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(8, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; delay(1000); // Wait for 1000 millisecond(s)&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(2, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(3, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(4, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(5, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(6, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(7, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(8, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; delay(1000); // Wait for 1000 millisecond(s)&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(2, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(3, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(4, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(5, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(6, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(7, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(8, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; digitalWrite(9, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; delay(1000); // Wait for 1000 millisecond(s)&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;

































































































&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;}&lt;/i&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: ebrima;&quot;&gt;&lt;b&gt;Like share and comment :&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;Our FaceBook Page&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #0000ee; font-family: ebrima;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimkCWpffD7Ywq8mm62jAvOtqXR26oISh8jpC4Vjq97L_ciWudutPBmLnfeF82jV1LONpZVmG_cKSkCGtcevJlzlzhFatNkmURxhaUTv9KOfRblbqHFuxPWcekU4_HhlOXpSZtN6ueF3Rs/s225/download.png&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;225&quot; data-original-width=&quot;225&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimkCWpffD7Ywq8mm62jAvOtqXR26oISh8jpC4Vjq97L_ciWudutPBmLnfeF82jV1LONpZVmG_cKSkCGtcevJlzlzhFatNkmURxhaUTv9KOfRblbqHFuxPWcekU4_HhlOXpSZtN6ueF3Rs/w200-h200/download.png&quot; style=&quot;border: 0px; height: auto; max-width: 100%;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b style=&quot;text-align: left;&quot;&gt;&lt;a href=&quot;https://www.youtube.com/channel/UCHCzBGgDMjT3fOWCv1ruIdA&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;Our Youtube Channel.&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimPUqdQ-CnXbCOatulDLkn1fFERkAVSdRY-OP55K0OY_mDGItsU8krOA6qSZAdkzCbZ70tMedSJm5RyB1j0wuOHP7f6UR54-fllVFV9Zb-lU_WwmMlpbBo3CPwTwBBlxqH-bOaEWHpKT4/s512/58e9197deb97430e819064f8.png&quot; style=&quot;background: transparent; clear: left; color: #25a186; cursor: pointer; float: left; margin-bottom: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimPUqdQ-CnXbCOatulDLkn1fFERkAVSdRY-OP55K0OY_mDGItsU8krOA6qSZAdkzCbZ70tMedSJm5RyB1j0wuOHP7f6UR54-fllVFV9Zb-lU_WwmMlpbBo3CPwTwBBlxqH-bOaEWHpKT4/s512/58e9197deb97430e819064f8.png&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;512&quot; data-original-width=&quot;512&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimPUqdQ-CnXbCOatulDLkn1fFERkAVSdRY-OP55K0OY_mDGItsU8krOA6qSZAdkzCbZ70tMedSJm5RyB1j0wuOHP7f6UR54-fllVFV9Zb-lU_WwmMlpbBo3CPwTwBBlxqH-bOaEWHpKT4/w200-h200/58e9197deb97430e819064f8.png&quot; style=&quot;border: 0px; height: auto; max-width: 100%;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/b&gt;&lt;/span&gt;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; font-family: ebrima; font-size: 16px; font-weight: bold; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;b style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;For Any&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;font-family: ebrima;&quot;&gt;&lt;b&gt;queries&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&amp;nbsp;please contact:&lt;/b&gt;&lt;/div&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin: 1em 0px 0in;&quot;&gt;&lt;span style=&quot;font-family: ebrima;&quot;&gt;&lt;b&gt;impulseTech101@gmail.com&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/9063005958259811713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2021/03/interfacing-seven-segment-display-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/9063005958259811713'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/9063005958259811713'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2021/03/interfacing-seven-segment-display-with.html' title='Interfacing Seven segment display with Arduino in tinkercad'/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjIMz7K6HHVnu_Xnx3tbVyeDIO8C32sZSg5WA680HqBkySgpQAZtsPAGpSIABLlh57Wy3BqTlMJjtg8MIVKEzdjyraWJjh5msEBhf0Fvb0SL4FmKynYvlqSUJbwjhiL6Z5cWMS6jGeICU/s72-w400-h400-c/41Araxi2mwL._SX342_.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-2296285278228539576</id><published>2021-03-02T14:57:00.003+05:30</published><updated>2021-03-02T14:57:46.859+05:30</updated><title type='text'>Interfacing of IR receiver and IR Remote with an Arduino.</title><content type='html'>&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12.0pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Interfacing &lt;span style=&quot;color: #333333;&quot;&gt;of
IR receiver and IR Remote with an Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin-bottom: 19.5pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;color: black; font-family: Ebrima; mso-bidi-font-family: Arial;&quot;&gt;In this project, we will interface an IR Receiver and an IR
Remote with an Arduino and controls the output devices that is LED and Buzzer.&lt;/span&gt;&lt;span style=&quot;color: #666666; font-family: Ebrima; mso-bidi-font-family: Arial;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin-bottom: 19.5pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;color: black; font-family: Ebrima; mso-bidi-font-family: Arial;&quot;&gt;An IR Receiver is an electronic device that emit light
radiation and it receives the information in the form of light from IR Remote.
The received information from the IR remote send it to the Microcontroller.
There is various application of IR Receivers in day-to-day life like one used
in TV remotes. When we pressed any key on the remote it generates infrared signals,
IR receiver present in front of the TV receives that signal and send it to the
microcontroller for decoding after this controller gives the required output. And
also, main thing is it’s a wireless communication&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Circuit Diagram:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWJUrhUK1Et2zDsDhskYbi5uYJmYkKMmBga9uf6dmAA3vQ0n638UEET2goY-8VjadHAa1cq0_lqzzaCFkAT7eQqY7xGKU6DYMUmhATbXz-pytAvKSbDdj_25jbEt-bn-T3zTq07tKzu1E/s911/Fabulous+Stantia-Snicket.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;542&quot; data-original-width=&quot;911&quot; height=&quot;380&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWJUrhUK1Et2zDsDhskYbi5uYJmYkKMmBga9uf6dmAA3vQ0n638UEET2goY-8VjadHAa1cq0_lqzzaCFkAT7eQqY7xGKU6DYMUmhATbXz-pytAvKSbDdj_25jbEt-bn-T3zTq07tKzu1E/w640-h380/Fabulous+Stantia-Snicket.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;Components Required:&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Arduino
UNO&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;IR
Receiver &lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;IR Remote&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Red LED&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Buzzer&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Connecting
wires&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;Connection:&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;background: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;b&gt;&lt;/b&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;The
hardware a part of this project is quite simple and easy to place together.
First of all, make the connections for the IR Receiver with the Arduino. The
connections for the IR Receiver with the Arduino given in the above circuit
diagram.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;IR Receiver
has three pins one is connected to the GND pin of an Arduino second pin is
connected to the VCC pin of an Arduino and output pin of IR receiver is
connected to the digital pin 10 of an Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Red
LEDs Anode pin is connected to the digital pin 2 of an Arduino and cathode is
connected to the GND Pin of an Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;







&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&amp;nbsp;Buzzer positive pin is connected to the
digital pin 3 of an Arduino and negative pin is connected to the GND pin of an
Arduino Connect the one terminal of force sensor to the GND of an Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;color: black; font-family: Ebrima; font-size: 12.0pt; mso-bidi-font-family: Arial;&quot;&gt;Basics of IR Communication&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12.0pt; line-height: 115%; mso-bidi-font-family: Arial;&quot;&gt;Infrared Communication or IR is using the Infrared Light.
Infrared Light has wavelength which is higher than the visible light. Hence
human being not able to see the Infrared Light.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12.0pt; line-height: 115%; mso-bidi-font-family: Arial;&quot;&gt;This is the reason it is good choice for Wireless
Communication. But is has disadvantage that is line-of-sight error which means
for Communication between the transmitter and receiver both should be in one
line. Due to this reason IR communication cannot be used through walls.&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;IR Receiver&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12.0pt; line-height: 115%; mso-bidi-font-family: Arial; mso-color-alt: windowtext;&quot;&gt;let us take a brief about the IR Receiver that we are using
here i.e.TSOP1838.&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12.0pt; line-height: 115%; mso-bidi-font-family: Arial;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin-bottom: 19.5pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;color: black; font-family: Ebrima; mso-bidi-font-family: Arial; mso-color-alt: windowtext;&quot;&gt;TSOP1838 is a very popular type of
IR receiver and its carrier frequency of 38kHZ. It has three pins namely: GND,
VCC and OUT.&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; mso-bidi-font-family: Arial;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin-bottom: 19.5pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;color: black; font-family: Ebrima; mso-bidi-font-family: Arial; mso-color-alt: windowtext;&quot;&gt;The output of the TSOP 1838 IR Receiver
can be directly decoded by a microcontroller. &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; mso-bidi-font-family: Arial;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPwrOza65Qq9pnXWqrUKilbPd0wJJi3FXvO3NVVrhPZ709pbHeMScEMBy5Aj4MwXaLx3lbJMRWTKLzow5tnCZCokqzBPiIw98i4dwRA6EhU_YAm2z9tYFefPNCsgOz-Pd9w9x4o3XJlkY/s800/Untitled-4_32_1_800x.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;800&quot; data-original-width=&quot;800&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPwrOza65Qq9pnXWqrUKilbPd0wJJi3FXvO3NVVrhPZ709pbHeMScEMBy5Aj4MwXaLx3lbJMRWTKLzow5tnCZCokqzBPiIw98i4dwRA6EhU_YAm2z9tYFefPNCsgOz-Pd9w9x4o3XJlkY/w400-h400/Untitled-4_32_1_800x.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 15.0pt; margin-left: 0in; margin-right: 0in; margin-top: 15.0pt; mso-outline-level: 3; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Working of project:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;background: white; margin-bottom: 19.5pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima;&quot;&gt;The working of the remote controlled led and buzzer project
is very simple. This project will demonstrate you how to interface IR Receiver
and an IR Remote with an Arduino.&lt;/span&gt;&lt;span style=&quot;color: #666666; font-family: Ebrima; mso-bidi-font-family: Arial;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white; margin-bottom: 19.5pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima;&quot;&gt;Whenever key “1” is pressed then red LED will flash and when
the key “2” is pressed the buzzer will produce the sound. When we pressed the
any key on the IR remote that decodes by the Micro-controller. Each key on the
remote can be used for different task like turning on light, turn on motor etc.&lt;/span&gt;&lt;span style=&quot;color: #666666; font-family: Ebrima; mso-bidi-font-family: Arial;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Arduino
Code Explanation:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; font-family: Ebrima; font-size: 12.0pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Include the IR Remote Library after
that define the output pin of IR Receiver it is connected to the pin 10 of an
Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Define
the LED and buzzer pins, led1 is connected to the pin 2 and buzzer is connected
to the pin 3 of an Arduino.&lt;/span&gt;&lt;span style=&quot;background: white; color: #1a1a1a; font-family: Ebrima; font-size: 12.0pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;#include
&amp;lt;IRremote.h&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;const
int RECV_PIN = 10;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;IRrecv
irrecv(RECV_PIN);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;decode_results
results;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;int
led1=2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;int
buzzer=3;&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;Inside the
void setup we will define the pin which are input and which are output pin,
this set of code runs only once.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;Initialize
the serial monitor for displaying the value at baud rate of 9600.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;void
setup(){&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; Serial.begin(9600);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; irrecv.enableIRIn();&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; irrecv.blink13(true);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; pinMode(led1,OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; pinMode(buzzer,OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;}&lt;/i&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in;&quot;&gt;the code
inside the void loop runs over and over as long as the Arduino Board is turned
on.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in;&quot;&gt;&amp;nbsp;Here
inside the loop results.value stores the decoded code we can print that code on
serial monitor as hex code using&amp;nbsp; &lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;Serial.println(results.value, HEX); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in;&quot;&gt;Now for
printing decimal value of the IR remote Key pressed for that we can use &lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;Serial.println(results.value);&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #4f81bd; mso-themecolor: accent1;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;void
loop(){&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; if (irrecv.decode(&amp;amp;results)){&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Serial.println(results.value, HEX);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; irrecv.resume();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Serial.println(results.value);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; if (results.value==16582903)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(led1,HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(200);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(led1,LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(200);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; if (results.value==16615543)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;digitalWrite(buzzer,HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(200);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(buzzer,LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(200);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;}&lt;/span&gt;&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; letter-spacing: 0.1pt;&quot;&gt;Here wehave used &amp;nbsp;&lt;/span&gt;if()&lt;span style=&quot;background: white; letter-spacing: 0.1pt;&quot;&gt; conditional
statement&amp;nbsp; basic coding control
structures. One can make something happen or not, it depends whether the
condition is true or not. It looks like this:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; letter-spacing: 0.1pt;&quot;&gt;When we pressed
the “1” key on the IR remote then Arduino gives us the decimal output which is
stored in results.value and the decimal output is &lt;/span&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;16582903.&lt;/span&gt;&lt;span style=&quot;background: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;If the &lt;/span&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;if &lt;span style=&quot;color: #3d85c6;&quot;&gt;(results.value==16582903&lt;/span&gt;) &lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;then will create a led flashing
effect by turning it on and off.&lt;/span&gt;&lt;span style=&quot;background: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;Same thing
for the buzzer as well when we pressed the “2” key on the IR remote then
Arduino gives us the decimal output which is stored in results.value and the
decimal output for key 2 is &lt;/span&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;16615543.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white; margin-bottom: 19.5pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;











































































































&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;&quot;&gt;&amp;nbsp;If the &lt;/span&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;if &lt;span style=&quot;color: #3d85c6;&quot;&gt;(results.value==16615543)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;&quot;&gt;then turn on the buzzer.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;Watch the Working video:&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;344&quot; src=&quot;https://www.youtube.com/embed/r4V35-U_AY8&quot; width=&quot;600&quot; youtube-src-id=&quot;r4V35-U_AY8&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;br /&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 24.0pt; margin-bottom: 7.5pt; mso-outline-level: 3;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Arduino
Sketch:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;#include
&amp;lt;IRremote.h&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;const
int RECV_PIN = 10;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;IRrecv
irrecv(RECV_PIN);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;decode_results
results;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;int
led1=2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;int
buzzer=3;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;void
setup(){&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; Serial.begin(9600);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; irrecv.enableIRIn();&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; irrecv.blink13(true);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; pinMode(led1,OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; pinMode(buzzer,OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;void
loop(){&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; if (irrecv.decode(&amp;amp;results)){&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Serial.println(results.value, HEX);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; irrecv.resume();&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Serial.println(results.value);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; if (results.value==16582903)&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(led1,HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(200);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(led1,LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(200);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; if (results.value==16615543)&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(buzzer,HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(200);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(buzzer,LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(200);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;}&lt;/i&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 24.0pt; margin-bottom: 7.5pt; mso-outline-level: 3;&quot;&gt;













































































&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white; color: #292929; font-family: ebrima; font-size: 20px;&quot;&gt;Like share and comment :&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;Our FaceBook Page&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #0000ee; font-family: ebrima;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimkCWpffD7Ywq8mm62jAvOtqXR26oISh8jpC4Vjq97L_ciWudutPBmLnfeF82jV1LONpZVmG_cKSkCGtcevJlzlzhFatNkmURxhaUTv9KOfRblbqHFuxPWcekU4_HhlOXpSZtN6ueF3Rs/s225/download.png&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;225&quot; data-original-width=&quot;225&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimkCWpffD7Ywq8mm62jAvOtqXR26oISh8jpC4Vjq97L_ciWudutPBmLnfeF82jV1LONpZVmG_cKSkCGtcevJlzlzhFatNkmURxhaUTv9KOfRblbqHFuxPWcekU4_HhlOXpSZtN6ueF3Rs/w200-h200/download.png&quot; style=&quot;border: 0px; height: auto; max-width: 100%;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b style=&quot;text-align: left;&quot;&gt;&lt;a href=&quot;https://www.youtube.com/channel/UCHCzBGgDMjT3fOWCv1ruIdA&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;Our Youtube Channel.&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimPUqdQ-CnXbCOatulDLkn1fFERkAVSdRY-OP55K0OY_mDGItsU8krOA6qSZAdkzCbZ70tMedSJm5RyB1j0wuOHP7f6UR54-fllVFV9Zb-lU_WwmMlpbBo3CPwTwBBlxqH-bOaEWHpKT4/s512/58e9197deb97430e819064f8.png&quot; style=&quot;background: transparent; clear: left; color: #25a186; cursor: pointer; float: left; margin-bottom: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimPUqdQ-CnXbCOatulDLkn1fFERkAVSdRY-OP55K0OY_mDGItsU8krOA6qSZAdkzCbZ70tMedSJm5RyB1j0wuOHP7f6UR54-fllVFV9Zb-lU_WwmMlpbBo3CPwTwBBlxqH-bOaEWHpKT4/s512/58e9197deb97430e819064f8.png&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;512&quot; data-original-width=&quot;512&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimPUqdQ-CnXbCOatulDLkn1fFERkAVSdRY-OP55K0OY_mDGItsU8krOA6qSZAdkzCbZ70tMedSJm5RyB1j0wuOHP7f6UR54-fllVFV9Zb-lU_WwmMlpbBo3CPwTwBBlxqH-bOaEWHpKT4/w200-h200/58e9197deb97430e819064f8.png&quot; style=&quot;border: 0px; height: auto; max-width: 100%;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/b&gt;&lt;/span&gt;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; font-family: ebrima; font-size: 16px; font-weight: bold; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;b style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;For Any&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;font-family: ebrima;&quot;&gt;&lt;b&gt;queries&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&amp;nbsp;please contact:&lt;/b&gt;&lt;/div&gt;&lt;h4 style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin: 1em 0px 0in;&quot;&gt;&lt;span style=&quot;font-family: ebrima;&quot;&gt;impulseTech101@gmail.com&lt;/span&gt;&lt;/h4&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/2296285278228539576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2021/03/interfacing-of-ir-receiver-and-ir.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/2296285278228539576'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/2296285278228539576'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2021/03/interfacing-of-ir-receiver-and-ir.html' title='Interfacing of IR receiver and IR Remote with an Arduino.'/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWJUrhUK1Et2zDsDhskYbi5uYJmYkKMmBga9uf6dmAA3vQ0n638UEET2goY-8VjadHAa1cq0_lqzzaCFkAT7eQqY7xGKU6DYMUmhATbXz-pytAvKSbDdj_25jbEt-bn-T3zTq07tKzu1E/s72-w640-h380-c/Fabulous+Stantia-Snicket.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-2257354068304353709</id><published>2021-03-02T14:45:00.003+05:30</published><updated>2021-03-02T14:45:27.947+05:30</updated><title type='text'>Interfacing of tilt sensor (SW200D) with an Arduino in tinkercad.</title><content type='html'>&lt;p style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Interfacing
&lt;span style=&quot;color: #333333;&quot;&gt;of tilt sensor (SW200D) with an Arduino in
tinkercad.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;rtejustify&quot; style=&quot;background: white; margin-bottom: 11.25pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; margin: 0in 0in 11.25pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;color: black; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-themecolor: text1;&quot;&gt;A&amp;nbsp;&lt;strong&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Tilt Sensor&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;can detect the inclination of an
object and gives its output High or Low. There is a mercury ball inside the
tilt sensor which moves when the sensor tilted and completes the circuit. So we
can use this feature to turn on and off the circuit.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;rtejustify&quot; style=&quot;background: white; margin-bottom: 11.25pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; margin: 0in 0in 11.25pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;color: black; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-themecolor: text1;&quot;&gt;In this project, we are&amp;nbsp;&lt;strong&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;interfacing
Tilt sensor with Arduino board in tinkercad&lt;/span&gt;&lt;/strong&gt;. And controlling a
LED output when the tilt sensor tilts. It can be used like an alarm if the
sensor tilts then we can turn on the buzzer and LED flasher. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Circuit Diagram:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmJYTv3Sk2VOqqiagvOXqKwmuHesV9AL75dHDZ70FXVkqvAqGpeTk4LJBqj0AVLwEfLa1JDQrTXOyClc0713GnErxnNSZaIR2-P6nmxaIsQgj7j5ChyphenhyphenqjdZMyCJlKHd2iLwDsaMj1hOME/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;370&quot; data-original-width=&quot;591&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmJYTv3Sk2VOqqiagvOXqKwmuHesV9AL75dHDZ70FXVkqvAqGpeTk4LJBqj0AVLwEfLa1JDQrTXOyClc0713GnErxnNSZaIR2-P6nmxaIsQgj7j5ChyphenhyphenqjdZMyCJlKHd2iLwDsaMj1hOME/w640-h400/image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;Components Required:&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;background: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Arduino
UNO&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Tilt
sensor (SW200D)&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Resistor-1&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;LED-01&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Connecting
wires&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;









&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;Connection:&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;The
hardware a part of this project is quite simple and easy to place together.
First of all, make the connections for the tilt sensor with the Arduino. The
connections for the tilt sensor with the Arduino given in the above circuit
diagram.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;The
tilt sensor we used here is SW200D.tilt sensor has two pins one is connected to
the GND pin of an Arduino and another pin is connected to the digital pin of an
Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Connect
the one terminal of tilt sensor to the digital pin 2 using resistor.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Connect
the other terminal of tilt sensor to the GND pin of an Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Connect
the LEDs anode terminal to digital pin 9 of an Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;







&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Connect
the LEDs cathode terminal to GND pin of an Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; margin: 0in 0in 12pt;&quot;&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;color: black; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Working of Arduino Tilt Sensor&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;p style=&quot;background: white; margin-bottom: 19.5pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; margin: 0in 0in 19.5pt;&quot;&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;color: black; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;A Tilt sensor is quite similar to a normal on off switch
only difference is it conducts current when it inclined at certain angle or in
other words, I can say it turned on only when it tilts. Due to this property,
we can use tilt sensor to detect the orientation od an object.&lt;/span&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;color: #666666; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin-bottom: 19.5pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; margin: 0in 0in 19.5pt;&quot;&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;color: black; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Now there are different types of tilt sensor out there
here we using a simple one axes inclination, a tilt switch or sensor. There are
two kinds of technology is to make the tilt sensor Mercury based and Roller
Ball based. The old ones are made of mercury. For more accuracy and results we
are having an accelerometer based 3- axis tilt sensor, using this sensor we can
detect full motion in three axes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin-bottom: 19.5pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; margin: 0in 0in 19.5pt;&quot;&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;color: black; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;In SW200D tilt sensor, two metal balls are used to
close or open the switch. When we placed the sensor in upright position then metal
ball closes the contact with both the terminal and closes the switch.&lt;/span&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;color: #666666; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin-bottom: 19.5pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; margin: 0in 0in 19.5pt;&quot;&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;color: black; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;When the inclination of the sensor is changed or
sensor is tilted by certain angle then metal ball are not in contact with
terminal then the switch is open.&lt;/span&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;color: #666666; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 15.0pt; margin-left: 0in; margin-right: 0in; margin-top: 15.0pt; margin: 15pt 0in; mso-outline-level: 3; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Working of project:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;rtejustify&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;color: black; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-hansi-theme-font: minor-latin;&quot;&gt;As per the circuit diagram, the output
voltage of the tilt sensor is connected to the digital input pin 2 of an
Arduino. Tilt sensor gives the digital output when it tilted. output of the
tilt sensor is stored in variable name tilt sensor. Now if the tilt sensor
output is high that is 1 then set the digital pin 9 low this will make LED turn
off, if the tilt sensor output is low that is 0 then it gives the led flasher
effect.&lt;/span&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 24pt; margin-bottom: 7.5pt; mso-outline-level: 3;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 24pt; margin-bottom: 7.5pt; mso-outline-level: 3;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Code
Explanation (Block Based):&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;rtejustify&quot; style=&quot;background: white; margin-bottom: 11.25pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; margin: 0in 0in 11.25pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;First
of all, we create a variable named tilt_sensor to store the sensor value . For
declare the variable click on the variable block and create a variable, see the
below picture..&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi63Qlu1_RWgncjL79V0DP1RyPTSD0cH-0UzfyGfCqvAu28WI1_jRJECvOpBFKqHmbdmbfyFIjBhyphenhyphenaf-EhmX2KKw56RhFNRcQvT7lvaZcgQVP7_s3TIlttuYqvvGaS7h91C3zNN3U_128Q/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;313&quot; data-original-width=&quot;325&quot; height=&quot;308&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi63Qlu1_RWgncjL79V0DP1RyPTSD0cH-0UzfyGfCqvAu28WI1_jRJECvOpBFKqHmbdmbfyFIjBhyphenhyphenaf-EhmX2KKw56RhFNRcQvT7lvaZcgQVP7_s3TIlttuYqvvGaS7h91C3zNN3U_128Q/w320-h308/image.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;After
declaring the variable drag out the set block and set to the following blocks&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh9ozAmroGmy8n0dJni-qlNiQOGZX9cINPJcztPWI1jY4uZuN-oPcE93JFVUymVnJsTnk2SHE4OhOaMnfnnItmSofFjxENmKHqkQjUGQ-X2ytKBzYLYBKOaOdjeLB8zA0VTnQmiLAJWj4/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;114&quot; data-original-width=&quot;407&quot; height=&quot;101&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh9ozAmroGmy8n0dJni-qlNiQOGZX9cINPJcztPWI1jY4uZuN-oPcE93JFVUymVnJsTnk2SHE4OhOaMnfnnItmSofFjxENmKHqkQjUGQ-X2ytKBzYLYBKOaOdjeLB8zA0VTnQmiLAJWj4/w350-h101/image.png&quot; width=&quot;350&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;Now set the variable that is
tilt_sensor to the read digital pin 2.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;Take out the serial monitor block to
print the sensor value on the screen&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv6AoH-SpGDfqo0A6Dpjpgdq3CbD575JBWnGgPRvKYihelXWWwTZcOwjt1BcTmV206LNV1Ag3ruc_TU71_E2BvE3wp9x8oR4cD2X_BntJZGcgDF8al48AL4-SBjSLwAdZvqJLzdXvobug/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;90&quot; data-original-width=&quot;399&quot; height=&quot;72&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv6AoH-SpGDfqo0A6Dpjpgdq3CbD575JBWnGgPRvKYihelXWWwTZcOwjt1BcTmV206LNV1Ag3ruc_TU71_E2BvE3wp9x8oR4cD2X_BntJZGcgDF8al48AL4-SBjSLwAdZvqJLzdXvobug/&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #1a1a1a;&quot;&gt;Let’s use the main conditional
statement of the program that is ‘if’ block&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #1a1a1a;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNsOoMtl8nDuBkmEHPOWyFD7aO3425HaMJIvqnGlSmF8OiEn7WAesy86GPEiEx9-f8C1cgxWpjRML5T_ONmi3pvEEXWbCbFPGGeQt71gtF2WjV_W3_6yMzBzqXTFj0jLFB6ETkZNevroo/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;403&quot; data-original-width=&quot;410&quot; height=&quot;630&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNsOoMtl8nDuBkmEHPOWyFD7aO3425HaMJIvqnGlSmF8OiEn7WAesy86GPEiEx9-f8C1cgxWpjRML5T_ONmi3pvEEXWbCbFPGGeQt71gtF2WjV_W3_6yMzBzqXTFj0jLFB6ETkZNevroo/w640-h630/image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;match&quot;&gt;&lt;span style=&quot;border: none windowtext 1.0pt; color: #505050; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-border-alt: none windowtext 0in; padding: 0in;&quot;&gt;Drag
the if block from the control also drag one block that is set pin block from
output and place it inside the if block. Select the digital pin 9 drag the
comparator operators from operators from math’s block. Here two conditional
statements used, &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #1a1a1a;&quot;&gt;&lt;b&gt;Condition1:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&amp;nbsp;If the tilt sensor value is equal to the 1
then set digital pin 9 low, this will make LED turn off.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;That
means sensor is not tilted.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #1a1a1a;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #1a1a1a;&quot;&gt;&lt;b&gt;Condition2:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;











&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&amp;nbsp;If the tilt sensor value is equal to the 0
then set digital pin 9 high for 0.2 sec and low for 0.2 sec this will create
the LED flasher effect. Indicate that sensor is tilted.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;Watch Working video :&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;361&quot; src=&quot;https://www.youtube.com/embed/GclurO9cgQ8&quot; width=&quot;610&quot; youtube-src-id=&quot;GclurO9cgQ8&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;Complete Arduino sketch:&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;&lt;h4&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;int tilt_sensor = 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h4&gt;&lt;h4&gt;&lt;o:p&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/o:p&gt;&lt;/h4&gt;&lt;h4&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;void setup()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h4&gt;&lt;h4&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h4&gt;&lt;h4&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&amp;nbsp; pinMode(2, INPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h4&gt;&lt;h4&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&amp;nbsp; Serial.begin(9600);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h4&gt;&lt;h4&gt;&lt;o:p&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/o:p&gt;&lt;/h4&gt;&lt;h4&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&amp;nbsp; pinMode(9, OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h4&gt;&lt;h4&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h4&gt;&lt;h4&gt;&lt;o:p&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/o:p&gt;&lt;/h4&gt;&lt;h4&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;void loop()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h4&gt;&lt;h4&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h4&gt;&lt;h4&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&amp;nbsp; tilt_sensor = digitalRead(2);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h4&gt;&lt;h4&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&amp;nbsp; Serial.println(tilt_sensor);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h4&gt;&lt;h4&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&amp;nbsp; if (tilt_sensor == 1) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h4&gt;&lt;h4&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(9, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h4&gt;&lt;h4&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h4&gt;&lt;h4&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&amp;nbsp; if (tilt_sensor == 0) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h4&gt;&lt;h4&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(9, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h4&gt;&lt;h4&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(200); // Wait for 200
millisecond(s)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h4&gt;&lt;h4&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(9, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h4&gt;&lt;h4&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(200); // Wait for 200
millisecond(s)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h4&gt;&lt;h4&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h4&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;













































&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h4&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: ebrima;&quot;&gt;&lt;b&gt;Like share and comment :&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;Our FaceBook Page&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #0000ee; font-family: ebrima;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimkCWpffD7Ywq8mm62jAvOtqXR26oISh8jpC4Vjq97L_ciWudutPBmLnfeF82jV1LONpZVmG_cKSkCGtcevJlzlzhFatNkmURxhaUTv9KOfRblbqHFuxPWcekU4_HhlOXpSZtN6ueF3Rs/s225/download.png&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;225&quot; data-original-width=&quot;225&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimkCWpffD7Ywq8mm62jAvOtqXR26oISh8jpC4Vjq97L_ciWudutPBmLnfeF82jV1LONpZVmG_cKSkCGtcevJlzlzhFatNkmURxhaUTv9KOfRblbqHFuxPWcekU4_HhlOXpSZtN6ueF3Rs/w200-h200/download.png&quot; style=&quot;border: 0px; height: auto; max-width: 100%;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b style=&quot;text-align: left;&quot;&gt;&lt;a href=&quot;https://www.youtube.com/channel/UCHCzBGgDMjT3fOWCv1ruIdA&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;Our Youtube Channel.&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimPUqdQ-CnXbCOatulDLkn1fFERkAVSdRY-OP55K0OY_mDGItsU8krOA6qSZAdkzCbZ70tMedSJm5RyB1j0wuOHP7f6UR54-fllVFV9Zb-lU_WwmMlpbBo3CPwTwBBlxqH-bOaEWHpKT4/s512/58e9197deb97430e819064f8.png&quot; style=&quot;background: transparent; clear: left; color: #25a186; cursor: pointer; float: left; margin-bottom: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimPUqdQ-CnXbCOatulDLkn1fFERkAVSdRY-OP55K0OY_mDGItsU8krOA6qSZAdkzCbZ70tMedSJm5RyB1j0wuOHP7f6UR54-fllVFV9Zb-lU_WwmMlpbBo3CPwTwBBlxqH-bOaEWHpKT4/s512/58e9197deb97430e819064f8.png&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;512&quot; data-original-width=&quot;512&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimPUqdQ-CnXbCOatulDLkn1fFERkAVSdRY-OP55K0OY_mDGItsU8krOA6qSZAdkzCbZ70tMedSJm5RyB1j0wuOHP7f6UR54-fllVFV9Zb-lU_WwmMlpbBo3CPwTwBBlxqH-bOaEWHpKT4/w200-h200/58e9197deb97430e819064f8.png&quot; style=&quot;border: 0px; height: auto; max-width: 100%;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/b&gt;&lt;/span&gt;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; font-family: ebrima; font-size: 16px; font-weight: bold; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;b style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;For Any&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;font-family: ebrima;&quot;&gt;&lt;b&gt;queries&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&amp;nbsp;please contact:&lt;/b&gt;&lt;/div&gt;&lt;h4 style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin: 1em 0px 0in;&quot;&gt;&lt;span style=&quot;font-family: ebrima;&quot;&gt;impulseTech101@gmail.com&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/2257354068304353709/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2021/03/interfacing-of-tilt-sensor-sw200d-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/2257354068304353709'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/2257354068304353709'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2021/03/interfacing-of-tilt-sensor-sw200d-with.html' title='Interfacing of tilt sensor (SW200D) with an Arduino in tinkercad.'/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmJYTv3Sk2VOqqiagvOXqKwmuHesV9AL75dHDZ70FXVkqvAqGpeTk4LJBqj0AVLwEfLa1JDQrTXOyClc0713GnErxnNSZaIR2-P6nmxaIsQgj7j5ChyphenhyphenqjdZMyCJlKHd2iLwDsaMj1hOME/s72-w640-h400-c/image.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-6303491680469146099</id><published>2021-02-15T10:34:00.001+05:30</published><updated>2021-12-24T09:46:15.892+05:30</updated><title type='text'>Interfacing of force sensor (FSR)with an Arduino in tinkercad</title><content type='html'>&lt;p style=&quot;text-align: center;&quot;&gt;&lt;b&gt;Interfacing of force sensor (FSR)with an Arduino in tinkercad&lt;/b&gt;&amp;nbsp;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12pt; line-height: 115%; mso-color-alt: windowtext;&quot;&gt;In this project
we will be interfacing the &lt;strong&gt;&lt;span style=&quot;font-family: Ebrima; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi;&quot;&gt;Force sensor or force sensing
resistor (FSR) to the Arduino Uno&lt;/span&gt;&lt;/strong&gt;. Also, we have interface
three different LEDs with Arduino.&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 15pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: Ebrima; font-size: 12pt; mso-bidi-font-family: Arial; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;in
this tutorial you will learn how the force sensor works and how to interface
with Arduino in tinkercad. The force is use to detect the pressure, amount of
weight applied on the sensor, there are many applications of force sensor like
it is used in electronic drum, gaming devices, industrial electronics etc.
These sensors are good for measuring pressure but not highly accurate for
measuring the weight.&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; mso-bidi-font-family: Arial; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Circuit Diagram:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 15pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: Ebrima; font-size: 12pt; mso-bidi-font-family: Arial; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixoJzAQJJjpA5fUp81PnW5tBS33846fVhph6c4NFwFxXrgVvY3gAj-eTdV0-AvnfzZQ-vAZNpJpB7X672AlQV0LQXCXjRqDAD_Xx5OofaaX9iqWQlGLDdFCGBsukuAd-gC1VNQbNny6xE/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;395&quot; data-original-width=&quot;557&quot; height=&quot;454&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixoJzAQJJjpA5fUp81PnW5tBS33846fVhph6c4NFwFxXrgVvY3gAj-eTdV0-AvnfzZQ-vAZNpJpB7X672AlQV0LQXCXjRqDAD_Xx5OofaaX9iqWQlGLDdFCGBsukuAd-gC1VNQbNny6xE/w640-h454/image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;Components Required:&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;background: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Arduino
UNO&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Force
sensor&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Resistor-01&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Red LED&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Yellow
LED&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; text-indent: -0.25in;&quot;&gt;§&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;Blue LED&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;§&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Connecting
wires&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;Connection:&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;background: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;The
hardware a part of this project is quite simple and easy to place together.
First of all, make the connections for the force sensor with the Arduino. The
connections for the force sensor with the Arduino given in the above circuit
diagram.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;The force
sensor we used here has size 2 inch. force sensor has two pins one is connected
to the GND pin of an Arduino and another pin is connected to the digital pin of
an Arduino using the voltage divider across this pin.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Connect
the one terminal of force sensor to the GND of an Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Connect
the other terminal of FSR to resistor for creating the voltage divider.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Connect
the voltage divider output is connected to the analog input pin A0 of an
Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Connect
the red LED anode pin to digital pin 5.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Connect
the yellow LED anode pin to digital pin 4.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Connect
the blue LED anode pin to digital pin 3.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;

















&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Connect
the cathode pin of all LEDs to the GND pin of an Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; margin: 0in 0in 0in 15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;h2 style=&quot;background: white; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 19.2pt; margin: 19.2pt 0in 6pt; mso-line-height-alt: 18.0pt;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Roboto; font-size: 22.5pt; font-weight: normal;&quot;&gt;FSR Overview&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.5pt; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 12.0pt; margin: 12pt 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;Force
Sensor also known as&amp;nbsp;Force Sensing Resistors&amp;nbsp;(FSRs). These sensors
are cheaper compare to others and easy-to-interface with the microcontroller. &lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%;&quot;&gt;The kind of technology is used by FSRs has been patented
by&amp;nbsp;&lt;strong&gt;Interlink Electronics.&lt;/strong&gt;&amp;nbsp;
There are two common types of FSR available FSR-402 and FSR-406, in market you
will find the two different size and shape FSR pictures given below.&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%;&quot;&gt;Two kinds of FSR based on shape one is a circular and another
one is rectangular sensing area. Rectangular FSR used to sense the large area,
while small circular sensors are used sense small&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 15pt;&quot;&gt;







&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Ebrima; font-size: 12pt; line-height: 115%;&quot;&gt;area with good accuracy.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 15pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Ebrima; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRVBm3q49IHjGqexlql8N9jz45VnuYY-KnNsiWL1uaT_b9z-WutmlhwD19LWewpDTCAHrLIykOkYx5ARdLmxFEvyFysZ807vxLL-8Ub4zTEXkL2CoV8SA46Qxitf_siPQ9gT2Qg_HjBXU/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;173&quot; data-original-width=&quot;173&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRVBm3q49IHjGqexlql8N9jz45VnuYY-KnNsiWL1uaT_b9z-WutmlhwD19LWewpDTCAHrLIykOkYx5ARdLmxFEvyFysZ807vxLL-8Ub4zTEXkL2CoV8SA46Qxitf_siPQ9gT2Qg_HjBXU/w320-h320/image.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi517tBbuHJl-zhxisYkDX1xyn3VY1fUxQHTfvt3K0myw9l_Y06_8V_MyhwEkC-t2pJLCl1dg8Bv-147mI9-H6o8x3TUwqLk4A4LpV1iT35ziZJgHcXzgkPBXJzE4BfbIElBh4K-S-dUvk/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;192&quot; data-original-width=&quot;227&quot; height=&quot;270&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi517tBbuHJl-zhxisYkDX1xyn3VY1fUxQHTfvt3K0myw9l_Y06_8V_MyhwEkC-t2pJLCl1dg8Bv-147mI9-H6o8x3TUwqLk4A4LpV1iT35ziZJgHcXzgkPBXJzE4BfbIElBh4K-S-dUvk/w320-h270/image.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;h2 style=&quot;background: white; line-height: 18pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 19.2pt; margin: 19.2pt 0in 6pt;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Ebrima; font-size: 14pt;&quot;&gt;How FSR Works?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p style=&quot;background: white; line-height: 19.5pt; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 12.0pt; margin: 12pt 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima;&quot;&gt;&amp;nbsp;FSR is a kind of variable resistor whose value
depends upon the pressure applied to the sensor.&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white; line-height: 19.5pt; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 12.0pt; margin: 12pt 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima;&quot;&gt;When there is little pressure or no
pressure, then sensor gives the high resistance output. Harder you apply the
pressure on the sensor, lower the resistance value you get, and as soon as you
remove the pressure it will get back to its original value that is high
resistance.&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;h2 style=&quot;background: white; line-height: 18pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 19.2pt; margin: 19.2pt 0in 6pt;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Ebrima; font-size: 14pt;&quot;&gt;How to take reading of an FSR?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.5pt; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 12.0pt; margin: 12pt 0in;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;We
can easily read the FSR by creating the voltage divider across the FSR. For
crating voltage divider, we will connect fix value resistor (10kΩ) to one
terminal of an FSR. After that connect the fixed value resistor and the
variable FSR resistor to the analog input pin of an Arduino that is pin A0.
This is how creating voltage divider we can able to read the variable voltage
output.&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 15pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Ebrima; font-size: 12pt; line-height: 115%;&quot;&gt;







&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMJpAIwl8zaKNeFqboIvpNOZn3nBoNBxikEzL1nnh7IoKJcZjh4caS4zMQll9_XqGF81MblfEPK67bS211GvLtikYcroA8O3zqhNynDUMSTQO_MlJgPvoBgxYCTH8NuIuhRdiOenhVSpA/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;369&quot; data-original-width=&quot;259&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMJpAIwl8zaKNeFqboIvpNOZn3nBoNBxikEzL1nnh7IoKJcZjh4caS4zMQll9_XqGF81MblfEPK67bS211GvLtikYcroA8O3zqhNynDUMSTQO_MlJgPvoBgxYCTH8NuIuhRdiOenhVSpA/w224-h320/image.png&quot; width=&quot;224&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 15.0pt; margin-left: 0in; margin-right: 0in; margin-top: 15.0pt; margin: 15pt 0in; mso-outline-level: 3; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Working of project:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;rtejustify&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;color: black; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-hansi-theme-font: minor-latin;&quot;&gt;As per the circuit diagram, the output
voltage of the FRR is connected to the analog input pin A0 of an Arduino. FSR&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;gives the Analog output when it is pressed. The
output of the FSR &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;is stored in variable named
forcesense&lt;/span&gt;&lt;span style=&quot;color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext;&quot;&gt;. Three LEDs are connected to
the digital pin 5,4,3 respectively.&lt;/span&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;rtejustify&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;color: black; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-hansi-theme-font: minor-latin;&quot;&gt;This circuit operates in three mode &lt;/span&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;rtejustify&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;color: black; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-hansi-theme-font: minor-latin;&quot;&gt;When the very little force is applied on
the sensor then blue LED will turn on. is low it will turn on the green LED.&lt;/span&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;rtejustify&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;color: black; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-hansi-theme-font: minor-latin;&quot;&gt;When the applied force is in between high
and low the yellow LED will turn on.&lt;/span&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;rtejustify&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;color: black; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-color-alt: windowtext; mso-hansi-theme-font: minor-latin;&quot;&gt;When the very high force is applied on
the sensor then red will turn on.&lt;/span&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 15pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Ebrima; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 24pt; margin-bottom: 7.5pt; mso-outline-level: 3;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Code Explanation
(Block Based):&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;First
of all, we create a variable named forcesense to store the sensor value . For
declare the variable click on the variable block and create a variable, see the
below picture..&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6ZHply1MxfOfACCY4QNHetwrJvRSTS2o3Mw7TKSA3SWhtE9QEzw-10Np5PGRLG1UT0v_OAbexyvQFi49Vnau8Lt3mOQ7Hdnvw-n7aE1aM3Onrnv6P1OpRYDTH8q3P_yaFKCpsInA_KaI/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;225&quot; data-original-width=&quot;253&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6ZHply1MxfOfACCY4QNHetwrJvRSTS2o3Mw7TKSA3SWhtE9QEzw-10Np5PGRLG1UT0v_OAbexyvQFi49Vnau8Lt3mOQ7Hdnvw-n7aE1aM3Onrnv6P1OpRYDTH8q3P_yaFKCpsInA_KaI/&quot; width=&quot;270&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;After
declaring the variable drag out the set block and set it to the read analog pin
A0.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHFPmi95tA7PLmBd8lQ_Z7WYsrKx7Aor-NmG-CBUl23oBaymHpANNedg8xxA6Xr44rzffO4YWBHKgDbCJUkpcz8KUaFHShP35xkKa5U8dOx-kRYox5sKhkSn6XPwBYBX7bjWhB-WxVAsw/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;93&quot; data-original-width=&quot;369&quot; height=&quot;104&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHFPmi95tA7PLmBd8lQ_Z7WYsrKx7Aor-NmG-CBUl23oBaymHpANNedg8xxA6Xr44rzffO4YWBHKgDbCJUkpcz8KUaFHShP35xkKa5U8dOx-kRYox5sKhkSn6XPwBYBX7bjWhB-WxVAsw/w419-h104/image.png&quot; width=&quot;419&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Take out the serial monitor block to
print the sensor value on the screen&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMZuTuYFGf-6qBd4-ShDleONDdjwULdOt0PYxmcJrlPThaxmcwi_2zk9a12b5bRI3RJnir7cPxd2giPR14xkfvSop-i6M3c7sJh7hhJnCpKewMUaBQvMfoBnh_FKslbR87DnXlfHh1TrE/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;101&quot; data-original-width=&quot;381&quot; height=&quot;102&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMZuTuYFGf-6qBd4-ShDleONDdjwULdOt0PYxmcJrlPThaxmcwi_2zk9a12b5bRI3RJnir7cPxd2giPR14xkfvSop-i6M3c7sJh7hhJnCpKewMUaBQvMfoBnh_FKslbR87DnXlfHh1TrE/w380-h102/image.png&quot; width=&quot;380&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #1a1a1a;&quot;&gt;Let’s use the main conditional
statement of the program that is ‘if’ block&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #1a1a1a;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhICbRpjGbou_GwPLob87OVvUHcAbQ8IwoB29P-_qBM6vx6sApbNemtcKbtsAkOknQUwNAmXFk3_VWM4ObLkA8I0qW21fa4MBa1uFAwRRaGJhesHnl2ezTaMOXA8ubqGbocROl9Y2Y37cg/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;436&quot; data-original-width=&quot;408&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhICbRpjGbou_GwPLob87OVvUHcAbQ8IwoB29P-_qBM6vx6sApbNemtcKbtsAkOknQUwNAmXFk3_VWM4ObLkA8I0qW21fa4MBa1uFAwRRaGJhesHnl2ezTaMOXA8ubqGbocROl9Y2Y37cg/w600-h640/image.png&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #1a1a1a;&quot;&gt;first if statement block:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #1a1a1a;&quot;&gt;In this if block we will use the
less than “&amp;lt;” comparison operator.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #1a1a1a;&quot;&gt;Condition:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #1a1a1a;&quot;&gt;&amp;nbsp;If the FSR value is less than 30 then pin 5
will be and pin no 4 and pin no 3 will be Low. This will make blue LED to turn
on and other two LEDs will turn off this indicates the low pressure applied.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #1a1a1a;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7S4-HuV8QLBgMgOxKCLZKskxIVdAAsyiRwokKf_fvq1ix_AR_-_0RmYDK3DFXMnAflpA6eE84Zpnpdpt6gvWgb_VpuOgHFxzqL8CCA0TC21W9G8Dtbh7Q0PwWn0E8mJWeY4oUm5YjGYc/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;302&quot; data-original-width=&quot;474&quot; height=&quot;255&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7S4-HuV8QLBgMgOxKCLZKskxIVdAAsyiRwokKf_fvq1ix_AR_-_0RmYDK3DFXMnAflpA6eE84Zpnpdpt6gvWgb_VpuOgHFxzqL8CCA0TC21W9G8Dtbh7Q0PwWn0E8mJWeY4oUm5YjGYc/w400-h255/image.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #1a1a1a;&quot;&gt;Second if statement block:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #1a1a1a;&quot;&gt;In this, if block we will use the
three different operators two comparison operator that is less than “&amp;lt;”
comparison operator and “&amp;gt;” greater than comparison operator and last the
logical operator that is “&amp;amp;&amp;amp;” (and) operator&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #1a1a1a;&quot;&gt;Condition:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #1a1a1a;&quot;&gt;&amp;nbsp;If the applied force value is less than 220
and also If the applied force value is greater than 90 then pin 4 will be high
and pin no 5 and pin no 3 will be Low. This will make yellow LED turn on and
other two LEDs will turn off this indicates the medium range force is applied
on FSR.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #1a1a1a;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #1a1a1a;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpKYcN6REhn9bgX4kHntN4Hq1mkDt11DkE5VvsePB-WTGtqxuYXmaTaksguY7a38v5al9G8N4fV9f8rPkqnli3zYRopynTMAGENlPfer5qApB0wuRL7YElxzwgG2OVJhZAry_j3LxjMaw/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;222&quot; data-original-width=&quot;579&quot; height=&quot;246&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpKYcN6REhn9bgX4kHntN4Hq1mkDt11DkE5VvsePB-WTGtqxuYXmaTaksguY7a38v5al9G8N4fV9f8rPkqnli3zYRopynTMAGENlPfer5qApB0wuRL7YElxzwgG2OVJhZAry_j3LxjMaw/w618-h246/image.png&quot; width=&quot;618&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Third if statement block:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;In this, if block we will use the
three different operators two comparison operator that is less than “&amp;lt;”
comparison operator and “&amp;gt;” greater than comparison operator and last the
logical operator that is “&amp;amp;&amp;amp;” (and) operator.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Condition:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;If the applied force value is less than 1023
and also If the applied force is greater than 220 then pin 3 will be high and
pin no 5 and pin no 4 will be Low. This will make the red LED turn on and the
other two LEDs will turn off this indicates the high force applied on the FSR.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtdXtlQ5zuUTjm0UcvYwfqoXxlaUheQez-TiPlbntuRE0EGddDJoKCRY18Oh35QNCBhh2A5NT8c5OoVQC-yixCeJi-WQHfjWFHDUphHgb0mPR6Z_d2lG0yqj5fhPDY9z1yCzdJPUYus6g/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;201&quot; data-original-width=&quot;567&quot; height=&quot;226&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtdXtlQ5zuUTjm0UcvYwfqoXxlaUheQez-TiPlbntuRE0EGddDJoKCRY18Oh35QNCBhh2A5NT8c5OoVQC-yixCeJi-WQHfjWFHDUphHgb0mPR6Z_d2lG0yqj5fhPDY9z1yCzdJPUYus6g/w615-h226/image.png&quot; width=&quot;615&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;color: #1a1a1a; margin: 0in;&quot;&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;[ Note:&lt;/span&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;color: #0e101a; font-size: 11pt; font-weight: normal; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;The logical operators return TRUE
or FALSE, which are defined as&amp;nbsp;&lt;em&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;1&lt;/span&gt;&lt;/em&gt;&amp;nbsp;and&amp;nbsp;&lt;em&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;0,&lt;/span&gt;&lt;/em&gt;&amp;nbsp;respectively, logical operators use where
needs to make the decision based on multiple conditions&lt;/span&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;color: #0e101a; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;p style=&quot;color: #1a1a1a; margin: 0in;&quot;&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;color: #0e101a; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;&amp;amp;&amp;amp; is the logical&amp;nbsp;&lt;em&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;and&lt;/span&gt;&lt;/em&gt;&amp;nbsp;operator:
it returns a true value only when if both the conditions are true and returns a
false value when both the conditions are false&lt;/span&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;color: #2e2e2e; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;]&lt;/span&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;color: #0e101a; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: #1a1a1a; margin: 0in;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;color: #1a1a1a; margin: 0in;&quot;&gt;&lt;b style=&quot;background-color: #d9ead3;&quot;&gt;Thanks for subscribing to my Youtube channel, here is the good news for you!! now you can join my Udemy course for FREE. fill the below form and you will receive the free Udemy coupon code in your mail. click on below link.&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;color: #1a1a1a;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;i&gt;https://docs.google.com/forms/d/e/1FAIpQLSfY7sanjTlF6qgfFOo5mY68J8izOklnZ_f5-fJ3ecuQFsImmw/viewform?usp=sf_link&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: #1a1a1a; margin: 0in;&quot;&gt;&lt;b style=&quot;background-color: #d9ead3;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;color: #1a1a1a; margin: 0in;&quot;&gt;&lt;b style=&quot;background-color: #d9ead3;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;color: #1a1a1a;&quot;&gt;&lt;b&gt;&amp;nbsp;Arduino Sketch :&lt;/b&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;forcesense = 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;void setup()&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; pinMode(A0, INPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; Serial.begin(9600);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; pinMode(5, OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; pinMode(4, OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; pinMode(3, OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;void loop()&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; forcesense = analogRead(A0);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; Serial.println(forcesense);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; if (forcesense &amp;lt; 30) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(5, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(4, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(3, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; if (forcesense &amp;gt; 90 &amp;amp;&amp;amp; forcesense
&amp;lt; 220) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(5, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(4, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(3, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; if (forcesense &amp;gt; 220 &amp;amp;&amp;amp; forcesense
&amp;lt; 1023) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(5, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(4, LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(3, HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;&amp;nbsp; delay(10); // Delay a little bit to improve
simulation performance&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;































































&lt;/i&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;MsoIntenseEmphasis&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1; tab-stops: 100.5pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/6303491680469146099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2021/02/interfacing-of-force-sensor-fsrwith.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/6303491680469146099'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/6303491680469146099'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2021/02/interfacing-of-force-sensor-fsrwith.html' title='Interfacing of force sensor (FSR)with an Arduino in tinkercad'/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixoJzAQJJjpA5fUp81PnW5tBS33846fVhph6c4NFwFxXrgVvY3gAj-eTdV0-AvnfzZQ-vAZNpJpB7X672AlQV0LQXCXjRqDAD_Xx5OofaaX9iqWQlGLDdFCGBsukuAd-gC1VNQbNny6xE/s72-w640-h454-c/image.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130408337301681016.post-2147843603900634767</id><published>2021-02-11T20:17:00.002+05:30</published><updated>2021-02-11T20:17:24.978+05:30</updated><title type='text'> Interfacing of smoke sensor (MQ2) with an Arduino in tinkercad.  [Gas leakage detector]</title><content type='html'>&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;span style=&quot;font-family: Ebrima; mso-bidi-font-family: Palatino-Roman;&quot;&gt;Interfacing &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #333333; font-family: Ebrima; font-size: 12.0pt;&quot;&gt;of smoke sensor (MQ2)
with an Arduino in tinkercad.&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; tab-stops: 100.5pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333; font-family: Ebrima; font-size: 12.0pt;&quot;&gt;[Gas leakage
detector]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12.0pt; line-height: 115%; mso-bidi-font-family: Arial;&quot;&gt;In this project, we will see how to interface the smoke
sensor with Arduino in tinkercad and we will make the gas leakage detector. and
also, we will learn about gas Sensors, how a gas sensor works and simulate the
circuit in tinkercad.&lt;/span&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12.0pt; line-height: 115%; mso-color-alt: windowtext;&quot;&gt; Here
we are using MQ2 Gas Sensor Module. This gas sensor module is basically
suitable for detecting LPG,&amp;nbsp;&lt;strong&gt;&lt;span style=&quot;font-family: Ebrima; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi;&quot;&gt;Smoke&lt;/span&gt;&lt;/strong&gt;,&amp;nbsp;&lt;strong&gt;&lt;span style=&quot;font-family: Ebrima; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi;&quot;&gt;Alcohol&lt;/span&gt;&lt;/strong&gt;,&amp;nbsp;&lt;strong&gt;&lt;span style=&quot;font-family: Ebrima; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi;&quot;&gt;Propane&lt;/span&gt;&lt;/strong&gt;,&amp;nbsp;&lt;strong&gt;&lt;span style=&quot;font-family: Ebrima; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi;&quot;&gt;Hydrogen&lt;/span&gt;&lt;/strong&gt;,&amp;nbsp;&lt;strong&gt;&lt;span style=&quot;font-family: Ebrima; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi;&quot;&gt;Methane&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;and&amp;nbsp;&lt;strong&gt;&lt;span style=&quot;font-family: Ebrima; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi;&quot;&gt;Carbon&amp;nbsp;Monoxide&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;concentrations in the
air. This gas sensor can be used make projects like indoor air quality
monitoring, alcohol checker or LPG leakage detecting.&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: &amp;quot;Arial&amp;quot;,sans-serif; font-size: 13.5pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; font-family: Ebrima; font-size: 14.0pt; line-height: 115%; mso-bidi-font-size: 16.0pt;&quot;&gt;Circuit Diagram:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 11.5pt; line-height: 115%; mso-bidi-font-family: Arial;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi86NOIRYqtk1C1p2aQBtS0Yj39wmpoi5l_9pLHx9al4k9DuJCG9SvzxZVJVjPebUUxN0S4ORNANJH6vwRzEt5kR9-rqhhkvG8w4tnaaWrtQ2XMX6C8kJLMhmuwXHJ3eT3o3sDFzAF5z3k/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;301&quot; data-original-width=&quot;522&quot; height=&quot;370&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi86NOIRYqtk1C1p2aQBtS0Yj39wmpoi5l_9pLHx9al4k9DuJCG9SvzxZVJVjPebUUxN0S4ORNANJH6vwRzEt5kR9-rqhhkvG8w4tnaaWrtQ2XMX6C8kJLMhmuwXHJ3eT3o3sDFzAF5z3k/w640-h370/image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&amp;nbsp;&lt;/b&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 11.5pt; line-height: 115%; mso-bidi-font-family: Arial; mso-color-alt: windowtext;&quot;&gt;Components Required:&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 11.5pt; line-height: 115%; mso-bidi-font-family: Arial;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; mso-list: l2 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.5pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: Ebrima; font-size: 11.5pt; mso-bidi-font-family: Arial; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Arduino UNO&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 11.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; mso-list: l2 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.5pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: Ebrima; font-size: 11.5pt; mso-bidi-font-family: Arial; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Gas sensor&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 11.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; mso-list: l2 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.5pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: Ebrima; font-size: 11.5pt; mso-bidi-font-family: Arial; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Resistor-04&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 11.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; mso-list: l2 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.5pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: Ebrima; font-size: 11.5pt; mso-bidi-font-family: Arial; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;LED-02&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 11.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; mso-list: l2 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.5pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: Ebrima; font-size: 11.5pt; mso-bidi-font-family: Arial; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Connecting
wires&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 11.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 15.0pt; margin-right: 0in; margin-top: 0in; mso-list: l2 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 11.5pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; font-family: Ebrima; font-size: 11.5pt; mso-bidi-font-family: Arial; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Buzzer&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 11.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12.0pt; line-height: 115%; mso-bidi-font-family: Palatino-Roman;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Ebrima; font-size: 12.0pt; line-height: 115%; mso-bidi-font-family: Arial; mso-bidi-font-size: 11.5pt; mso-color-alt: windowtext;&quot;&gt;Connection:&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12.0pt; line-height: 115%; mso-bidi-font-family: Arial; mso-bidi-font-size: 11.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; font-family: Ebrima; font-size: 12.0pt; line-height: 115%;&quot;&gt;The
hardware a part of this project is quite simple and easy to place together.
First of all, make the connections for the gas sensor with the Arduino. The
connections for the gas sensor with the Arduino given in the above circuit
diagram.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; font-family: Ebrima; font-size: 12.0pt; line-height: 115%;&quot;&gt;Gas sensor
has six pins here we used the MQ2 sensor alone.MQ2 gas sensor module has 4 pins
power, ground, analog out, digital out. will see how to do the connection for
MQ2 sensor.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; font-family: Ebrima; font-size: 12.0pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaEc_S19zqP-1o-rYtkbPYdVYftp6TZBodtAvmZdVStFwc7P-QbZS-QGsYniP3qq5FAGAeAURw7wfzB9Eu0uS0ud50asOdm4Z71fX6PFR1NKs1VQiJn5ZCI4iaxuhEUa44drYddt8pAB8/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;385&quot; data-original-width=&quot;698&quot; height=&quot;221&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaEc_S19zqP-1o-rYtkbPYdVYftp6TZBodtAvmZdVStFwc7P-QbZS-QGsYniP3qq5FAGAeAURw7wfzB9Eu0uS0ud50asOdm4Z71fX6PFR1NKs1VQiJn5ZCI4iaxuhEUa44drYddt8pAB8/w400-h221/image.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;mso-no-proof: yes;&quot;&gt;&lt;v:shape id=&quot;Picture_x0020_2&quot; o:spid=&quot;_x0000_i1027&quot; style=&quot;height: 289pt; mso-wrap-style: square; visibility: visible; width: 523.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;Gas-Sensor-Module-Circuit-Diagram&quot; src=&quot;file:///C:/Users/Lomesh/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;background: white; color: #1a1a1a; font-family: Ebrima; font-size: 12.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; font-family: Ebrima; font-size: 12.0pt; line-height: 115%;&quot;&gt;A basic gas
sensor has 6 terminals in which 4 terminals (A, A, B, B) acts as input or
output and the other 2 pins (H, H) are for heating the coil.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; font-family: Ebrima; font-size: 12.0pt; line-height: 115%;&quot;&gt;Connect the
A1, H1, A2 to the power pin of an Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; font-family: Ebrima; font-size: 12.0pt; line-height: 115%;&quot;&gt;Connect the
B1 to the analog pin A5 of an Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; font-family: Ebrima; font-size: 12.0pt; line-height: 115%;&quot;&gt;Connect the
h1 to the GND pin of an Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; font-family: Ebrima; font-size: 12.0pt; line-height: 115%;&quot;&gt;Connect the
B1 to the GND through resistor.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; font-family: Ebrima; font-size: 12.0pt; line-height: 115%;&quot;&gt;Connect the
buzzer positive pin to digital pin 10 of an Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; font-family: Ebrima; font-size: 12.0pt; line-height: 115%;&quot;&gt;Connect the
LED with resistor to digital pin 11 of an Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; font-family: Ebrima; font-size: 12.0pt; line-height: 115%;&quot;&gt;Connect the
LED with resistor to digital pin 12 of an Arduino.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 81.75pt;&quot;&gt;&lt;span style=&quot;background: white; color: #1a1a1a; font-family: Ebrima; font-size: 12.0pt; line-height: 115%;&quot;&gt;Connect the
negative of the buzzer and cathode of LED to the GND pin of an Arduino.&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 100.5pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12.0pt; line-height: 115%; mso-bidi-font-family: Arial; mso-bidi-font-size: 11.5pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;h2 style=&quot;background: white; line-height: 18.0pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 19.2pt;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Ebrima; font-size: 14.0pt;&quot;&gt;What is MQ2 Gas Sensor&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Ebrima; font-size: 12.0pt; font-weight: normal;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Roboto; font-size: 22.5pt; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;

&lt;p style=&quot;background: white; line-height: 19.5pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: Ebrima; mso-color-alt: windowtext;&quot;&gt;MQ2 gas sensor is one of most used in MQ
sensor list. It is a Metal Oxide Semiconductor (MOS). &lt;b&gt;Gas sensor&lt;/b&gt;&amp;nbsp;is
one which use to detect the variation in the concentration of toxic gases in
environment, industries in various places&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Roboto; font-size: 13.0pt; mso-color-alt: windowtext;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Roboto; font-size: 13.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;h2 style=&quot;background: white; line-height: 15.6pt; margin-bottom: 13.5pt; margin-left: 0in; margin-right: 0in; margin-top: 25.5pt;&quot;&gt;&lt;span style=&quot;color: #3a3a3a; font-family: Ebrima; font-size: 14.0pt; mso-bidi-font-family: &amp;quot;Open Sans&amp;quot;;&quot;&gt;How does it
work?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;

&lt;p style=&quot;background: white; line-height: 19.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: #3a3a3a; font-family: Ebrima; mso-bidi-font-family: &amp;quot;Open Sans&amp;quot;;&quot;&gt;Sensor gives
the analog output that is changing voltage output based on smoke/gas level that
exists in the atmosphere. The sensor outputs a voltage that is proportional to
the amount of concentration of smoke/gas in the environment.&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; line-height: 19.5pt;&quot;&gt;&lt;span style=&quot;background: white; color: #3a3a3a; font-family: Ebrima; mso-bidi-font-family: &amp;quot;Open Sans&amp;quot;;&quot;&gt;In simple
words, I can put the relationship between voltage and gas concentration is the
following:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 1.0in; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo2; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #3a3a3a; font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span style=&quot;border: none windowtext 1.0pt; color: #3a3a3a; font-family: Ebrima; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Open Sans&amp;quot;; mso-border-alt: none windowtext 0in; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; padding: 0in;&quot;&gt;If there is more&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #3a3a3a; font-family: Ebrima; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Open Sans&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;the gas
concentration,&amp;nbsp;&lt;b&gt;&lt;span style=&quot;border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in;&quot;&gt;the more&lt;/span&gt;&lt;/b&gt;&amp;nbsp;the output voltage&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 1.0in; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo2; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #3a3a3a; font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 13.5pt; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span style=&quot;border: none windowtext 1.0pt; color: #3a3a3a; font-family: Ebrima; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Open Sans&amp;quot;; mso-border-alt: none windowtext 0in; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; padding: 0in;&quot;&gt;lesser&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #3a3a3a; font-family: Ebrima; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Open Sans&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;the gas concentration,&amp;nbsp;&lt;b&gt;&lt;span style=&quot;border: none windowtext 1.0pt; mso-border-alt: none windowtext 0in; padding: 0in;&quot;&gt;the lesser &lt;/span&gt;&lt;/b&gt;the output voltage&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 1.0in; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo2; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #3a3a3a; font-family: Ebrima; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Open Sans&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 1.0in; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo2; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #3a3a3a; font-family: Ebrima; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Open Sans&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicFnrpVhYFu4hNQdtc9nNEn7WZ7U5oVBkV9M8MdpUrl9C1189H2s7kLP6Gt7pSGHkCxmevJ80eK7glz-TF_EbJJYHTZn1di0RwgAZ8VV3pAU0fb7rqK-M5YbTQbVtQUZ-1cDBAvqE-V3A/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;194&quot; data-original-width=&quot;157&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicFnrpVhYFu4hNQdtc9nNEn7WZ7U5oVBkV9M8MdpUrl9C1189H2s7kLP6Gt7pSGHkCxmevJ80eK7glz-TF_EbJJYHTZn1di0RwgAZ8VV3pAU0fb7rqK-M5YbTQbVtQUZ-1cDBAvqE-V3A/&quot; width=&quot;194&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%;&quot;&gt;Pinout:-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; font-family: Ebrima; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqdMOsk5hQJi7oN_uDrTK5hq-mvCSE8nlZ_NWh0r-R1J2Nq74-omGTqSCBwkJPXUhSZLxu1FJjhYFLiipP9pPcTCkMgb2ivPWi9NoYA8RHQMdChOu18VTpA6oGXfj1yKRuY4O1mkwHP04/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;254&quot; data-original-width=&quot;521&quot; height=&quot;312&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqdMOsk5hQJi7oN_uDrTK5hq-mvCSE8nlZ_NWh0r-R1J2Nq74-omGTqSCBwkJPXUhSZLxu1FJjhYFLiipP9pPcTCkMgb2ivPWi9NoYA8RHQMdChOu18VTpA6oGXfj1yKRuY4O1mkwHP04/w640-h312/image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 14pt; line-height: 115%;&quot;&gt;List of Gas Sensors and What Gases They
Sense&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 14.0pt; line-height: 115%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: major-bidi; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-theme-font: major-fareast; mso-font-kerning: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 14pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; mso-background-themecolor: background1;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 14pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTjlEk2AMDAZ4ovf8BeyzV1QhUDsfLqc0XmfqX5OLFPmtJ1cvTPOBXaVf1n6oxqgKUQf5X-TJO5KEgqXu4qjoLy_VwnKtTaghBiDyWBEDsy0y1F14pvzLMyN2fgp3Yn8gCJlGbo2cPP1g/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;442&quot; data-original-width=&quot;698&quot; height=&quot;406&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTjlEk2AMDAZ4ovf8BeyzV1QhUDsfLqc0XmfqX5OLFPmtJ1cvTPOBXaVf1n6oxqgKUQf5X-TJO5KEgqXu4qjoLy_VwnKtTaghBiDyWBEDsy0y1F14pvzLMyN2fgp3Yn8gCJlGbo2cPP1g/w640-h406/image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 24.0pt; margin-bottom: 7.5pt; mso-outline-level: 3;&quot;&gt;&lt;b style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #1a1a1a; font-family: Ebrima; font-size: 12pt; line-height: 115%;&quot;&gt;Arduino Code Explanation:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 24.0pt; margin-bottom: 7.5pt; mso-outline-level: 3;&quot;&gt;&lt;span style=&quot;color: #1a1a1a; font-family: Ebrima; font-size: 12pt;&quot;&gt;Define the LED and buzzer pins, led1 is connected to the pin
12 and led2 is connected to the pin 11 and last buzzer is connected to the pin
10.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l1 level1 lfo3; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #548dd4; font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;Ø&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;int
led1=12;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l1 level1 lfo3; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #548dd4; font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;Ø&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;int
led2=11;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l1 level1 lfo3; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #548dd4; font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;Ø&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;int
buzzer=10; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;define where the gas sensor is connected, it is connected to
the analog pin A5 of an Arduino.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l3 level1 lfo4; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #548dd4; font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;Ø&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;int
gas_sensor=A5;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;declared variable named sensorthreshold to store the
threshold value of gas sensor &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l3 level1 lfo4; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #548dd4; font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;Ø&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;int
sensorthreshold=600;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;Inside the void
setup we will define the pin which are input and which are output pin, this set
of code runs only once.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;Initialize the
serial monitor for displaying the value at baud rate of 9600.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;void setup()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;pinMode(led1,OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;pinMode(led1,OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;pinMode(buzzer,OUTPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;pinMode(gas_sensor=A5,INPUT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;Serial.begin(9600);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: black; font-family: Ebrima; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;the
code inside the void loop runs over and over as long as the Arduino Board is
turned on&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Roboto; font-size: 13.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Roboto; font-size: 13.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: black; font-family: Ebrima; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;Here
inside the loop defined one variable called analog sensor to store the gas
sensor value&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;void loop()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;int
analogsensor=analogRead(gas_sensor);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;Serial.println(&quot;sensor&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&quot;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Serial.println(analogsensor);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: &amp;quot;Open Sans&amp;quot;,sans-serif; letter-spacing: .1pt;&quot;&gt;The&amp;nbsp;&lt;/span&gt;if()&lt;span style=&quot;background: white; color: black; font-family: &amp;quot;Open Sans&amp;quot;,sans-serif; letter-spacing: .1pt;&quot;&gt; conditional statement&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;basic coding control structures. One can make something happen or not,
it depend whether the condition is true or not. It looks like this:&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: black; mso-color-alt: windowtext;&quot;&gt;If the value stored in analogsensor variable is greater than threshold
value then led1 will tun on and buzzer start producing sound&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;if
(analogsensor&amp;gt;sensorthreshold)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;digitalWrite(led1,HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;digitalWrite(led2,LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;tone(buzzer,1000,350);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: black; mso-color-alt: windowtext;&quot;&gt;If the exact opposite happens then led2 will turn on and
buzzer turned off.&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: black; mso-color-alt: windowtext;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;digitalWrite(led1,LOW);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;digitalWrite(led2,HIGH);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;noTone(buzzer);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #548dd4; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;b style=&quot;font-family: Lora, serif; font-size: 20px;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 14pt; line-height: 21.4667px;&quot;&gt;Watch Working Video part 1:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;b style=&quot;font-family: Lora, serif; font-size: 20px;&quot;&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b style=&quot;font-family: Lora, serif; font-size: 20px;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;351&quot; src=&quot;https://www.youtube.com/embed/JWeSL_wCEas&quot; width=&quot;615&quot; youtube-src-id=&quot;JWeSL_wCEas&quot;&gt;&lt;/iframe&gt;&lt;/b&gt;&lt;/div&gt;&lt;b style=&quot;font-family: Lora, serif; font-size: 20px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;font-family: Lora, serif; font-size: 20px;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 14pt; line-height: 21.4667px;&quot;&gt;Watch Working Video part 2:&lt;/span&gt;&lt;/b&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;b style=&quot;font-family: Lora, serif; font-size: 20px;&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 14pt; line-height: 21.4667px;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: #292929; text-align: center;&quot;&gt;&lt;b style=&quot;font-family: Lora, serif; font-size: 20px;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;346&quot; src=&quot;https://www.youtube.com/embed/0Cj6eKepGms&quot; width=&quot;629&quot; youtube-src-id=&quot;0Cj6eKepGms&quot;&gt;&lt;/iframe&gt;&lt;/b&gt;&lt;/div&gt;&lt;b style=&quot;font-family: Lora, serif; font-size: 20px;&quot;&gt;&lt;br /&gt;Complete Arduino Sketch:&lt;/b&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;int led1=12;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;int led2=11;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;int buzzer=10;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;int gas_sensor=A5;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;int sensorthreshold=600;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;void setup()&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;pinMode(led1,OUTPUT);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;pinMode(led1,OUTPUT);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;pinMode(buzzer,OUTPUT);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;pinMode(gas_sensor=A5,INPUT);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;&amp;nbsp;
Serial.begin(9600);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;void loop()&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;&amp;nbsp;
int analogsensor=analogRead(gas_sensor);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;&amp;nbsp;
Serial.println(&quot;sensor&amp;nbsp;
&quot;);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;&amp;nbsp;
Serial.println(analogsensor);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;&amp;nbsp;
if (analogsensor&amp;gt;sensorthreshold)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;&amp;nbsp;
{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
digitalWrite(led1,HIGH);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
digitalWrite(led2,LOW);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
tone(buzzer,1000,350);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;&amp;nbsp;
}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;&amp;nbsp;
else&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;&amp;nbsp;
{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
digitalWrite(led1,LOW);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
digitalWrite(led2,HIGH);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
noTone(buzzer);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;&amp;nbsp;
}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;

































































&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: black; mso-background-themecolor: text1;&quot;&gt;&lt;span style=&quot;color: white; mso-color-alt: windowtext;&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Ebrima; font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;background-color: white; color: #292929; font-family: ebrima; font-size: 20px;&quot;&gt;Like share and comment :&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;Our FaceBook Page&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #0000ee; font-family: ebrima;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimkCWpffD7Ywq8mm62jAvOtqXR26oISh8jpC4Vjq97L_ciWudutPBmLnfeF82jV1LONpZVmG_cKSkCGtcevJlzlzhFatNkmURxhaUTv9KOfRblbqHFuxPWcekU4_HhlOXpSZtN6ueF3Rs/s225/download.png&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;225&quot; data-original-width=&quot;225&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimkCWpffD7Ywq8mm62jAvOtqXR26oISh8jpC4Vjq97L_ciWudutPBmLnfeF82jV1LONpZVmG_cKSkCGtcevJlzlzhFatNkmURxhaUTv9KOfRblbqHFuxPWcekU4_HhlOXpSZtN6ueF3Rs/w200-h200/download.png&quot; style=&quot;border: 0px; height: auto; max-width: 100%;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b style=&quot;text-align: left;&quot;&gt;&lt;a href=&quot;https://www.youtube.com/channel/UCHCzBGgDMjT3fOWCv1ruIdA&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;Our Youtube Channel.&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimPUqdQ-CnXbCOatulDLkn1fFERkAVSdRY-OP55K0OY_mDGItsU8krOA6qSZAdkzCbZ70tMedSJm5RyB1j0wuOHP7f6UR54-fllVFV9Zb-lU_WwmMlpbBo3CPwTwBBlxqH-bOaEWHpKT4/s512/58e9197deb97430e819064f8.png&quot; style=&quot;background: transparent; clear: left; color: #25a186; cursor: pointer; float: left; margin-bottom: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimPUqdQ-CnXbCOatulDLkn1fFERkAVSdRY-OP55K0OY_mDGItsU8krOA6qSZAdkzCbZ70tMedSJm5RyB1j0wuOHP7f6UR54-fllVFV9Zb-lU_WwmMlpbBo3CPwTwBBlxqH-bOaEWHpKT4/s512/58e9197deb97430e819064f8.png&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;512&quot; data-original-width=&quot;512&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimPUqdQ-CnXbCOatulDLkn1fFERkAVSdRY-OP55K0OY_mDGItsU8krOA6qSZAdkzCbZ70tMedSJm5RyB1j0wuOHP7f6UR54-fllVFV9Zb-lU_WwmMlpbBo3CPwTwBBlxqH-bOaEWHpKT4/w200-h200/58e9197deb97430e819064f8.png&quot; style=&quot;border: 0px; height: auto; max-width: 100%;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/b&gt;&lt;/span&gt;&lt;a href=&quot;https://www.facebook.com/impulsetech101&quot; style=&quot;background: transparent; color: #25a186; cursor: pointer; font-family: ebrima; font-size: 16px; font-weight: bold; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;b style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;For Any&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;font-family: ebrima;&quot;&gt;&lt;b&gt;queries&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;font-family: ebrima; font-size: 16px;&quot;&gt;&amp;nbsp;please contact:&lt;/b&gt;&lt;/div&gt;&lt;h4 style=&quot;background-color: white; color: #292929; font-family: Lora, serif; font-size: 20px; line-height: normal; margin: 1em 0px 0in;&quot;&gt;&lt;span style=&quot;font-family: ebrima;&quot;&gt;impulseTech101@gmail.com&lt;/span&gt;&lt;/h4&gt;</content><link rel='replies' type='application/atom+xml' href='https://impulsetechx.blogspot.com/feeds/2147843603900634767/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://impulsetechx.blogspot.com/2021/02/interfacing-of-smoke-sensor-mq2-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/2147843603900634767'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2130408337301681016/posts/default/2147843603900634767'/><link rel='alternate' type='text/html' href='https://impulsetechx.blogspot.com/2021/02/interfacing-of-smoke-sensor-mq2-with.html' title=' Interfacing of smoke sensor (MQ2) with an Arduino in tinkercad.  [Gas leakage detector]'/><author><name>Yogesh Bawane</name><uri>http://www.blogger.com/profile/16333637950746754243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi86NOIRYqtk1C1p2aQBtS0Yj39wmpoi5l_9pLHx9al4k9DuJCG9SvzxZVJVjPebUUxN0S4ORNANJH6vwRzEt5kR9-rqhhkvG8w4tnaaWrtQ2XMX6C8kJLMhmuwXHJ3eT3o3sDFzAF5z3k/s72-w640-h370-c/image.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>