| REUK Shop | REUK Blog | Directory | About Us  |  | RSS Web Feed for Renewable Energy UK 

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 | shopping
  Printer Friendly Version Print Article     

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.

PICAXE starter pack with USB cable

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 neil@reuk.co.uk.


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 projects
Article Last Modified: 13:12, 30th Jan 2012
electronics | electric circuit | education

PVC Wind Turbine Blades
Learn how to make your own PVC wind turbine blades
Article Last Modified: 15:16, 19th Aug 2008
wind

Electricity with Stepper Motors
Find out the basics of generating electricity with stepper motors
Article Last Modified: 17:07, 10th Jun 2008
wind

Stepper Motor Voltage Doubler Circuit
Double the voltage from a stepper motor using two bridge rectifiers
Article Last Modified: 10:45, 9th May 2007
general | electric circuit | education

Examining a Stepper Motor
Read how easy it is to understand the wiring of a stepper motor
Article Last Modified: 08:58, 24th Mar 2007
general | education

Stepper Motor Basics
Learn more about stepper motors and their use in RE electricity generation
Article Last Modified: 09:54, 4th Apr 2007
wind | education

LM317T Voltage Regulator Chip
Learn about the LM317T and its uses in renewable energy projects
Article Last Modified: 14:35, 9th Sep 2008
electronics | electric circuit

Permanent Magnet Generator
Build a wind or water power system with around a PM Generator
Article Last Modified: 16:43, 6th Apr 2010
wind | hydro

Latching Relay Circuit
Find out how to make a latching relay circuit from a non-latching relay
Article Last Modified: 10:32, 1st Aug 2012
electronics | electric circuit | general

LM317 High Current Voltage Regulator
Find out how to build an LM317T based high current voltage regulator
Article Last Modified: 12:29, 17th Aug 2010
electric circuit | electronics | general | education

© 2006-2013 REUK - All Rights Reserved
Page Last Updated on 23rd May 2013 at 05:09:53pm

Recent
Blog Posts


1.Low Voltage Disconnect with Display and Datalogger

2.Saudi Solar Power Boom About to Begin

3.Compressed Air for Storage of Renewable Energy

4.Offer of the Day – 80W Monocrystalline Solar Panel £71.98

5.Project of the Day – Wind Turbine Dynamic Blade Pitch Controller

6.Morocco Starts Vast Solar Energy Project

7.Follow Up to RC Helicopter Lighting Controller

8.Low Voltage Disconnect – User Programmable Set Points in Binary

9.UK Home Energy Smart Meter Project Delayed

10.EU to Impose High Import Duties on Chinese Made Solar Panels


Latest
Articles


New Simple Hen House Door Controller
Details of our new 2013 simple design for an automatic hen house door controller
electric circuit
11:45, 20th Apr 2013

Automatic Hen House Door Closer Opener
Find out how to put together a DIY automatic hen house door opener and closer
electric circuit
11:40, 20th Apr 2013

Butanol vs Ethanol Fuel of the Future
A brief introduction to Butanol/Biobutanol as an alternative to Ethanol
biomass
11:55, 19th Apr 2013

Cheap Pyroelectric Infrared PIR Detector
Details of a very affordable and flexible PIR motion detector
electronics
20:33, 16th Jan 2013

Heat Pump Tumble Dryer
Reduce power consumption with the latest heat pump tumble dryer technology
energy efficiency
20:16, 3rd Jan 2013

LED Spotlights
Find out about Energy Efficient LED spotlights
lighting
15:17, 3rd Jan 2013

Dimmable Energy Saving Lightbulbs
Find out more about low energy light bulbs which can be used with standard dimmer switches
lighting
14:36, 3rd Jan 2013

Review of Megaman Energy Saving Lightbulbs
Find out more about the Megaman range of CFL energy saving lightbulbs
lighting
14:08, 3rd Jan 2013



REUK Shop

Popular Items


REUK SUPER LDR DUSK DAWN RELAY CONTROLLER
Multi-function light detector triggered light/dark dawn/dusk relay controller
£19.95 each.
Complete Circuits



KARASOULI SCC 20 CHARGE CONTROLLER
20A rated wind turbine charge controller and dump load controller with blocking diode and heatsink
£43.95 each.
Renewable Energy System Parts



2013 SOLAR PUMP CONTROLLER WITH RELAY
New solar water heating pump controller with fitted 10A relay
£25.99 each.
Complete Circuits



REUK SUPER POULTRY LIGHTING CONTROLLER
Control up to 8 Watts of LED spotlights to stimulate egg production in birds
£29.99 each.
Complete Circuits



REUK SUPER TIMER 2
User programmable 12VDC powered 16A rated repeating relay timer. 1 second to 99 hours ON and OFF times
£23.99 each.
Complete Circuits



300 WATT POWER INVERTER
Convert 12V DC battery power into 230 AC to power portable televisions, computers, video recorders etc. 300 Watt power rating - peak power 600 Watts
£29.99 each.
Renewable Energy System Parts



CONVERTED PROGRAMMABLE DIGITAL TIMER RELAY
Mains powered programmable timer converted to low voltage with relay board
£21.99 each.
Renewable Energy System Parts



12 VOLT REGULATOR
Supply a fixed 12.0 Volt DC to your devices (up to 0.7 Amp output)
£4.79 each.
Complete Circuits



MR16 CERAMIC BULB HOLDER
Bulb holder for 12 Volt LED spotlight bulbs
£1.39 each.
Energy Efficient Lighting