STEP 1 / 6ELECTRONICS

Peak Hour Timer

If the line voltage drops between 6 pm and 9 pm, when most people use electricity, appliances like refrigerators and air conditioners use a lot of power. If these appliances don't have a…

Peak Hour Timer - source illustration from page 180
PROJECT#093
TRACKElectronics
PARTS06
STAGES06
STEP 1 / 6 · Overview

Know the mission before touching a wire.

Understand what you are making, prepare the right tools, and make the workbench safe.

01

Project details

Peak Hour Timer is a electronics project. If the line voltage drops between 6 pm and 9 pm, when most people use electricity, appliances like refrigerators and air conditioners use a lot of power. If these appliances don't have a…

Source pages
180-182
Named parts
6
Build goal
Working, tested prototype
02

Tools you need

  • Digital multimeter
  • Wire stripper and side cutters
  • Soldering iron with a fine tip
  • Current-limited bench supply

Use eye protection, good lighting, and a clean insulated surface throughout the build.

03

Safety precautions

  • Disconnect every power source before changing a connection.
  • Check component polarity, pinout, and supply voltage twice.
  • Use a current limit for the first power-up.
  • This project may involve hazardous voltage. Work only with qualified supervision and proper isolation.
Ready to continue?
STEP 2 / 6 · Parts library

Gather, identify, and understand every part.

Use the standardized inventory, then open What's this? to learn each part's role, advantages, limitations, handling, and specifications.

NAMED PROJECT INVENTORY6 PART LINES
PARTTYPEQTYREADY
MLDRMODULE1
What's this?Image, role, pros, cons, handling & specifications
Light sensor moduleMODULE LEARNING VIEW

LDR

A sensor converts a physical condition into an electrical signal the circuit can measure.

What it does here

It provides project input as an analogue, digital, resistive, frequency, or calibrated signal.

Buy / compare this part

Advantages

  • Adds real-world awareness
  • Can usually be tested independently
  • Often supports calibration

Limitations

  • Readings can drift
  • Placement affects results
  • Some sensors need warm-up or calibration

Handling

  • Protect the sensing surface
  • Observe supply voltage and polarity
  • Keep signal leads away from noisy power wiring

Specifications to verify

  • Use the exact model, value, package, and rating listed for LDR; similar-looking parts are not always interchangeable.
  • Confirm supply range, output type, measurement range, accuracy, response time, and pin order.
SNE555SEMICONDUCTOR1
What's this?Image, role, pros, cons, handling & specifications
NE555 timerSEMICONDUCTOR LEARNING VIEW

NE555

A semiconductor stage performs switching, amplification, regulation, rectification, or logic.

What it does here

It controls current or signal flow at a defined point in the circuit.

Buy / compare this part

Advantages

  • Fast and efficient
  • Compact
  • Can control larger loads from smaller signals

Limitations

  • Pin order varies
  • Sensitive to overvoltage and reverse polarity
  • May need cooling or bias components

Handling

  • Verify the datasheet pinout
  • Avoid static and soldering heat
  • Check notch, stripe, or flat-face orientation

Specifications to verify

  • Use the exact model, value, package, and rating listed for NE555; similar-looking parts are not always interchangeable.
  • Confirm pinout, maximum voltage/current, dissipation, gain or forward voltage, and package.
SCD4060SEMICONDUCTOR1
What's this?Image, role, pros, cons, handling & specifications
Peak Hour Timer - source illustration from page 180SEMICONDUCTOR LEARNING VIEW

CD4060

A semiconductor stage performs switching, amplification, regulation, rectification, or logic.

What it does here

It controls current or signal flow at a defined point in the circuit.

Buy / compare this part

Advantages

  • Fast and efficient
  • Compact
  • Can control larger loads from smaller signals

Limitations

  • Pin order varies
  • Sensitive to overvoltage and reverse polarity
  • May need cooling or bias components

Handling

  • Verify the datasheet pinout
  • Avoid static and soldering heat
  • Check notch, stripe, or flat-face orientation

Specifications to verify

  • Use the exact model, value, package, and rating listed for CD4060; similar-looking parts are not always interchangeable.
  • Confirm pinout, maximum voltage/current, dissipation, gain or forward voltage, and package.
ST1, T2, T3 - transistor stages identified in the circuitSEMICONDUCTOR1
What's this?Image, role, pros, cons, handling & specifications
Peak Hour Timer - source illustration from page 180SEMICONDUCTOR LEARNING VIEW

T1, T2, T3 - transistor stages identified in the circuit

A semiconductor stage performs switching, amplification, regulation, rectification, or logic.

What it does here

It controls current or signal flow at a defined point in the circuit.

Buy / compare this part

Advantages

  • Fast and efficient
  • Compact
  • Can control larger loads from smaller signals

Limitations

  • Pin order varies
  • Sensitive to overvoltage and reverse polarity
  • May need cooling or bias components

Handling

  • Verify the datasheet pinout
  • Avoid static and soldering heat
  • Check notch, stripe, or flat-face orientation

Specifications to verify

  • Use the exact model, value, package, and rating listed for T1, T2, T3 - transistor stages identified in the circuit; similar-looking parts are not always interchangeable.
  • Confirm pinout, maximum voltage/current, dissipation, gain or forward voltage, and package.
PLED1 - indicator LED identified in the circuitPART1
What's this?Image, role, pros, cons, handling & specifications
Peak Hour Timer - source illustration from page 180PART LEARNING VIEW

LED1 - indicator LED identified in the circuit

An output component turns an electrical control signal into light, sound, motion, switching, or displayed information.

What it does here

It presents the circuit result or acts on the physical world.

Buy / compare this part

Advantages

  • Makes system state visible
  • Can be tested separately
  • Supports clear troubleshooting

Limitations

  • Loads may exceed controller current
  • Polarity or driver direction can matter
  • Inductive loads create voltage spikes

Handling

  • Use the documented driver stage
  • Check polarity and load current
  • Add flyback protection for inductive loads

Specifications to verify

  • Use the exact model, value, package, and rating listed for LED1 - indicator LED identified in the circuit; similar-looking parts are not always interchangeable.
  • Confirm voltage, current, polarity, interface, driver requirements, and duty cycle.
PVR1 - preset potentiometer identified in the circuitPART1
What's this?Image, role, pros, cons, handling & specifications
10kΩ preset potentiometerPART LEARNING VIEW

VR1 - preset potentiometer identified in the circuit

A named project component whose exact role is defined by the source circuit and build guide.

What it does here

It performs a documented electrical, control, interface, or construction function in this project.

Buy / compare this part

Advantages

  • Selected for this project
  • Can be checked independently
  • Supports modular troubleshooting

Limitations

  • Substitutes may differ
  • Generic names can hide variants
  • Pinouts and ratings vary

Handling

  • Compare the received part with the source
  • Keep it labelled
  • Do not force connectors or adjusters

Specifications to verify

  • Use the exact model, value, package, and rating listed for VR1 - preset potentiometer identified in the circuit; similar-looking parts are not always interchangeable.
  • Confirm dimensions, ratings, connection method, polarity, and environmental limits.
Ready to continue?
STEP 4 / 6 · Source code

Confirm the hardware-only control path.

This project does not include firmware in the source. The circuit itself provides the required behaviour.

01

How to connect

  1. Match every controller label to the circuit view and source pin map.
  2. Join grounds before signal wires when separate low-voltage supplies are used.
  3. Keep motors, relays, pumps, and other loads on a suitable driver and external supply.

Common mistakes

Reversed VCC/GND, board-label versus GPIO-number confusion, missing common ground, and charge-only USB cables.

Troubleshoot

Disconnect loads, continuity-test one path at a time, then test with a current limit.

02

Software preparation

No IDE, board package, library, or firmware upload is required for this project.

If you add a programmable controller as an extension, document its pin map separately.

03

How to upload code

The original design is implemented entirely in hardware, so proceed after verifying the circuit and supply.

Ready to continue?
STEP 5 / 6 · Build

Assemble, deploy, test, and troubleshoot.

Use the complete source notes in build order, then pass the final checks before calling the project finished.

ASSEMBLY

Build in functional stages

  • Power and regulation
  • Controller or processing stage
  • Inputs and sensors
  • Outputs and loads
  • Enclosure and strain relief
TEST

Power up safely

  • Inspect unpowered continuity first
  • Apply the lowest safe current limit
  • Measure supply rails before signals
  • Add one load at a time
  • Record expected and actual results
TROUBLESHOOT

Work from simple to complex

  • Confirm power, ground, polarity, and orientation
  • Compare each pin with the source
  • Test inputs separately from outputs
  • Replace only one variable at a time
  • Power off before every correction
PROJECT-SPECIFIC BUILD NOTES

Follow the documented instructions.

These notes come from this project's source and remain in their original order.

01

Project overview

Project build note

If the line voltage drops between 6 pm and 9 pm, when most people use electricity, appliances like refrigerators and air conditioners use a lot of power. If these appliances don't have a low-voltage cut-off, it will waste electricity and cause the appliances to heat up. In turn, this could make the compressors in these appliances work less well. This circuit is helpful because it turns off an appliance automatically during the busiest times. The appliance will turn back on after three hours. An LDR-based switch is used to turn off the power to a circuit automatically. During the day, LDR1 has a low resistance, so transistor T1 pulls its collector voltage to ground by forward biasing. This keeps T2 from also forward biasing. In this state, the

rest of the circuit is turned off, and the appliance gets power from the normally-closed (N/C) contacts of relay RL1. When the sun goes down around 6 p.m., LDR1's resistance goes up, and transistor T1 stops working. Then, the circuit gets power from the transistor T2. Using preset VR1, you can change how sensitive LDR1 is to the level of light you want. The 14-stage ripple counter CD4060 (IC1) is used to make the timer circuit. Taking pin 1 (Q11) as the output gives a timing of 3 hours. When transistor T2 gives power to IC1, it resets through C1 and R3 and begins to oscillate. The voltage to IC1 is kept stable by the reservoir capacitor C2. This means that small changes in the power supply don't affect the oscillation. The oscillation of IC1 is kept going by resistor R4 and capacitor C3. This is shown by the blinking of LED1 connected to its output pin 7. (Q3). The timer's timeout period can be calculated as follows: T = 2n/fosc in seconds, where n is the number of outputs chosen and fosc = 1/2.3 (R4.C3) Pin 10 of IC1 is connected to the resistor R4, and pin 9 is connected to the capacitor C3. When Q11's output goes high, diode D1 stops IC1 from continuing to oscillate. Q11's output stays high until morning, when IC1 is reset. The timer NE555 is used to make IC2 a bistable latch. Its trigger input pin 2 and threshold input pin 6 are connected so that when the power is turned on, the output of IC2 goes high and latches because its trigger and threshold inputs are both floating. When relay driver transistor T3 conducts, relay RL1 is turned on, which disconnects the appliance, like a refrigerator, from the mains. During the busiest times, this problem lasts for three hours. After IC1's timeout period, its Q11 pin goes high to send a positive pulse through resistor R7 to the threshold input of IC2. This pulse that goes high resets IC2 and makes its output go low. Through the N/C contacts of relay RL1, the appliance is turned on when transistor T3 is turned off and relay RL1 is de-energized. Capacitor C4 keeps the base current of transistor T3 steady so that switching is clean and the relay doesn't chatter. The back emf of the relay is taken away by the freewheeling diode D2. Put the circuit together on any type of PCB and put it in a suitable cabinet. The current

rating of relay contacts should be enough to handle the load. Connect the relay contacts to the AC mains wire using the right-sized wires. Earth the unit correctly and use a three-pin plug to get AC from it. Put the unit where the LDR will get enough light from the sun.

Ready to continue?
PROJECT ACHIEVED

You built Peak Hour Timer.

You followed the full workflow from understanding the mission to testing the finished project. That is a real engineering achievement - well done.

Pressure Sensitive Alarm project thumbnail featuring Speaker, T1, T2 - transistor stages identified in the circuit, VR1, VR2 - preset potentiometers identified in the circuit
NEXT ELECTRONICS ADVENTURE

Pressure Sensitive Alarm

Ready to reuse what you learned in another project from the same track?

Start this project
Browse all 500 projects