arcen1k
Posts: 4
Joined: Sat Nov 10, 2012 8:11 am
Location: Seattle

Remote Control GPIO

Sat Nov 10, 2012 8:23 am

From the day I got my Raspberry Pi, I knew it was something special. As a young student interested in computer programming I thought it would be a neat learning experience to write some code for it. Well, I did. Being not very competent with Python, I went ahead and managed some code. About a week later I had a fully fledged server side. Having more experience with Java and Android it took me about 2 days to write a functioning no BS app that gets the job done. The hardest part for me though was having the server run as a service on the RPi, which I finally figured out. After all of this it really came together into a neat project.

I decided to write my own code and realized that it was a really cool project. Just to think about it I was controlling stuff with my phone from 20 miles away. And that's just the beginning. As of now it only allows output, so almost anything with an on/off switch should work. I also added a few extra features, like I stated above, it's a service. As well as restoring all of the settings when it is turned back on (so if the board crashes, when it turns back on the output that was on when it turned off turns back on).

I write about this because I wanted to know how much interest there is in a project like this, if you have any just post. I plan on adding controls in the app, so I could shut the RPi down, or restart, etc.

bgirardot
Posts: 518
Joined: Wed Oct 10, 2012 6:20 am
Location: Switzerland

Re: Remote Control GPIO

Sat Nov 10, 2012 11:55 pm

I think there is a lot of interest in a project like this.

I would suggest putting the code and your docs or notes in a github repository (all the cool kids are using git now a days).

Even just reading your code is helpful to a lot of folks even if they might not make use of it.

Perhaps along the same lines is this project:

WebIOPi : control your Pi’s GPIO with a browser

I look forward to seeing your project if you do make it public.

arcen1k
Posts: 4
Joined: Sat Nov 10, 2012 8:11 am
Location: Seattle

Re: Remote Control GPIO

Sun Nov 11, 2012 1:59 am

Thanks for the reply. I will look into making the source code in a public Git repository. I also do plan on releasing the app for public use. I have a few screen shots of the app right now if anyone wants to see.

Splash screen: http://i.imgur.com/8cJzz.png
Enabling a pin: http://i.imgur.com/s1En7.png
Pin shows up green (meaning turned on): http://i.imgur.com/zgLBl.png

arcen1k
Posts: 4
Joined: Sat Nov 10, 2012 8:11 am
Location: Seattle

Re: Remote Control GPIO

Mon Nov 12, 2012 9:05 am

I created a repository on Github. It has my server side code and some instructions on how to set it up. If you have comments on any of it, they are greatly appreciated. I will try to add updates in this thread so you guys know what to look for.

Github link: https://github.com/arcen1k/Raspberry-Pi-GPIO

Return to “Other projects”