infrastruktur:alphapi
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| infrastruktur:alphapi [2019-11-28 00:03] – Neues Repo, neues Glück xq | infrastruktur:alphapi [2022-09-15 21:23] (aktuell) – makefu | ||
|---|---|---|---|
| Zeile 2: | Zeile 2: | ||
| {{tag> shack, music, shackoperations}} | {{tag> shack, music, shackoperations}} | ||
| - | alphapi ist eine Reimplantation von alphafluid (dem Matemat in der Küche), der auf einem Raspberry Pi läuft. Der alte Quellcode von alphafluid ist [[https:// | + | alphapi ist eine Reimplantation von [[friedhof:alphafluid|alphafluid]] |
| Der pi ist unter alphapi.shack (10.42.20.20) zu erreichen und man kann sich mit Hilfe eines puppet keys authentifizieren. Dafür muss der Key zwingend auf puppet.shack deployed sein. | Der pi ist unter alphapi.shack (10.42.20.20) zu erreichen und man kann sich mit Hilfe eines puppet keys authentifizieren. Dafür muss der Key zwingend auf puppet.shack deployed sein. | ||
| === add sounds to repo === | === add sounds to repo === | ||
| - | - git pull https://git.shackspace.de/ | + | - git pull https://github.com/shackspace/ |
| - | - Füge deine samples im Unterordner server/ | + | - Füge Deine samples im Unterordner server/ |
| - git push | - git push | ||
| - Falls dir die Berechtigungen für das pushen der Sounds fehlen, schreibe dem Vorstand eine E-Mail. | - Falls dir die Berechtigungen für das pushen der Sounds fehlen, schreibe dem Vorstand eine E-Mail. | ||
| Zeile 18: | Zeile 18: | ||
| - cd alphafluid/ | - cd alphafluid/ | ||
| - git pull (ist aber grade kaputt, git ist zu alt) | - git pull (ist aber grade kaputt, git ist zu alt) | ||
| + | |||
| + | === architecture === | ||
| + | Alphapi contains of two parts, an 8bit AVR which handles the 7segment display, PIR and other sensors ( https:// | ||
| + | |||
| + | == AVR == | ||
| + | The Microcontroller sends the following messages: | ||
| + | - /o/d/1/ - door opened | ||
| + | - / | ||
| + | - /o/d/0/ - door closed | ||
| + | - /o/p/0/1 - pir spot | ||
| + | - /o/p/1/1 - pir room | ||
| + | |||
| + | It can receive the following messages: | ||
| + | - / | ||
| + | |||
| + | all messages end with \r\n | ||
| + | |||
| + | == RaspberryPi == | ||
| + | Code is at https:// | ||
| + | |||
infrastruktur/alphapi.1574895801.txt.gz · Zuletzt geändert: von xq
