# anannyamoon28/smart-blind-stick architecture

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

- Interactive diagram: https://gitdiagram.com/anannyamoon28/smart-blind-stick
- Repository: https://github.com/anannyamoon28/smart-blind-stick

## Overview

This is an Arduino smart blind stick intended to detect obstacles and, when the user faces danger, send family an alert containing the user’s current location as a Google Maps link. The README documents these capabilities but provides no source excerpts, so the relationships below reflect the documented product workflow; the filenames suggest which sketch files implement the sensing and alert functions, but their internals and coordination could not be verified.

Main entry points: [`GPS_alert_system_code.ino`](https://github.com/anannyamoon28/smart-blind-stick/blob/main/GPS_alert_system_code.ino) (Location alerts), [`Smart_Blind_Stick_Sonar Code.txt`](https://github.com/anannyamoon28/smart-blind-stick/blob/main/Smart_Blind_Stick_Sonar%20Code.txt) (Obstacle sensing), [`Code merged.ino`](https://github.com/anannyamoon28/smart-blind-stick/blob/main/Code%20merged.ino) (Stick firmware)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_stick["Blind stick"]
  node_stick_code["Stick firmware<br/>[Code merged.ino]"]
  node_sonar["Obstacle sensing"]
  node_gps_alert["Location alerts"]
end

node_user(("Stick user"))
node_obstacles["Walls / obstacles"]
node_family(("Family members"))
node_maps["Google Maps link"]

node_stick_code -->|"detects obstacles"| node_sonar
node_sonar -->|"senses nearby"| node_obstacles
node_user -->|"faces danger"| node_gps_alert
node_gps_alert -->|"sends alert"| node_family
node_gps_alert -->|"includes location link"| node_maps

click node_stick_code "https://github.com/anannyamoon28/smart-blind-stick/blob/main/Code%20merged.ino"
click node_sonar "https://github.com/anannyamoon28/smart-blind-stick/blob/main/Smart_Blind_Stick_Sonar%20Code.txt"
click node_gps_alert "https://github.com/anannyamoon28/smart-blind-stick/blob/main/GPS_alert_system_code.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_stick_code,node_sonar,node_gps_alert,node_user toneBlue
class node_obstacles,node_family,node_maps toneIndigo
```

## Components

### Blind stick

- [Stick firmware](https://github.com/anannyamoon28/smart-blind-stick/blob/main/Code%20merged.ino): `Code merged.ino`
- [Obstacle sensing](https://github.com/anannyamoon28/smart-blind-stick/blob/main/Smart_Blind_Stick_Sonar%20Code.txt): `Smart_Blind_Stick_Sonar Code.txt`
- [Location alerts](https://github.com/anannyamoon28/smart-blind-stick/blob/main/GPS_alert_system_code.ino): `GPS_alert_system_code.ino`

### Other components

- **Stick user**
- **Walls / obstacles**
- **Family members**
- **Google Maps link**

## Connections

- Stick firmware → Obstacle sensing: detects obstacles (evidence: `README.md`)
- Obstacle sensing → Walls / obstacles: senses nearby (evidence: `README.md`)
- Stick user → Location alerts: faces danger (evidence: `README.md`)
- Location alerts → Family members: sends alert (evidence: `README.md`)
- Location alerts → Google Maps link: includes location link (evidence: `README.md`)
