Introduction: LED Dice With LCD Display
- Arduino UNO
- Breadboard
- LCD 1602 Module
- Tilt Ball Switch
- Potentiometer 10KΩ
- 7- 220Ω Resistors
- 1- 10KΩ Resistor
- 2- Yellow LEDs
- 2- White LEDs
- 2- Blue LEDs
- 1- Red LED
- Jumper Wires
Step 1: Connect Power and Ground
- Connect Jumper wire to 5v pin on Arduino to the positive rail on the Breadboard.
- Connect Jumper wire to GND pin on Arduino to the negative rail on the Breadboard.
Step 2: Add 1st LED
- Connect Yellow LED to H-5 negative end and H-6 positive end on Breadboard.
- Connect 220Ω Resistor to negative rail and to G-5 on Breadboard.
- Connect a Jumper wire to G-6 on Breadboard to Digital Pin 2 on Arduino.
Step 3: Add 2nd LED
- Connect White LED to H-11 negative end and H-12 positive end on Breadboard.
- Connect 220Ω Resistor to negative rail and to G-10 on Breadboard.
- Connect a Jumper wire to G-11 on Breadboard to Digital Pin 3 on Arduino.
Step 4: Add 3rd LED
- Connect Blue LED to H-17 negative end and H-18 positive end on Breadboard.
- Connect 220Ω Resistor to negative rail and to G-17 on Breadboard.
- Connect a Jumper wire to G-18 on Breadboard to Digital Pin 4 on Arduino.
Step 5: Add 4th Led
- Connect Yellow LED to C-5 negative end and C-4 positive end on Breadboard.
- Connect 220Ω Resistor to negative rail and to D-4 on Breadboard.
- Connect a Jumper wire to D-5 on Breadboard to Digital Pin 5 on Arduino.
Step 6: Add 5th LED
- Connect White LED to C-12 negative end and C-11 positive end on Breadboard.
- Connect 220Ω Resistor to negative rail and to D-12 on Breadboard.
- Connect a Jumper wire to D-11 on Breadboard to Digital Pin 6 on Arduino.
Step 7: Add 6th LED
- Connect Blue LED to C-18 negative end and C-17 positive end on Breadboard.
- Connect 220Ω Resistor to negative rail and to D-18 on Breadboard.
- Connect a Jumper wire to D-17 on Breadboard to Digital Pin 5 on Arduino.
Step 8: Add 7th LED
- Connect Red LED to E-21 negative end and F-21 positive end on Breadboard.
- Connect 220Ω Resistor to negative rail and to D-21 on Breadboard.
- Connect a Jumper wire to J-21 on Breadboard to Digital Pin 8 on Arduino.
Step 9: Add Tilt Ball Switch
- Connect Tilt Ball Switch to C-27 and C-28 on Breadboard.
- Connect Jumper wire to D- 27 to Analog Pin A-0.
- Connect 10KΩ Resistor to E-27 to G-27.
- Connect Jumper wire to H-27 to positive rail on Breadboard.
- Connect Jumper wire to E-28 to negative rail on Breadboard.
Step 10: Add LCD 1602 Module
- Connect Jumper wire to positive rail to other positive rail on Breadboard.
- Connect Jumper wire to negative rail to other negative rail on Breadboard.
- Connect LCD 1602 Module to J-43 - J-58.
- Connect Jumper wire to F-43 to negative rail on Breadboard.
- Connect Jumper wire to F-44 to positive rail Breadboard.
- Connect Jumper wire to F-45 to Analog Pin A-1 on Arduino .
- Connect Jumper wire to F-46 to Digital Pin 13 on Arduino .
- Connect Jumper wire to F-47 to Digital Pin 12 on Arduino .
- Connect Jumper wire to F-48 to Digital Pin 11 on Arduino .
- Connect Jumper wire to F-53 to Digital Pin 10 on Arduino .
- Connect Jumper wire to F-54 to negative rail on Breadboard.
- Connect Jumper wire to F-55 to Digital Pin 9 on Arduino .
- Connect Jumper wire to F-57 to positive rail on Breadboard.
- Connect Jumper wire to F-58 to negative rail on Breadboard.
Step 11: Add Potentiometer
- Connect Potentiometer to C-33, C-35, and F-34.
- Connect Jumper wire to A-33 to negative rail on Breadboard.
- Connect Jumper wire to A-34 to F-56.
- Connect Jumper wire to A-35 to positive rail on Breadboard.
Step 12: Code
Be the First to Share
Did you make this project? Share it with us!
Recommendations
For the Home Contest

Big and Small Contest

Game Design: Student Design Challenge

2 Comments
Question 5 years ago on Step 9
its okay or not if I don't use tilt ball switch?
5 years ago
That's a neat setup, did you take any photos of the finished project?