In this part we’ll connect to a webpage and fetch some data from a php script.
When building a project it’s better to test and debug each part on its own instead of trying to debug a much larger system. So we’ll start by attaching an ethernet shield and get it to talk to a webpage. Once that is up and running we’ll connect the second arduino and rf.
Note: For this part you’ll need a webhosting account with a company who provides access to PHP on it’s accounts. Or you’ll need to run a local webserver. Contact your webhost to verify if your account has PHP access enabled.
This video shows a very basic setup of two arduinos talking wireless over RF.
The two rf-boards used in this setup were discussed earlier in this post.
The left arduino has a sensorshield with a PIR-sensor and a rf-transmitter connected to it. When the PIR-sensor detects changes in IR-radition in it’s field of view, it triggers the rf-transmitter and a red led.
This tutorial will explain how to install XAMPP 1.7.1 in Ubuntu 9.10
Introduction
This is a step by step guide for installing and setting up a webdev server on a ubuntu machine. I will show you how to install the lampp stack using XAMPP version 1.7.1 on Ubuntu 9.10.
You can follow the exact same steps for setting up XAMPP version 1.7.2
Follow these steps to install XAMPP:
1. For starters you need to go to the official XAMPP website and download XAMPP for Linux version 1.7.1, click here to download XAMPP for Linux version 1.7.1
Make sure you download XAMPP 1.7.1 if you want to use it together with wordpress. XAMPP 1.7.2 uses PHP 5.3.0 which causes some problems when used in combination with wordpress 2.8.4
2. Place the downloaded .tar.gz archive on your desktop if it wasn’t already saved there by default.
3. Open a terminal ( Applications > Accessoires > Terminal )