For this project you will need the following hardware:
- Arduino uno board (https://www.arduino.cc/en/Main/ArduinoBoardUno)
- Arduino 2 relay shield capable to switch the required current and power
- Arduino GPRS shield (https://www.arduino.cc/en/Main/ArduinoGSMShield)
- a powersupply to power your boards
- a working GSM card
You will need the Arduino IDE to compile and upload the software to your Arduino uno board.This software is available for LINUX, MAC OS and Windows. Downloads you will find at https://www.arduino.cc/en/Main/Software
Just open a new sketch and copy the code from main.c into the editor and upload it to your board. For more information you can go to the Arduino website.