designstudioliner.blogg.se

1 hour timer 5 minute intervals
1 hour timer 5 minute intervals





1 hour timer 5 minute intervals
  1. #1 hour timer 5 minute intervals how to
  2. #1 hour timer 5 minute intervals code

Write the code in 5 mins, solder a few wires together and you're done. If you are familiar with microcontrollers, then this is an easy job for something like a PIC10/12F as mentioned.

#1 hour timer 5 minute intervals how to

You'll easily find a circuit for how to drive a MOSFET switch from one of the pins on the microcontroller by simply Googling. Usually you can get a good power-MOSFET or solid-state relay that can properly handle and dissipate the heat associated with the surge of inrush current. Of those two, for 15A, I recommend the second category because the mechanical relays will often "arc" when closing to switch on which, over time, produces a buildup on the terminals and they will ether fuse closed (always on) or never be able to completely close (never turn on) if they are switched too often. Solid State - FETs, Triacs, solid-state relays.There are two general categories of switches: So you'll need to find one that can handle, not just 15A, but whatever inrush current your circuit has. There are many switches/relays out there that can easily handle 15A of constant current (steady state), but you'll find repeated switching will make them fail because in reality they see a much higher inrush current. The trouble you'll find is that the "inrush current" (which is the sudden surge of current you will get right after the switch is closed).

1 hour timer 5 minute intervals

You could even have different on/off times if you decide you want that later on, for example: On for 5 mins/off for 15.įrom what you say, you're looking at 5-15 Amps of current. This solution makes changing the on/off time relatively easy since all you'll be changing is your increment variable max count, rather than having to change the caps & resistors. When the variable gets to the previously calculated value, switch whatever switch/relay/FET you have for controlling the circuit (see below for that problem). Each time the timer interrupt fires, increment a variable. Divide 20 minutes by that interval and you will know the number of timer overflows needed to "count" to 20 minutes. Your timer will overflow at a periodic, predictable interval (which you will set up). Look for one that has a timer (I don't think I've ever seen one that doesn't).







1 hour timer 5 minute intervals