Page 1 of 4 1234 LastLast
Results 1 to 10 of 37

Thread: shutdown controllers

  1. #1
    Maximum Bitrate starfox's Avatar
    Join Date
    May 2002
    Location
    Australia
    Posts
    451

    shutdown controllers

    Is anyone here interested in (yet) another shutdown controller? I've designed a circuit that's based around a picaxe08 and works for a Morex PSU or an inverter.

    I've built a prototype and so far it's been working pretty well. It does the following:
    - relay control for 12V supply to inverter / morex PSU
    - simulates pushing power button on motherboard for power on and off
    - forces power off if the computer doesn't shut down within some interval
    - sense line for accessory
    - override power on
    - sense line for 5V line (shutdown controller switches off main power relay after this line falls to 0V after the PC has shut down)
    - provides an amp power on line (seperate to prevent power on thump from computer)

    It's based on picaxe, so i've actually incorporated a programming header onto the prototype (picaxe is really easy to program), so just about anyone should be able to build it. You can change all of the delays by changing the constants in the shutdown controller picaxe program, and reprogramming the microcontroller.

    If anyone's interested i'll post the circuit diagram (it's mostly on paper at the moment), and i'll do a stripboard version of the circuit (not going to make PCBs for this, too expensive).

  2. #2
    Maximum Bitrate Marsupial's Avatar
    Join Date
    Feb 2004
    Location
    Montreal
    Posts
    763
    Would there be a way to tell the computer to shutdown?
    I have a kiosk PC that use a 12-24V converter and I have no poweron/shutdown controller... I am not sure I'll use one, but if I'm available to build one, I'm interested.
    -Mars

  3. #3
    Raw Wave
    Join Date
    Jun 2003
    Posts
    1,823
    Startfox...post em

    Nice to see other design going around. Im too in the progressing of finalising my design...just had gone off course for a bit since my car got stolen

    A member called meddler has also based his design on PICAXE, not sure how much more time he needed to finish off his...but definitely its cool to see more comming in

  4. #4
    Variable Bitrate
    Join Date
    Jun 2003
    Location
    Chicago
    Posts
    384
    Quote Originally Posted by Ricky327
    Startfox...post em

    Nice to see other design going around. Im too in the progressing of finalising my design...just had gone off course for a bit since my car got stolen

    A member called meddler has also based his design on PICAXE, not sure how much more time he needed to finish off his...but definitely its cool to see more comming in
    Yes,
    Please post..very interested...

  5. #5
    Maximum Bitrate starfox's Avatar
    Join Date
    May 2002
    Location
    Australia
    Posts
    451
    Okay sure, i'll post it when i've finished testing. There's a few things i need to check first (like if i have to use current limiting resistors on relays), and to stripboard the design.

    I'll post the circuit diagrams soonish.

  6. #6
    It ain't easy being a green moderator meddler's Avatar
    Join Date
    Aug 2002
    Location
    Steps out the front of Henson's workshop or Sydney
    Posts
    2,783
    most of mine is still in the theory / design stage, but with a little work mine could be completed (i think) quite easily.

    @ starfox: Mine is a little more complex than yours and uses a picaxe28X chip. I can send you some more info if you are interested.
    Never let the truth get in the way of a good story

  7. #7
    Maximum Bitrate starfox's Avatar
    Join Date
    May 2002
    Location
    Australia
    Posts
    451
    Tested mine today for a couple of hours driving around, works fine.. only thing i have to worry about is that the relay coils seem to be running a little warm, might see if i can add some caps to provide provide enough current to latch the relay, then just maintain a lower holding current to keep the relay closed.

    Mine's just built for simplicity, and the whole thing was a RAD project.. The prototype was designed and the circuit built in about a week in my spare time, and it kinda shows, the current design is quite large and has heaps of wires floating around lol.. I'll rebuild it into something better soon though.

    Sorry to hear your car was stolen Ricky... >_<

  8. #8
    Maximum Bitrate starfox's Avatar
    Join Date
    May 2002
    Location
    Australia
    Posts
    451
    This is the outline for the basic design i'm using:

    PICAXE08 program:
    http://tartarus.uwa.edu.au/~daveis/c...pplication.zip

    Diagram for relay drivers:
    http://tartarus.uwa.edu.au/~daveis/c...elayDriver.pdf

    You need to vary R1, R2 depending on the resistance of the relay coil that you're using. Similarly for R5, R6, and R8, R9. In my circuit, RLY1 and RLY2 have 200 ohm coil resistance (i'm using a 3A PCB relay), and RLY3 is a 30A automotive relay with 80 ohms resistance. You need to adjust these so the transistor is in saturation.

    R3, R4, R7 are current limiting resistors so the PICAXE doesn't have to do too much work.

    D1, D2, D3 are protection diodes so the back EMF of the relays doesn't destroy your transistor in the long run. 1N4004s are fine instead of 1N4001s.

    U1, U2, U3 are optoisolators. I chose to use standard 4N28s because they're quite cheap and they work. ^^ Using an optoisolator + transistor might seem a bit excessive but i found that the optoisolators became quite warm after supplying the relays without a transistor. Since this circuit has to sit in a car which might get quite hot, i decided that using transistors would be a more robust design.

    Q1, Q2, Q3 are standard PNP transistors. You can replace this with just about anything with an hFE > 100, though BC327s should be common everywhere.

    The inputs labelled Pin4, Pin7 and Pin5 are the respective pins on the PICAXE IC.

    I don't have a diagram for how to wire up the rest of the circuit yet as my circuit design software doesn't have a model for a PICAXE or PIC at all.. Does anyone know of software which'll let you draw a circuit with a PIC in it? (i hope i don't have to use MS Paint ^^)

  9. #9
    FLAC Gutter's Avatar
    Join Date
    Dec 1999
    Location
    Casina, Italy
    Posts
    901
    For those who don't wish to use such a complex controller, the same task can be accomplished with a 12V relay, a diode, and some C code.

    I have connected a 12V relay connected to two pins on my parallel port and powering it with the car's power. When the car is on, the voltage is 14.4V and the relay closes the circuit shorting out the two pins. When the car is off, the voltage drops to around 10V and the relay opens the circuit.

    I then have some simple software that monitors for changes to those pins. It does nothing when the pins are shorted, but when the relay opens, it initiates a shutdown process.

  10. #10
    Raw Wave
    Join Date
    Jun 2003
    Posts
    1,823
    For those who don't wish to use such a complex controller, the same task can be accomplished with a 12V relay, a diode, and some C code.

    I have connected a 12V relay connected to two pins on my parallel port and powering it with the car's power. When the car is on, the voltage is 14.4V and the relay closes the circuit shorting out the two pins. When the car is off, the voltage drops to around 10V and the relay opens the circuit.

    I then have some simple software that monitors for changes to those pins. It does nothing when the pins are shorted, but when the relay opens, it initiates a shutdown process.



    How are you turning the PC on?

    Its even easier with :

    The ignition +12V, resistors and zener diode can be used to apply voltage directly to the serial ports. A customised fake UPS is setup up in the control panel to do the shutdown.

Page 1 of 4 1234 LastLast

Similar Threads

  1. Shutdown Controllers
    By bgoodman in forum Power Supplies
    Replies: 16
    Last Post: 09-02-2004, 01:10 AM
  2. New Improved ATX Shutdown Unit!
    By Danceheaven in forum General Hardware Discussion
    Replies: 22
    Last Post: 04-15-2004, 10:52 PM
  3. Keyless Entry Shutdown Controller
    By Sinorm in forum Power Supplies
    Replies: 2
    Last Post: 04-07-2004, 09:30 PM
  4. 2 Jeff Mucha Shutdown controllers
    By dbinnc in forum Classified Archive
    Replies: 2
    Last Post: 12-21-2003, 12:52 AM
  5. Replies: 18
    Last Post: 02-25-2003, 03:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •