DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#26 2008-04-18 13:07:56

phitsc
New member
Registered: 2008-04-13
Posts: 2

Re: Auto start on powerup?

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 smile

Cheers
Philipp

Offline

 

#27 2009-07-11 07:26:20

neonpolaris
Member
Registered: 2009-06-19
Posts: 20

Re: Auto start on powerup?

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.

http://farm3.static.flickr.com/2655/3709132674_b1f68f8f52_o.jpg

http://farm4.static.flickr.com/3472/3709132748_04a64ee59c_o.jpg

http://farm3.static.flickr.com/2498/3708319951_e97afa3eb4_o.jpg

Code:

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

 

#28 2009-07-13 09:29:54

andrey
Member
Registered: 2008-03-22
Posts: 34

Re: Auto start on powerup?

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

 

#29 2009-07-13 17:08:13

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: Auto start on powerup?

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

 

#30 2009-07-14 02:09:07

neonpolaris
Member
Registered: 2009-06-19
Posts: 20

Re: Auto start on powerup?

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

 

#31 2009-07-14 18:58:21

toolbox
Member
Registered: 2008-12-18
Posts: 83

Re: Auto start on powerup?

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

 

#32 2009-07-14 21:54:50

neonpolaris
Member
Registered: 2009-06-19
Posts: 20

Re: Auto start on powerup?

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

 

#33 2009-11-22 02:20:21

L&R
Member
Registered: 2009-11-21
Posts: 11

Offline

 

#34 2009-12-03 01:32:35

MosaicPaul
Member
Registered: 2008-12-31
Posts: 10

Re: Auto start on powerup?

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

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB