Friday, January 7, 2011

A few weeks ago, I set out to create an Arduino project. It is now working, and I will post the results and all the source code soon (after a bit of code clean-up.)

Here is the original post:

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1289956234/all

A humidity and temperature sensor network:

Every node consists of an Arduino board and an ethernet shield and a Sensirion SHT15 Humidity and Temperature Sensor on a breakout board. I will use the enclosure that accomodates an Arduino, an ethernet shield and place the sensor in the battery box. That makes for nice, compact nodes.

and


I will use a web browser to plot the temperature and humidity data and use the flot library for live plotting
http://code.google.com/p/flot/

The server will be a fanless Shuttle XS35GT with an HDMI port that can be connected to a TV.



If possible, I will integrate this into XBMC (a media center software) so that it can be controlled with the remote control.



The operating system is Ubuntu 10.10.

Sunday, December 26, 2010

Installing Apache, MySQL, and PHP on Ubuntu

To store the temperature and humidity data in a database and to retrieve those data through a web browser, we will need the MySQL database and the Apache web server software. The most straight forward method to do this in Ubuntu is to install the "LAMP" software stack. LAMP stands for "Linux - Apache - MySQL - PHP".
This is a pretty commonly used combination

The individual steps are to open a command prompt (shell) and to enter the following commands:


  • sudo apt-get install tasksel
Then run it:
  • sudo tasksel
and from the list, select LAMP-server and install it.

Further resources:

https://help.ubuntu.com/community/ApacheMySQLPHP

https://help.ubuntu.com/10.10/serverguide/C/httpd.html


Testing and learning MySQL:

http://www.yolinux.com/TUTORIALS/LinuxTutorialMySQL.html

Tuesday, December 7, 2010

Introduction

This blog is dedicated to my activities with the Arduino platform. I am an open source and Linux user and supporter and have read about the Arduino platform in the Linux Format magazine.
http://www.linuxformat.com/content/you-can-code
http://arduino.cc/blog/2008/05/03/arduino-on-linux-format/?lang=es
http://www.linuxformat.com/archives?issue=100
I am also a member of the Arduino community at
http://www.arduino.cc/