Änderungen

Aus Hackerspace Ffm
Wechseln zu: Navigation, Suche

BrickUsingMultipleModules

523 Byte hinzugefügt, 19:38, 20. Mär. 2017
Switch to english, manuals, pictures from make
BrickUsingMultipleModules (kurzshort: *BUMM*) ist ein Rätselspiel, das unter dem Theme "Bombenentschärfung" spieltis a riddle game themed around bomb defusals. Angelehnt After an evening of playing [http://www.keeptalkinggame.com/ Keep talking and nobody explodes] geht es darumI was sure that this has to be transferred to hardware. The goal of defusing multiple modules is the same, unter Zeitdruck verschiedene Rätselmodule lösenbut the hardware implementation calls for some serious changes. Cutting wires was out of the question, um eine Bombe rechtzeitig zu entschärfensince nobody was found to replace them for a new round.
== Bilder Pictures ==
=== Frontpanels Front panels ===
<gallery>
Image:BUMM countdown blink front.jpg |Countdown und Manipulationsdetektor manipulation detector aka life counter (linksleft), blink-Modul module (rechtsright)Image:BUMM serial and gates front.jpg|Seriennummer-Anzeige Serial number display (linksleft) und gates-Modul module (rechtsright)
Image:BUMM in action countdown.jpg |Countdown
Image:BUMM in action gates.jpg |gates-Modulmodule
</gallery>
=== Panelrückseite Backsides ===
<gallery>
Image:BUMM serial and gates back.jpg|Gates-Modul module (linksleft), Seriennummer-Anzeige serial number display (rechtsright)Image:BUMM countdown and md.jpg|Countdown und Manipulationsdetektormanipulation detectorImage:BUMM blink module.jpg|Blink-ModulmoduleImage:BUMM module b backside.jpg|Gates-module before mounting
</gallery>
=== Fertiger Complete Brick ===
<gallery>
Image:BUMM total side.jpg|
=== Details ===
<gallery>
Image:BUMM bus backplane.jpg|Bus Backplane. Why cut the copper stripes if we only need 5 Signale signals (GND, 5V, Tx, Rx, 12V) auf 10er-Pinheadern sorgen für bequemes Löten und Verkabeln :)anyway?Image:BUMM speaker.jpg|Lautsprecher und massiv befestigter VerstärkerSpeaker for beeping and firmly mounted audio amplifierImage:BUMM bus ftdi.jpg|Busplatine von oben und USB<Bus backplane and usb->seriell-Wandlerserial converterImage:BUMM powerpack.jpg|Erfahrungsgemäß ist auf die Stromversorgung auf der On the last Make kein Verlass..Rhein-Main, we had lots of power outages.Not stopping this device!Image:BUMM gui.png|Fernsteuerung mit CountdownRemote control with countdown, MD-Statuslife counter, Seriennummbernserial number, Konfiguration und Status für jedes Modulconfiguration and status for each module
</gallery>
== Technik Background ==Jedes Modul enthält einen Arduino (oder anderen Controller), der über einen gemeinsamen Bus (5V) via UART kommuniziert ([https://github.com/hackffm/BrickUsingMultipleModules/tree/master/bus_docu Protokoll]). Dabei ist jedes Modul von der Logik her eigenständig und gibt nur an, ob es entschärft wurde und ob es eine Manipulation detektiert hat.Als Zentrale fungiert ein Raspberry Pi, auf dem ein Pythonscript mit der gesamten Gamelogik läuft. Neben der Buskommunikation stellt dieses auch einen TCP-Server bereit, über den der Brick ferngesteuert werden kann.
== Anleitung ==[[MediumImage:BUMMleichtBUMM block diagram.pdfpng|Eine Anleitung für Jünglinge200px|thumb|right]]
== TODO ==Folgendes ist noch notwendig Each module has its own arduino and is connected to a parallel bus backplane (was noch nicht geklärt ist und noch Hilfe braucht, ist fett[https://github.com/hackffm/BrickUsingMultipleModules/tree/master/bus_docu speaking 5V UART at 19200 baud]).* WLAN Each module contains its own logic and only tells the gamemaster whether it has been defused and if any manipulations (Raspi 3 coming?mistakes)were detected.
The gamemaster is a Raspberry Pi running a python script.Apart from the game logic and audio output, it opens a TCP socket which can be used to control the game remotely.The network protocol is based on tree structures serialized to JSON and terminated with NULL. All lookuptables and manuals are generated completely automatic from config files using python and make. All material, be it gamemaster scripts, arduino code, *.tex for manuals or svg files for lasercutting are available on [https://github.com/hackffm/BrickUsingMultipleModules github]. ==Manuals = =* [[Medium:BUMM manual en.pdf|Introduction]]* [[Medium:BUMM manual en b.pdf|Gates module]]* [[Medium:BUMM manual en d.pdf|Blink module]]* [[Medium:BUMMleicht.pdf|Eine Anleitung für Jünglinge (german)]]  === Make Rhein-Main 2017]] ===Der Brick soll auf der BUMM was present on the [[Make Rhein-Main 2017]] in einer separaten Kammer untergebracht werden, aus der nur auf elektronischem Wege kommuniziert werden kann- bringing a bomb mockup to a fair - what could possibly go wrong? There is also a short [https://streamable.com/bikcu clip]. * Kammer<gallery>Image: Da vermutlich kein separater Raum zur Verfügung stehen wird, wäre es cool, eine kleine Kammer aufzubauen. Vermutlich wird es ein Rahmen aus Holz mit eingespannter FolieBUMM MRM2017 chamber.jpg|Chamber for the BUMM* Zur Kommunikation zwischen den Spielern werden Feldtelefone eingesetzt werdenImage:BUMM MRM2017.jpg|Inside the chamber there is also a video camera with live feed to our booth and an FF-OB/ZB field telephone* Eine Videoübertragung nach außen, insbesondere für die Signalwirkung für potentielle neue SpielerImage:BUMM MRM notes.jpg|Lots of notes have been taken</gallery>