element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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
Ben Heck Featured Content
  • Challenges & Projects
  • element14 presents
  • element14's The Ben Heck Show
  • Ben Heck Featured Content
  • More
  • Cancel
Ben Heck Featured Content
Documents Mini Pinball 05: Pop Bumpers, Targets, and More -- Episode 305
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Ben Heck Featured Content to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 23 Jul 2017 12:33 AM Date Created
  • Last Updated Last Updated: 25 Aug 2017 7:24 AM
  • Views 1771 views
  • Likes 3 likes
  • Comments 7 comments
Related
Recommended

Mini Pinball 05: Pop Bumpers, Targets, and More -- Episode 305

image

element14's The Ben Heck Show

Join the Ben Heck team every week for amazing hacks! Watch them build and mod community-inspired projects using electronics!

Back to The Ben Heck Show homepage image

Community Feedback
Featured Bonus Content
See All Episodes

 

 

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

Felix works on a new revision to the PCB allowing electronic control of the game using a Teensy and an Arduino.  Meanwhile, Ben works on some new mechanisms such as pop bumpers using Autodesk 360, 3D parts, and assembling it together to see how it will work and make adjustments to code using the Arduino IDE.

 

 

Ben needs to make the ball loader mechanism to cycle through the states of the game.  Meanwhile Felix is going to be working on a new revision of the PCB. They’re going to reorient it so that it resembles the way they want it to be in the actual game. They’re going to add some light drivers, some switch drivers, and also work on some code.

 

Felix has a breadboard that he’s worked up and now it’s time to make something that represents how it’s going to actually be in the machine.  This includes reorienting the microcontroller to the side to give access to usb, figure out a place to put the screen, and redo some of the components. While Felix goes to work on the board, Ben is going to work on some new mechanisms, and they’ll touch base throughout the process to ensure both the mechanisms and board work together. Felix suggests swapping additional headers so they can swap between a teensy and an Arduino so it can potentially use both. An Arduino isn’t going to give you the same sound capability but it’s going to do the same logic and drive the LCD.  It’s a 5 V system but they want to have 12 V going in to control the solenoids. The Teensy and Arduino have their own voltage regulators, but 12 V is too high for them.

 

Ben wires up an LED driver, the TI part current driver, and combined it with the chip registers for the switches.  He’s attaching it to the SPI bus of the Arduino so that he can try reading and writing in the same operation to save time. If it works on the Arduino it will certainly work on the Teensy. The Teensy uses 4 bit mode for its SD card but it probably has additional SPI buses that they can access.  Once he’s got the connections hooked up he just needs to hook up some test switches and LEDs so they can see if this thing works. Ben runs some test code. During the SPI cycle, 8 bits of data is sent to the slave device and data is also returned to the master device.

 

Once he’s done testing it’s time to work on the pop bumpers. You can check out how much current something is going to draw by checking its resistance.  Even without putting in the power supply it’s possible to predict how much current this going to draw. He uses a piece of plywood to represent the playfield.  Ben uses Autodesk Fusion 360 to draw the base solenoid, the rod, the playfield, and a representation of the spring.  He also drew a reference of the rod in its down position as well as the bracket.  He includes an actuator to move the ball around. After he gets his 3D printed parts printed he puts it together to see how it will actually work.  Karen saves Ben some time on ordering metal shins by cutting one for him to use for testing purposes.  Once its put together they test the contact discs with multimeter.

 

Finally Felix gives an update on his progress on the board.  Serial input switches and the light driver are both in place. The MOSFETs are hooked up to the analog line 5,4,3,2, 1. They can look to the code to see if one of the bits changes on the switch line, use that to trigger the solenoid, and use that to test their pop bumper. Ben adds some more functions to the SPI test code using the Arduino IDE.

 

Disclaimer

  • mini_pinball
  • hack
  • targets
  • episode 305: mini pinball 05: pop bumpers
  • ardexpert
  • heck
  • ben
  • tbhs_ep
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • jc2048
    jc2048 over 7 years ago +1
    Ohm's Law is V / R = I.
  • jc2048
    jc2048 over 7 years ago

    image

     

    Ohm's Law is V / R = I.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 7 years ago in reply to prampec

    Interesting, but I am not sure you can implement that idea and get the full 360 degree detection capability.

     

    From a cost point of view, the capacitive sensing would be easy to implement and provide coverage.

     

    You could also use a loop of wire and then detect the change in magnetic field as the ball rolled up, but that solution would require additional components to get reliable sensing.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • prampec
    prampec over 7 years ago in reply to DAB

    I'm not sure, that capacitive sensing is even possible with a small object like a metal ball. Also note, that analog reads are a bit slow (see: https://github.com/merose/AnalogScanner).

     

    I would recommend an optical sensing instead. Contacts will corrode, collect dust... not reliable. This might going to be a weakest part of the machine.

    What about this: The bumper is illuminated from the bottom side via a transparent ring. A photodiode (or more) is also placed under the ring. When a ball arrives, it reflect the light back, that can be detected. (Might need to use IR light tho.)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • prampec
    prampec over 7 years ago

    When you look at the bumper from the side... Instead of a linear actuating path I would try some curved shapes. My idea is that the more the solenoid is retracted it has the more power. So at the starting point of the path the slope should be steep, and at the exit point it should be more flat.

    This way the ball might receive more speed.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 7 years ago in reply to astinsan

    Not only would it make the detection simple, it would greatly reduce the mechanism needed to detect the ball approach, making the resulting machine more reliable and robust.

     

    Just a thought.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • astinsan
    astinsan over 7 years ago in reply to DAB

    I was thinking the same thing. Maybe to keep it simple?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 7 years ago

    Great episode.

     

    I really liked the bumper design sequence.

     

    Question?  Why not use capacitive sensing for the ball detect?

     

    DAB

    • 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