|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| PC Based Computer music servers, crossovers, and equalization |
|
Please consider donating to help us continue to serve you.
Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving |
|
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
diyAudio Member
Join Date: May 2006
Location: City of Angles
|
I'm embedding my old desktop pc into my power amp - basically bringing it all 'under one roof'. I'm using the pc to do active crossover/EQ duty, and I am completely ditching the monitor, keyboard and mouse - its 'headless'...
I'd really like to use one switch to turn the whole thing on - but how do I do it elegantly? I could hotwire the PSU to automatically switch on when the wall AC is turned on by connecting the black and green wires in the power harness, but when I switch the AC off, the computer will just die. Is that okay? Is there a better way to do this? It seems like the only option is some sort of sensor that knows how to boot the PC when the power amp is turned on, and then turn off when the power amp is turned off. Sounds complicated. How does commercial equipment with embedded PCs handle this?
__________________
double complete rainbow all the way!! |
|
|
|
|
#2 |
|
diyAudio Member
Join Date: Mar 2008
|
You can set the PC to switch on automatically every time the wall AC is turned on, using the "Power after AC back" setting which is somewhere in the BIOS options.
For shutdown you'll need some kind of relay that is unconductive with AC on and conducts for a second when AC switched from on to off... interesting thing to think about. If you can live with a double-pole triple-throw switch then you can have the amp on at the lowest position, the middle position of the other pole is connected to the power button header of the mainboard. The PC will be eternally connected to AC though. |
|
|
|
|
#3 |
|
diyAudio Member
Join Date: Apr 2005
Location: Pilsen
|
The PC power button generates an ACPI event. In linux you can hook any script to this event. If the script calls the halt command, the system shuts down correctly upon pushing the power button. Or even better, instead of shutting down the system can be suspended to memory, for faster startup later on. I would be surprised is there was no third-party tool handling ACPI events in windows.
A simple relay activated by your PC PSU output lines can switch the power for your amp. |
|
|
|
|
#4 | |
|
diyAudio Member
Join Date: Nov 2009
Location: Los Angeles
|
Quote:
My power device is very simple with a relay powered by the PC which 'enables' one of 2 timer controlled power supplies (start time and end time) to a second relay that actually parallels the PC power switch. At power on the a timer turns on a 'wall wart' to activate the second relay. As soon as the PC turns on the wall wart is disconnected so it will no longer do anything at all. The logic would actually be very simple consisting of a counter/divider to generate a 1 second pulse followed 30 seconds later by another pulse but at least 5 seconds long. If the PC shuts down normally with the 1 second pulse, the PC powered relay will disable the later 5 second pulse but if still on, the 5 second pulse will finish the job. You could likely use 3 555 timers for this but I tend to not use 555s. The 'installation' is very simple. The case 'power switch' connector plugs onto the board and a new 2 wire connector plugs onto the motherboard. G² |
|
|
|
|
|
#5 |
|
diyAudio Member
Join Date: Sep 2002
Location: Lakewood, Ohio
|
Don't some UPS units output a control signal to the PC to shut-down when incoming AC fails?
If so you could hook-up this control signal from the UPS but not connect the PC AC power to the UPS.
__________________
Kevin Last edited by Speedskater; 8th August 2010 at 11:27 PM. |
|
|
|
|
#6 |
|
diyAudio Member
Join Date: May 2006
Location: City of Angles
|
So I've been looking at a lot of different options, and I think I have things sorted out...
The main thing I'm looking for is a 'soft shutdown' for the pc - something to initiate a regular shutdown sequence. This has to be done in the software somehow, and the easiest way to do it just hold the power button for 4 seconds. So what I've decided is to rig a relay off the computer's +5v that switches on/off the AC to the power amp. So I only need one switch for the whole thing, and it should be a pretty easy solution to implement. Thanks for all the ideas!
__________________
double complete rainbow all the way!! |
|
|
|
|
#7 | |
|
diyAudio Member
Join Date: Nov 2009
Location: Los Angeles
|
Quote:
G² |
|
|
|
|
|
#8 | |
|
diyAudio Member
Join Date: Apr 2005
Location: Pilsen
|
Quote:
Did you consider suspending to memory instead? That would make turning the combo on MUCH faster. |
|
|
|
|
|
#9 |
|
diyAudio Member
Join Date: May 2006
Location: City of Angles
|
I'd be interested in that (suspend to memory), I just don't immediately know how to automate it. The main concern I have is that I've seen, a number of times, where a computer has been left on for a couple of days, and starts acting funny - and a quick off/on always solves it. So turning the whole thing off may help in terms of reliability - but, yeah, it does take a little longer...
__________________
double complete rainbow all the way!! |
|
|
|
|
#10 | |
|
diyAudio Member
Join Date: Apr 2005
Location: Pilsen
|
Quote:
You can always hard-reset by pushing the button for a few secs. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FS: DIY Cavalli Audio Embedded Hybrid Headphone Amplifier | sachi | Swap Meet | 4 | 19th May 2010 09:43 PM |
| Gainclone Embedded | rjm | Chip Amps | 28 | 26th July 2009 05:37 PM |
| PC Power supply | MaXiZ | Power Supplies | 26 | 31st December 2005 03:50 PM |
| Looking for small 10 watt speakers for embedded device | piper984 | Parts | 6 | 1st December 2005 09:27 AM |
| New To Site? | Need Help? |