Introduction: Dice Machine?
This machine is called a Dice Machine?. There are 6 led lights representing the dice number. The difference between this machine and a real dice is that you only the number that randomly get picked will light. There are many people like me who often can make their decisions. This machine is the best way that can help you get rid of this problem.
Project adapted from https://create.arduino.cc/projecthub/EvdS/led-dice...
I changed my code in the lines where it says //改 亮燈條件 and //改 讓他所有燈暗
Step 1: Step1: Materials You Will Need
You will need:
1. An Arduino board
2. A breadboard
3. 6 led lights
4. 1 push-button switch
5. 12 Jumper wires
7. Tape and Paper
8. A box that fits your breadboard
Step 2: Step 2: Connect the Wire and the Led Lights on the Board
Look at the picture and put all the materials you will need on the board. Follow all the parts it did in the picture.
Step 3: Step 3: Upload Your Code
Follow this link: https://create.arduino.cc/editor/1016sandra/4f48e9...
This is the code you should be following.
See if it works with your Arduino board.
Step 4: Step 4: Decorating Your Machine
Take a box that fits the Arduino board, and start making your own dice machine. Be creative!
Step 5: Step 5: You Just Finished Your Dice Machine!!
Now you are done with making your own dice machine!