# heleenarobert/arduino-soccer-bot architecture

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

- Interactive diagram: https://gitdiagram.com/heleenarobert/arduino-soccer-bot
- Repository: https://github.com/heleenarobert/arduino-soccer-bot

## Overview

Arduino Soccer Bot is a Bluetooth-controlled robot with separate basic-movement and advanced-kicker firmware versions. A user sends movement commands from a phone or PC through the HC-05; the selected sketch controls the L293D motor shield and motors. The advanced sketch also supports an optional kicker. The README documents these capabilities and hardware relationships, but the sketches were not included in the sampled source, so internal command handling and wiring details are not shown.

Main entry points: [`advanced_version/soccer_bot_advanced/soccer_bot_advanced.ino`](https://github.com/heleenarobert/arduino-soccer-bot/blob/main/advanced_version/soccer_bot_advanced/soccer_bot_advanced.ino) (Advanced sketch), [`simple_version/soccer_bot_basic/soccer_bot_basic.ino`](https://github.com/heleenarobert/arduino-soccer-bot/blob/main/simple_version/soccer_bot_basic/soccer_bot_basic.ino) (Basic movement sketch)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_firmware["Robot firmware"]
  node_basic["Basic movement sketch"]
  node_advanced["Advanced sketch"]
end

subgraph group_hardware["Robot hardware"]
  node_bluetooth["HC-05 module"]
  node_shield["L293D motor shield"]
  node_motors["DC motors"]
  node_kicker["Optional kicker"]
end

node_operator(("Phone or PC"))

node_operator -->|"sends commands"| node_bluetooth
node_bluetooth -->|"controls by Bluetooth"| node_basic
node_bluetooth -->|"controls by Bluetooth"| node_advanced
node_basic -->|"drives movement"| node_shield
node_advanced -->|"drives movement"| node_shield
node_shield -->|"drives"| node_motors
node_advanced -->|"triggers optional kick"| node_kicker

click node_basic "https://github.com/heleenarobert/arduino-soccer-bot/blob/main/simple_version/soccer_bot_basic/soccer_bot_basic.ino"
click node_advanced "https://github.com/heleenarobert/arduino-soccer-bot/blob/main/advanced_version/soccer_bot_advanced/soccer_bot_advanced.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_basic,node_advanced toneBlue
class node_bluetooth,node_shield,node_motors,node_kicker toneAmber
class node_operator toneIndigo
```

## Components

### Robot firmware

- [Basic movement sketch](https://github.com/heleenarobert/arduino-soccer-bot/blob/main/simple_version/soccer_bot_basic/soccer_bot_basic.ino): `simple_version/soccer_bot_basic/soccer_bot_basic.ino`
- [Advanced sketch](https://github.com/heleenarobert/arduino-soccer-bot/blob/main/advanced_version/soccer_bot_advanced/soccer_bot_advanced.ino): `advanced_version/soccer_bot_advanced/soccer_bot_advanced.ino`

### Robot hardware

- **HC-05 module**
- **L293D motor shield**
- **DC motors**
- **Optional kicker**

### Other components

- **Phone or PC**

## Connections

- Phone or PC → HC-05 module: sends commands (evidence: `README.md`)
- HC-05 module → Basic movement sketch: controls by Bluetooth (evidence: `README.md`)
- HC-05 module → Advanced sketch: controls by Bluetooth (evidence: `README.md`)
- Basic movement sketch → L293D motor shield: drives movement (evidence: `README.md`)
- Advanced sketch → L293D motor shield: drives movement (evidence: `README.md`)
- L293D motor shield → DC motors: drives (evidence: `README.md`)
- Advanced sketch → Optional kicker: triggers optional kick (evidence: `README.md`)
