Installing the Server
The first thing we need to do is to download the python Server script for your Raspberry Pi.

Either open up a new terminal on your Pi or SSH in from another computer.  Navigate to your user directory. I recommend creating a new directory called EasyGPIO, and then cd to that directory.

 

mkdircd

Download the script using “wget http://www.modernmetalproduction.com/free-downloads/EasyGPIO_server.py”

wget

When the script has finished downloading, we need to change its permissions to make it executable.

chmod

Now start the server

You should see the following prompt. This means that the server is listening for a connection from the client.  Note the IP address that the server displays.  This is the Host IP which we will need to connect from the client.

run

 

If you wish to have the server start when the Pi boots, you can add it to rc.local

nano

Add the following line “python /home/pi/EasyGPIO/EasyGPIO_server.py &”

rc-local

To save the changes, press cntrl+x, y to accept, then enter to exit.

 

Running The Client

Begin by downloading EasyGPIO.zip here

http://www.modernmetalproduction.com/downloads/easygpio/

Windows

The client requires .net version 4.5 or newer.

.net 4.5 should already be installed on your system, however if for some reason your version is not up to date, you can download it here.

http://www.microsoft.com/en-us/download/details.aspx?id=30653

Next open up your file browser and find where you downloaded EasyGPIO.zip and extract it.

Open the newly extracted folder, and you should see EasyGPIO.exe. Double click it to run it. If prompted by the windows firewall, click to allow access.

Debian/Ubuntu

To use .net applications on Linux, we need to install mono.

mono-complete

Once mono is installed, open your file browser and navigate to where you downloaded EasyGPIO.zip and extract it.

You should see EasyGPIO.exe.  Open a terminal here and run it with “mono EasyGPIO.exe”

run

Mac OS X

The client hasn’t been tested on OS X yet, however, it should work using mono.

Using The Client

Once the client is running, all you need to do is type the local IP address of the Raspberry Pi in the text box next to the “Connect” button, and then click Connect.  The server should display the IP when it starts.

From here it is simple to use EasyGPIO. As you can see, the pins are all labeled and color-coded.  To set a pin’s mode, just click it’s corresponding radio button.

client

Modes

“Input” will set the pin to input mode, and if it detects a high voltage on that pin, that pin’s box will turn bright red.

“Output High” will set the pin to output 3.3v.

“Output Low” puts the pin in output mode but without a voltage being applied.

Once you are finished using the client, click the Disconnect, and you will be disconnected from the Pi.