Wiki source code of Project Documentation
Version 26.1 by stu120505 on 2023/07/06 14:48
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | The described system is an autopilot for the pinball machine "Mary Shelley's Frankenstein". | ||
| 2 | A Raspberry Pi with attached camera is mounted above the pinball machine and the computer is connected to the triggers of the pinball machine to allow for their actuation. | ||
| 3 | |||
| 4 | The different parts of the system interact in the following way. From the live camera footage a ball position is extracted in a series of image processing steps (see [[doc:PP18.Pinball Project - Winter Term 201920.Project Documentation.Image ProcessingBall Detection.WebHome]]). | ||
| 5 | This pixel position is then transformed into a [[doc:PP18.Pinball Project - Winter Term 201920.Project Documentation.World Coordinate System.WebHome]] for further processing and passed to the [[doc:PP18.Pinball Project - Winter Term 201920.Project Documentation.SCChart Controller.WebHome]], which is the main logic component of the system. | ||
| 6 | To allow for timely reactions the [[doc:PP18.Pinball Project - Winter Term 201920.Project Documentation.SCChart Controller.WebHome]] calls the [[doc:PP18.Pinball Project - Winter Term 201920.Project Documentation.Ball Physics.WebHome]], which performs a ball trajectory prediction. | ||
| 7 | \\For a quick overview on how to build and run the system see [[doc:PP18.Pinball Project - Winter Term 201920.Project Documentation.Dependencies and Compilation.WebHome]]. | ||
| 8 | |||
| 9 | == Overview == | ||
| 10 | |||
| 11 | |||
| 12 | |||
| 13 | {{children all="true" depth="2"/}} | ||
| 14 | |||
| 15 | == Gameplay Footage == | ||
| 16 | |||
| 17 | [[https:~~/~~/mega.nz/#!EF4TlZgB!3PzVmVmV3gVvEKSXyu5i_ZB1tX02m4dEaIi26us9kVk>>url:https://mega.nz/#!EF4TlZgB!3PzVmVmV3gVvEKSXyu5i_ZB1tX02m4dEaIi26us9kVk||shape="rect"]] | ||
| 18 | |||
| 19 | == Hardware == | ||
| 20 | |||
| 21 | * Sega Pinballmachine: Mary Shelley's Frankenstein | ||
| 22 | * Raspberry Pi 3 B+((( | ||
| 23 | * 4 CPU-Core | ||
| 24 | * 1 GB RAM | ||
| 25 | * 26 GPIO-Pins | ||
| 26 | ))) | ||
| 27 | |||
| 28 | * Pi NoIR Camera V2((( | ||
| 29 | * Sony IMX219 sensor | ||
| 30 | * 3280 x 2464 resolution | ||
| 31 | * Up to 90 frames per second (at 640x480) | ||
| 32 | ))) | ||
| 33 | |||
| 34 | * Relais box | ||
| 35 | ** Four 5V-relays (three in use)((( | ||
| 36 | * To actuate the three flippers | ||
| 37 | ))) |