Make a PICAXE Repeating Timer
Make A PICAXE Repeating Timer
Make your own repeating timer with our automatic PICAXE Basic code generator
education | electronics | general | shoppingIn our articles
Timer Circuits with 4060B,
Repeat Timer Circuit we looked at how simple timers can be made which will control an output - e.g. something small like an LED, or a
relay which can in turn switch absolutely anything.
For all but the very simplest of short time interval timers, a
microcontroller is almost always the best approach to take. The number of electronic components and soldering required is minimal, and all the complexity is hidden in the code you write and download to the microcontroller. Changing the timings for example takes just a few seconds of re-programming with a microcontroller since no components need to be de-soldered/soldered and replaced etc.
Learning to
program microcontrollers is not actually very difficult - it just takes a bit of practice and a bit of reading. For an easy introduction to microcontroller programming for simple electronics projects we recommend
PICAXE microcontrollers since they are low-cost, simple to program, easy to find, and require very few additional components.
One of the commonest things we are asked for is information on
repeating relay timers - timers which are 'ON' for a while, then 'OFF' for a while, with that cycle repeating for as long as the timer is connected to the power - opening (ON) and closing (OFF) a relay which controls lighting, pumps, motors, sirens, etc.
Automatic Repeating Timer PICAXE Basic Generator
If you have never programmed a
microcontroller before and you would like to make a repeating relay timer, the following should be helpful. Enter the number of hours, minutes, and seconds for the ON and OFF periods for your desired timer, and the PICAXE Basic code will be automatically generated for you to use.
To get started all you will need is the following:
PICAXE 08 Starter Pack (USB), and
PICAXE 08M2 Chips.
Article Last Modified: 12:42, 4th Feb 2012Comment on this Article
If you have any comments on this article, please email them to
neil@reuk.co.uk.
Recommended Related Articles
People who read this article also enjoyed the following articles:
PICAXE MicrocontrollersFind out about PICAXE microcontrollers and their use in renewable energy projects
Article Last Modified: 13:12, 30th Jan 2012electronics | electric circuit | educationPVC Wind Turbine BladesLearn how to make your own PVC wind turbine blades
Article Last Modified: 15:16, 19th Aug 2008windElectricity with Stepper MotorsFind out the basics of generating electricity with stepper motors
Article Last Modified: 17:07, 10th Jun 2008windStepper Motor Voltage Doubler CircuitDouble the voltage from a stepper motor using two bridge rectifiers
Article Last Modified: 10:45, 9th May 2007general | electric circuit | educationExamining a Stepper MotorRead how easy it is to understand the wiring of a stepper motor
Article Last Modified: 08:58, 24th Mar 2007general | educationStepper Motor BasicsLearn more about stepper motors and their use in RE electricity generation
Article Last Modified: 09:54, 4th Apr 2007wind | educationLM317T Voltage Regulator ChipLearn about the LM317T and its uses in renewable energy projects
Article Last Modified: 14:35, 9th Sep 2008electronics | electric circuitPermanent Magnet GeneratorBuild a wind or water power system with around a PM Generator
Article Last Modified: 16:43, 6th Apr 2010wind | hydroLatching Relay CircuitFind out how to make a latching relay circuit from a non-latching relay
Article Last Modified: 10:32, 1st Aug 2012electronics | electric circuit | generalLM317 High Current Voltage RegulatorFind out how to build an LM317T based high current voltage regulator
Article Last Modified: 12:29, 17th Aug 2010electric circuit | electronics | general | education