Phidget Internet Lamp
March 17, 2009
So here we go. First time participating here on letsmakerobots.com
This is a module I created in C# using TCP Sockets, SQL server, a web page, and my local home PC.
There are four parts to this application:
- A client service installed on my local PC uploads and stores my IP address to a SQL server on da' net. If the client service notices it's IP has changed, It updates that database.
- A socket server app on my local pc controlling phidgets and accepting TCP connections.
- A client running on my web page. If a visitor clicks a button to turn on my lamp, the client on my web page querys the database for my local IP address first, and then creates a connection to that IP address. If the connection is sucessfull, it sends a message to my desktop PC.
- My local PC accepts the connection and parses the information. My local PC then turns on my desktop lamp with a phidget interface kit and a relay switch.
My phidget internet lamp can be turned on by anyone in the world at http://www.semicton.com/SandBox/PhidgetInternetLamp/tabid/56/Default.aspx
Thanks for allowing me to share my project!