Digital Ludo Dice With Arduino 7 Segment Display Project

2.4K14

Intro: Digital Ludo Dice With Arduino 7 Segment Display Project

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

2 Comments

Hi, I made the whole circuit, but it is stuck constantly on 8, even using the arduino code, I tried both the cathode and anode code.
@jonathan_tsang I appreciate that you tried making this project. I suggest you to check jumper wires you are using to make circuit are not damaged. I will suggest you to make this circuit on an open source simulator first like Tinkercad . Run the code and then check whether you are getting same issue and share your results with me.Still you have issue i will help you out