switch

Discussion in 'Homework Help' started by graememurray, Jan 22, 2015.

  1. graememurray

    Thread Starter New Member

    Jan 22, 2015
    3
    0
    Please can any one help with this problem how do I make a push button switch that the intervals be changed in every 2 seconds or 5 or 6 and so on so you can press a button and then It automatically keeps press on and off until user says otherwise.
     
  2. WBahn

    Moderator

    Mar 31, 2012
    17,777
    4,805
    This makes no sense. If you want it to remember its state until the user says otherwise, then what role "does the 2 seconds or 5 or 6" play.

    If you are looking for a push button that is "push-on, push-off", then buy such a switch.

    If you are looking for a switch that when you push it it stays on for a certain amount of time and shuts off until pushed again, then they make those switches to.

    If you want to take a normal momentary push-button switch and have one of these behavior (or something else) then you can use logic to do it. That logic might be implemented using relays (which can be purchased with various flavors of time delays) or with something like a 555 timer or with something like a cheap 8-pin microcontroller. Lot's of possibilities.
     
  3. graememurray

    Thread Starter New Member

    Jan 22, 2015
    3
    0
     
  4. WBahn

    Moderator

    Mar 31, 2012
    17,777
    4,805
    Since this is homework, you need to give us some indication of the course this is for -- the solution that would be acceptable for an industrial controls course is not the same as the one that a digital circuits would be looking for and a programmable logic course would be looking for something different and so on.

    Also, since this is homework, you need to give an indication of YOUR attempt to solve YOUR homework.
     
  5. graememurray

    Thread Starter New Member

    Jan 22, 2015
    3
    0
    Many thanks. I will probably go down the microcontroller coupled with a 555 ic route.
     
Loading...