# acid-rebel/smart-lock architecture

> Architecture diagram of the GitHub repository acid-rebel/smart-lock, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-20). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/acid-rebel/smart-lock
- Repository: https://github.com/acid-rebel/smart-lock

## Overview

This is a minimal Smart-Lock repository, but the available evidence only identifies a self-contained SH1106 OLED driver. The README provides no product capabilities or workflow details, and Smart-Lock.ino is unsampled, so the lock behavior and any relationship to the display cannot be established. The graph therefore describes only the evidenced display-driver runtime.

Main entry points: [`CustomI2CDisplay.h`](https://github.com/acid-rebel/smart-lock/blob/main/CustomI2CDisplay.h) (SH1106 Driver)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_display["OLED Display"]
  node_driver["SH1106 Driver<br/>[CustomI2CDisplay.h]"]
end

node_firmware["Smart-Lock Firmware<br/>[Smart-Lock.ino]"]
node_oled["OLED Display"]

node_driver -->|"drives via I2C"| node_oled

click node_firmware "https://github.com/acid-rebel/smart-lock/blob/main/Smart-Lock.ino"
click node_driver "https://github.com/acid-rebel/smart-lock/blob/main/CustomI2CDisplay.h"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_driver toneBlue
class node_firmware toneTeal
class node_oled toneIndigo
```

## Components

### OLED Display

- [SH1106 Driver](https://github.com/acid-rebel/smart-lock/blob/main/CustomI2CDisplay.h): `CustomI2CDisplay.h`

### Other components

- [Smart-Lock Firmware](https://github.com/acid-rebel/smart-lock/blob/main/Smart-Lock.ino): `Smart-Lock.ino`
- **OLED Display**

## Connections

- SH1106 Driver → OLED Display: drives via I2C (evidence: `CustomI2CDisplay.h`)
