Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
ken wrote:
Well done Philipp.
Now you can have fun with Picaxes for other things?
There is a Yahoo forum for enthusiasts.
Using the Picaxe was indeed fun. I'm thinking about what else I could do with it since I've built this. Reminded me of the days I was still involved with electronics (I've been working as a SW engineer for a very long time now).
ken wrote:
There are relays which are the size of an integrated circuit. One of those would have fitted inside the NAS box, no doubt.
(I have a bunch of them in my electronics bits collection.)
Another alternative would be a CMOS switch IC (eg 4066), powered from the 12v rail voltage.
Embarrassing this didn't come to my mind. Must have already been too late in the evening. I got the parts (all except the Picaxe) from one of our HW guys and didn't even think about trying to find a smaller relay. I'll maybe do that now though. I can still use the case I bought for some other Picaxe project
Cheers
Philipp
Offline
Hey Guys, I just implemented my own PICAXE solution. It works great and I had everything on hand already, so it was a snap.
PICAXE 08M, AQW212A Solid State Relay, and a couple resistors.
low 2 main: pause 5000 high 2 pause 1000 low 2 end
The code is simple. It waits 5 seconds, pulses the pin (which sinks the switch) for 1 second, and then powers off. According to my multimeter, it only uses 0.06mA after the program has run.
My switch works by pulling the one side to ground, so I only had to run one wire to the switch.
Thanks for the informative thread you guys!
Offline
neonpolaris,
can you post the exact components that you used and where you got them from? I'd love to do WOL as well, but probably would need step by step instructions. If you dont' minde posting them here, that would be great and helpful to a lot of us.
Offline
andrey wrote:
neonpolaris,
can you post the exact components that you used and where you got them from? I'd love to do WOL as well, but probably would need step by step instructions. If you dont' minde posting them here, that would be great and helpful to a lot of us.
Auto start on powerup and WOL are vastly different things.
Auto start on powerup requires a relatively simple timer circuit that will simulate a switch closure - on the other hand, WOL requires a network interface, logic to detect and recognize the "magic packet" and then simulate the switch closure.
If I recall correctly, the ethernet chip used in the DNS-323 (at least the early hardware) supports WOL, but, has no power to it's rails until the unit is powered up and so cannot be used without some hacking of the circuitry - maybe it's an area you'd like to explore.
Offline
andrey wrote:
can you post the exact components that you used and where you got them from?
As fordem said, this is not wake-on-LAN, this is wake-after-power-failure. Moot point for me since mine is on a UPS, but it was fun to do.
The components are a PICAXE 08M - http://www.rev-ed.co.uk/picaxe/
AQW212A Solid State Relay - mouser.com
A 1k and a 10k resistor - radioshack
Offline
neonpolaris wrote:
andrey wrote:
can you post the exact components that you used and where you got them from?
As fordem said, this is not wake-on-LAN, this is wake-after-power-failure. Moot point for me since mine is on a UPS, but it was fun to do.
The components are a PICAXE 08M - http://www.rev-ed.co.uk/picaxe/
AQW212A Solid State Relay - mouser.com
A 1k and a 10k resistor - radioshack
Is it correct to say that I need a PICAXE evaluation kit to download the code to the 08M?
Offline
You'll need some way to interface the chip with your computer, yes. Any of the kits that give you a way of interfacing would be fine. A serial cable will save a few bucks over a usb one, but a USB will let you use computers with no serial ports.
The minimum interface circuit needed is only two resistors connected to a serial port, if you wanted to make it yourself.
I got the starter pack from sparkfun and a USB cable from somewhere else.
Offline
There was still another thread on this topic:
http://dns323.kood.org/forum/viewtopic.php?id=3626
And the wiki has an auto-on circuit at: http://dns323.kood.org/hardware:autopoweron
Offline