element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Project Videos
  • Challenges & Projects
  • element14 presents
  • Project Videos
  • More
  • Cancel
Project Videos
Documents Revamping Old School Pinball with an ESP32 -- Episode-632
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Project Videos to participate - click to join for free!
Related
Recommended
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 7 Dec 2023 3:11 PM Date Created
  • Last Updated Last Updated: 7 Dec 2023 3:17 PM
  • Views 1807 views
  • Likes 7 likes
  • Comments 5 comments

Revamping Old School Pinball with an ESP32 -- Episode-632

Mark had the opportunity to work on a vintage pinball machine from 1972. This machine, belonging to a friend, required some repairs, and Mark willingly took on the challenge. Before delving into the repairs, he provided a glimpse into the unique characteristics of vintage pinball machines. Lacking transistors, these machines rely on coils, relays, and two motors—one for moving a target left to right and another for driving a pulse wheel. 

Watch the Video:

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Discovering Defects 

Unveiling the intricate mechanism, Mark encountered a few defects: the score counter for player two wasn't resetting, the machine produced excessive mechanical noise during initialization, and the right flipper exhibited constant overpowering, causing the coils to heat up. With over 100 relays and numerous contacts, pinpointing the issue initially seemed daunting. Fortunately, the pinball machine came with a schematic, allowing Mark to identify and repair three broken relay contacts. 

image

Innovative Sound Upgrade 

While contemplating these repairs, the idea of upgrading the pinball machine struck Mark. After a swift repair job that felt almost disproportionate to the effort invested, he discussed the possibility of an upgrade with the friend, keeping the specifics a surprise. The concept involved integrating sound, triggered by the ball hitting various targets and switches during gameplay. To tap into these signals without interference from the pinball's electrical chaos, Mark devised a special trigger board equipped with optocouplers and an optical transceiver. 

image

Challenges and Solutions 

Implementing the trigger board, Mark faced challenges, particularly with the optocouplers' rapid response creating unwanted signal fluctuations. Various attempts, including adding capacitors to stabilize the input signals, proved insufficient. As time pressed on, he opted for a pragmatic solution—adding more relays to physically separate the pinball signals from the microcontroller. This extra board successfully circumvented interference issues and provided a crucial reminder: real-world implementation often differs from simulations. 

image

Audio Innovation and Conclusion 

To enhance the gaming experience, Mark explored different methods of playing audio files using embedded systems. Options like Arduino with an SD card proved inadequate due to poor sound quality, while an Arduino Uno with an MP3 shield had undesirable latency. A one-size-fits-all MP3 trigger board shared similar latency concerns. Opting for an ESP32 with an external DAC and SD card provided acceptable latency and superior sound quality. This choice, influenced by previous successful projects, encapsulates the adaptability required for vintage technology. In the end, the pinball machine received not just repairs but a modern audio twist, showcasing the delicate balance between preserving nostalgia and embracing contemporary innovation. 

image

Downloads and Links:

  • Download Code,  CAD Files and Schematics

Bill of Material:

Product Name Quantity Buy Kit
TOSHIBA Optocoupler, Digital Output, 1 Channel, 5 kV, 15 Mbaud, DIP, 8 Pins, TLP296 10 Buy Now
MONACOR Audio Exciter / Resonator, 20W RMS 4Ohm 1 Buy Now
VISATON Speaker, Full Range, 5 ", White, 60 W, 4 ohm, 70 Hz to 16000 Hz 1 Buy Now
ONSEMI Small Signal Diode, Single, 100 V, 200 mA, 1 V, 4 ns, 1 A 50 Buy Now
VISHAY Through Hole Resistor, 2.67 kohm, MRS25, 600 mW, ± 1%, Axial Leaded, 350 V 10 Buy Now
VISHAY Multilayer Ceramic Capacitor, 0.1 µF, 50 V, ± 10%, Radial Leaded, X7R, 2.5 mm 20 Buy Now
MULTICOMP PRO Oktapad Protoboard, Eurocard, Epoxy Glass Composite, 1.6mm, 100mm x 160mm 1 Buy Now
MULTICOMP Toggle Switch, On-Off-On, SPDT, Non Illuminated, Panel Mount, 10 A 2 Buy Now
PRO ELEC AC/DC Power Supply, 1 Output, 60 W, 12 V, 5 A 1 Buy Now
pin headers 4 Buy Now
 

Additional Parts:

ESP32 DOIT DEVKIT 1,0  
PCB-> use the included pcb production files to order a pcb at your prefered manufacturer  
I2S Audio Board based on MAX98357
Amplifier
PCB-> use the included pcb production files to order a pcb at your prefered manufacturer  
Audio transformer EE14-222A  1300:8 
USB power supply with usb cable

element14 presents

element14 presents  |  About Mark Donners |  Project Videos

  • esp32
  • Creative sound solutions for pinball
  • Classic gaming machine restoration
  • Pinball machine defect troubleshooting
  • mp3-trigger board
  • Retro pinball restoration
  • DIY pinball machine upgrades
  • Pinball machine sound enhancement
  • Pinball machine relay board innovation
  • ESP32 DAC audio integration
  • ESP32 and DAC for audio projects
  • e14p_MD
  • Vintage technology repair insights
  • Pinball machine circuitry insights
  • pinball
  • Vintage pinball machine repair
  • mp3
  • Optocoupler technology in pinball
  • Audio modification for classic pinball
  • Schematic analysis in pinball repair
  • friday_release
  • Share
  • History
  • More
  • Cancel
Actions
  • Share
  • More
  • Cancel
  • Sign in to reply
  • donnersm
    donnersm over 1 year ago in reply to beacon_dave

    The exciter did very well. Could have finished the project without the regular speaker but the owner wanted both

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave over 1 year ago

    With the sorting hat and now this, does this perhaps make you a 'pinball wizard' ? Slight smile

    How did the audio exciter compare to the loudspeaker in the end ?

    'Tech Ingredients' spent a lot of time experimenting with these style of exciters and did some videos of what he found:

    https://www.youtube.com/watch?v=CKIye4RZ-5k 

    https://www.youtube.com/watch?v=GslJ8Hf4WwE

    You might be able to suspend an acoustic ceiling tile with the exciter on it just below the machine.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 1 year ago

    Nice addition to the pinball machine.

    I played my first pinball in the late 1950's.

    They were fun then and are fun now.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dougw
    dougw over 1 year ago

    I've played a lot of pinball machines, starting around 1972, but never played one that didn't have sound effects. Nice job.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • kmikemoo
    kmikemoo over 1 year ago

    It's definitely better with sound! Thumbsup

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube