Jump to: navigation, search

Difference between revisions of "OPP"

(Open Pinball Project)
(Before You Start)
Line 54: Line 54:
 
== Before You Start ==
 
== Before You Start ==
  
Prior to sourcing and purchasing the OPP boards and components, you need to know how many solenoids, lamps and switches you need to support, and a general layout of where you will put boards and how they will be mounted.   
+
Prior to sourcing and purchasing the '''OPP''' boards and components, you need to know how many '''solenoids, lamps''' and '''switches''' you need to support, and a general layout of where you will put boards and how they will be mounted.   
  
For example, a custom game might require 31 inputs, 10 solenoids (with 10 direct inputs), and 43 incandescent bulbs.  This could be accomplished with four processor boards with four interface wings, three solenoid wings, six incandescent wings and five input wings.  Technically this is more than strictly required but it cuts down on the total wiring required, saving significant time and money.
+
For example, a custom game might require 31 inputs, 10 solenoids (with 10 direct inputs), and 43 incandescent bulbs.  This could be accomplished with four ''Processor'' boards with four ''Interface'' wings, three ''Solenoid'' wings, six ''Incandescent'' wings and five ''Switch'' wings.  Technically this is more than strictly required as the ''Processor'' boards could handle a denser configuration, but it cuts down on the total wiring required, saving significant time and money.
  
Alternatively, if you're converting a ''Williams Jokerz'' machine, It has 19 solenoids (includes direct inputs), 39 inputs and 63 incandescent bulbs (which includes 9 flashers).  A possible layout for that is five processor boards with five interface wings, four solenoid wings, eight incandescent wings and five input wings.
+
Alternatively, if you're converting a ''Williams Jokerz'' machine, It has 19 solenoids (includes direct inputs), 39 inputs and 63 incandescent bulbs (which includes 9 flashers).  A possible layout for that is five ''Processor'' boards with five ''Interface'' wings, four ''Solenoid'' wings, eight ''Incandescent'' wings and five ''Switch'' wings.
  
 
Once the total number of ''Processor'' and ''Wing'' boards has been determined, parts can be ordered.
 
Once the total number of ''Processor'' and ''Wing'' boards has been determined, parts can be ordered.

Revision as of 21:46, 17 August 2016

Open Pinball Project

The Open Pinball Project (OPP) was started in 2012 as a resource for pinball makers to have an inexpensive, fully open sourced project for controlling custom pinball machines. It is currently on a second generation design and has had a successful Kickstarter run of boards and components currently in the hands of makers all over the world.

Hardware

The OPP hardware is made up of three main components:

  • The Processor board is a Cypress Semiconductor CY8CKIT-049-42XX PSoC prototyping board that can be purchased from Mouser or Digikey.
  • The Interface board allows communications between Processor boards via a custom serial communications protocol.
  • The Wing boards allow the control of solenoids, lamps, LEDs or input from switches.


The following is an example of some fully assembled and wired OPP Processors with Wing boards.

Fully-assembled-opp.jpg

Processor Boards

The Processor board can have up to four Wing boards controlling solenoids, incandescent lamps, or allowing input for switches. The Wing boards themselves can be combined in any configuration, so a single Processor board can support up to 16 solenoids, 32 switch inputs or 32 lamps. Each Wing board uses eight pins while the Interface board uses four.

All other pins are unused, except on the first board in the chain where the USB plug from the host controller is connected and is connected to the Interface board to provide power and serial connections for the other Processors in the chain.

Opp-processor.png

The Processor itself does not run game rules or other game logic - a Controller like Mission Pinball running on a separate PC is still required to handle scoring and other game logic and to fire coils and light lamps as needed. The Processor simply provides the physical connection to playfield devices.

Solenoid Wing

The Solenoid wing uses FQP13N06L MOSFETs to control up to four individual coils via a ground sink method, where the coils themselves are wired to the positive side of the high voltage power supply and the MOSFET provides a ground path when activated, firing the coil.

Solenoid-wing.png

There are two connectors on the Solenoid wing - the larger 6-pin has four pins for the coil connections and two for ground. The 4-pin connector is for direct control switch inputs, for devices like slingshots or pop bumpers that require fast response to switch hits in order to fire coils.

Note that the OPP boards support direct control switch programming, so that such devices can be configured in the firmware itself, and the 4-pin connector can cause some packaging issues, so it is recommended to leave the 4-pin connector out when building the boards unless you need it specifically.

Incandescent Wing

The Incandescent wing uses 2N7000 MOSFETs to control up to eight direct wired incandescent lamps via the same ground sink method as the coils.

Incandescent-wing.png

Direct wired means that each lamp is wired up and controlled individually via the 8-pin connector, rather than in the Matrix style that most commercial pinball machines used until recently.

The other 2-pin connector is for the ground connection.

Interface Wing

The Interface wing has no transistors or other electronic parts on it other than connectors. Its purpose is to distribute low voltage power (primarily 5V) and serial connections between each Processor board.

Interface-wing.png

Before You Start

Prior to sourcing and purchasing the OPP boards and components, you need to know how many solenoids, lamps and switches you need to support, and a general layout of where you will put boards and how they will be mounted.

For example, a custom game might require 31 inputs, 10 solenoids (with 10 direct inputs), and 43 incandescent bulbs. This could be accomplished with four Processor boards with four Interface wings, three Solenoid wings, six Incandescent wings and five Switch wings. Technically this is more than strictly required as the Processor boards could handle a denser configuration, but it cuts down on the total wiring required, saving significant time and money.

Alternatively, if you're converting a Williams Jokerz machine, It has 19 solenoids (includes direct inputs), 39 inputs and 63 incandescent bulbs (which includes 9 flashers). A possible layout for that is five Processor boards with five Interface wings, four Solenoid wings, eight Incandescent wings and five Switch wings.

Once the total number of Processor and Wing boards has been determined, parts can be ordered.

Getting Blank Boards

The OPP site itself does not sell blank boards and there currently is no one selling fully populated and tested boards. However, given the open source nature of the project, there are multiple ways to get the boards.

The easiest is to order boards from MezelMods as they offer blank boards for a very reasonable $1US per board.

The next option is to create Gerber files from the KiCad files located in the OPP SVN repository. For this you'll need to download KiCad, which is a printed circuit board design tool that was used to create the OPP boards. Once you have the Gerber files, they can be uploaded to a number of low-cost PCB manufacturers such as:


Each PCB maker has plusses and minuses that are too involved to go into in this wiki, but SeeedStudio has good prices and fast shipping.

Getting PCBs made can be a fairly advanced process, so it is recommended to simply purchase the already-made boards via MezelMods. They also offer additional parts that are less expensive than purchasing through Digikey or Mouser such as the FC-8P connectors and the 1x40 2.54 mm headers.

Getting Components

Once you have the bare boards, they will need to be fully populated with components, which are not included - they will need to be sourced separately. The following is a Bill of Materials for each Processor and Wing board.

Processor Board

Quantity Mouser Part # Description Price Est.
1 727-CY8CKIT-049-42XX Cypress Semiconductor PSoC 4200 Prototyping Kit $3.98/ea
1 649-68602-108HLF 2 x 4 position 2.54 mm Header $0.45/ea
2 571-9-146278-0 40-pin 2.54 mm Header $2.51/ea
2 SX1100-B 2.54 mm Jumper $0.10/ea

Note: The 40-pin header is available much cheaper in larger quantities from eBay - search for "1x40 2.54mm header".

Solenoid Wing

Quantity Mouser Part # Description Price Est.
4 512-FQP13N06L FQP13N06L MOSFET $0.67/ea
4 603-CFR-12JR-5210K 10K Ohm Resistor (1/6W 5%) $0.02/ea
1 538-35317-0620 Molex 6-pin 4.2 mm Mini-Fit Header $0.28/ea
10 538-39-00-0039 Molex Crimp-Style 4.2 mm 24-18AWG Female Pins $0.19
Parts Needed ONLY If Adding Direct Switches
6 538-08-50-0136 Molex Crimp-Style 2.54 mm KK Pins $0.13/ea
1 538-22-01-2047 Molex 4-Pin 2.54 mm Housing $0.17/ea

Note: The total number of crimp-style pins included in the BoM is higher than actually needed to account for extras if needed.

Incandescent Wing

Quantity Mouser Part # Description Price Est.
8 512-2N7000TA MOSFET 60V N-Channel $0.33/ea
1 538-39-28-1023 Molex 2-pin 4.2 mm Housing $0.56/ea
3 538-39-00-0039 Molex Crimp-Style 4.2 mm 24-18AWG Female Pins $0.19/ea
1 571-6404548 8-pin 2.54 mm Header $0.45/ea
1 538-22-01-2087 Molex 8-pin 2.54 mm Housing $0.32/ea
10 538-08-50-0136 Molex Crimp-Style 2.54 mm KK Pins $0.13/ea

Switch Wing

Quantity Mouser Part # Description Price Est.
1 571-6404548 8-pin 2.54 mm Header $0.45/ea
1 538-22-01-2087 Molex 8-pin 2.54 mm Housing $0.32/ea
10 538-08-50-0136 Molex Crimp-Style 2.54 mm KK Pins $0.13/ea

Note: The Switch wing is just the 8-pin headers soldered directly to the Processor board with the upright lock facing out from the board.

Interface Wing

Quantity Mouser Part # Description Price Est.
2 649-68602-108HLF 2 x 4 position 2.54 mm Header $0.45/ea
2 538-22-01-2047 Molex 4-Pin 2.54 mm Housing $0.17/ea
10 538-08-50-0136 Molex Crimp-Style 2.54 mm KK Pins $0.13/ea
2 eBay (search "FC-8P") FC-8P IDC Socket 2.54 mm ~ $0.10/ea
~10ft eBay (search "8 pin IDC cable") 8-pin IDC Flat cable ~$1/ft

Note: Neither Mouser nor Digikey have FC-8P connectors or flat cable in stock, so eBay is the best source for these parts.

Assembly

Once