Home Creators Posts Import Register Favorites Logout

Content

I bought this old fruit machine (a "slot machine" in the U.S.?) from eBay months ago, intending to do it up as a project, and it's been sitting around taking up a lot of space in the corner of my kitchen for months because I never quite got round to it. My wife was getting pretty annoyed and wanted rid of it, so I decided to strip it down and extract all the useful components to see if I could use them in any projects.

In this first video, I get the feature reel assembly working to spin a stepper motor and display any number sent from the serial connection of an Arduino. The reel is calibrated by an optical sensor, which is obstructed by a plastic notch marking a particular position on the reel. Although this is a fairly unusual application (and it's unlikely that any of you happen to have exactly the same fruit machine in front of you!) I thought it was an interesting application of a stepper motor, and also an opportunity to describe the process I followed to figure out how to wire some unknown components up, since I had no manuals or instructions to follow.

There's plenty of other components I managed to strip out as well, so I'm planning to work through them each one at a time and make a mini-series of videos about each one (and I'll intersperse these with the more traditional "escape-room" puzzles I've been doing to). Please let me know if you have any questions!

This is not a paid-post - just a little free project which I'm sharing with you all, and I've made the code and wiring diagram publicly-available on GitHub here: https://github.com/playfultechnology/arduino-fruitmachine

Files

Arduino Fruit Machine - Feature Reel

I bought an old fruit machine (slot machine) from eBay and stripped it down into separate components. In this video, I'll show you the feature reel assembly, which includes bulbs, a 6-wire unipolar stepper motor, and a photosensor. I had no manual or wiring diagram, so I'll show you the investigation and experimentation I did to work out how to connect all these up to an Arduino. Download the wiring diagram and the Arduino code from: https://github.com/playfultechnology/arduino-fruitmachine For more projects, please check out https://www.patreon.com/playfultech

Comments

Russell Hardman

I have some stepper motors I don't know how to use, so this video might just be the one I'm looking for. Thanks Alastair.

Russell Hardman

I’ve looked up my 4 stepper motors and they seem to be bipolar. 4.2v, 2 phase, current per phase 1.5A. Will the L298N be ok for this and I’ll need one for each motor?

Russell Hardman

Great information Alastair. Many thanks for your time. I’m looking forward to getting those motors moving. Keep up the good work, really love all the stuff you do.