Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: relays & computers

  1. #1
    Variable Bitrate
    Join Date
    Jul 2001
    Location
    The Netherlands
    Posts
    307

    relays & computers

    Hi all,

    I have problem I'm hoping you can solve...

    I have a small circuit driving my steppermotor & 4 relays. I want to use the relays to turn on/off my amps when I want too. The circuit is connected to my LPT-port.

    Problem I'm having is that the mobo "resets" the LPT port at startup, this means that for a few seconds the relays close while booting, I don't want this.....

    Anybody have a suggestion how to overcome this problem? I've tried severall Mobo's, and search through there BIOS-s but couldn't find how to disable the reset,

    Any thoughts?
    If at first you don't succeed.........
    destroy all evidence you tried

    for info on t6369c LCD or Presslab's powersupply check:
    http://www.namms.tk <=updated!!

  2. #2
    Maximum Bitrate
    Join Date
    Mar 2001
    Location
    Cincinnati, OH USA
    Posts
    694
    I think we have been over this already. Try searching the forum.
    http://www.mp3car.com/usersites/Maveric/ M.A.V.I.C. System
    Asus MB, PII 266, 192 MB Ram, 6.8" LCD, 6 Disk CD-ROM, 21 Gig HD, All-in-Wonder Video w/ TV Tuner, Irman, Windows ME, Winamp, Cobra III -- All in a custom acrylic case.

    http://www.mp3car.com/usersites/listings/ MP3car Listings - Please add to it! :)

  3. #3
    Variable Bitrate
    Join Date
    Jul 2001
    Location
    The Netherlands
    Posts
    307
    could you please tell me which keywords to use? I've tried relay LPT parallel boot, but couldn't find something that resembles my problem
    If at first you don't succeed.........
    destroy all evidence you tried

    for info on t6369c LCD or Presslab's powersupply check:
    http://www.namms.tk <=updated!!

  4. #4
    Retired Admin Aaron Cake's Avatar
    Join Date
    Jan 2000
    Location
    London, Ontario, Canada
    Posts
    2,464
    Most motherboards do this, if not all. Just off the top of my head, you could build a 30 second delay into the circuit so that it is not active until 30 seconds after it is powered up...
    Player: Pentium 166MMX, Amptron 598LMR MB w/onboard Sound, Video, LAN, 10.2 Gig Fujitsu Laptop HD, Arise 865 DC-DC Converter, Lexan Case, Custom Software w/Voice Interface, MS Access Based Playlists
    Car: 1986 Mazda RX-7 Turbo (highly modded), 1978 RX-7 Beater (Dead, parting out), 2001 Honda Insight
    "If one more body-kitted, cut-spring-lowered, farty-exhausted Civic revs on me at an intersection, I swear I'm going to get out of my car and cram their ridiculous double-decker aluminium wing firmly up their rump."

  5. #5
    Raw Wave Rob Withey's Avatar
    Join Date
    Apr 2000
    Location
    Bedfordshire, UK
    Posts
    2,139
    I solved this problem by having an XOR gate attached to two lines of the parallel port. You then need to modify your software to set the lines to be different before the relay will switch. Most parallel port resets will reset all data lines to the same thing.


    Rob
    Old Systems retired due to new car
    New system at design/prototype stage on BeagleBoard.

  6. #6
    Variable Bitrate
    Join Date
    Jul 2001
    Location
    The Netherlands
    Posts
    307
    Rob or/and Aaron,

    would you mind telling me how I would go about your solutions?

    other question, are all outputs reset? I do need 8 outputs, so if I go with rob's idea could I use one of the other outputs on the parallel ports?.

    And yet another question,
    How would I create a pulse, derived from the ACC power, to switch on my ATX mobo? I tried to figure out which part of the much spoken poweroff delay circuit, but can't find out which part is responsible for the translation from 12V continuously to a 12V pulse.

    thanks guys!
    If at first you don't succeed.........
    destroy all evidence you tried

    for info on t6369c LCD or Presslab's powersupply check:
    http://www.namms.tk <=updated!!

  7. #7
    Raw Wave Rob Withey's Avatar
    Join Date
    Apr 2000
    Location
    Bedfordshire, UK
    Posts
    2,139
    Originally posted by marsjell
    Rob or/and Aaron,

    would you mind telling me how I would go about your solutions?
    My solution involves getting an XOR gate (74LS86 would do the job), tieing each of the two inputs to data lines out of the parallel port, and then use the output of the XOR gate to drive a transistor to switch your relay. I actually ended up building an equivalent circuit from a bunch of NAND gates (74LS00) since I didn't have any '86s in my box of bits, but the effect is the same.

    There are more output lines on a parallel port than the 8 data lines (try strobe for example).


    Rob
    Old Systems retired due to new car
    New system at design/prototype stage on BeagleBoard.

  8. #8
    Variable Bitrate
    Join Date
    Jul 2001
    Location
    The Netherlands
    Posts
    307
    Rob, I know that there are more ouputs, what I'm wondering is if they also get reset the same way as the data outputs, sothat I could use these for "the other input" of the XOR's ?
    If at first you don't succeed.........
    destroy all evidence you tried

    for info on t6369c LCD or Presslab's powersupply check:
    http://www.namms.tk <=updated!!

  9. #9
    Raw Wave Rob Withey's Avatar
    Join Date
    Apr 2000
    Location
    Bedfordshire, UK
    Posts
    2,139
    Originally posted by marsjell
    Rob, I know that there are more ouputs, what I'm wondering is if they also get reset the same way as the data outputs, sothat I could use these for "the other input" of the XOR's ?
    I don't know, it's probably motherboard specific, since some have implicit inverts from the control registers to the actual output pins. Might I suggest some investigation using a multimeter?


    Rob
    Old Systems retired due to new car
    New system at design/prototype stage on BeagleBoard.

  10. #10
    Retired Admin Aaron Cake's Avatar
    Join Date
    Jan 2000
    Location
    London, Ontario, Canada
    Posts
    2,464
    I like Rob's idea better than mine, but mine would simply involve a 555 timer set for 30 seconds or so. The output of the timer goes to the "enable" line (through a transistor buffer, of course) of the buffer chip you are using to interface to the port.
    Player: Pentium 166MMX, Amptron 598LMR MB w/onboard Sound, Video, LAN, 10.2 Gig Fujitsu Laptop HD, Arise 865 DC-DC Converter, Lexan Case, Custom Software w/Voice Interface, MS Access Based Playlists
    Car: 1986 Mazda RX-7 Turbo (highly modded), 1978 RX-7 Beater (Dead, parting out), 2001 Honda Insight
    "If one more body-kitted, cut-spring-lowered, farty-exhausted Civic revs on me at an intersection, I swear I'm going to get out of my car and cram their ridiculous double-decker aluminium wing firmly up their rump."

Page 1 of 2 12 LastLast

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
  •