Electro Dude
Published

DIY 7 Segment Display

In this interesting project we will see how to create a DIY(Do it Yourself) 7 segment.

IntermediateFull instructions provided1 hour1,367
DIY 7 Segment Display

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
Jumper wires (generic)
Jumper wires (generic)
×1
LED (generic)
LED (generic)
×1
9V battery (generic)
9V battery (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
Solder Wire, Lead Free
Solder Wire, Lead Free

Story

Read more

Schematics

Circuit Diagram

Code

DIY 7 Segment

Arduino
#include <SegmentDisplay.h>
SegmentDisplay segmentDisplay(2, 3, 4, 5, 6, 7, 8, 9);
void setup()
{
 
}

void loop()
{
  segmentDisplay.displayHex(0, false);
  delay(1000);
  segmentDisplay.displayHex(1, false);
  delay(1000);
  segmentDisplay.displayHex(2, false);
  delay(1000);
  segmentDisplay.displayHex(3, false);
  delay(1000);
  segmentDisplay.displayHex(4, false);
  delay(1000);
  segmentDisplay.displayHex(5, false);
  delay(1000);
  segmentDisplay.displayHex(5, false);
  delay(1000);
  segmentDisplay.displayHex(6, false);
  delay(1000);
  segmentDisplay.displayHex(7, false);
  delay(1000);
  segmentDisplay.displayHex(8, false);
  delay(1000);
  segmentDisplay.displayHex(9, false);
  delay(1000);
  
  }

Credits

Electro Dude

Electro Dude

1 project • 0 followers

Comments