I have been very unhappy with the operation of my CarPC with regard to the software and the power supply. Most software, and this is only my preference, is much to busy. I am older and want much less information than what I normally see on front ends, so I plan on writing my own front end, but that is another project. After I put my CarPC together I had plan on
spending time on the frontend software, but because of major problems with the way the power supply worked, I decided
to tackle this area first.
The 10 sec delay before starting was something I could not understand. And the only other control I had was how long I could keep the PC on after the Ign/acc was turn off. Also sometimes the PC just would not startup, so I would have to get out of the car and pull the power plug to get it to startup the PC. This was a problem with the OPUS.
What follows is what I have done.
Goal: Control the Startup and Shutdown of a PC in an Automotive environment. The Controller does the following:
Check for remote door unlock signal. This will begin the startup sequence of the PC before I enter the car.
Check for Interior lights turning on or door being opened. If not already started this will begin the startup sequence of the PC. If light or Door Open signal remains on and no Ign/Acc switch within 10 min. PC will begin a shutdown sequence.
Check for 3 remote lock signals within 5 seconds after initial remote door lock, (4 total) to enter fast turn off mode. This will begin the PC shutdown sequence in 30 sec.
Valet mode allows for an extended 3hr turn off delay. Instead of the normal 1 hr. delay This mode is activated by a switch in the console. If the switch is left in the On position, the logic will ignore this and only run 1 long valet timeout per activation. Switch must go from Off to On while PC is On to enable a single valet mode sequence.
Just below the valet switch I have placed a keyswitch that I use to Reset the PC if needed. The signal goes to the Controller and picks up a relay whose normally Open contact are wired to the motherboard's reset pin on the header.
One output contact drives the Xenarc LCD. This just follows the state of the Ign/Acc switch. Another Output is available that is always turned on except when the controller puts the OPUS in standby. This is used to power the XM radio module.
Notes: When a contact closure is sent to the motherboard on the ATX Power ON header, the motherboard will generate a low signal on "PS-ON". This will turn on the OPUS and startup the PC if off. This same contact
closure will Shutdown the PC and turn off the OPUS if the PC is on.
On the OPUS 120W PS, when the Ign/Acc and the 12v Power are connected, current draw is .18 amps. This is what I consider to be the OPUS On mode.
If the Ign/Acc input is not tied to the 12 supply, the mode changes to what I call standby, and the current is very much lower.
When coming out of Standby to On there is approximately a 10 sec startup delay and during this period, the OPUS cannot power up the PC.
My logic will keep the OPUS On for about 10 hours, before switching it to Standby. This will limit the initial 10 sec delay to only 1 time during a 10 hour period.
On my system the OPUS and motherboard draw 1.5 amps when Roadrunner is up. This increases to 1.65 amps when a video is playing and 1.56 amps with audio playing. This does not include any current draw from my USB GPS, USB to Serial Converter or the XM radio module. These were not hooked up when testing current draw on the bench.
The good part about this is that I did this with a PIC contoller from futurlec at a cost of $23.00. This contoller comes with a built in Programmer. The software to write the program and download it to the chip is free. Hitech PICC lite 9.50, MPLAB IDE v7.40 and winPIC800.
I was going to complete the install in the car this weekend, by Building a board to connect the inputs and outputs using optoisolator,but I also found on the Furturlec website already built for 9.90 and 12.90. At that price I could not buy the parts I neede so I ordered these and a another development board.
1 PIC16F877CONT PIC16F877 Controller ETT
22.90 22.9
2 OPTODCIN DC Opto-Isolated Input Board
9.90 19.8
1 OPTORELAY Opto-Isolated Relay Output Board-ETT
12.90 12.9
http://www.futurlec.com/PICDevBoard.shtml
http://www.futurlec.com/Opto_Relay_4.shtml
http://www.futurlec.com/DC_Opto_Input_4.shtml
If anyone is interested I can provide more info.