Bearbeiten von „Putsch“

Wechseln zu: Navigation, Suche

Warnung: Du bist nicht angemeldet. Deine IP-Adresse wird öffentlich sichtbar, falls du Bearbeitungen durchführst. Sofern du dich anmeldest oder ein Benutzerkonto erstellst, werden deine Bearbeitungen zusammen mit anderen Beiträgen deinem Benutzernamen zugeordnet.

Die Bearbeitung kann rückgängig gemacht werden. Bitte prüfe den Vergleich unten, um sicherzustellen, dass du dies tun möchtest, und speichere dann unten deine Änderungen, um die Bearbeitung rückgängig zu machen.
Aktuelle Version Dein Text
Zeile 83: Zeile 83:
 
====Schematics====
 
====Schematics====
  
[[Datei:Schematics_20230207_2.jpg|thumb|600px|center|Schematics]]
+
[[Datei:schematics_20230207.jpg|thumb|600px|center|Schematics]]
  
'''<span style="color:red;">COMMENT - Only connect GND, VCC, TX and RX for UART connection to Olimex! Olimex is also I2C Master.</span>'''
+
[[Datei:Uext_guideline.jpg|thumb|600px|center|Olimex ADF interface]]
  
 
===Software===
 
===Software===
 
====Control commands====
 
 
{| class="wikitable"
 
|+ Network roles
 
|-
 
! QUEST !! PLAYLIST !! source: meaning
 
|-
 
| 254 || 254 || LOCATION
 
|-
 
| 253 || 0-100 || VOLUME
 
|-
 
| 0-250 || 0-250 || PLAY QUEST PLAYLIST
 
|-
 
|}
 
 
 
====Error Codes====
 
 
{| class="wikitable"
 
|+ Network roles
 
|-
 
! code !! source: meaning
 
|-
 
| 0 || olimex: default state (olimex ready)
 
|-
 
| 1 || olimex: is playing
 
|-
 
| 2 || olimex: SD card error (f.e. folder not found)
 
|-
 
| 10 || endnode: no olimex answer
 
|-
 
| 11 || endnode: doubletrigger avoided
 
|-
 
|}
 
  
 
====Libraries====
 
====Libraries====
Zeile 130: Zeile 95:
 
For the communication with the OLED display, <Adafruit_GFX.h> and <Adafruit_SSD1306.h> are used. As the display can be interfaced with SPI or I2C, <SPI.h> for SPI and <Wire.h> for I2C are also used. The OLED display is interfaced based in the aranacorp.com[1] example.
 
For the communication with the OLED display, <Adafruit_GFX.h> and <Adafruit_SSD1306.h> are used. As the display can be interfaced with SPI or I2C, <SPI.h> for SPI and <Wire.h> for I2C are also used. The OLED display is interfaced based in the aranacorp.com[1] example.
  
This example uses I2C as interface and addresses the display with 0x3C. This means a second display could be connected, that uses address 0x3D:
+
This example uses I2C as interface and addresses the display with 0x3C. This means a second display could be connected, that uses address 0x3D.
 
 
 
 
display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // Address 0x3C for 128x32
 
 
 
Adafruit_SSD1306 display = Adafruit_SSD1306(128, 32, &Wire);
 
  
 +
{{code|lang=css|font-family: 'Times New Roman', serif;}}
  
 
'''References'''
 
'''References'''
Zeile 305: Zeile 266:
 
|-
 
|-
 
! command !! name !! data packet !! designation
 
! command !! name !! data packet !! designation
|-
 
| 10 || program || - || -
 
 
|-
 
|-
 
| 0 || invalid || - || -
 
| 0 || invalid || - || -
Zeile 325: Zeile 284:
 
|}
 
|}
  
====I2C address table====
+
====Hardware communication libraries====
  
{| class="wikitable"
 
|+ I2C addresses
 
|-
 
! address !! device !! comment
 
|-
 
| 0x3C || 0.91 OLED Display || default
 
|-
 
| 0x3D || 0.91 OLED Display ||
 
|-
 
| 0x70 || Clock display || default
 
  
|}
 
  
 
====Token Pass System====
 
====Token Pass System====
Zeile 349: Zeile 297:
  
 
Wir verwenden [https://www.adafruit.com/product/1674,Bone Conductor Transducer von adafruit].
 
Wir verwenden [https://www.adafruit.com/product/1674,Bone Conductor Transducer von adafruit].
 
[[Datei:Kopfhörer Kopie.jpg]]
 
  
 
=== Olimex Audioboard ===
 
=== Olimex Audioboard ===
  
 
Audio Modul für Radios und Publikum
 
Audio Modul für Radios und Publikum
 
[[Datei:olimex-marked.jpg|thumb|300px|center|Olimex board with marked GND pin]]
 
 
[[Datei:Uext_guideline.jpg|thumb|300px|center|Olimex ADF interface]]
 
 
'''Reference'''
 
 
Olimex product webpage with links https://www.olimex.com/Products/IoT/ESP32/ESP32-ADF/open-source-hardware
 
 
Schematics https://raw.githubusercontent.com/OLIMEX/ESP32-ADF/master/HARDWARE/ESP32-ADF%20Rev.C/ESP32-ADF_Rev_C.pdf
 
 
  
 
'''SD Karten Bespielprogramm'''
 
'''SD Karten Bespielprogramm'''
  
Python Programm, dass alle mp3 Files Namen in Ziffern übersetzt, damit sie in dieser Form auf die SD Karten gespielt werden können damit lokal am Board Befehle mit möglichst kleinem Datenvolumen interpretiert werden können, die per Lora verschickbar sind.  
+
Programm, dass automatisch die SD Karten mit unserer Ordnerstruktur von Audiofiles bespielt, um große Zeitverluste und Fehler durch manuelles Kopieren zu vermeiden.  
  
 
'''SD Karten Abspielprogramm'''
 
'''SD Karten Abspielprogramm'''
Zeile 376: Zeile 311:
  
 
==Ortung der mobilen Clients im Spiel==
 
==Ortung der mobilen Clients im Spiel==
 +
 +
===Infrarot===
  
 
===Bluetooth Beacons===
 
===Bluetooth Beacons===
Zeile 393: Zeile 330:
 
* providing and pushing data to the Control Server (and thus, to the Director UI and the Actor UI)
 
* providing and pushing data to the Control Server (and thus, to the Director UI and the Actor UI)
 
* communicating with peripherals like printers
 
* communicating with peripherals like printers
 +
 +
== Das echte Büro ==
 +
 +
===Drucker-Hack===
 +
 +
===Radio-Hack===
 +
 +
===Aktenschrank-Hack===
 +
 +
== Inhalt ==

Bitte beachte, dass alle Beiträge zu Planetenwiki von anderen Mitwirkenden bearbeitet, geändert oder gelöscht werden können. Reiche hier keine Texte ein, falls du nicht willst, dass diese ohne Einschränkung geändert werden können.

Du bestätigst hiermit auch, dass du diese Texte selbst geschrieben hast oder diese von einer gemeinfreien Quelle kopiert hast (weitere Einzelheiten unter Itrontest:Urheberrechte). ÜBERTRAGE OHNE GENEHMIGUNG KEINE URHEBERRECHTLICH GESCHÜTZTEN INHALTE!

Abbrechen | Bearbeitungshilfe (wird in einem neuen Fenster geöffnet)