Introduction: Digital Ludo Dice With Arduino 7 Segment Display Project

About: pursuing Bachelors in Electronics and Communication at Chandigarh University

In this project, 7 segment display is used to display a number from 1 to 6 randomly whenever we press the push button. This is one of the coolest projects which everyone enjoys to make.

To learn how to work with 7 segment display click here: -7 segment display

Component Required

  1. Arduino - https://amzn.to/32jAMUA
  2. Breadboard - https://amzn.to/3kdp4Rt
  3. 7 segment display - https://amzn.to/35p4wS5
  4. push button - https://amzn.to/3m7yKit
  5. jumper wire - https://amzn.to/3iqdBxM
  6. 8XResistor of 220 ohm - https://amzn.to/2ZuPNRN

Step 1: Circuit Schematic for Common Cathode 7 Segment Display

Pin 13 - - > 1 a of push button

Pin 12 - - > a TERMINAL OF 7 SEG

Pin 11 - - > b TERMINAL OF 7 SEG

Pin 10 - - > dp TERMINAL OF 7 SEG

Pin 9 - - > c TERMINAL OF 7 SEG

Pin 8 - - > d TERMINAL OF 7 SEG

Pin 7 - - > e TERMINAL OF 7 SEG

Pin 6 - - > g TERMINAL OF 7 SEG

Pin 5 - - > f TERMINAL OF 7 SEG

GND - - > - TERMINAL OF 7 SEG, 1b of push button

5v - - > 2a of push button

Step 2: Circuit Schematic for Common Anode 7 Segment Display

Pin 13 - - > 1 a of push button

Pin 12 - - > a TERMINAL OF 7 SEG

Pin 11 - - > b TERMINAL OF 7 SEG

Pin 10 - - > dp TERMINAL OF 7 SEG

Pin 9 - - > c TERMINAL OF 7 SEG

Pin 8 - - > d TERMINAL OF 7 SEG

Pin 7 - - > e TERMINAL OF 7 SEG

Pin 6 - - > g TERMINAL OF 7 SEG

Pin 5 - - > f TERMINAL OF 7 SEG

5V - - > - TERMINAL OF 7 SEG, 2a of push button

GND - - > 1b of push button

Step 3: Arduino Code