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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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 07: Designing the PCB -- Episode 314
  • 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:53 AM Date Created
  • Last Updated Last Updated: 27 Oct 2017 7:24 AM
  • Views 2811 views
  • Likes 3 likes
  • Comments 15 comments
Related
Recommended

Mini Pinball 07: Designing the PCB -- Episode 314

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

The prototype for the mini pinball machine has a 16x2 LCD display, audio amplifier, 16 switches in, 16 lights out, 4 MOSFET controllers, and 4 servo ports. In today’s episode, Ben translates this prototype into an Eagle design. Felix works on finding the libraries and the part numbers while Ben Does the layout. 

 

 

Ben puts together the PCB for the mini pinball machine in Eagle. He starts with some of the more cumbersome areas first, namely the lights and switches. He’s going to use these molex 2.54 or .1 inch pitch headers.  He puts in the 16 switch molex connectors in and 16 for the lights. He’s got to think about how to orient the circuits in relation to the 16 switch molex connectors.  He creates spacing so that they are able to make an adapter board that can attach for testing.  He won’t run the traces until he has the main components on the board. There should be enough space between these.

He lays out placement for the power, the microcontroller, the screen, and input/output plugs on the lower-left. He shows the schematic of the constant current LED driver.   Ben reuses a layout of an eagle file for the schematic of the constant current LED driver. They used the TLC59282 constant-current sink driver in the persistence of vision episode and Super Space Shuttle.  You source the LED with current and then it sinks into the device. After laying out a lot of the parts for the board to run the digital signals Ben needs to attach the SPI signals between the Teensy/Arduino and the I/O chips. At this point he’s added 2 MOSFET packages, headers for the solenoids, voltage regulator, placement for the Teensy and Arduino, and some resistors.

After running the traces the PCB is done.  Power comes in through the 2.1 millimeter jack and goes to a push button switch.  A large capacitor for the 12 volt line goes to a 5 volt regulator which also has an electrolytic capacitor on it.  This regulator goes to the 5 volt input of the Arduino or the 5 volt input of the Teensy. Both the Teensy and the Arduino output their own built-in regulators.  That 3 volt regulator goes to the switch integrated circuits. There are 16 switches and 16 lights.  The light driver has 16 bits of switch input. There are connectors for 4 servos, a large electrolytic capacitor next to those servos because servos can draw a lot of power and cause spikes in power. The audio amplifier is set to a fixed gain and finally the speakers where they hook up.  Then there is the LCD screen with a silkscreen along the screw holes. The silkscreen is .26 inches in diameter. This represents the head of the screw to make sure that it’s not bumping into anything. After doing a design check, the design is ready to be sent off to get boards made.

Ben uses a schematic of an LCD display that fits his requirements but lacks an Eagle file so he’ll have to do his own.  When working with schematic design software it is often necessary to either hunt down a library or make one. For rare parts it can be quicker to make one.  For the schematic, the symbol is representative of the part, whereas the package detail comes from the datasheet. Ben creates a package that matches the physicality of the hardware.

 

Disclaimer

  • episode 314: mini pinball 07: designing the pcb
  • hack
  • ben heck
  • ardexpert
  • heck
  • ben
  • tbhs_ep
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • DAB
    DAB over 8 years ago +2
    Great episode. I liked the quick run through of using Eagle to layout parts and the board itself. The pinball kit is coming together nicely. DAB
  • jpickens
    jpickens over 8 years ago +1
    Karen asked for theme suggestions for the mini pinball. I'm all about the space themes. How about a Mars Mission? Like The Martian and SpaceX type near future possibilities. Red Planet background with…
  • jpickens
    jpickens over 8 years ago in reply to makerkaren +1
    Its a Pinball machine, so succesfully landing could be one goal, another could be making fuel from local sources, doesn't have to be too detailed, just "Power up, Landed Safely", or "Fuel Production Increased…
Parents
  • insanewayne
    insanewayne over 8 years ago

    How about a Buckaroo Banzai theme? The world needs more Buckaroo Banzai. Because everyone needs that friendly reminder that ... no matter where you go ... there you are.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • makerkaren
    makerkaren over 8 years ago in reply to insanewayne

    Sadly, it would be too difficult and expensive to use any licensed themes. Do you have any other ideas that wouldn't require a license?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • makerkaren
    makerkaren over 8 years ago in reply to insanewayne

    Sadly, it would be too difficult and expensive to use any licensed themes. Do you have any other ideas that wouldn't require a license?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
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 © 2026 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