STEP 1 / 6ELECTRONICS

Pencell Charge Indicator

AA cells and button cells that are used in small electronics and have an end voltage of 1.5V are usually rated at 500 mAh. As the cells lose power, their internal impedance goes up. This,…

Pencell Charge Indicator - source illustration from page 435
PROJECT#232
TRACKElectronics
PARTS02
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

Pencell Charge Indicator is a electronics project. AA cells and button cells that are used in small electronics and have an end voltage of 1.5V are usually rated at 500 mAh. As the cells lose power, their internal impedance goes up. This,…

Source pages
435-436
Named parts
2
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 INVENTORY2 PART LINES
PARTTYPEQTYREADY
ST1, T2 - transistor stages identified in the circuitSEMICONDUCTOR1
What's this?Image, role, pros, cons, handling & specifications
Pencell Charge Indicator - source illustration from page 435SEMICONDUCTOR LEARNING VIEW

T1, T2 - 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 - 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
Pencell Charge Indicator - source illustration from page 435PART 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

AA cells and button cells that are used in small electronics and have an end voltage of 1.5V are usually rated at 500 mAh. As the cells lose power, their internal impedance goes up. This, along with the load, makes a potential divider, which lowers the voltage at the battery's terminals. This causes the gadget to work less well, so we have to replace the battery with a new one. But the same battery can be used for something else that needs less current. Here's a simple tester (Pencell Charge Indicator) that you can use to quickly check if pencells and button cells are dead before you throw them away. The tester checks the battery's holding charge and terminal voltage to tell if the battery is right for a certain device or not. With the right amount of voltage and current, a 9V battery can power the circuit. When you close switch S1, it gives the circuit a stable 6V DC. The op-amp CA3140 (IC1) is used as a voltage comparator in the circuit. Even a small difference in voltage between its inverting and non-inverting inputs can be picked up by it. The voltage from the battery being tested is

fed into IC1's non-inverting input (pin 3), while its inverting input (pin 2) is given a reference voltage of 1.4V from resistor R4 and the series combination of diodes D1 and D2. For testing the charge capacity, resistors R1 and R2 provide a loading of 10 mA and 100 mA, respectively. When a new battery is connected to the test terminals, the non-inverting input of IC1 gets 1.5V, which is more than the voltage of the inverting input, so the output of IC1 goes high. This high output gives forward bias to transistor T1 through resistor R4, and it conducts to light up the green half of the bicolor LED (LED1). At the same time, the base of transistor T2 is pulled down, turning it off, while the red half of bicolor LED1 stays off. When a partially discharged battery with a terminal voltage of less than 1.4 V is connected to the test terminals, the output of IC1 goes low to turn off transistor T1. This lets the bias voltage go through resistor R5 and forward bias transistor T2. This makes the red LED in bicolour LED1 light up. The S2 slide switch is used to see if the battery has enough current to power a 10 mA or 100 mA load. If the discharged battery can still hold more than 100mA of current, the green LED in bicolour LED1 will light up. This means that the battery can be used again in a low-drain circuit. The circuit can be easily put together on a perforated board with components that are easy to find. Put it in a small case with probes or a place to hold batteries so you can test it.

Ready to continue?
PROJECT ACHIEVED

You built Pencell Charge Indicator.

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

Power Resumption Alarm and Low Voltage Protector project thumbnail featuring Buzzer, Power supply, Transformer
NEXT ELECTRONICS ADVENTURE

Power Resumption Alarm and Low Voltage Protector

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

Start this project
Browse all 500 projects