|
|
|
@ -15,7 +15,8 @@
|
|
|
|
|
|
|
|
|
|
<h3 class="uppercase">What it Does</h3>
|
|
|
|
|
<hr>
|
|
|
|
|
<p class="grey margin-top">Connect Arduino UNO board to WSO2 IoT Server and visualize sensor data.</p>
|
|
|
|
|
<p class="grey margin-top">Connect Arduino UNO board to WSO2 IoT Server and visualize sensor
|
|
|
|
|
data.</p>
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
|
|
<h3 class="uppercase">What You Need</h3>
|
|
|
|
@ -23,16 +24,21 @@
|
|
|
|
|
<ul class="list-unstyled">
|
|
|
|
|
<li class="padding-top-double"><span class="circle">ITEM 01</span> Arduino UNO Board.
|
|
|
|
|
</li>
|
|
|
|
|
<li class="padding-top-double"><span class="circle">ITEM 02</span> Adafruit Wifi Shield for
|
|
|
|
|
Arduino.
|
|
|
|
|
<li class="padding-top-double"><span class="circle">ITEM 02</span> Adafruit
|
|
|
|
|
Wifi Shield for
|
|
|
|
|
Arduino.
|
|
|
|
|
</li>
|
|
|
|
|
<li class="padding-top-double"><span class="circle">ITEM 03</span> LED bulb connected to Pin
|
|
|
|
|
13. <i>(If not available, will use the one on
|
|
|
|
|
the board.)</i>
|
|
|
|
|
<li class="padding-top-double"><span class="circle">ITEM 03</span> LED bulb
|
|
|
|
|
connected to Pin
|
|
|
|
|
13. <i>(If not available,
|
|
|
|
|
will use the one on
|
|
|
|
|
the board.)</i>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="padding-top-double"><span class="circle">ITEM 04</span> A resister( e.g 330 ohms )
|
|
|
|
|
<li class="padding-top-double"><span class="circle">ITEM 04</span> A
|
|
|
|
|
resister( e.g 330 ohms )
|
|
|
|
|
</li>
|
|
|
|
|
<li class="padding-top-double"><span class="circle">STEP 05</span> Proceed to [Prepare]
|
|
|
|
|
<li class="padding-top-double"><span class="circle">STEP 05</span> Proceed
|
|
|
|
|
to [Prepare]
|
|
|
|
|
section.
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
@ -164,31 +170,41 @@
|
|
|
|
|
<h3 class="uppercase">Prepare</h3>
|
|
|
|
|
<hr>
|
|
|
|
|
<ul class="list-unstyled">
|
|
|
|
|
<li class="padding-top-double"><span class="circle">01</span> Wifi-Shield mounted onto the Arduino-UNO board
|
|
|
|
|
<li class="padding-top-double"><span class="circle">01</span> Wifi-Shield
|
|
|
|
|
mounted onto the Arduino-UNO
|
|
|
|
|
board
|
|
|
|
|
</li>
|
|
|
|
|
<li class="padding-top-double"><span class="circle">02</span> Connect LED bulb to arduino as follows
|
|
|
|
|
<li class="padding-top-double"><span class="circle">02</span> Connect LED
|
|
|
|
|
bulb to arduino as follows
|
|
|
|
|
<br/><br/>
|
|
|
|
|
<a href="{{@unit.publicUri}}/images/schematicsGuide.png" target="_blank" >
|
|
|
|
|
<a href="{{@unit.publicUri}}/images/schematicsGuide.png" target="_blank">
|
|
|
|
|
<img src="{{@unit.publicUri}}/images/schematicsGuide.png" class="img-responsive">
|
|
|
|
|
</a>
|
|
|
|
|
<br/>
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<li class="padding-top-double"><span class="circle">03</span> Download Arduino-Sketch from
|
|
|
|
|
[Download] link above.
|
|
|
|
|
<li class="padding-top-double"><span class="circle">03</span> Download
|
|
|
|
|
Arduino-Sketch from
|
|
|
|
|
[Download] link above.
|
|
|
|
|
</li>
|
|
|
|
|
<li class="padding-top-double"><span class="circle">04</span> Unzip the downloaded
|
|
|
|
|
Arduino Agent
|
|
|
|
|
<li class="padding-top-double"><span class="circle">04</span> Unzip the
|
|
|
|
|
downloaded
|
|
|
|
|
Arduino Agent
|
|
|
|
|
</li>
|
|
|
|
|
<li class="padding-top-double"><span class="circle">05</span> Create a folder called "ArduinoBoardSketch"
|
|
|
|
|
and move all source files inside
|
|
|
|
|
<li class="padding-top-double"><span class="circle">05</span> Create a
|
|
|
|
|
folder called
|
|
|
|
|
"ArduinoBoardSketch"
|
|
|
|
|
and move all source files
|
|
|
|
|
inside
|
|
|
|
|
</li>
|
|
|
|
|
<li class="padding-top-double"><span class="circle">06</span> Open ArduinoBoardSketch.h and
|
|
|
|
|
provide appropriate values for
|
|
|
|
|
<li class="padding-top-double"><span class="circle">06</span> Open
|
|
|
|
|
ArduinoBoardSketch.h and
|
|
|
|
|
provide appropriate values for
|
|
|
|
|
<i>[WLAN_SSID]</i>,<i>[WLAN_PASS]</i>,<i>[SERVICE_PORT]</i>,<i>[server]</i> and <i>[deviceIP]</i> variables according to your network.
|
|
|
|
|
</li>
|
|
|
|
|
<li class="padding-top-double"><span class="circle">07</span> Burn the sketch onto your Arduino
|
|
|
|
|
board and let the program run.
|
|
|
|
|
<li class="padding-top-double"><span class="circle">07</span> Burn the
|
|
|
|
|
sketch onto your Arduino
|
|
|
|
|
board and let the program run.
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<li class="padding-top-double">
|
|
|
|
@ -214,19 +230,27 @@
|
|
|
|
|
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6 padding-double">
|
|
|
|
|
<h3 class="uppercase">Try Out</h3>
|
|
|
|
|
<hr>
|
|
|
|
|
<p class="grey margin-top">WSO2-IoT Server provides Analytics and Real-Time Statistics of your device</p>
|
|
|
|
|
<p class="grey margin-top">WSO2-IoT Server provides Analytics and Real-Time Statistics of
|
|
|
|
|
your device</p>
|
|
|
|
|
<ul class="list-unstyled">
|
|
|
|
|
<li class="padding-top-double"><span class="circle">01</span> You can view all your connected
|
|
|
|
|
devices at <a href="{{@app.context}}/devices">[Device
|
|
|
|
|
Management]</a>
|
|
|
|
|
page.
|
|
|
|
|
<li class="padding-top-double"><span class="circle">01</span> You can
|
|
|
|
|
view all your connected
|
|
|
|
|
devices at <a
|
|
|
|
|
href="{{@app.context}}/devices">[Device
|
|
|
|
|
Management]</a>
|
|
|
|
|
page.
|
|
|
|
|
</li>
|
|
|
|
|
<li class="padding-top-double"><span class="circle">02</span> Select one of connected devices and check for available
|
|
|
|
|
control operations and monitor Real-Time data.
|
|
|
|
|
<li class="padding-top-double"><span class="circle">02</span> Select
|
|
|
|
|
one of connected devices
|
|
|
|
|
and check for available
|
|
|
|
|
control operations and
|
|
|
|
|
monitor Real-Time data.
|
|
|
|
|
</li>
|
|
|
|
|
<li class="padding-top-double"><span class="circle">03</span> You can also view analytics of
|
|
|
|
|
the data published to IoT-Server by navigating
|
|
|
|
|
to Device Analytics page.
|
|
|
|
|
<li class="padding-top-double"><span class="circle">03</span> You can
|
|
|
|
|
also view analytics of
|
|
|
|
|
the data published to
|
|
|
|
|
IoT-Server by navigating
|
|
|
|
|
to Device Analytics page.
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<br/>
|
|
|
|
@ -235,7 +259,8 @@
|
|
|
|
|
<p class="grey margin-top">Click on the image to zoom</p>
|
|
|
|
|
<center>
|
|
|
|
|
<a href="{{@unit.publicUri}}/images/myDevices_analytics.png" target="_blank">
|
|
|
|
|
<img src="{{@unit.publicUri}}/images/myDevices_analytics.png" class="img-responsive">
|
|
|
|
|
<img src="{{@unit.publicUri}}/images/myDevices_analytics.png"
|
|
|
|
|
class="img-responsive">
|
|
|
|
|
</a>
|
|
|
|
|
</center>
|
|
|
|
|
</div>
|
|
|
|
|