STEP 1 / 6ELECTRONICS

Bicycle Guard

This anti-theft gadget for bicycles is simple, straightforward, and only requires a few components to put together. It also comes at a low cost. The circuit's most important component is…

Bicycle Guard - source illustration from page 291
PROJECT#152
TRACKElectronics
PARTS07
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

Bicycle Guard is a electronics project. This anti-theft gadget for bicycles is simple, straightforward, and only requires a few components to put together. It also comes at a low cost. The circuit's most important component is…

Source pages
290-292
Named parts
7
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.
  • Keep liquids, loose metal, and uninsulated wires away from the bench.
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 INVENTORY7 PART LINES
PARTTYPEQTYREADY
PBuzzerPART1
What's this?Image, role, pros, cons, handling & specifications
Bicycle Guard - source illustration from page 291PART LEARNING VIEW

Buzzer

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 Buzzer; similar-looking parts are not always interchangeable.
  • Confirm voltage, current, polarity, interface, driver requirements, and duty cycle.
PDC motorPART1
What's this?Image, role, pros, cons, handling & specifications
Bicycle Guard - source illustration from page 291PART LEARNING VIEW

DC motor

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 DC motor; similar-looking parts are not always interchangeable.
  • Confirm voltage, current, polarity, interface, driver requirements, and duty cycle.
PPower supplyPOWER1
What's this?Image, role, pros, cons, handling & specifications
Bicycle Guard - source illustration from page 291POWER LEARNING VIEW

Power supply

A power component supplies, converts, stores, or regulates energy for the project.

What it does here

It must provide the documented voltage, polarity, isolation, and sufficient current safely.

Buy / compare this part

Advantages

  • Stable power improves reliability
  • Current limiting protects first tests
  • Regulation reduces resets and noise

Limitations

  • Wrong polarity can cause immediate damage
  • Underrated parts overheat
  • Mains circuits require qualified supervision

Handling

  • Measure output before connection
  • Use a fuse or current limit
  • Insulate exposed conductors

Specifications to verify

  • Use the exact model, value, package, and rating listed for Power supply; similar-looking parts are not always interchangeable.
  • Confirm input/output voltage, current, polarity, connector, isolation, and thermal rating.
PCD-DECKPART1
What's this?Image, role, pros, cons, handling & specifications
Bicycle Guard - source illustration from page 291PART LEARNING VIEW

CD-DECK

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 CD-DECK; similar-looking parts are not always interchangeable.
  • Confirm dimensions, ratings, connection method, polarity, and environmental limits.
SLM555SEMICONDUCTOR1
What's this?Image, role, pros, cons, handling & specifications
Bicycle Guard - source illustration from page 291SEMICONDUCTOR LEARNING VIEW

LM555

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 LM555; similar-looking parts are not always interchangeable.
  • Confirm pinout, maximum voltage/current, dissipation, gain or forward voltage, and package.
ST1 - transistor stage identified in the circuitSEMICONDUCTOR1
What's this?Image, role, pros, cons, handling & specifications
Bicycle Guard - source illustration from page 291SEMICONDUCTOR LEARNING VIEW

T1 - transistor stage 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 - transistor stage 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
Bicycle Guard - source illustration from page 291PART 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.
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

This anti-theft gadget for bicycles is simple, straightforward, and only requires a few components to put together. It also comes at a low cost. The circuit's most important component is a wheel rotation detector, which is implemented through the use of a DC micro motor. To accomplish this, you can make use of the micro-motor, sometimes known as the spindle motor, from an old local CD deck mechanism. You just need a little bit of know-how and some patience to successfully attach a little metal pulley that has a rubber washer covering it to the spindle of the motor. After that, secure the unit in the rear wheel of the bicycle in the same manner as the dynamo assembly that is now there. Circuit for an anti-theft device When you are utilizing this bicycle guard, the power supply switch labeled S1 should be kept in the "on" position. The power for the circuit comes from the 12V battery while it is in the "on" position, which is achieved by toggling the switch. Now LED1 is on, and the LED current is restricted thanks to resistor R4. The next step is to power the monostable that is built around IC1, which is the CMOS version of the timer LM555, by means of a low-current, fixed-voltage regulator called IC2 (78L05). Functioning of the circuit At the beginning of the experiment, while the bicycle is not moving, the monostable output at pin 3 of IC1 is low, and the circuit is in the idle state. In the case that an effort

is made to steal something, either the forward or reverse spinning of the DC motor will create a minor voltage at its DC input terminals, which will cause the internal LED of the 4-pin DIP AC input isolator optocoupler IC3 (PS2505-1 or PC814) to light up. As a consequence of this, the intrinsic transistor of IC3 conducts, pin 2 of IC1 is pulled low by the optocoupler, and the monostable that was constructed around IC1 is activated. The piezobuzzer-driver transistor T1 is now being driven by the output at pin 3 of IC1. This causes the buzzer to begin ringing so that you are made aware of the situation. Within the confines of this circuit, the buzzer maintains a "on" state for close to two minutes. You are able to modify this time by adjusting the values of the component’s resistor R2 and capacitor C1. Optocoupler IC3 is shielded from damage by Zener diodes ZD1 and ZD2, which each have a voltage of 5.1 volts. Because of its small size and high level of dependability, the pricey GP12V/27A battery has been selected for this application. This circuit is compatible with 12V active buzzers that produce a high-pitched tone when activated. These can be easily purchased from vendors in the market. Note: To get a higher overall detection sensitivity, this particular optocoupler, as opposed to a bridge rectifier, is what's been incorporated into the circuit. Under no circumstances should a DC optocoupler ever be used in its place.

Ready to continue?
PROJECT ACHIEVED

You built Bicycle Guard.

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

Panic Alarm project thumbnail featuring Speaker, T1, T2, T3, T4 - transistor stages identified in the circuit
NEXT ELECTRONICS ADVENTURE

Panic Alarm

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

Start this project
Browse all 500 projects