# tanishanjum/bidirectional-sign-speech-project architecture

> Architecture diagram of the GitHub repository tanishanjum/bidirectional-sign-speech-project, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/tanishanjum/bidirectional-sign-speech-project
- Repository: https://github.com/tanishanjum/bidirectional-sign-speech-project

## Overview

This is an ESP32-based bidirectional sign/speech converter. In sign-to-speech mode, glove sensors feed gesture recognition, which produces displayed text and spoken output. In speech-to-sign mode, a mobile app converts speech to text and sends it over Bluetooth; the ESP32 displays the received text and sign representation. The README documents these relationships, but no source excerpts were available to verify implementation details.

Main entry points: [`2WAYS.ino`](https://github.com/tanishanjum/bidirectional-sign-speech-project/blob/main/2WAYS.ino) (Gesture Recognition)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_sign_input["Sign Input"]
  node_glove_sensors["Glove Sensors<br/>[2WAYS.ino]"]
end

subgraph group_esp32["ESP32 Processing"]
  node_gesture_recognition["Gesture Recognition<br/>[2WAYS.ino]"]
  node_bluetooth["Bluetooth Link<br/>[2WAYS.ino]"]
  node_esp32_receive["Text Reception<br/>[2WAYS.ino]"]
end

subgraph group_speech_output["Speech Output"]
  node_lcd_text["LCD Text Output<br/>[2WAYS.ino]"]
  node_speaker["Speaker Output<br/>[2WAYS.ino]"]
  node_oled_sign["OLED Sign Output<br/>[2WAYS.ino]"]
end

node_signer(("Glove User"))
node_normal_user(("Speaking User"))
node_mobile_app["Mobile Speech App"]

node_signer -->|"performs gestures"| node_glove_sensors
node_glove_sensors -->|"sends sensor data"| node_gesture_recognition
node_gesture_recognition -->|"displays text"| node_lcd_text
node_gesture_recognition -->|"produces speech"| node_speaker
node_normal_user -->|"speaks to"| node_mobile_app
node_mobile_app -->|"transmits text"| node_bluetooth
node_bluetooth -->|"delivers text"| node_esp32_receive
node_esp32_receive -->|"displays text and sign"| node_oled_sign

click node_glove_sensors "https://github.com/tanishanjum/bidirectional-sign-speech-project/blob/main/2WAYS.ino"
click node_gesture_recognition "https://github.com/tanishanjum/bidirectional-sign-speech-project/blob/main/2WAYS.ino"
click node_lcd_text "https://github.com/tanishanjum/bidirectional-sign-speech-project/blob/main/2WAYS.ino"
click node_speaker "https://github.com/tanishanjum/bidirectional-sign-speech-project/blob/main/2WAYS.ino"
click node_bluetooth "https://github.com/tanishanjum/bidirectional-sign-speech-project/blob/main/2WAYS.ino"
click node_esp32_receive "https://github.com/tanishanjum/bidirectional-sign-speech-project/blob/main/2WAYS.ino"
click node_oled_sign "https://github.com/tanishanjum/bidirectional-sign-speech-project/blob/main/2WAYS.ino"

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_glove_sensors,node_signer,node_normal_user toneBlue
class node_gesture_recognition,node_bluetooth,node_esp32_receive toneAmber
class node_lcd_text,node_speaker,node_oled_sign toneMint
class node_mobile_app toneIndigo
```

## Components

### Sign Input

- [Glove Sensors](https://github.com/tanishanjum/bidirectional-sign-speech-project/blob/main/2WAYS.ino): `2WAYS.ino`

### ESP32 Processing

- [Gesture Recognition](https://github.com/tanishanjum/bidirectional-sign-speech-project/blob/main/2WAYS.ino): `2WAYS.ino`
- [Bluetooth Link](https://github.com/tanishanjum/bidirectional-sign-speech-project/blob/main/2WAYS.ino): `2WAYS.ino`
- [Text Reception](https://github.com/tanishanjum/bidirectional-sign-speech-project/blob/main/2WAYS.ino): `2WAYS.ino`

### Speech Output

- [LCD Text Output](https://github.com/tanishanjum/bidirectional-sign-speech-project/blob/main/2WAYS.ino): `2WAYS.ino`
- [Speaker Output](https://github.com/tanishanjum/bidirectional-sign-speech-project/blob/main/2WAYS.ino): `2WAYS.ino`
- [OLED Sign Output](https://github.com/tanishanjum/bidirectional-sign-speech-project/blob/main/2WAYS.ino): `2WAYS.ino`

### Other components

- **Glove User**
- **Speaking User**
- **Mobile Speech App**

## Connections

- Glove User → Glove Sensors: performs gestures (evidence: `README.md`)
- Glove Sensors → Gesture Recognition: sends sensor data (evidence: `README.md`)
- Gesture Recognition → LCD Text Output: displays text (evidence: `README.md`)
- Gesture Recognition → Speaker Output: produces speech (evidence: `README.md`)
- Speaking User → Mobile Speech App: speaks to (evidence: `README.md`)
- Mobile Speech App → Bluetooth Link: transmits text (evidence: `README.md`)
- Bluetooth Link → Text Reception: delivers text (evidence: `README.md`)
- Text Reception → OLED Sign Output: displays text and sign (evidence: `README.md`)
