The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > The FAQ Emporium

Reply
 
Thread Tools Display Modes
Old 07-07-2005, 12:21 AM   #1
Super Duper Moderator
Bugbyte's CarPC Specs
 
Bugbyte's Avatar
 
Join Date: Sep 2004
Location: Corning, NY
Vehicle: 2001 VW Beetle
Posts: 4,258
My Photos: (14)
FAQ: Do-It-Yourself Startup/Shutdown Controllers

A startup/shutdown controller (SDC) is a device that automatically starts your computer (usually when the car is started or the key is turned to the ignition or accessory position) or shuts it down when the car is turned off. This prevents you from having to switch the system on using a manual switch or relay and also from having to select "shutdown" from your Start or Apple menu.

There are several purpose built commercial startup/shutdown controllers (SDC's) available. The mp3car.com store carries 3 types (here) and there are others available as well. In addition, most commercial power supplies and regulators include startup and shutdown features in their packages.

The reason you need a shutdown controller is that your PC may hang on shutdown, even after receiving the command to shut down (or hibernate). If this occurs, the PC will continue to run and may drain your battery. Most SDC's will shut power off after a certain amount of time (say, 45 seconds) to prevent this from occuring.

Commercial SDC's have a variety of features that often allow the user to specify how the sequence and timing of the startup/shutdown commands occur and they range in price from around $40-$70 USD.

There are other alternatives, however. Several members have come up with solutions to build your own SDC. Here are links to some of those threads:

1. Home made SDC
2. Ghetto SDC
3. Schematic based on UPS monitoring.
4. Controlling your PC from a key fob
__________________
-Where in the world is the iBug?
-Find out about theiBug
-Attention Newbies! Have you seen the FAQ Emporium?
-No time to figure it out? Take 5 minutes to view the Car PC 101 video
Bugbyte is offline   Reply With Quote
Sponsored Links
Old 07-14-2005, 01:05 PM   #2
MySQL Error
MatrixPC's CarPC Specs
 
MatrixPC's Avatar
 
Join Date: Sep 2003
Location: Beach City, Socal
Vehicle: 89 Supra Turbo, 04 Toyota Matrix XR
Posts: 4,019
My Photos: (0)
zootjeff and the old timer mp3car community DIY SDC currently hosted by Moahdib
http://home.comcast.net/~acuratl2004/old/shutdown.htm
Attached Images
 
__________________
2004 Matrix XR A7N8X-VM/400 AMD XP-M 2500+, DS-ATX
89 Supra Turbo P3 600E@750/Abit BE6 II, Alpine M-BUS Car2PC.
Y2K Accord Dell GX150
RoadRunner is the best FE PERIOD
EmoRebellion is a SCAMMER
MatrixPC is offline   Reply With Quote
Old 08-09-2005, 09:49 PM   #3
Variable Bitrate
 
Bodgy's Avatar
 
Join Date: Nov 2003
Location: Briz Vegas, Australia
Vehicle: WH Statesman LS1
Posts: 289
My Photos: (0)
http://www.mp3car.com/vbulletin/show...light=software

Shutdown control software, the prog by weekendowel is now pay-ware, but towards the end pages of the thread there is an lpt port based one I'm now using.

Last edited by Bodgy : 08-09-2005 at 09:53 PM.
Bodgy is offline   Reply With Quote
Old 10-10-2005, 03:15 PM   #4
Newbie
 
Join Date: Oct 2005
Posts: 1
My Photos: (0)
Ok, here's a newb question....

...I understand how the startup/shutdown controller works. However, when it goes to shutdown the PC is it basically doing a "hard" shutdown? Same as holding down the power button on the PC vs Start / Shutdown?

Thanks,
Jay
PhillySingle is offline   Reply With Quote
Old 10-10-2005, 05:54 PM   #5
Maximum Bitrate
 
BoraXP's Avatar
 
Join Date: Jul 2003
Vehicle: VW Jetta 2k
Posts: 657
My Photos: (0)
A shutdown controller basicly sends a pusle to the power button headers.
As if you just pushed and released the power button.

With recent motherboards and windows together
the user gets to decide what he wants the power button to do.

Standy, shutdown or hibernate
BoraXP is offline   Reply With Quote
Old 10-12-2005, 01:00 PM   #6
Variable Bitrate
 
vxcarpc's Avatar
 
Join Date: Jan 2005
Location: Melbourne, Australia
Vehicle: 2002 LS1 Holden VXII Commodore Wagon
Posts: 347
My Photos: (0)
or you could pay 35 bucks for a wireless model already made.
__________________
CAR INFO HERE
"He who dies with the most toys, wins".
vxcarpc is offline   Reply With Quote
Old 10-28-2005, 08:08 AM   #7
Low Bitrate
 
Nicorolla's Avatar
 
Join Date: Sep 2004
Location: NB,Canada
Vehicle: 94 Celica GT-V6
Posts: 108
My Photos: (0)
or you can do a search on this forum and you will find ALOT of homemade low cost shutdown controllers

this is one of my diagrams, for people using inverters and ordinary ps
http://www.mp3car.com/vbulletin/show...3&postcount=21
__________________
- carPC v2.1
Xenarc 700TSV
MSI K7GM2
Athlon XP 3200+
2x 256mb DDR333
Creative Live ! 5.1
Linksys WMP11 w/ 7db ext. antenna
Samsung 2.5" 40gig
Custom 5x10x10" window case
9A idle 12A Full load
http://www.cardomain.com/ride/852187/2

Last edited by Nicorolla : 10-28-2005 at 08:22 AM.
Nicorolla is offline   Reply With Quote
Old 01-05-2006, 12:49 PM   #8
Newbie
 
Join Date: Jan 2006
Posts: 11
My Photos: (0)
This would be my first post here. I'm a A+ Certified and an active MCDST. Though I've seen enough idiots who hold these certifications; so it doesn't mean much.

I think I can give helpful input to this discussion.

I don't see why you guys are doing crazy stuff like the huge schematic MATRIXPC posted; when all we want is for the computer to shut off when the car does.

We should just have the serial port monitor ACC voltage and in the absense of such voltage execute shutdown through the operating system. Why mess with relays, components and the power pin headers on the motherboard at all when this can be 100% software driven ensuring a safe and graceful shutdown all the time?

And why pay, when I'm giving you the SOURCE CODE to a probably working program at the bottom of this post?! Compile the program for your computer yourself!

Here's a simple C program that would do the trick in Linux. In Windows, you might have to use some weird API, and surely windows.h, primarly why I hate Windows. It's a pain in the *** to program in.


This program must be run in root. I haven't had a chance to compile and test this program yet on a serial port to see if it works, but it'll have to run under root (since it uses the shutdown command.)

To get the serial port going, just plug in a +3vDC - +12vDC ACC wire in to pin 8 of your serial port. This program will do the rest. (You may have to ground the ports ground to your car chassis, and this is for sure if you're using an inverter)

To compile and run this program just save this code in a file called controller.c -- and type gcc -o controller controller.c -- To start this program simply type ./controller and you're set!

You might want to change this program so after it detects the absense of ACC it will start a countdown (5 minutes?) and at the end of such a countdown have it check again for ACC. If ACC is STILL not present, THEN do the shutdown command. This would be useful if you stop at 7-11, shut the car off, go inside, and them come back out -- since 5 minutes of the PC running off the battery wouldn't drain it (and so when you came back with your Slurpee, you wouldn't have to start the machine back up)

I came up with this idea pretty much myself; and my philosophy is KISS.
Code:
/*Copyright (C) 2006 Jonathan Kelley This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. You should be able to grab a copy of the license at http://www.gnu.org/copyleft/gpl.html if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. TO DUMB THIS LICENSE DOWN FOR THOSE WHO NEVER HEARD OF THE GNU/GPL LICENSE BEFORE; IT CONTAINS THESE 4 MAIN POINTS. 1) Not establish proprietary rights in the software (Once you write it, everyone gets to enjoy it; altough the software derrived from this code can be sold commercially); 2) Provide the source code (or access to the source code) along with the object code. (Basically, requires you to reveal or "open source" exactly how you make the software do what it does upon user request); 3) That any programs based off, or using this code must also be licensed by the GPL in full and include in the software notice that the code is subject to the GPL (So that everyone downstream can be warned); and 4) Accept the GPL code without warranties of any kind (You got it for free, so you cannot complain if it does not work). */ #include <sys/types.h> #include <sys/ioctl.h> #include <fcntl.h> #include <errno.h> #include <stdlib.h> #include <unistd.h> #include <stdio.h> #include <signal.h> #include <termios.h> /* Main program. */ int main(int argc, char **argv) { int fd; int status; int set_bits = 6; /* Open monitor device. */ if ((fd = open(argv[1], O_RDWR | O_NDELAY)) < 0) { fprintf(stderr, "ar-2: %s: %s\n", argv[1], strerror[errno]); exit(1); } int x = 0; for ( x = 0; x < 100000; x++ ) { ioctl(fd, TIOCMSET, &set_bits); ioctl(fd, TIOCMGET, &status); if (status & TIOCM_CTS) puts("ACC Voltage is present. Do nothing"); else puts("ACC Voltage has been lost! Start shutdown process."); system("shutdown -h now"); } close(fd); }


Last edited by jon_k : 01-05-2006 at 01:17 PM.
jon_k is offline   Reply With Quote
Old 01-05-2006, 02:08 PM   #9
Low Bitrate
 
Nicorolla's Avatar
 
Join Date: Sep 2004
Location: NB,Canada
Vehicle: 94 Celica GT-V6
Posts: 108
My Photos: (0)
Quote: Originally Posted by jon_k
This would be my first post here. I'm a A+ Certified and an active MCDST. Though I've seen enough idiots who hold these certifications; so it doesn't mean much.

I think I can give helpful input to this discussion.

I don't see why you guys are doing crazy stuff like the huge schematic MATRIXPC posted; when all we want is for the computer to shut off when the car does.

.......

don't take this the wrong way but there are already programs similar to yours and what you're suggesting is more (or just as) complicated as the other shutdown controler methods. Why not just use UPS software already part of XP? also you're missing a key element, power up. Either way, if you want a carPC you're going to have to get some wiring done with relays, fuses and grounds. I don't mean to shoot down your idea, i just think you still need to learn a bit more about car electronics and carPCs. It's a good thing that you're giving your share of knowlege.

BTW, i agree MatrixPC's idea is very complex but it's an brilliant schematic and could be very useful to someone that understands it. For the rest of us (not electrical engineers) there's plenty of solutions for shutdown controlers varying from cheap and complicated to simple and expensive.
__________________
- carPC v2.1
Xenarc 700TSV
MSI K7GM2
Athlon XP 3200+
2x 256mb DDR333
Creative Live ! 5.1
Linksys WMP11 w/ 7db ext. antenna
Samsung 2.5" 40gig
Custom 5x10x10" window case
9A idle 12A Full load
http://www.cardomain.com/ride/852187/2
Nicorolla is offline   Reply With Quote
Old 01-24-2006, 09:26 AM   #10
Newbie
 
Join Date: Nov 2005
Posts: 2
My Photos: (0)
Question Shutdown/Powerup controller

I'm way over my head here but how hard would it be to design a small circuit that when it senses power off, a small memory chip would send the Tsshutdn command via serial port (or USB?????) and if the Bios had the option, wake on ring?

Seems like a breadboard would be cheap enoug.

I know this might be simplistic and possibly covered before but I searched



on "Tsshutdn" and got no hits.

fgcox1 is offline   Reply With Quote
Sponsored Links
Old 05-19-2006, 08:54 PM   #11
Constant Bitrate
Grimoire's CarPC Specs
 
Grimoire's Avatar
 
Join Date: May 2006
Location: Fayetteville, NC
Vehicle: 2003 Pontiac Vibe GT (Dent is fixed! XD
Posts: 200
My Photos: (0)
Ive looked on this site and couldnt find it, so If I'm posting an already done question, please lemme know and Ill delete....
Anyway,
Can you use this for a laptop? I would have to remove the battery and solder on the contacts for this from my opus? And speakin of opus, my laptop battery is 11.1V 4320mAh, which opus should I get? I dont know about this kind of electronics. I've also got a screen to consider and more than likely a few other add ons...Im thinking an 80 watt opus. But I dont know...
Pardon the n00bness...

Last edited by Grimoire : 05-19-2006 at 08:58 PM.
Grimoire is offline   Reply With Quote
Old 05-19-2006, 09:16 PM   #12
Constant Bitrate
 
WarDriver's Avatar
 
Join Date: Apr 2006
Location: Central VA
Vehicle: 4Runner
Posts: 156
My Photos: (1)
Quote: Originally Posted by Grimoire
\
Anyway,
Can you use this for a laptop? I would have to remove the battery and solder on the contacts for this from my opus? And speakin of opus, my laptop battery is 11.1V 4320mAh, which opus should I get? I dont know about this kind of electronics. I've also got a screen to consider and more than likely a few other add ons...Im thinking an 80 watt opus. But I dont know...
Pardon the n00bness...

If you are using a laptop...then you are making it too hard on yourself. Go with a remote switch. There are several examples on this site. Here was the simple, quick and cheap one I did....link.

W3bMa5t3r has a great auto laptop power on.
__________________
-WarDriver-

Real Men Pay With CA$H

Who needs an optical drive?

My DC to AC Inverter Mod

My Laptop Remote Switch

The Only Way to Search Craig's List
WarDriver is offline   Reply With Quote
Old 05-19-2006, 09:24 PM   #13
Constant Bitrate
Grimoire's CarPC Specs
 
Grimoire's Avatar
 
Join Date: May 2006
Location: Fayetteville, NC
Vehicle: 2003 Pontiac Vibe GT (Dent is fixed! XD
Posts: 200
My Photos: (0)
Wow, Alright, I may be able to pull that one off. Didnt see that thread, Ill read it. Thanks.
Grimoire is offline   Reply With Quote
Old 06-10-2006, 04:29 PM   #14
FLAC
W3bMa5t3r's CarPC Specs
 
W3bMa5t3r's Avatar
 
Join Date: Apr 2006
Location: Washington, DC - Alexandria, VA N/W Area - NOVA
Vehicle: 98 Cobra Convertible | 2004 4Runner SR5 V8 4WD
Posts: 1,253
My Photos: (15)
Quote: Originally Posted by WarDriver
If you are using a laptop...then you are making it too hard on yourself. Go with a remote switch. There are several examples on this site. Here was the simple, quick and cheap one I did....link.

W3bMa5t3r has a great auto laptop power on.

Hey mate, I never saw this before. Thanks for the props
The latest modules I'm shipping out are sweet if I do say so myself. lol I actually built myself one of the newer ones. Though, I'm already looking at ways to improve it.
speaking of which, I have 2 I need to go build and send out as soon as I get off work. Thanks again Peace...
W3bMa5t3r is offline   Reply With Quote
Old 06-10-2006, 04:55 PM   #15
Constant Bitrate
 
WarDriver's Avatar
 
Join Date: Apr 2006
Location: Central VA
Vehicle: 4Runner
Posts: 156
My Photos: (1)
Quote: Originally Posted by W3bMa5t3r
Hey mate, I never saw this before. Thanks for the props


No problem.
__________________
-WarDriver-

Real Men Pay With CA$H

Who needs an optical drive?

My DC to AC Inverter Mod

My Laptop Remote Switch

The Only Way to Search Craig's List
WarDriver is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FAQ: Power Supplies Explained (Part 1) Bugbyte The FAQ Emporium 14 06-10-2007 07:45 AM
Attention Newbies! A FAQ to the FAQs Bugbyte The FAQ Emporium 4 06-15-2006 11:17 PM
FAQ: Attention Newbies! The quickest way to learn about Car PC's Bugbyte The FAQ Emporium 2 06-19-2005 03:18 AM
Still confused on DC/DC, Shutdown controllers, and STR... couple Qs please. pooshda Power Supplies 18 02-25-2003 02:29 PM
Mother of All FAQs. MIT Carputer FAQ. chorattil General Hardware Discussion 1 02-15-2003 01:34 PM


All times are GMT -5. The time now is 10:16 AM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics