Make a PICAXE Repeating Timer
Make A PICAXE Repeating Timer
Make your own repeating timer with our automatic PICAXE Basic code generatoreducation | electronics | general | shopping
In 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 2012
Comment on this Article
If you have any comments on this article, please email them to email@example.com
Recommended Related Articles
People who read this article also enjoyed the following articles:PICAXE Microcontrollers
Find out about PICAXE microcontrollers and their use in renewable energy projectsArticle Last Modified: 13:12, 30th Jan 2012electronics | electric circuit | educationPVC Wind Turbine Blades
Learn how to make your own PVC wind turbine bladesArticle Last Modified: 15:16, 19th Aug 2008windElectricity with Stepper Motors
Find out the basics of generating electricity with stepper motorsArticle Last Modified: 17:07, 10th Jun 2008windStepper Motor Voltage Doubler Circuit
Double the voltage from a stepper motor using two bridge rectifiersArticle Last Modified: 10:45, 9th May 2007general | electric circuit | educationExamining a Stepper Motor
Read how easy it is to understand the wiring of a stepper motorArticle Last Modified: 08:58, 24th Mar 2007general | educationStepper Motor Basics
Learn more about stepper motors and their use in RE electricity generationArticle Last Modified: 09:54, 4th Apr 2007wind | educationLM317T Voltage Regulator Chip
Learn about the LM317T and its uses in renewable energy projectsArticle Last Modified: 14:35, 9th Sep 2008electronics | electric circuitPermanent Magnet Generator
Build a wind or water power system with around a PM GeneratorArticle Last Modified: 16:43, 6th Apr 2010wind | hydroLatching Relay Circuit
Find out how to make a latching relay circuit from a non-latching relayArticle Last Modified: 10:32, 1st Aug 2012electronics | electric circuit | generalLM317 High Current Voltage Regulator
Find out how to build an LM317T based high current voltage regulatorArticle Last Modified: 12:29, 17th Aug 2010electric circuit | electronics | general | education