Skip to content

Commit

Permalink
ioT-Sensor-Kit
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhiyong0410 committed Dec 1, 2020
1 parent 6588fc4 commit 30350aa
Show file tree
Hide file tree
Showing 15 changed files with 535 additions and 24 deletions.
Binary file modified build/doctrees/environment.pickle
Binary file not shown.
Binary file not shown.
Binary file modified build/doctrees/tutorial.doctree
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Examples
# IoT-Sensor-Kit
This page show you the examples provided with IoT Sensor Kit.

## Open the Example
Expand Down
2 changes: 1 addition & 1 deletion build/html/_sources/tutorial.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ Tutorials

get-started-with-ezblock2.0/get-started-with-ezblock2.0
get-started-with-ezblock2.0/remote-control
get-started-with-ezblock2.0/examples
get-started-with-ezblock2.0/ioT-Sensor-Kit

Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<li class="toctree-l1 current"><a class="reference internal" href="../tutorial.html">Tutorials</a><ul class="current">
<li class="toctree-l2 current"><a class="current reference internal" href="#">Get Started</a></li>
<li class="toctree-l2"><a class="reference internal" href="remote-control.html">Remote Control</a></li>
<li class="toctree-l2"><a class="reference internal" href="examples.html">Examples</a></li>
<li class="toctree-l2"><a class="reference internal" href="ioT-Sensor-Kit.html">IoT-Sensor-Kit</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../reference.html">References</a></li>
Expand Down
364 changes: 364 additions & 0 deletions build/html/get-started-with-ezblock2.0/ioT-Sensor-Kit.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,364 @@


<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>IoT-Sensor-Kit &mdash; Ezblock documentation</title>








<script type="text/javascript" src="../_static/js/modernizr.min.js"></script>


<script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<script type="text/javascript" src="../_static/language_data.js"></script>

<script type="text/javascript" src="../_static/js/theme.js"></script>




<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="References" href="../reference.html" />
<link rel="prev" title="Remote Control" href="remote-control.html" />
</head>

<body class="wy-body-for-nav">


<div class="wy-grid-for-nav">

<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >



<a href="../index.html" class="icon icon-home"> Ezblock



</a>







<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>


</div>

<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">






<ul class="current">
<li class="toctree-l1 current"><a class="reference internal" href="../tutorial.html">Tutorials</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="get-started-with-ezblock2.0.html">Get Started</a></li>
<li class="toctree-l2"><a class="reference internal" href="remote-control.html">Remote Control</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">IoT-Sensor-Kit</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#open-the-example">Open the Example</a></li>
<li class="toctree-l3"><a class="reference internal" href="#twilight-switch">Twilight Switch</a></li>
<li class="toctree-l3"><a class="reference internal" href="#sound-lamp">Sound Lamp</a></li>
<li class="toctree-l3"><a class="reference internal" href="#noisy">Noisy</a></li>
<li class="toctree-l3"><a class="reference internal" href="#theremin-organ">Theremin Organ</a></li>
<li class="toctree-l3"><a class="reference internal" href="#magic-wand">Magic Wand</a></li>
<li class="toctree-l3"><a class="reference internal" href="#hot-weather-alarm">Hot Weather Alarm</a></li>
<li class="toctree-l3"><a class="reference internal" href="#swaying-rainbow">Swaying Rainbow</a></li>
<li class="toctree-l3"><a class="reference internal" href="#smart-garage-door">Smart Garage Door</a></li>
<li class="toctree-l3"><a class="reference internal" href="#count-100">Count 100</a></li>
<li class="toctree-l3"><a class="reference internal" href="#plant-monitoring">Plant Monitoring</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../reference.html">References</a></li>
</ul>



</div>
</div>
</nav>

<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">


<nav class="wy-nav-top" aria-label="top navigation">

<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../index.html">Ezblock</a>

</nav>


<div class="wy-nav-content">

<div class="rst-content">

















<div role="navigation" aria-label="breadcrumbs navigation">

<ul class="wy-breadcrumbs">

<li><a href="../index.html">Docs</a> &raquo;</li>

<li><a href="../tutorial.html">Tutorials</a> &raquo;</li>

<li>IoT-Sensor-Kit</li>


<li class="wy-breadcrumbs-aside">


<a href="../_sources/get-started-with-ezblock2.0/ioT-Sensor-Kit.md.txt" rel="nofollow"> View page source</a>


</li>

</ul>


<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">

<div class="section" id="iot-sensor-kit">
<h1>IoT-Sensor-Kit<a class="headerlink" href="#iot-sensor-kit" title="Permalink to this headline"></a></h1>
<p>This page show you the examples provided with IoT Sensor Kit.</p>
<div class="section" id="open-the-example">
<h2>Open the Example<a class="headerlink" href="#open-the-example" title="Permalink to this headline"></a></h2>
<ol class="simple">
<li><p>Select the product as IoT Sensor Kit</p></li>
<li><p>Go to Example page</p></li>
<li><p>Open the example you dare interest</p></li>
<li><p>Find the corresponding tutorial</p></li>
<li><p>Follow the tutorial to build the circuit</p></li>
<li><p>Play according to tips</p></li>
</ol>
</div>
<hr class="docutils" />
<div class="section" id="twilight-switch">
<h2>Twilight Switch<a class="headerlink" href="#twilight-switch" title="Permalink to this headline"></a></h2>
<p>In this example, you will use photoresistor to make an automatic sensor light. Before sunset, the light will remain off; after sunset, the light will automatically turn on.</p>
<p>The circuit is built as follows:</p>
<p><img alt="twilight_switch" src="../_images/twilight_switch.jpg" /></p>
<p>Usage:</p>
<ol class="simple">
<li><p>Flash the code</p></li>
<li><p>Simulate the “twilight” lighting environment.</p></li>
<li><p>Change the threshold to the current photoresistor value.</p></li>
<li><p>Reflash the code</p></li>
</ol>
</div>
<hr class="docutils" />
<div class="section" id="sound-lamp">
<h2>Sound Lamp<a class="headerlink" href="#sound-lamp" title="Permalink to this headline"></a></h2>
<p>In this example, you will create a voice-activated light using a sound sensor. The light will turn on automatically when there is enough sound. Connecting this light to the Internet allows us to turn off the light remotely at the touch of a button on the IoT interface.</p>
<p>The circuit is built as follows:<br /><img alt="sound_lamp" src="../_images/sound_lamp.jpg" /></p>
<p>The IoT control is shown below:<br /><img alt="iot_sound_lamp" src="../_images/iot_sound_lamp.png" /></p>
<p>Usage:</p>
<ol class="simple">
<li><p>Modify Wifi Configuration</p></li>
<li><p>Flash the code</p></li>
<li><p>Run IoT</p></li>
</ol>
</div>
<hr class="docutils" />
<div class="section" id="noisy">
<h2>Noisy<a class="headerlink" href="#noisy" title="Permalink to this headline"></a></h2>
<p>In this example, you will record the sound sensor readings in a line graph. You can see from the line chart when your living environment is the noisiest.</p>
<p>The circuit is built as follows:<br /><img alt="noisy" src="../_images/noisy.jpg" /></p>
<p>The remote controls are as follows:
<img alt="rc_noisy" src="../_images/rc_noisy.png" /></p>
<p>Usage:</p>
<ol class="simple">
<li><p>Flash the code</p></li>
<li><p>Run remote control</p></li>
<li><p>Perform noise testing</p></li>
<li><p>View Line Chart</p></li>
</ol>
</div>
<hr class="docutils" />
<div class="section" id="theremin-organ">
<h2>Theremin Organ<a class="headerlink" href="#theremin-organ" title="Permalink to this headline"></a></h2>
<p>The Theremin is the only electronic instrument in the world that does not require physical contact to play. Let’s use ultrasonic sensors to make an instrument that also doesn’t require physical contact!</p>
<p>The circuit is built as follows:<br /><img alt="organ" src="../_images/organ.jpg" /></p>
<p>Usage:</p>
<ol class="simple">
<li><p>Flash the code</p></li>
<li><p>Place your hand directly in front of the ultrasonic sensor</p></li>
<li><p>Play by swinging the hand to different distances</p></li>
</ol>
</div>
<hr class="docutils" />
<div class="section" id="magic-wand">
<h2>Magic Wand<a class="headerlink" href="#magic-wand" title="Permalink to this headline"></a></h2>
<p>Let’s make a magic wand. Tie the RGB module and tilt switch to a small stick. Wave the stick and the light will change to different colors.</p>
<p>The circuit is built as follows:<br /><img alt="magic_wand" src="../_images/magic_wand.jpg" /></p>
<p>Usage:</p>
<ol class="simple">
<li><p>Flash the code</p></li>
<li><p>Wave tilt switch</p></li>
</ol>
</div>
<hr class="docutils" />
<div class="section" id="hot-weather-alarm">
<h2>Hot Weather Alarm<a class="headerlink" href="#hot-weather-alarm" title="Permalink to this headline"></a></h2>
<p>Monitor the temperature with the DS18B20! The real-time temperature of the room is seen in the Iot interface. The circuit is also connected to an RGB light that glows red when it is hot, blue when it is cold, and green when it is comfortable. You can test the temperature experiment with a cold water bottle or with warm hands.</p>
<p>The circuit is built as follows:<br /><img alt="hot_alarm" src="../_images/hot_alarm.jpg" /></p>
<p>Usage:</p>
<ol class="simple">
<li><p>Flash the code</p></li>
<li><p>Run IoT</p></li>
</ol>
</div>
<hr class="docutils" />
<div class="section" id="swaying-rainbow">
<h2>Swaying Rainbow<a class="headerlink" href="#swaying-rainbow" title="Permalink to this headline"></a></h2>
<p>Control the color of the RGB LEDs with the acceleration in the three axis directions of ADXL345. What happens? When you wave the ADXL345 at will, the RGB LEDs will change color. When you wave the ADXL345 and the RGB LED together, a rainbow of colors appears!</p>
<p>The circuit is built as follows:<br /><img alt="rainbow" src="../_images/rainbow.jpg" /></p>
<p>Usage:</p>
<ol class="simple">
<li><p>Flash the code</p></li>
<li><p>Play!</p></li>
</ol>
</div>
<hr class="docutils" />
<div class="section" id="smart-garage-door">
<h2>Smart Garage Door<a class="headerlink" href="#smart-garage-door" title="Permalink to this headline"></a></h2>
<p>Let’s build a smart garage system where we press button in the IoT interface, the garage door (controlled by servo) will open and the ultrasonic sensor will sense the car’s position. When the car is far away, the garage door will close automatically.</p>
<p>The circuit is built as follows:<br /><img alt="door" src="../_images/door.jpg" /></p>
<p>The IoT control is shown below:
<img alt="iot_door" src="../_images/iot_door.png" /></p>
<p>Usage:</p>
<ol class="simple">
<li><p>Modify Wifi Configuration</p></li>
<li><p>Flash the code</p></li>
<li><p>Run IoT</p></li>
</ol>
</div>
<hr class="docutils" />
<div class="section" id="count-100">
<h2>Count 100<a class="headerlink" href="#count-100" title="Permalink to this headline"></a></h2>
<p>Make a little game with button and digital display! The numbers will increase rapidly, so you have to press the button when the number reaches 100, and if the pinch is successful, You Win!</p>
<p>The circuit is built as follows:<br /><img alt="count100" src="../_images/count100.jpg" /></p>
<p>The remote controls are as follows:
<img alt="rc_count100" src="../_images/rc_count100.png" /></p>
<p>Usage:</p>
<ol class="simple">
<li><p>Flash the code</p></li>
<li><p>Run remote control</p></li>
<li><p>Play</p></li>
</ol>
</div>
<hr class="docutils" />
<div class="section" id="plant-monitoring">
<h2>Plant Monitoring<a class="headerlink" href="#plant-monitoring" title="Permalink to this headline"></a></h2>
<p>Make a monitor for your potted plant! With IoT, you can use photoresistor and moisture module to know the current growing environment of your plants even when you are not at home, and to give them additional light.</p>
<p>The circuit is built as follows:<br /><img alt="plant_monitoring" src="../_images/plant_monitoring.jpg" /></p>
<p>The IoT control is shown below:
<img alt="iot_plant_monitoring" src="../_images/iot_plant_monitoring.png" /></p>
<p>Usage:</p>
<ol class="simple">
<li><p>Modify Wifi Configuration</p></li>
<li><p>Flash the code</p></li>
<li><p>Run IoT</p></li>
</ol>
</div>
</div>


</div>

</div>
<footer>

<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">

<a href="../reference.html" class="btn btn-neutral float-right" title="References" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>


<a href="remote-control.html" class="btn btn-neutral float-left" title="Remote Control" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>

</div>


<hr/>

<div role="contentinfo">
<p>
&copy; Copyright 2020, sunfounder

</p>
</div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.

</footer>

</div>
</div>

</section>

</div>



<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>






</body>
</html>

0 comments on commit 30350aa

Please sign in to comment.