{
  "@context": "https://schema.org",
  "@type": "ScholarlyArticle",
  "@id": "https://www.azielcorpuslibrary.net/record/AZDOC-130218E1CFFD#record",
  "record_id": "AZDOC-130218E1CFFD",
  "json_record_id": "JSONAZDOC-130218E1CFFD",
  "receipt_id": "JSONAZDOC-130218E1CFFD",
  "receipt_prefix": "JSON",
  "title": "AZ Mandible Arduino Firmware",
  "name": "AZ Mandible Arduino Firmware",
  "headline": "AZ Mandible Arduino Firmware",
  "subject": "AZ Mandible Arduino Firmware",
  "subjects": [
    "AZ Mandible Arduino Firmware",
    "Aziel",
    "mandible",
    "corpus",
    "research",
    "hardware",
    "legal"
  ],
  "keywords": [
    "Aziel",
    "mandible",
    "corpus",
    "AZ Mandible Arduino Firmware",
    "research",
    "hardware",
    "legal"
  ],
  "author": {
    "@type": "Person",
    "@id": "https://www.azieleliab.com/#aziel",
    "name": "Aziel Eliab"
  },
  "content": "/* AZ Mandible – Prototype Firmware v1.0 ------------------------------------- Hardware: - Piezo (27mm) → 1M bias → Op-amp → A0 - Bone conduction transducer (TT25-8) via PAM8403 → D9 (PWM) - Arduino Nano Function: - Detects intentional jaw movement peaks - Simple classification: 1 clear peak → YES 2 quick peaks → NO - Private bone-conduction feedback */ const int PIEZO_PIN = A0; const int FEEDBACK_PIN = 9; // PWM to PAM8403 / transducer // ===== TUNABLE VALUES ===== int threshold = 80; // Start here, adjust with Serial Plotter const int DEBOUNCE_MS = 80; const int WINDOW_MS = 600; // Time window to count peaks const int MIN_PEAK_GAP = 120; // Minimum time between peaks // ===== STATE ===== int peakCount = 0; unsigned long lastPeakTime = 0; unsigned long windowStart = 0; bool inWindow = false; void setup() { Serial.begin(115200); pinMode(FEEDBACK_PIN, OUTPUT); analogWrite(FEEDBACK_PIN, 0); Serial.println(\"AZ Mandible v1.0 ready\"); Serial.println(\"1 peak = YES | 2 peaks = NO\"); Serial.println(\"Open Serial Plotter to tune threshold\"); } void loop() { int value = analogRead(PIEZO_PIN); // Debug output for Serial Plotter Serial.println(value); unsigned long now = millis(); // Peak detection if (value > threshold) { if (now - lastPeakTime > MIN_PEAK_GAP) { // Valid new peak if (!inWindow) { inWindow = true; windowStart = now; peakCount = 1; } else { peakCount++; } lastPeakTime = now; } } // Window timeout → classify if (inWindow && (now - windowStart > WINDOW_MS)) { classify(peakCount); peakCount = 0; inWindow = false; } delay(5); // small loop delay } void classify(int peaks) { if (peaks == 1) { Serial.println(\"→ YES\"); playFeedback(1); // single tone } else if (peaks >= 2) { Serial.println(\"→ NO\"); playFeedback(2); // double tone } } void playFeedback(int type) { if (type == 1) { // YES – single medium beep tone(FEEDBACK_PIN, 600, 120); delay(140); } else if (type == 2) { // NO – two short beeps tone(FEEDBACK_PIN, 400, 80); delay(120); tone(FEEDBACK_PIN, 400, 80); delay(100); } analogWrite(FEEDBACK_PIN, 0); } Aziel Eliab research, hardware, legal AZ Mandible Arduino Firmware Aziel, mandible, corpus",
  "content_sha256": "8fbb40f4475538cbf57b68686667c2fba3e1706480836ba054b30ef9a1c2f20b",
  "content_url": "https://www.azielcorpuslibrary.net/file/AZDOC-130218E1CFFD",
  "full_text_chars": 2131,
  "created_utc": "2026-09-18T01:57:47.484Z",
  "uploaded_at": "2026-09-18T01:57:47.484Z",
  "updated_at": "2026-09-18T01:57:47.484Z",
  "generated_at": "2026-09-18T02:51:31.745Z",
  "url": "https://www.azielcorpuslibrary.net/record/AZDOC-130218E1CFFD",
  "metadata_url": "https://www.azielcorpuslibrary.net/record/AZDOC-130218E1CFFD/metadata.json",
  "file_url": "https://www.azielcorpuslibrary.net/file/AZDOC-130218E1CFFD",
  "sameAs": [
    "https://www.azielcorpuslibrary.net/record/AZDOC-130218E1CFFD.json",
    "https://www.azielcorpuslibrary.net/receipt/JSONAZDOC-130218E1CFFD",
    "https://www.azieleliab.com/#aziel"
  ],
  "isPartOf": {
    "@type": "Collection",
    "name": "Aziel Library",
    "url": "https://www.azielcorpuslibrary.net/aziel-library"
  },
  "encoding": {
    "@type": "MediaObject",
    "contentUrl": "https://www.azielcorpuslibrary.net/file/AZDOC-130218E1CFFD",
    "sha256": "8fbb40f4475538cbf57b68686667c2fba3e1706480836ba054b30ef9a1c2f20b"
  },
  "paper_chain_tip": "1af778ffcabada2d3b8e93e86bfd18d44cb11d2ccb2bd1016f5bd373b77a40ae",
  "paper_chain_sequence": 36,
  "lattice_tip": {
    "schema": "aziel.lattice.anchor.v1",
    "kind": "aziel-corpus.json_discovery",
    "carrier": "AzielTether",
    "author": "Aziel Eliab",
    "record_id": "JSONAZDOC-130218E1CFFD",
    "run_id": null,
    "media_kind": null,
    "vibe_digest": null,
    "library": "aziel",
    "content_sha256": "8fbb40f4475538cbf57b68686667c2fba3e1706480836ba054b30ef9a1c2f20b",
    "structure": {
      "ok": true,
      "file_count": 1
    },
    "spre": {
      "pc": 0.71,
      "band": "strong",
      "limitation": "SPRE scores provenance completeness. It does not assert criminal guilt. Advisory only. Author Aziel Eliab."
    },
    "clce": {
      "triple": 0,
      "pairwise_avg": 0.0118,
      "advisory": true
    },
    "plr": {
      "status": "PASS",
      "lights": {
        "units": "PASS",
        "conservation": "PASS",
        "causal": "PASS",
        "temporal": "PASS",
        "framing": "PASS"
      }
    },
    "triad": {
      "combined": 0.45,
      "display": 45,
      "ready": true,
      "formula": "TRIAD_V1 geometric mean: combined = (spre_pc × clce_consistency × plr_coherence)^(1/3). clce_consistency = CLCE.triple if triple ≥ 0.7 else pairwise_avg. plr_coherence = 0.6×physics_coherence + 0.4×linguistic_neutrality. Equal engine weight. Components stay stored for audit. Bayesian peer score and HEURISTIC possibility are separate unranked fields."
    },
    "bayesian": {
      "posterior": 0.626,
      "unranked": true,
      "note": "Unranked metadata for manual peer-to-peer review. Never used to sort the shelf."
    },
    "possibility": {
      "possibility": null,
      "kind": "HEURISTIC",
      "refuse": "PENDING_ANCHORS",
      "unranked": true,
      "not_truth": true
    },
    "quarantine": null,
    "zsolver": null,
    "ledger_entry_hash": "1283afa63c610fb2305d5431a0245841b52fbba82fb2ff654285686270d894b4",
    "verified_utc": "2026-09-18T02:42:52.204Z",
    "note": "Public HTTPS site is not a mesh. AzielTether carries this tip. Survival interdependence with GodLock and other Aziel software is via downloadable tether + Worker bootstrap APIs.",
    "type": "JSON",
    "receipt_prefix": "JSON",
    "paper_record_id": "AZDOC-130218E1CFFD",
    "paper_chain_tip": "1af778ffcabada2d3b8e93e86bfd18d44cb11d2ccb2bd1016f5bd373b77a40ae",
    "paper_ledger_entry_hash": "1283afa63c610fb2305d5431a0245841b52fbba82fb2ff654285686270d894b4",
    "metadata_sha256": "26c1b7d90f8ac86fc737e3e9b2b02f903c985cedce40fe439dc921d2864c89d9"
  },
  "storage": {
    "package_object_key": "aziel/AZDOC-130218E1CFFD/JSONAZDOC-130218E1CFFD.json",
    "json_tree_object_key": ".Json/JSONAZDOC-130218E1CFFD.json",
    "json_tree_segment": ".Json"
  },
  "filename": "8fbb40f4475538cbf57b68686667c2fba3e1706480836ba054b30ef9a1c2f20b.ino",
  "domain": "research, hardware, legal",
  "library": "aziel",
  "metadata_sha256": "207fe4b9e0800f774a87f3675afc6a19be1cd2957e910ecc28e82cf0c714b491"
}
