Turn Signal Counter

Rear end of a Dodge Ram pickup truck, with the turn signal lit, and a four-digit counter sitting on the bumper


At some point when I owned my old truck, I was playing around with a new multimeter, and I noticed the truck’s trailer electrical connector.

Trailer electrical connector

After taking voltage measurements with various combinations of truck lights, I decided that it would be feasible to create a simple counter circuit to keep track of the number of times a turn signal had been lit since the beginning of the current trip.


  1. The counter shall not affect the performance of the truck.
    1. The counter shall not permanently modify the truck in any manner.
    2. The truck shall remain legally drivable while the counter is installed.
  2. The counter shall be water resistant and operational from 0°F to 100°F.
  3. The counter shall count the number of cycles of the left turn signal since the beginning of the current trip.
    1. The counter shall have a decimal display of at least four digits to display the count.


After voltage measurements, I determined the electrical connector has the following layout:

Trailer electrical connector with three female pins on the left and one male pin on the right. From left to right, the connectors are labeled “right turn/brake,” “left turn/brake,” running lights,” and “ground.”

The running lights pin has a +12 V signal whenever the headlamp switch is set to parking lights or headlights. Since I normally drive with my parking lights or headlights on anyway, I was able to use this pin for my +12 V power line.

The brake/left pin has a +12 V signal whenever the left turn signal is on the lit half of its cycle or when the brake pedal is depressed, and is at 0 V otherwise. The brake/right pin behaves similarly. I used the brake/left signal to increment the counter. I used rising edge, since these lamps are normally off, so having the counter increment whenever they light made the most sense. With this setup, the counters increment on brake presses as well as turn signals, so it is technically a counter of how many times each of the left and right tail lights have been lit to full brightness. (To avoid this brake capture, future work could incorporate logic to increment on the rising edge of the left signal only if the right signal is not also rising.)

I designed the setup for each counter circuit as follows:

Schematic diagram for the counter circuit

The CD4026BE is a decade counter with 7-segment outputs. It counts from zero to nine and then resets. Carry out is high from decimal 0 to 4, and high from decimal 5 to 9 — one cycle per ten clock inputs. Thus, the carry out of one chip can be tied to the clock of the next higher decimal place’s chip to display a proper decimal count.

This is not the most optimal display layout; however, I had an abundance of 1 kΩ resistors, and power consumption was not a concern in this application. It may have been possible to use four counters, a multiplexer, and a single BCD to 7-segment converter rather than four individual ones. However, the only clock signal I had to drive the multiplexer with was the turn signal itself, which only runs at about 1 Hz. Since the turn signal is my data input anyway, it would not have been ideal for me to use it as a clock regardless of its frequency, so I would have been forced to have a separate clock circuit to drive the multiplexer. In the end, I decided that such a setup wouldn’t really be any simpler or more effective than simply using four BCD to 7-segment converters on each counter.

The 1 MΩ resistor was added to control bouncing on the signal input. (A proper debouncing circuit would be a useful future update.) The 22 kΩ resistor between the RST pins and ground was necessary to get the circuit to reset properly when powered on.


I made the original prototype on a breadboard. Using a single resistor on the common cathode for each display still fell into spec for any number of lit digits, although with uneven brightness of different numbers. For a prototype, this was an acceptable tradeoff for wiring simplicity.

Counter circuit on a breadboard
Counter circuit on a breadboard, sitting on the truck’s bumper

Next, I mounted the circuit on a stripboard.

Counter circuit on a stripboard (front and view)
Counter circuit on a stripboard, sitting on the truck’s bumper

Final Product

I had deliberately chosen the size of the stripboard to fit into the case for a spare accessory truck lamp I owned. This provided water resistance without sacrificing digit visibility.

Counter circuit mounted in a case
Case on the truck’s bumper
Case on the truck’s bumper

I no longer own this truck, and my current car doesn’t have a trailer electrical connector, so this project is complete for the foreseeable future.