Richard and Jen Ace Stochastics
Gamblers who play engineering students Richard and Jen's handy desktop slot machine simply insert a coin and press a button or pull a handle. Three stepper motor microcontrollers generate a random number between 0 and 7, using this number to spin the three reels to new positions. For a cool visual effect, the reels are spun through multiple rotations. If the reels arrive at a winning combination, "winner" is displayed on an LCD, chimes ring, and a central microcontroller sends pulses to a relay that runs a set of solenoids that push out the winning coins. Viva Las Vegas!
Desktop Slot Machine Parts List AmtPart DescriptionAllied Part #1Parallel 16×2 LCD Display670-00363Bipolar stepper motor driver 248-2970251 kV resistor296-5562510 kV resistor296-5586204.7 kV resistor296-55781022 pF capacitor213-0102150.1 µF capacitor213-3622122 kV ceramic photocell669-951215V dc relay866-23511Voltage comparator568-466054 MHz crystal oscillator895-06774Protoboard761-00101NPN power transistor568-40854Red LED782-00103Green LED782-15033Yellow LED782-0040Additional parts required: 5 PIC 16F84A microcontrollers; 1 bright white LED; 3 bipolar stepper motors; 3 H-bridge with flyback diodes; 1 computer power supply; 1 slot machine N.O. spin button; 1 digital sound module; 1 amplified computer speakers; 1 car emergency brake handle; 1 doorbell
10-Jan-2006