Schlagwort: Slot Machine

  • This student made his own odds with a DIY slot machine

    This student made his own odds with a DIY slot machine

    Reading Time: 2 minutes

    Today’s digital slot machines are anything but “fair,” in the way that most of us understand that word. There is tight regulation in most places, but the machines can still adjust their odds of payout in order to maintain a specific profit margin. If the machine thinks it has paid out too many wins recently, it will effectively prevent you from winning. That’s pretty infuriating when you think about it, so Hugo White built his own slot machine so he could control the odds.

    This is a very basic slot machine with three wheels. Each has 12 symbols and there aren’t any complicated second screens, payline variations, or any of the other nonsense you’ll find in a modern casino. It is, however, a digital experience and the machine operates under the control of an Arduino Nano board. That means that White can set the odds programmatically. But for now, he plans to keep the odds natural (so each wheel has a 1:12 chance of landing on any particular symbol). 

    Three NEMA 17 stepper motors turn those wheels, under the control of the Arduino through a CNC shield with stepper driver modules. There is a small speaker and strips of WS2812B individually addressable RGB LEDs for added flair. The enclosure and all of the mechanical parts, aside from basic hardware and fasteners, were 3D-printed.

    The highlight of this project is the coin-handling. It has custom mechanisms for accepting and dispensing coins. It will only take 50-cent coins (detected by a photo sensor) and, during a payout, it will push those coins out using a servo-actuated rack-and-pinion mechanism.

    Unfortunately, White reports that there are still bugs in the code that he’s struggling to sort out. He’d like some assistance with that, so get in touch with him if you’re willing to lend a hand. 

    The post This student made his own odds with a DIY slot machine appeared first on Arduino Blog.

    Website: LINK

  • Slot machine game harnesses the beauty of Nixie tubes

    Slot machine game harnesses the beauty of Nixie tubes

    Reading Time: 2 minutes

    Everyone loves the look of Nixie tubes, with their glowing orange characters made of curvy filament. But we usually only see makers using Nixie tubes for one purpose: clocks. That’s unfortunate, because they have a lot more potential, as illustrated by Bob Cascisa’s Nixie tube slot machine game.

    This is a really delightful device that puts the slot machine experience into a handheld form factor, with a beautiful Nixie tube display. It has a single button to spin the “wheels,” and seven Nixie tubes to show the action. The top three Nixie tubes represent the wheels and they cycle through distinct symbols. The bottom four Nixie tubes show the player’s balance to keep track of payouts.

    The bottom Nixie tubes are IN-12 models, which are Soviet NOS (New Old Stock) models capable of displaying numeric digits. The top Nixie tubes are rarer IN-7 models that can display a handful of symbols that would be useful for lab instruments, such as ?. Cascisa chose those IN-7 tubes because their symbols have a more iconographic appearance than standard alphanumeric characters, which English-speakers would try to read.

    An Arduino Nano board controls the gameplay. It plugs into a custom PCB that Cascisa designed to house all of the components necessary to drive the Nixie tubes — a difficult job compared to modern LED and LCD displays. It requires a power supply that can provide high voltage to the Nixie tubes. Power comes from an 18650 battery pack inside the simple enclosure, with a charging port on the side. 

    By Vegas slot machine standards, the gameplay is pretty simple. But this unit’s Nixie tube display certainly looks much nicer than the retina-scarring graphics on those machines. 

    [youtube https://www.youtube.com/watch?v=zXMITZR9ciQ?feature=oembed&w=500&h=281]

    The post Slot machine game harnesses the beauty of Nixie tubes appeared first on Arduino Blog.

    Website: LINK