tag:blogger.com,1999:blog-87768327049443905362024-03-14T09:56:24.226+01:00ArduinoSome experiments based on the Arduino board.maSSimohttp://www.blogger.com/profile/01823818770979840158noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-8776832704944390536.post-54078064952591347562014-10-11T15:11:00.001+02:002014-10-27T19:31:48.360+01:00Clean energy<div dir="ltr">
Arduino Uno powered by a solar charger.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://lh5.ggpht.com/-PyVH0SiBWn0/VDksaiEV1sI/AAAAAAAABwc/Im3jea74ags/s1600/IMG-20141011-WA0004-1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"> <img border="0" src="http://lh5.ggpht.com/-PyVH0SiBWn0/VDksaiEV1sI/AAAAAAAABwc/Im3jea74ags/s640/IMG-20141011-WA0004-1.jpg" /> </a> </div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Solar charger:</div>
<div class="separator" style="clear: both; text-align: left;">
<a href="http://www.amazon.com/Anker%C2%AE-Dual-Port-Charger-PowerIQ-Technology/dp/B00E3OL5U8">Anker 14W Dual-Port</a></div>
<div class="separator" style="clear: both; text-align: left;">
Cable:</div>
<div class="separator" style="clear: both; text-align: left;">
Nokia USB charger cable modified</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
maSSimohttp://www.blogger.com/profile/01823818770979840158noreply@blogger.com1tag:blogger.com,1999:blog-8776832704944390536.post-2284942578335243152011-10-31T13:53:00.002+01:002011-11-29T17:32:00.655+01:00Temperature Archive on web server<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: -webkit-auto;">
<b>How to make a temperatures web server using Arduino with no Ethernet Shield.</b></div>
<div class="separator" style="clear: both; text-align: -webkit-auto;">
<br /></div>
<div class="separator" style="clear: both; text-align: -webkit-auto;">
With this project you can read on a web page a list of dates and temperatures measured every 30 seconds.</div>
<div class="separator" style="clear: both; text-align: -webkit-auto;">
You can change the measurement range by adjusting the amount of milliseconds in the Arduino code (see the <a href="http://arduino.cc/en/Reference/Delay"><span class="Apple-style-span" style="color: #3d85c6;">delay()</span></a> function on the Arduino official page)</div>
<div class="separator" style="clear: both; text-align: -webkit-auto;">
<br /></div>
<b><u>Hardware-Software structure based on</u></b><br />
<ul>
<li>Arduino</li>
<ul>
<li>ArduinoUno </li>
<li>Thermistor</li>
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="clear: right; float: right; margin-bottom: 1em; text-align: right;"><tbody>
<tr><td style="text-align: center;"><a href="http://3.bp.blogspot.com/-bU1Yc0M3eVg/Tq-1koMfsLI/AAAAAAAAAuU/ePq6mrBRd1s/s1600/temperature.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="200" src="http://3.bp.blogspot.com/-bU1Yc0M3eVg/Tq-1koMfsLI/AAAAAAAAAuU/ePq6mrBRd1s/s200/temperature.jpg" width="135" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">structure diagram</td></tr>
</tbody></table>
<li>Sketch </li>
</ul>
<li>Processing</li>
<ul>
<li>Sketch for Processing 1.5 </li>
</ul>
<li>PHP</li>
<ul>
<li>Script - connecting to database</li>
<li>Script - storing data coming from Processing in MySQL database</li>
<li>Script - showing data stored in MySQL</li>
</ul>
<li>MySQL</li>
<ul>
<li>database server</li>
</ul>
<li>Apache</li>
<ul>
<li>web server</li>
</ul>
<ul>
</ul>
</ul>
<ul>
</ul>
<div>
<br />
See the related page on the menu, Project 4.<br />
Click <a href="http://www.massimopacilio.it/temperature"><span class="Apple-style-span" style="color: #3d85c6;">here</span> </a>to see the diagram of the structure<br />
<br />
<a href="http://arduino.cc/"><span class="Apple-style-span" style="color: #3d85c6;">Arduino</span></a><br />
<a href="http://processing.org/"><span class="Apple-style-span" style="color: #3d85c6;">Processing</span></a><span class="Apple-style-span" style="color: #3d85c6;"> [</span><a href="http://bezier.de/processing/libs/sql/" style="color: #3d85c6;">Processing library for MySQL</a><span class="Apple-style-span" style="color: #3d85c6;">]</span><br />
<a href="http://php.net/"><span class="Apple-style-span" style="color: #3d85c6;">PHP</span></a><br />
<a href="http://www.mysql.com/"><span class="Apple-style-span" style="color: #3d85c6;">MySQL</span></a></div>maSSimohttp://www.blogger.com/profile/01823818770979840158noreply@blogger.com5tag:blogger.com,1999:blog-8776832704944390536.post-85957817823937568832011-10-17T20:53:00.003+02:002011-11-08T20:53:27.984+01:00Piezo buzzer controlled via keyboardIt's possible tu use the same Processing code of the Project 1 to control a piezo buzzer. We have to connect the devices like the image below and use the keyboard to obtain four different sounds on key pressed.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-h-C1FJdfXEo/Tpx5sDhdMPI/AAAAAAAAAjw/2rAANtsxHHI/s1600/piezo_buzzer_bb.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="134" src="http://4.bp.blogspot.com/-h-C1FJdfXEo/Tpx5sDhdMPI/AAAAAAAAAjw/2rAANtsxHHI/s200/piezo_buzzer_bb.jpg" width="200" /></a></div>
<br />
More details available on Project 2 page.<br />
<br />
<a href="http://arduino.cc/"><span class="Apple-style-span" style="color: #3d85c6;">Arduino</span></a><br />
<a href="http://processing.org/"><span class="Apple-style-span" style="color: #3d85c6;">Processing</span></a>maSSimohttp://www.blogger.com/profile/01823818770979840158noreply@blogger.com1tag:blogger.com,1999:blog-8776832704944390536.post-1294601753308984892011-10-12T11:08:00.000+02:002011-11-08T20:53:13.347+01:00Keyboard controlled leds<div class="separator" style="clear: both; text-align: left;">
With this simple scheme we set the board to turn on four leds using an intarface written in Processing.</div>
<div class="separator" style="clear: both; text-align: left;">
We will be able to turn on a led using the arrows keys of the keyboard, but just on key pressed. When we release the key the led turn off.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-zyIX_r3Al3E/TpVYFuC3HzI/AAAAAAAAAhc/M-AA6QKkgMY/s1600/quattro_led_bb.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="133" src="http://4.bp.blogspot.com/-zyIX_r3Al3E/TpVYFuC3HzI/AAAAAAAAAhc/M-AA6QKkgMY/s200/quattro_led_bb.jpg" width="200" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
For more details on this project go to Project 1.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<a href="http://arduino.cc/"><span class="Apple-style-span" style="color: #3d85c6;">Arduino</span></a></div>
<div class="separator" style="clear: both; text-align: left;">
<a href="http://processing.org/"><span class="Apple-style-span" style="color: #3d85c6;">Processing</span></a></div>
<br />maSSimohttp://www.blogger.com/profile/01823818770979840158noreply@blogger.com0