DIY Web Enabled PLC
Wildatheart
Posts: 195
A few years ago I designed and built a submersible device that was used to install supplemental floatation under dock floats. The device had 4 main components: the submersible some floating valves and vacuum generator a wearable backpack containing a Stamp PLC with control pendent and a portable air compressor. The efficiency of the device caused nearly effortless work and it wasnt long before I began to ponder the idea of controlling the device from my easy chair at home. Real time video and some expensive Web stuff would have made that possible.
With marina maintenance scaled back for budgetary reasons the machine sits collecting dust today, but my musings of remote control lived on. Today, a handful of Parallax accessories and Mike Gs new Spinneret tools, WebServer_W5100 & epin have now given me everything necessary to build an economical DIY Web enabled controller that could make my ponderings come true. still no real time video, but that wouldnt stop me from heading to my easy chair the machine operator using a headset and a cell phone could relay instructions. Im sure a couple of Xbees with operator issued voice commands might be the better route to go, but then I found that my direct involvement usually increased production.
This form of the DIY Web enabled PLC consists of 2 Parallax I/O boards, a Spinneret module, an LCD display, and a Quickstart microcontroller. Currently I have remote (Web) control of the 16 relays using a BS2. Additional program code may be written reset the state of the relays as necessary. (Sorry, I dont know enough Spin yet to program the Quickstart.)
The attached BS2 example is a modified version of a program I wrote a while back while thinking about designing a portable EPS foam recycling machine. But all the code pieces are there if you sort through it. Links for Mike Gs Spinneret code may be found in the Spinneret forum.
If you build it, they will find a use for it. - Gordon
With marina maintenance scaled back for budgetary reasons the machine sits collecting dust today, but my musings of remote control lived on. Today, a handful of Parallax accessories and Mike Gs new Spinneret tools, WebServer_W5100 & epin have now given me everything necessary to build an economical DIY Web enabled controller that could make my ponderings come true. still no real time video, but that wouldnt stop me from heading to my easy chair the machine operator using a headset and a cell phone could relay instructions. Im sure a couple of Xbees with operator issued voice commands might be the better route to go, but then I found that my direct involvement usually increased production.
This form of the DIY Web enabled PLC consists of 2 Parallax I/O boards, a Spinneret module, an LCD display, and a Quickstart microcontroller. Currently I have remote (Web) control of the 16 relays using a BS2. Additional program code may be written reset the state of the relays as necessary. (Sorry, I dont know enough Spin yet to program the Quickstart.)
The attached BS2 example is a modified version of a program I wrote a while back while thinking about designing a portable EPS foam recycling machine. But all the code pieces are there if you sort through it. Links for Mike Gs Spinneret code may be found in the Spinneret forum.
If you build it, they will find a use for it. - Gordon
Comments
Can you post your spinneret code too?
Doc
Mike updates the new Spinneret code at: http://code.google.com/p/propeller-w5200-driver/source/browse/trunk/#trunk%2F%20propeller-w5200-driver%2FSpinneret
epin.htm can be found at: http://forums.parallax.com/showthread.php/145694-VERY-USEFUL-new-addition-for-the-Spinneret-and-WebServer_W5100 , post #14.
I should point out that all the digital I/O hardware shown above isn't necessary to enjoy the benefits of the Spinneret output pin. Today I wired up a single Spinneret output pin as an input to a BS2. After I changed the pin state with my cell phone through Epin I cycled a standard servo. In your case with a chicken coup out in the yard, you might consider transmitting the control functions for the servo (motorized feed screw, light, heater,or whatever) through a couple of Xbee's. The Xbee's worked great to accomplish this as I experimented this afternoon. This scheme allows for your hardwired Spinneret to remain inside your home, and if your appliances are powered VDC you have a complete Web enabled AND wireless remote system.