Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#156477 - 21/04/2003 18:55 Empeg power on/off based on acc+perm power. How?
jules
member

Registered: 21/01/2002
Posts: 174
Loc: Indiana USA
Folks,

I'm trying to set up a computer for my car and I want it to behave like the empeg in terms of how it turns on and off depending on whether the car's accessory line has power or not. I don't want to just power it from the accesory because when I turn off the accesory I want it to shutdown properly before power off . Anyone know how this is done? Does it require special hardware? If so, what kind of stuff are talking about?

Thanks!

Top
#156478 - 21/04/2003 19:11 Re: Empeg power on/off based on acc+perm power. How? [Re: jules]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Anyone know how this is done? Does it require special hardware?
Yeah, I'm pretty sure it does require special hardware. I could swear that I've seen custom hardware boards designed specifically for this task (mounting PCs in cars and having them gracefully shut down on ignition-off). Unfortunately, I don't have a link handy. Anyone?
_________________________
Tony Fabris

Top
#156479 - 21/04/2003 23:17 Re: Empeg power on/off based on acc+perm power. How? [Re: jules]
TommyE
enthusiast

Registered: 08/06/1999
Posts: 356
Loc: NORWAY
Well, you could wire the PC directly to the battery, use a serial cable normally used for UPS software, connect the UPS cable to your other equipment and shutdown the PC that way.

Haven't done this myself, just an idea you could play with. Does'nt cost too much either.

TommyE

Top
#156480 - 22/04/2003 13:08 Re: Empeg power on/off based on acc+perm power. How? [Re: tfabris]
jules
member

Registered: 21/01/2002
Posts: 174
Loc: Indiana USA
Thank you Tony. Based on key words in you rmessage I was able to track a web page that says how to build such a thing. Unfortunately its way beyond my capabilities to put such a board together. I'll keep on looking to see if there is something similar that is sold commercially. If anyone runs across something I would appreciate pointers.

Top
#156481 - 22/04/2003 13:25 Re: Empeg power on/off based on acc+perm power. How? [Re: jules]
siberia37
old hand

Registered: 09/01/2002
Posts: 702
Loc: Tacoma,WA
why not use the empeg's approach to power-off ... use a simple 12v relay and if the accessory goes off it switches the battery off to your power supply. Then make the software able to handle non-graceful shutdown.. in other words use linux and mount the drives read-only. If using Windows just hope your programs don't clobber your drive and turn off the filesystem check on reboot.

Top
#156482 - 22/04/2003 13:26 Re: Empeg power on/off based on acc+perm power. How? [Re: TommyE]
jules
member

Registered: 21/01/2002
Posts: 174
Loc: Indiana USA
Thank you for the great idea, Tommy. Since reading your message I've been trying to find documentation on how to implement this, no luck yet, but I'm working on figuring it out. I'm hoping its as simple as cutting the power on a pin to inititiate shutdown.

If anyone knows what the protocol to initiate shutdown from a UPS serial is, I would appreciate tips.

Top
#156483 - 22/04/2003 13:31 Re: Empeg power on/off based on acc+perm power. Ho [Re: jules]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Or, if your computer is ATX, then you should be able to do something where the accessory power trips an instantaneous switch/relay that does what a press of the power button would do. Then your OS can shut itself down based on that signal, just as if the front power button were pressed.
_________________________
Bitt Faulk

Top
#156484 - 22/04/2003 13:33 Re: Empeg power on/off based on acc+perm power. How? [Re: siberia37]
jules
member

Registered: 21/01/2002
Posts: 174
Loc: Indiana USA
Thanks. That may be the info I was looking for. Pardon my ignorance, but I'm only guessing at how a relay works from the context of your message. So essentially I can make this thing cut off power to the computer a specified amount of time after the accessory goes off? Off to google to searching for 12v relay.

Top
#156485 - 22/04/2003 13:54 Re: Empeg power on/off based on acc+perm power. Ho [Re: wfaulk]
jules
member

Registered: 21/01/2002
Posts: 174
Loc: Indiana USA
Thanks.That would be ideal. I'm using an VIA Epia M mini ITX which should probably support that. Gosh its hard to find documentation on how the simpler things work! I guess that its taken for granted that someone would now about these things.

I'm frustrated after spending numerous hours searching the web for how to do this.

However...., I am happy to hang out in this board because I have received some very promising pointers from the Empeg community...

Top
#156486 - 22/04/2003 14:01 Re: Empeg power on/off based on acc+perm power. How? [Re: jules]
siberia37
old hand

Registered: 09/01/2002
Posts: 702
Loc: Tacoma,WA
No a relay would be instantenous, in the sense as soon as the accessory line went dead it would turn off the 12v constant battery line. The point to this would be to make sure your computer is not constantly draining your battery- it would be guaranteed to go off with the accessory line.

Top
#156487 - 22/04/2003 14:09 Re: Empeg power on/off based on acc+perm power. Ho [Re: jules]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
To be clear, I don't know that
an instantaneous switch/relay that does what a press of the power button would do
is something that you can buy off the shelf as a packaged component. You might have to build a small circuit to do it. You'd want it to wait for power to go from 12V->0V and have it trigger a normally-off switch to on for a half second or so.

I'm not an electronics engineer by any stretch of the imagination, but this seems like something a 555 timer IC would do.
_________________________
Bitt Faulk

Top
#156488 - 23/04/2003 01:13 Re: Empeg power on/off based on acc+perm power. How? [Re: TommyE]
frog51
pooh-bah

Registered: 09/08/2000
Posts: 2091
Loc: Edinburgh, Scotland
This is almost certainly going to be your easiest bet, especially if you are an electronics novice (no insult intended, just going by the content of your posts.)
Check out this UPS list for info on UPS connectivity issues. UPS software on your PC will ensure graceful shutdown, which is necessary if you are going to use Windows.
_________________________
Rory
MkIIa, blue lit buttons, memory upgrade, 1Tb in Subaru Forester STi
MkII, 240Gb in Mark Lord dock
MkII, 80Gb SSD in dock

Top
#156489 - 24/04/2003 16:34 Re: Empeg power on/off based on acc+perm power. How? [Re: jules]
jwickis
addict

Registered: 24/08/2000
Posts: 658
Loc: India
Sounds like you need a combination trigger/delay circuit.

Top