LED Dice With LCD Display

Published

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

  1. Connect Jumper wire to 5v pin on Arduino to the positive rail on the Breadboard.
  2. Connect Jumper wire to GND pin on Arduino to the negative rail on the Breadboard.

Step 2: Add 1st LED

  1. Connect Yellow LED to H-5 negative end and H-6 positive end on Breadboard.
  2. Connect 220Ω Resistor to negative rail and to G-5 on Breadboard.
  3. 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

  1. Connect Tilt Ball Switch to C-27 and C-28 on Breadboard.
  2. Connect Jumper wire to D- 27 to Analog Pin A-0.
  3. Connect 10KΩ Resistor to E-27 to G-27.
  4. Connect Jumper wire to H-27 to positive rail on Breadboard.
  5. Connect Jumper wire to E-28 to negative rail on Breadboard.

Step 10: Add LCD 1602 Module

  1. Connect Jumper wire to positive rail to other positive rail on Breadboard.
  2. Connect Jumper wire to negative rail to other negative rail on Breadboard.
  3. Connect LCD 1602 Module to J-43 - J-58.
  4. Connect Jumper wire to F-43 to negative rail on Breadboard.
  5. Connect Jumper wire to F-44 to positive rail Breadboard.
  6. Connect Jumper wire to F-45 to Analog Pin A-1 on Arduino .
  7. Connect Jumper wire to F-46 to Digital Pin 13 on Arduino .
  8. Connect Jumper wire to F-47 to Digital Pin 12 on Arduino .
  9. Connect Jumper wire to F-48 to Digital Pin 11 on Arduino .
  10. Connect Jumper wire to F-53 to Digital Pin 10 on Arduino .
  11. Connect Jumper wire to F-54 to negative rail on Breadboard.
  12. Connect Jumper wire to F-55 to Digital Pin 9 on Arduino .
  13. Connect Jumper wire to F-57 to positive rail on Breadboard.
  14. Connect Jumper wire to F-58 to negative rail on Breadboard.

Step 11: Add Potentiometer

  1. Connect Potentiometer to C-33, C-35, and F-34.
  2. Connect Jumper wire to A-33 to negative rail on Breadboard.
  3. Connect Jumper wire to A-34 to F-56.
  4. Connect Jumper wire to A-35 to positive rail on Breadboard.

Step 12: Code

Share

    Recommendations

    • Make it Move Contest

      Make it Move Contest
    • Woodworking Contest

      Woodworking Contest
    • Planter Challenge

      Planter Challenge
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    its okay or not if I don't use tilt ball switch?

    Comments

    That's a neat setup, did you take any photos of the finished project?