Skip to main content

LIGHTPIPE 7-SEGMENT DISPLAY

5,022
62
4
About: Hey everyone! My name is Brian and thanks for checking my Instructables. I'm a software developer by trade but I've recently gotten into Arduino development after discovering the esp8266 chip, a WiFi enab... 

Intro: Lightpipe 7-Segment Display

What if I told you that you could build a display out of shoe laces!? Well that is exactly what I've done!

Building your own seven segment display is nothing new, it's a very common Arduino project, but I had an idea for this one so I said I'd give it a go, and I am absolutely delighted with how it came out!
It's made from Light up shoe laces (light pipe), some addressable RGB LEDs (Neopixels) and a 3D print.

The idea behind this design was inspired by the Cob LED projects that Unexpected Makerand David Watts are working on.

In this Instructable I'm going to show you how I made it and some thoughts and suggestions I have for a second version!

Step 1: Check Out the Video!

In the video I cover everything I do in this Instructable if you would like to check it out.

Step 2: What You'll Need

I used the following things to make this display
  • A 3D printed mount (more about this in the next step)
  • Light up shoe laces - I know, how strange but are cheap and work great. You should be able to do 4 displays with one pair of laces. Colour of the laces when buying them doesn't matter as we wont be using the LEDs anyways.
  • 14pc Through Hole Addressable LEDs - I had these left over from a project last year and I can't find the exact ones that I got (I believe they are APA106), but I believe these ones from Sparkfun should work, you'll need to buy 3 packs per segment.
Some other things you'll need
  • Any Arudino, I used an arduino Uno from RobotDyn on aliexpress*, I like this one because of it uses a micro USB connector
  • I needed to drill out the holes on my 3d print to make it fit, you may need to do the same (3mm and 5mm bits if required)
  • A sharp blade for cutting the light pipe
  • Wire and solder
*= Affiliate links

Step 3: The 3D Print

Picture of The 3D Print
Picture of The 3D Print
What an age we live in that we can create physical objects in a matter of minutes! This display would be so much harder to make without a 3D printer!
I designed the part up in Thinkercad. I started with making single pieces so I was happy that the concept was working before I wasted a lot of time and plastic making useless 7 segment displays! You can see my iterations in the Thinkercad link, I was having some troubles printing the thinner ones, and also some light was bleeding through.
Find this part on Tinkercad and also on Thingiverse
One thing to note is that the lightpipe didn't fit into the holes I had drilled for it, I needed to drill out the hole with a 3mm drill bit.

I think it might be possible to make the same style of display without a 3D printer using a thick piece of wood and drilling a 3mm hole the whole way through and then drilling out just enough for the 5mm LED. If anyone does down this route I would love to see it!

Step 4: Wiring the LEDs

Picture of Wiring the LEDs
Picture of Wiring the LEDs
Picture of Wiring the LEDs
Picture of Wiring the LEDs
Before I cover any of the soldering, I should warn you that this isn't pretty! I'll talk about some changes I would make to this in the conclusion of this guide.
We are using addressable RGB LEDs, often referred to as Neopixles. These are awesome little things, what makes them special is you can set the colour of each individual LED rather than just changing all of them at once. They also only need one data wire to be controlled so it makes circuits a whole lot easier!
You are more likely to find these type of LEDs on a strip, but they are also available in through hole form (like a standard LED)
First thing you want to do is get the pinout of your LEDs, there isn't really a point showing the pinout of my LEDs seeing as I can't find where to buy them and other compatible LEDs seem to have different pinouts.
Your LEDs will have the following pins
  • VCC - To be connected to 5V
  • Ground - To be connected to Ground
  • Din - Data in, should be connected to Dout of the previous LED
  • Dout - Data Out, should connect to the input of the next LED

Data Legs

Put the LEDs into the 3D printed mount and bend the Dout pin of the Leds so that they are pointing towards the next LED in the sequence. (Check out the image above with numbers to see the sequence I used, LED 5's Dout connects to LED 6 etc).
Solder the Dout leg to the Din leg of the next LED. For the gaps that are too big for the Dout leg to cross, bend the Din pin of the next LED back towards the Dout leg and solder them up.
By the time you are finished you should be left with one LED with a spare Din (LED 0 in my image) and a different LED with a spare Dout (LED 13 for me)
If you are wiring more than one display, the spare Dout of first display will connect to the first Din of the second display.

Power Legs

You now need to connect up all the VCC legs together/ I was pretty lazy here and used a single piece of wire that I soldered the legs to. You should complete a full loop of this, as in bring the VCC loop the whole way around back to the LED you started on, this helps minimize the voltage drop on the last LEDs. You then will need to solder a piece of wire off this loop that you can easily connect power to.
Repeat the same steps as above for the Ground legs.
Make sure to test for shorts or bridges using a multi-meter.
My LEDs defaulted to blue when powering up, so I was able to test that each LED was receiving power by just applying 5v across the power rails.
This all worked out for me but I will definitely do it differently when I do it the next time!

Step 5: Adding the Lightpipe

Picture of Adding the Lightpipe
Picture of Adding the Lightpipe
Picture of Adding the Lightpipe
Next up we need to cut the lightpipe to fit for all the segments.
I used a Stanley blade to cut it, initially I was kind of sawing at it, but I found pushing down like a guillotine worked better.
Measure out the light pipe lining it up with holes, you want to leave maybe 1-2cm extra on each side for the bend and going down the hole. It's better to cut them a little long as there is some wiggle room built in the 3D design plus is makes it easier to put it in. If it is too long you can easily trim a little bit off (much easier than adding it back on if its too short :) )
Slot the lightpipe into each of the slots required. It should look like the above picture when finished.

Step 6: Controlling With an Arduino

Picture of Controlling With an Arduino
Now it's time to give it a real test!

Download the test sketch from my Github, it's a simple sketch that just counts up. Upload the sketch to your Arduino.

Now its time to connect the display to the Arduino. I just used crocodile clips to connect mine.
  • Connect the VCC line of the Leds to a 5v pin of your Arduino
  • Connect Ground to a Ground pin
  • Connect the spare Din leg to pin 10 of your Arduino
Now power it up and you should have a pretty cool looking 7-segment display!
Note: Each LED can draw up to 60mA of current. If you are connecting more than one display it would be advisable to connect a separate 5v power supply. Make sure to connect the ground of the Arduino to this power supply as well.

Step 7: Conclusions and Improvements to Be Made

I really like this display and will definitely use in for a project in the future, but there is some things I will do differently when building it again.
If I was building it again with the same mount as LEDs as this project I would certainly use perf board for each LED to keep the wiring a lot tidier.
But the next time I'm making this project I think I'll use SMD LEDs by either designing a custom PCB or maybe even using something like this. I think the custom PCB solution would be good because it would mean no wiring at all! Using SMD LEDs would mean the 3D model wouldn't need to be so deep as it doesn't need to accommodate the through hole LED. It also would reduce the light bleed out the back of the LED.
Hopefully you enjoyed this project! if you have any other ideas for using the Lightpipe in projects I would love to hear it.

Comments

Popular posts from this blog

Arduino NANO 3X3X3 LED CUBE

DIY | 3X3X3 LED CUBE FOR ARDUINO NANO+ By   RGBFreak   in   Technology Arduino 17,143 146 22 Featured Download Favorite By   RGBFreak RGBFreak's YouTube Channel Follow More by the author: About: Hi there visitor! First of all thank you for checking out my profile! My name is Youri. I study Technical Computer Science in the Netherlands. I especially love the electronical part of my study. Since I l...   More About RGBFreak » Intro: DIY | 3x3x3 LED Cube for Arduino Nano+ Hi everyone! My name is RGBFreak and I created a YouTube channel quite recently. I love DIY and I especially love LED's, so that's why I decided to make my own 3x3x3 LED Cube! You will need the following items to make this LED Cube: • 27 single colored LED's. • Arduino Nano or one of his bigger brothers. • 3 NPN Transistors. I used the BC547. • 3 pin headers with 3 pins. • 1 pin header with 4 pins. • A piece of perfboard. • A few small cables. Ad

DIGITAL UV-METER, WITH OLED DISPLAY. ARDUINO PROJECT FOR BEGINNERS

DIGITAL UV-METER, WITH OLED DISPLAY. ARDUINO PROJECT FOR BEGINNERS By   techn0man1ac   in   Technology Arduino 4,792 87 13 Featured Download Favorite By   techn0man1ac Techn0man1ac blog Follow About: Techn0man1ac - техноманьяк   More About techn0man1ac » Intro: Digital UV-meter, With OLED Display. Arduino Project for Beginners Video demonstration (English subtitles). Hello,   instructable . Today I will tell you how to make a simple digital VU meter (sound level meter) using Arduino and OLED displays and 2 resistors by yourself (DIY). The device is quite simple, for beginners it will be a rewarding experience. Add Tip Ask Question Comment Download Step 1: Components for This Arduino Project: 3 More Images Arduino Nano V3.0; 0.96 inch IIC I2C 128X64 OLED Display; One 10K, resistor(R1 no scheme); One 10K-100K potentiometer(R2no scheme); Wires. Add Tip Ask Question Comment Download Step 2: Dev

Ultrasonic Distance Sensor in Arduino With Tinkercad

  Ultrasonic Distance Sensor in Arduino With Tinkercad Let's measure distances with an ultrasonic rangefinder (distance sensor) and Arduino's digital input. We'll connect up a circuit using a breadboard and use some simple Arduino code to control a single LED. You may have already learned to   read a pushbutton   and   PIR motion sensor   with Arduino's digital input, and we'll build on those skills in this lesson. Ultrasonic rangefinders use sound waves to bounce off objects in front of them, much like bats using echolocation to sense their environment. The proximity sensor sends out a signal and measures how long it takes to return. The Arduino program receives this information and calculates the distance between the sensor and object. Find this circuit on Tinkercad Explore the sample circuit embedded here by starting the simulation and clicking on the proximity sensor. This will activate a highlighted area in front of the sensor with a circle "