element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
7-Segment Display
  • Challenges & Projects
  • Project14
  • 7-Segment Display
  • More
  • Cancel
7-Segment Display
Blog DIY Oversized 7-Segment Display
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: fmilburn
  • Date Created: 31 May 2022 1:35 AM Date Created
  • Views 28575 views
  • Likes 15 likes
  • Comments 9 comments
  • 7-segment
  • diy
  • 74ls47
  • LED filament
  • display
  • arduino
Related
Recommended

DIY Oversized 7-Segment Display

fmilburn
fmilburn
31 May 2022

I purchased some LED filaments a while back off of AliExpress for a project after learning they are available with 3V forward voltage.  They looked like they would also work for making DIY 7-Segment displays.

image

You will have seen them used in certain types of lighting.

image

They can be bought in 3V, 6V, 9V, 12V, 24, and up.  Lengths include 18.5mm, 26mm, 38mm, 68mm and more in both rigid and flexible packages.  Various colors are available, including blue, green, pink, and red.  As expected they are quite bright and the 26mm version I bought states the maximum current is 120mA per segment.  The image below shows a filament dimmed to show the 14 individual LEDs in the strip.

image

Since there wasn't a datasheet, a rough IV curve was created to better understand their behavior.

image

It appeared that 5mA would be more than sufficient for an individual segment and a circuit with 150 ohm resistors to control current and a 74LS47 IC to control the individual segments was constructed as shown in the schematic below.

image

Prototyping strip board was used to create the circuit as shown below.  The numerals are a bit over 2 inches (64mm) high.

image

Different length filaments could be used to make larger or smaller displays.  It would even be possible to make 14-Segment displays. I hooked it up to an Arduino Uno and used PWM to obtain the desired brightness.

/*
 * 74LS47 BCD to 7-Segment Demonstration
 * 
 * This code is in the public domain
 * fmilburn May 2022
 */

const int b = A0;   // BCD pins on 74LS47
const int c = A1;
const int d = A2;
const int a = A3;
const int rbi = 3;  // display brightness (0 to 255)
const int bright = 16;

void setup() {
  pinMode(a, OUTPUT);
  pinMode(b, OUTPUT);
  pinMode(c, OUTPUT);
  pinMode(d, OUTPUT);
  // Set brightness of display with PWM
  pinMode(rbi, OUTPUT);
  analogWrite(rbi, bright);
}

void loop() {
  // Displays 0 to 9 in a loop on a seven segment display
  // Bits are read from the number to be displayed and written
  // to the 74LS47 a, b, c, and d pins per the datasheet
  for(byte displayNumber = 0; displayNumber < 10; displayNumber++){ 
    digitalWrite(a, bitRead(displayNumber,0));
    digitalWrite(b, bitRead(displayNumber,1));
    digitalWrite(c, bitRead(displayNumber,2));
    digitalWrite(d, bitRead(displayNumber,3));
    delay(1000);
  }
}

The short video below shows it working in a 3-D printed enclosure.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

  • Sign in to reply

Top Comments

  • fmilburn
    fmilburn over 3 years ago in reply to ntewinkel +1
    Fortunately they aren’t too expensive :-)
  • fmilburn
    fmilburn over 3 years ago in reply to ntewinkel

    I like your test lead clips :-)  I still haven't got back to doing something more with mine - good to know they work well with a button cell.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ntewinkel
    ntewinkel over 3 years ago in reply to fmilburn

    I blame you Wink

    LED filament

    These things are super cool! thanks for making me aware of them!
    The ones I bought run on 3 volts - for the picture I'm just using a CR2032 button cell.
    I recently also had a filament bulb fail from an outside light string (the connections rusted right through!) but that filament appears to require a lot higher voltage.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fmilburn
    fmilburn over 3 years ago in reply to ntewinkel

    Fortunately they aren’t too expensive :-)

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ntewinkel
    ntewinkel over 3 years ago in reply to ntewinkel

    I may have just bought some. If my wife asks, I blame you ;) 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ntewinkel
    ntewinkel over 3 years ago

    This is so cool, Frank!

    Nice end result too, using a diffuser like that. 

    I think I neeeeeed some of those filaments to play with too Smile

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube