Electronics Circuit Request: 1 Button Fan switch 12v:7v:Off...

Discussion in 'Modding' started by Kalym, 18 Sep 2003.

  1. acrimonious

    acrimonious Custom User Title:

    Joined:
    8 Nov 2002
    Posts:
    4,060
    Likes Received:
    3
    LOL.

    At face value it seems alright but it needs to out put to the relay when its off to flick the power switch to the fan.
     
  2. Kalym

    Kalym What's a Dremel?

    Joined:
    18 Feb 2002
    Posts:
    182
    Likes Received:
    0
    hrhr

    Running before I can walk. :p

    OK, for future reference, when I push the button the signal from output 0 will activate the relay RL2. When I push the button again, it moves to output pin 1 which will stop relay RL2 and activate relay RL1. When I push the button again, RL0 is active, while RL1 and RL2 are inactive. I push the button one more time and it resets back to output 0.

    Is that correct?

    Therefore, the relays stay switched only when there is a signal from the counter.

    Forgive me if this is obvious to you but I'm still adding 1 and 1 and find that I can make 3. :D
     
  3. acrimonious

    acrimonious Custom User Title:

    Joined:
    8 Nov 2002
    Posts:
    4,060
    Likes Received:
    3
    Yup that's correct.
     
  4. Kalym

    Kalym What's a Dremel?

    Joined:
    18 Feb 2002
    Posts:
    182
    Likes Received:
    0
    OK. Last attempt at trying to reduce the components for this fanbus and to have no relay used when in off state. :D

    Would this work? (the circles are just highlights)

    [​IMG]

    State 0: RL2 on = 12v
    State 1: RL1 & RL2 on = 7v
    State 2: RL1 & RL2 OFF

    Not sure if you can drive BOTH relays with one output from the counter. Again I'm using my much simplified, "I can make beans on toast, therefore I'm a chef" logic here, so please feel free to put as many holes in it as possible. :D

    Gotta give me points for blind determination! :p
     
  5. fatal_error

    fatal_error What's a Dremel?

    Joined:
    3 Jan 2003
    Posts:
    215
    Likes Received:
    0
    that circuit would work in my opinion but why not use a binary counter and save on the diodes?
     
  6. Kalym

    Kalym What's a Dremel?

    Joined:
    18 Feb 2002
    Posts:
    182
    Likes Received:
    0
    Ok. So how would I wire up a binary counter in the above circuit then?
     
  7. fatal_error

    fatal_error What's a Dremel?

    Joined:
    3 Jan 2003
    Posts:
    215
    Likes Received:
    0
    just replace the decimal counter with a binary counter eg. (looks for maps catalogue...finds maps catalogue :)) 74ls93. hook up the clock the same way but wire the outputs like so

    Q1 - 12v Relay (RL2)
    Q2 - 7v Relay (RL1)
    Q3 - Reset

    that should take care of the sequence u wanted
     
  8. Kalym

    Kalym What's a Dremel?

    Joined:
    18 Feb 2002
    Posts:
    182
    Likes Received:
    0
    Well, I received my components today. (This is sooo exciting! I can't wait to go home and begin putting this together!)

    1st confusing moment:
    I ordered 3 40106BM's...only to find that these IC's each can have up to 6 individual schmit triggers in them. (If I understand the datasheet I found correctly.)

    2nd confusing moment:
    I realised I ordered the wrong type of Opto Isolators. I wanted duel and I ordered singles. Doh! Off to Mappers to make for the short fall.

    3rd Confusing moment:
    Erm...there's something missing...not quite sure what...Doh, forgot hte capacitors.


    I'm surpirsed how much Mappers cost for some of the components, I found Rapid much cheaper.

    Oh well, the fun begins on tomorrow night, as I'm buy tonight. I'm looking forward to frying the IC's, short circuiting the things, burning my hand with the sodering Iron, etc. Wow, not felt this much anticipation to do something since I cust a hole in the side of my PC and put a perspex window in it. :D
     
  9. Kalym

    Kalym What's a Dremel?

    Joined:
    18 Feb 2002
    Posts:
    182
    Likes Received:
    0
    Damn it!

    Damn it!

    Damn it!

    Damn it!

    I forgot about the transistors. :(

    Does anyone know what would be suitable for the above circuit?
     
  10. Kalym

    Kalym What's a Dremel?

    Joined:
    18 Feb 2002
    Posts:
    182
    Likes Received:
    0
    LOL. I tried to put the circuit together at the weekend.

    After lots of planning of the layout, I still managed to blow the thing up. :(

    Someone needs to write a faq about how to use a multi-meter properly and not short a cricuit and blow the copper strips off a stip baord. :eeek:


    Oh, well. Back to mappers to get some more strip board. :D


    After my weekend of effort and eventual disaster can someone link or write some simple faqs for electronics newbies for tips on soldering, using strip board, desoldering, using a multimeter, using sockets for IC's etc.

    I'm so glad my triple E grad mate of mine told me about copper braid solder mop. Such god send for someone who can't solder.
     
    Last edited: 6 Oct 2003
  11. acrimonious

    acrimonious Custom User Title:

    Joined:
    8 Nov 2002
    Posts:
    4,060
    Likes Received:
    3
    I'll add some info to the practical section of my electronics guide :thumb:
     
  12. Kalym

    Kalym What's a Dremel?

    Joined:
    18 Feb 2002
    Posts:
    182
    Likes Received:
    0
    Damn it!
    Damn it!
    Damn it!

    Why didn't anyone tell me I had to wire the ENABLE pin of teh 4017 to ground!!!

    Damn it!
    Damn it!
    Damn it!

    LOL, I spent ages looking at the circuit, not understanding why it wasn't working? Something wrong with the chip? Something shorting, incorrect wiring? Mmmmm...what's that ENABLE pin for?

    ...Google...Doh!

    Ahhhhh, it works now. Yipeeeeee!!! :clap:

    This has been such a cool journey. Bought lots of bits and tools, and had great fun.

    Thanks acrim and others for the help. :thumb:

    Will probably write up a short project log for newbies with pics as I learnt so much basic stuff.

    OK, now that I've done 1, now I'm gonna try wiring 6 sets of the circuit together on one baord for my PC! Woot!
     
  13. acrimonious

    acrimonious Custom User Title:

    Joined:
    8 Nov 2002
    Posts:
    4,060
    Likes Received:
    3
    Exelent, sorry aboutnot connecting the EN pin on my diagram, just assumed knowledge, should have emntioed it.

    Glad to hear its all working and I look forward to reading your logs.

    :thumb:

    EDIT as for you requests for guides, i have an 'Electronics 101' series of guides taking you through both the theory and the practical techniques of electonics, its aimed at the Modder, it will be published on PC Review (see sig) in parts as it is written, part oen should be out in a few days.
     
    Last edited: 20 Oct 2003
  14. Kalym

    Kalym What's a Dremel?

    Joined:
    18 Feb 2002
    Posts:
    182
    Likes Received:
    0
    Keke, it caused me great frustration, but it was a very good learning experience, and the sense of satisfaction was immense when I got it working. Wow, I made this...with a lot of help. :D



    More Q's for you acrim.

    1) Is if possible to create the same circuit without using relays?
    2) If so, what are the pros and cons of doing it with relays?
     
  15. acrimonious

    acrimonious Custom User Title:

    Joined:
    8 Nov 2002
    Posts:
    4,060
    Likes Received:
    3
    it possible to do it without relays, it would be quite a different circuit that way though, i'll knock you up a schematic in a day or so.

    The cons are you'd get a (small) voltage drop, it would have a wattage limit (one fan per chanel and no high wattage fans), depending on the transistors though. Pros are it would be cheaper to build abnd would have no moving parts (apart from the fan of course).
     
  16. evil_t

    evil_t What's a Dremel?

    Joined:
    30 Sep 2003
    Posts:
    21
    Likes Received:
    0
    To make it even better, can you make the circuit with transistors and a touch switch?
     
  17. acrimonious

    acrimonious Custom User Title:

    Joined:
    8 Nov 2002
    Posts:
    4,060
    Likes Received:
    3
    Its possible, jus treplace everything leadig into the input of the IC (the button and debounce circuit) with the touch sensor circuit, probably based around the Q-touch IC.
     

Share This Page