I have a 4026 counter chip controlling a seven segment LED display.

The current set up is every time I press a button it advances by one digit on the display. See circuit below.

This circuit runs on 9v so I haven't been too adventurous in my testing from fear of frying the Raspberry Pi.

How can I control this with an Raspberry Pi, regarding 9v vs Raspberry Pis 3,3 volt ?

Example circuit.

enter image description here


1 Answer 1


Since there are only output from the Raspberry Pi that should drive the 4026 7-Segment Counter there are only need for a driver circuit.

This can be done with transistors, MOSFETs or a driver IC.

A simpler way is to change the voltage for the 4026 from 9 volt to 3,3volt its within the IC's working parameter (3-15v).

And then replace the current limiting resistors to the 7-segment LED display to fit the new voltage.

And now you can interface the 4026 directly to your Raspberry Pi.

Ref.: https://components101.com/sites/default/files/component_datasheet/CD4026%20Datasheet.pdf

  • 1
    I tried with 3 V but it isn't consistently bright, i ended up using 2N2222 transistors to interface.
    – euan
    Commented Nov 11, 2020 at 15:06
  • 1
    @euan Nice, that is a appropriate solution. Did you change the current limiting resistor when you changed the voltage ? Commented Nov 11, 2020 at 15:43
  • 2
    @MatsKarlsson No, I mean displays with several LEDs in series, which need higher voltage regardless of the current-limiting resistors. Running a single led per segment display with 9V results in incredibly poor efficiency. Commented Nov 11, 2020 at 15:51
  • 1
    @MatsKarlsson For instance SC23-12EWA is a 12V part with 4 LEDs in series in each segment (except the dot). Commented Nov 11, 2020 at 17:16
  • 1
    descargas.cetronic.es/SC23-12EWA.pdf Commented Nov 11, 2020 at 17:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.