Lottery Number Select Machine
by jenny.kuo9527 in Circuits > Arduino
109 Views, 0 Favorites, 0 Comments
Lottery Number Select Machine
Do ever you walk into the lottery store, you want to try your luck therefore you choose to buy one. But you always be in a dilemma by select things, so you just don't know what to choose of the number. Here is my product the "ㄇ", you can just click the button, then the machine will just choose number fore you, because the lottery usually have number 1 to 49, but the place to write number is too small. Therefore I just made the machine have 1- 10, you can first choose the tens, then the digits.
Prepare What You Need for This Product
THINGS YOU NEED :
(there is a link you can buy it)
- LCD Screen
- https://www.amazon.com/SunFounder-Serial-Module-Di...
- Wires Button (use for start the machine)
- Arduino
- Breadboard
-
USB line use to connect with your computer
- Wires (with connector & and normal one)
- Servo
- Resistance (x1)
INSTALLATION
- Prepare the things you need and connect the appliance like the picture.
- Please follow the image provided above to connect all the appliance to function!!!!!! \
- Made sure you do it correct.
REMINDER
With the LCD screen
- GND go with negative
- VCC go with positive
- SDA go with SDA
- SCL go with SCL
If you find out the the screen didn't show out anything, you can just Use the screwdriver to adjust the screw on the back, then it will be fine.
For the Servo motor
- Black, Red, Yellow (negative, positive, D pink)
- Black, Red, White (negative, positive, D pink)
- Brown, Red, Earthy Yellow (negative, positive, D pink)
Prepare the Things of Outlook for Your Machine
- Empty box
- Scissors
- Ruler
- Paper
- Tap
Utility knife
Trim
Cut the boxes to these species :
- Length : 13 Width : 15 X1
- Length : 13.5 Width : 15 X1
THESE ARE FOR THE MAIN PART
- Length : 13 Width : 5 X2
- Length : 13.5 Width : 3 X2
- Length : 15 Width : 3 X2
- Length : 15 Width : 5 X2
THESE ARE FOR THE COVER
*Also on the cover, you can look at LCD and the button, cut a hole for each, on the side of the cover cut a rectangle that is 5x3 for the servo *
Combination
Then you need to stick all the specie together.
- Length : 13 Width : 15 X1
- Length : 13 Width : 5 X2
- Length : 15 Width : 5 X2
*These stick together*
- Length : 13.5 Width : 3 X2
- Length : 15 Width : 3 X2
- Length : 13.5 Width : 15 X1
*These stick together*
Color (can Skip)
If you want to you can color the box.
- In here you need to prepare a empty whiter paper. (with any size)
- Write number 1-10 on it.
- Them stick the paper around the servo.
Code
You can use this code on your product !
- https://create.arduino.cc/editor/jennyyyyyyyy/e36e9a42-a74a-4540-9a23-deb69f4a8a54/preview