COM port controlled plug timer
Community Forums/Showcase/COM port controlled plug timer
| ||
I wrote a telnet based timer that has 2*220VAC and 1*12VDC outlets. The whole thing is on an old Pentium I wich has 3 LEDs in front and 3 outlets plus 1 plug in the back. Program: ![]() Circuit board: ![]() |
| ||
Sounds like a lot of fun. So now you can switch a 220V device on using telnet? |
| ||
looks very interesting, am planning to try and communicate with my palm via a 16F84A I've programmed using IR. It'll be done using: http://www.sirpic.com/ |
| ||
Yes, I can control 2*220VAC (+ 1*12VDC molex) via telnet, soon i'll create a video of the aparatus in action. The 2 bigger relays (220VAC) are 1200W so i can make coffee automagically for myself at the time i sleep. Lazy, i know :P |
| ||
Does that mean you want me to hack your coffee machine? :P Oh, BTW, coffee... (zombie mode on) ...must...drink...coffee... |
| ||
I wonder if you'd be the first one ever to hack a coffe machine :P |
| ||
Aparatus in action: http://file.oat.ee/?id=download&file=PA290040.AVI&folder=anC%5Bsep%5Dp2c%2F |
| ||
cool, my pic16f84A is still a work in progress, bought a oscilloscope and proved that the PIC is attempting to drive my IR LEDs, THE palm rex's garbage, need to do fault analysis. |
| ||
Man uses networked 'crazy' toaster to hack PC: http://www.theregister.co.uk/2007/12/18/networked_toaster_hack/ |
| ||
It's pretty good. I got bery lost though. And found a bug, I ran infront of the mine truck as it was coming towards me and ended up getting stuck under it, there was no way at all of getting out from under it. |
| ||
It's pretty good. I got bery lost though. And found a bug, I ran infront of the mine truck as it was coming towards me and ended up getting stuck under it, there was no way at all of getting out from under it. Hands up if you're drunk. (/raise.) Cool project BTW! |
| ||
So is this done in blitz then? Id love to get my hands on some sample code! |
| ||
Here are some pictures of the aparatus (p2c referes to "power control center"): Here you can see the leds in front of the machine: ![]() A plug, 2*220V sockets and a 2 socketed molex (on 1 relay): ![]() "The brain", or is it better to call it "limbs", because the program should be called "the brain": ![]() guess wich wires are my made? :P ![]() I used to grow plants indoors so i used the aparatus to water them. I bought a pump that works on 12V DC and a few meter hose where i drilled many holes at the end and closed the end so it spaddered the water from the drilled holes: ![]() Don't know about the source's current state, but it seems that i've stopped in middle of adding HTTP protocol to the server, so you could login from a browser and even attach a webcam, but haven't got that far at the moment. SOURCE |
| ||
Heh this is cool, and similar to something I did before. in fact, you've inspired me to get the old thing up and running again! |
| ||
if I understood correctly you do not use optocouplers, beware! |
| ||
yeah, this is something i've had issues with. Switching 240v things via usb can knock your system wonky- it resets my USB devices on occasion. |
| ||
why should i use optocouplers? The program doesn't switch relays that faster it could couse electrical system to fail at my home and it has worked fine for a pretty long time. I'm thinking on selling this machine and then start a newer project. A one that doesn't have a static PC where i have everything built inside, rather create an external "box" that will be connected up with LPT and one molex to get 5V (for relays) and 12V (connectable devices). But for that i think i'll have to write the program in some other language than BlitzPlus, to use all of the pins. Current machine uses 3 COM ports due to the lack of my knowledge on using all of the pins on COM. LPT has more pins and as i've heard it should be even easier to use all pins on that than COM port. |
| ||
Check out the section 'safer design' using optio-couplers and why you should use them. http://www.epanorama.net/circuits/parallel_output.html#circuithow |