Académique Documents
Professionnel Documents
Culture Documents
m
Ê
Press START Button
Hit Dice
Lift UP
RESET
Lift Down
à
Dice Roller
This device
will roll the
dice placed
in the holes sed widely
and the dice in Games
will be and Casino.
display in a
mini
elevator.
Main Component of
project is Stepper Motor
and Visual Basic Interface
r
To design an electronic
working dice roller with the
use of stepper motor and using
program to control the device.
MO NTING BOARD
MOTOR
HOSE
àrm
ààmàr
Motor 1 ( Pin 11-15 ) and
Motor 2 ( Pin 16-18) Pin 9 of the ðLN 2803 IC
ðLN 2803 was used to
were connected to Pin were grounded.
11-18 of ðLN 2803 IC
ðLN
2803
PARALLEL
PORT
Visual Basic Interface
Declaration
End Class
Private Sub Button1_Click(ByVal sender As System.Threading.Thread.Sleep(pukul) System.Threading.Thread.Sleep(delay)
System.Object, ByVal e As Out(888, 192) Out(888, 6)
System.EventArgs) Handles Button1.Click System.Threading.Thread.Sleep(pukul) System.Threading.Thread.Sleep(delay)
Out(888, 4)
Out(888, 255) Next System.Threading.Thread.Sleep(delay)
pukul = 1 System.Threading.Thread.Sleep(3000) Out(888, 12)
'motor besar pny XD System.Threading.Thread.Sleep(delay)
For tolak As Integer = 1 To 100 delay = 1 Next
System.Threading.Thread.Sleep(pukul) counter = 300
Out(888, 128) End Sub
System.Threading.Thread.Sleep(pukul) For pusing As Integer = 1 To counter
Out(888, 144) System.Threading.Thread.Sleep(delay)
System.Threading.Thread.Sleep(pukul) Out(888, 8)
Out(888, 16) System.Threading.Thread.Sleep(delay)
System.Threading.Thread.Sleep(pukul) Out(888, 9)
Out(888, 48)
System.Threading.Thread.Sleep(delay)
System.Threading.Thread.Sleep(pukul) Out(888, 1)
Out(888, 32) System.Threading.Thread.Sleep(delay)
System.Threading.Thread.Sleep(pukul) Out(888, 3)
Out(888, 96) System.Threading.Thread.Sleep(delay)
System.Threading.Thread.Sleep(pukul) Out(888, 2)
Out(888, 64)
Private Sub Button2_Click(ByVal delay)
sender As System.Object, ByVal Out(888, 6) System.Threading.Thread.Sleep(
e As System.EventArgs) Handles delay)
Button2.Click System.Threading.Thread.Sleep( Out(888, 8)
'kasi turun lift delay)
delay = 1 Out(888, 2) System.Threading.Thread.Sleep(
counter = 300 delay)
For pusing As Integer = 1 To System.Threading.Thread.Sleep(
counter delay)
System.Threading.Thread.Sleep(dela Out(888, 3) Next
y)
Out(888, 12) System.Threading.Thread.Sleep
delay) End Sub
System.Threading.Thread.Sleep( Out(888, 1)
delay)
Out(888, 4) System.Threading.Thread.Sleep(
delay)
System.Threading.Thread.Sleep( Out(888, 9)
rY
o. Parts Description Quantity Price Per Unit (RM) Price (RM)
Mechanical Parts
1 ±ood 4m 2 1.50 per m 3.00
2 ðHð Glue 7 ml 1 8.90 8.90
3 Catgut N/A N/A N/A N/A
4 Hose 2 ft 2 1.50 3.00
5 Pulley 2 1.50 3.00
6 Stepper Motor N/A N/A N/A N/A
7 Small Aluminum Pot N/A N/A N/A N/A
8 Metal ±ire 1.00 1.00
9 Hook N/A N/A N/A N/A
10 ±rapping Paper 1 5.90 5.90
11 Ribbon 2m 1 2.50 2.50
12 Mounting Board 26.5 in 2 5.90 11.80
13 Masking Tape 60 mm 1 2.80 2.80
Electronics Part
13 IC ðLN 2803 N/A N/A N/A N/A
14 Stepper Motor N/A N/A N/A N/A
15 Parallel Port N/A N/A N/A N/A
16 Jumper N/A N/A N/A N/A
17 Electronic Board N/A N/A N/A N/A
ràYmr
The knowledge
It may have the of stepper
This objective of potentials to be motor and
this project is marketed in the parallel port
achieved. game industries were
mainly casinos. successfully
applied.