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

Thread: ITPS-Auto Power Sequencer as Shotdown Controller

  1. #1
    Newbie
    Join Date
    Aug 2003
    Posts
    27

    Question ITPS-Auto Power Sequencer as Shotdown Controller

    Hello,

    I want to use the ITPS-Auto Power Sequencer as Shutown Controller.

    This should normally no problem but I have not time to learn who I can
    change the the HEX code for the PIC microcontroller.
    Hex Code

    I need the following functions:
    If I press a button (0->12V) which is connected to the ignition wire the
    pc should start immediately(without the 4 seconds delay).

    If I press the button (0->12V) a second time the pc should shutdown immediately (without the 5 seconds).

    Can anyone change that code?
    I hope I am not the only one who ist intrested in this function.

    Thank you in advance.

    Manuel

  2. #2
    Raw Wave
    Join Date
    Jun 2003
    Posts
    1,823
    Hmm not so sure what you are trying to do here. How you gonna connect this button to the igniton line? Are you just reprogramming the ITPS?

    Are you gonna add another button? so you can turn your PC on or off immediately? if thats the case just use your normal PC button...they do exactly what you wanted

    Its the BUTTON bit thats confusing me

  3. #3
    Newbie
    Join Date
    Aug 2003
    Posts
    27
    Yes, I want only reprogramm the ITPS.

    The one side of the button is connected to 12V- and the other side to the ignition wire.

    Thats all. Nothing more.

    The problem with the current HEX code is that you must have everytime 12V- connected to the igniton wire. When you remove 12V- from this wire the ITPS switch the pc off.

    I hope you know what I mean!!

    Things to change:
    12V- to ignition wire (only for a short time) ----> ITPS ON ----> PC ON
    No voltage on the ignition wire ------> the pc stays ON
    12V- to ignition wire (only for a short time) ----> ITPS OFF ----> PC OFF

    The red text is the new function.

    So you can connect your battery voltage direct to the ITPS and the ITPS switch a power supply.
    Battery--->ITPS--->Powersupply (Opus....)---> Motherboard (PC)

    With the button on the ignition wire you can switch the whole system on or off.

    Manuel

  4. #4
    Raw Wave
    Join Date
    Jun 2003
    Posts
    1,823
    OK i get it now, so you just want to put a push switch to replace the car ignition line.

    The push button will then turn on/off your PC without delay?

    Hmm...alot of codes need to be wiped out.

    Im only learning to program the PIC 12F675 and I have no experience with the 12C508 at all so I cant really help you.

    Trust me its not hard to learn it at all, have a go doing it yourself. The hardest part to understand is to setup the chip for your required function.

    The problem is the 12C508 can only be programmed once, so you may want to download the simulator from the microchip website and have a play around.

    Acording to the ASM file you attached the target is 12F629 I though they uses 12C508? verify this.

    Hope that helps anyway

  5. #5
    Newbie
    Join Date
    Aug 2003
    Posts
    27
    The target is 12F629 and on my ITPS is also this microcontroller.
    Why a 12C508 microcontroller?

    ASM file:

    "
    LIST p=12F629 ;Target processor
    #include "P12F629.INC" ;Header file for target processor
    "

    Changing the delay is easy:

    "
    ONDELAY equ .20 ;power on delay 4 seconds
    ONDELAY2 equ .5 ;wait 1 second until push button
    BUTTON equ .1 ;push button for 400 ms
    OFFDELAY equ .25 ;shut down 5 s after ignition off
    HARDOFF equ .225 ;hard off after 45 seconds
    "

    .XXX / 2 x 400ms --> then you have the time in seconds

    I know that it is not diffucult to learn but the time.....

    Manuel

  6. #6
    Raw Wave
    Join Date
    Jun 2003
    Posts
    1,823
    The power.pdf on their sites uses 12C508. I guess you got the newer version.

    Anyway give me a day or 2 Ill post the whole source code as I dont have the time right now.

  7. #7
    Raw Wave
    Join Date
    Jun 2003
    Posts
    1,823
    Ok Ive done most of it...

    I need to know if you still want to use the PC power button to power up or down the PC...or do you just want a the ITPS to turn on and off without pushing the PC power button?

    I meant :

    push button > turn power on
    push button again > turn power off

    I asked this because some people here have setup their PC so that it come on straight away when the power is applied to it, no need to press any button. The pc is then just shut off by cutting the power...bad idea but some people does it this way.

    If you still want to do a proper shutdown using the PC button let me know.

    UPDATE :

    I hope you are aware that you still must supply a constant 12V to the ITPS.

    Also Im not too sure how you guys connect the ITPS to the power button of the PC...looking at the circuit diagram theres 2 output GPIO2 and GPIO4, Im assuming one of them is a constant "HIGH" or constant "LOW"

  8. #8
    Newbie
    Join Date
    Aug 2003
    Posts
    27
    or do you just want a the ITPS to turn on and off without pushing the PC power button?
    Yes, thats it. One button to switch the whole system.

    The ITPS is connected to the power button switch on the mainboard.
    I know that I need a constant 12V power supply. The ITPS is only my shutdown circuit for the power supply and the pc.

    Here two pics from my ITPS and the Installation Guide:

    http://www.blaue-leuchte.de/webimages/DSC02015.JPG
    http://www.blaue-leuchte.de/webimages/DSC02018.JPG

    Manuel

  9. #9
    Raw Wave
    Join Date
    Jun 2003
    Posts
    1,823
    What I meant was are you still gonna connect the J2 (labelled MBON# and MBON2# on the circuit diagram) on the ITPS into the PC motherboard?

    Ok my fault I didnt ask the question properly...my plan was just to apply the power to your motherboard when turning on and then cut the power when turning off. The ITPS will not do anything else, it just toggle the power on and off to your motherboard controlled by the push button. I got an impression this is what you wanted since you wanted on and off with no delay...it didnt make sense that you wanted this

    Some people do this, hard on and off and no proper shutdown. If this is the case then I have done it already.


    If you do want the sequence like this :

    YOU push BUTTON and release - YOU want the PC to bootup
    ITPS turn power rail on - ITPS apply battery power to the PC
    ITPS wait 1 sec - ITPS wait for PC to settle down on receiving battery power
    ITPS trigger PCBUTTON - ITPS bootup the PC
    .
    .
    .
    YOU push BUTTON again and release - YOU want PC to shutdown
    ITPS trigger PCBUTTON - ITPS shutdown the PC
    ITPS wait 45 sec - ITPS wait for PC to shutdown
    ITPS turn power rail off - ITPS remove battery power to the PC
    .
    .
    .
    ITPS repeat cycle


    For the PC to work properly ITPS must apply the battery power to the PC 1 second atleast before ITPS push the PCBUTTON. I think we are getting confused with the PC powering on/off with the battery power into the PC...they are different things And also with the push BUTTON and the PC power BUTTON.


    BUTTON = your push button
    PCBUTTON = pc power button
    12V = power going into the PC

    PC powering up should be called PC booting up

    I hope thats clearer

  10. #10
    Newbie
    Join Date
    Aug 2003
    Posts
    27
    Hi,

    I think it was a mistake from me.
    I will only reduce the delay times not set them to 0. So the PC can start normally and shutdown normally.
    For example:
    "
    ONDELAY power on delay 0.6 or 1 seconds
    ONDELAY2 wait 0.6 second until push button
    BUTTON push button for 400 ms
    OFFDELAY shut down 0.6 s after ignition off
    HARDOFF hard off after 45 seconds
    "

    That's what I mean
    If you do want the sequence like this :

    YOU push BUTTON and release - YOU want the PC to bootup
    ITPS turn power rail on - ITPS apply battery power to the PC
    ITPS wait 1 sec - ITPS wait for PC to settle down on receiving battery power
    ITPS trigger PCBUTTON - ITPS bootup the PC
    .
    .
    .
    YOU push BUTTON again and release - YOU want PC to shutdown
    ITPS trigger PCBUTTON - ITPS shutdown the PC
    ITPS wait 45 sec - ITPS wait for PC to shutdown
    ITPS turn power rail off - ITPS remove battery power to the PC
    .
    .
    .
    ITPS repeat cycle
    Thank you in advance!!!
    Manuel

Page 1 of 4 1234 LastLast

Similar Threads

  1. Inquiring Info on ITPS Power Sequencer?
    By Squeeky in forum Power Supplies
    Replies: 58
    Last Post: 11-24-2003, 07:24 AM
  2. ITPS auto power sequencer is out, need few testers
    By andrewb in forum Power Supplies
    Replies: 10
    Last Post: 11-15-2003, 07:13 PM
  3. auto power on ideas?!?!?
    By detz in forum General Hardware Discussion
    Replies: 9
    Last Post: 08-07-2002, 12:19 AM
  4. Getting power to the controller
    By cruzc_99 in forum LCD/Display
    Replies: 2
    Last Post: 08-22-2001, 09:47 AM
  5. ATX auto power on
    By jumpoint in forum General Hardware Discussion
    Replies: 5
    Last Post: 01-25-2000, 02:56 AM

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
  •