Arduino and 7 segment LED display decoder

In this instructable i will explain how to connect 7 segment display, decoder and arduino. It´s pretty easy. At first we have to learn something about decoder. I´m using BCD to 7 segment decoder. My is D147D, this is old chip, but the newer are similar. Documentation about one of them you can find here . Description of D147D you can see on picture two. There are four pins for sending BCD code to the decoder (ABCD). Table of BCD code you can see on third picture. But there is small problem. I thing, that pins are inside of chip connected to VCC source. If you want set logic zero on input, you must connect this input to the ground.
Arduino LED display decoder
The second think, which you need is display. You need display with common anode (+). There are a lot of displays, you can choose. Pinout of display which i used is on picture four(column A). How to connect decoder with display you can see in next step.

Step 1: Connect it together

On first picture you can see schematic. I think, that next pictures shows everything what you will need. On last picture is set prepared for testing. (picture was made in Fritzing)

Step 2: Add arduino

Arduino LED display decoder circuit

Now connect four arduino pins on ABCD inputs of decoder. As I sad before logic 0 is on input, whem it isn,t connected to the ground. On arduino it means, that it is set logic 1(HIGH) on output of arduino. If you want set logic 1 on input of decoder, you need set 0(LOW) on arduino output. (picture was made in Fritzing)
Code can looks like this:

[box color=”#985D00″ bg=”#FFF8CB” font=”verdana” fontsize=”14 ” radius=”20 ” border=”#985D12″ float=”right” head=”Major Components in Project” headbg=”#FFEB70″ headcolor=”#985D00″]Arduino
LED’s[/box]

 

For more detail: Arduino and 7 segment LED display decoder


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top