Monday, October 31, 2011

Temperature Archive on web server

How to make a temperatures web server using Arduino with no Ethernet Shield.

With this project you can read on a web page a list of dates and temperatures measured every 30 seconds.
You can change the measurement range by adjusting the amount of milliseconds in the Arduino code (see the delay() function on the Arduino official page)

Hardware-Software structure based on
  • Arduino
    • ArduinoUno 
    • Thermistor
    • structure diagram
    • Sketch 
  • Processing
    • Sketch for Processing 1.5 
  • PHP
    • Script - connecting to database
    • Script - storing data coming from Processing in MySQL database
    • Script - showing data stored in MySQL
  • MySQL
    • database server
  • Apache
    • web server

See the related page on the menu, Project 4.
Click here to see the diagram of the structure

Processing [Processing library for MySQL]

Monday, October 17, 2011

Piezo buzzer controlled via keyboard

It'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.

More details available on Project 2 page.


Wednesday, October 12, 2011

Keyboard controlled leds

With this simple scheme we set the board to turn on four leds using an intarface written in Processing.
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.
For more details on this project go to Project 1.