# anirudhh1738/17-servo-humanoid-robot architecture

> Architecture diagram of the GitHub repository anirudhh1738/17-servo-humanoid-robot, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-22). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/anirudhh1738/17-servo-humanoid-robot
- Repository: https://github.com/anirudhh1738/17-servo-humanoid-robot

## Overview

This repository documents a two-part humanoid robot control system: a flex-sensor hand controller sends wireless commands to an ESP32 receiver, which controls the robot’s servo system. The README also describes display, audio, and power hardware, but no source excerpts were provided, so firmware-internal processing and those peripherals’ software interactions cannot be verified. Edges below reflect only relationships stated in the README.

Main entry points: [`17-Servo-Humanoid-Robot/ESP32_Humanoid_Robot_RECEIVER/2ESP32_Humanoid_Robot_RECEIVER/2ESP32_Humanoid_Robot_RECEIVER.ino`](https://github.com/anirudhh1738/17-servo-humanoid-robot/blob/main/17-Servo-Humanoid-Robot/ESP32_Humanoid_Robot_RECEIVER/2ESP32_Humanoid_Robot_RECEIVER/2ESP32_Humanoid_Robot_RECEIVER.ino) (ESP32 receiver), [`17-Servo-Humanoid-Robot/ESP8266_Hand_Controller_TRANSMITTER_Y4_BUTTON/ESP8266_Hand_Controller_TRANSMITTER_Y4_BUTTON/ESP8266_Hand_Controller_TRANSMITTER_Y4_BUTTON.ino`](https://github.com/anirudhh1738/17-servo-humanoid-robot/blob/main/17-Servo-Humanoid-Robot/ESP8266_Hand_Controller_TRANSMITTER_Y4_BUTTON/ESP8266_Hand_Controller_TRANSMITTER_Y4_BUTTON/ESP8266_Hand_Controller_TRANSMITTER_Y4_BUTTON.ino) (ESP8266 transmitter)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_controller["Hand controller"]
  node_flex["Flex sensor"]
  node_transmitter["ESP8266 transmitter"]
end

subgraph group_robot["Robot control"]
  node_receiver["ESP32 receiver"]
end

subgraph group_hardware["Robot hardware"]
  node_pca["PCA9685 driver"]
  node_servos["17 servo motors"]
  node_oled["OLED display"]
  node_audio["Amplifier and speaker"]
  node_power["Servo power supply"]
end

node_operator(("Hand movement"))

node_operator -->|"bends"| node_flex
node_flex -->|"provides input"| node_transmitter
node_transmitter -->|"sends commands wirelessly"| node_receiver
node_receiver -->|"controls"| node_pca
node_pca -->|"controls"| node_servos
node_receiver -->|"connects to"| node_oled
node_receiver -->|"connects to"| node_audio
node_power -->|"supplies power"| node_servos

click node_transmitter "https://github.com/anirudhh1738/17-servo-humanoid-robot/blob/main/17-Servo-Humanoid-Robot/ESP8266_Hand_Controller_TRANSMITTER_Y4_BUTTON/ESP8266_Hand_Controller_TRANSMITTER_Y4_BUTTON/ESP8266_Hand_Controller_TRANSMITTER_Y4_BUTTON.ino"
click node_receiver "https://github.com/anirudhh1738/17-servo-humanoid-robot/blob/main/17-Servo-Humanoid-Robot/ESP32_Humanoid_Robot_RECEIVER/2ESP32_Humanoid_Robot_RECEIVER/2ESP32_Humanoid_Robot_RECEIVER.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_flex,node_transmitter toneBlue
class node_receiver toneAmber
class node_pca,node_servos,node_oled,node_audio,node_power toneMint
class node_operator toneIndigo
```

## Components

### Hand controller

- **Flex sensor**
- [ESP8266 transmitter](https://github.com/anirudhh1738/17-servo-humanoid-robot/blob/main/17-Servo-Humanoid-Robot/ESP8266_Hand_Controller_TRANSMITTER_Y4_BUTTON/ESP8266_Hand_Controller_TRANSMITTER_Y4_BUTTON/ESP8266_Hand_Controller_TRANSMITTER_Y4_BUTTON.ino): `17-Servo-Humanoid-Robot/ESP8266_Hand_Controller_TRANSMITTER_Y4_BUTTON/ESP8266_Hand_Controller_TRANSMITTER_Y4_BUTTON/ESP8266_Hand_Controller_TRANSMITTER_Y4_BUTTON.ino`

### Robot control

- [ESP32 receiver](https://github.com/anirudhh1738/17-servo-humanoid-robot/blob/main/17-Servo-Humanoid-Robot/ESP32_Humanoid_Robot_RECEIVER/2ESP32_Humanoid_Robot_RECEIVER/2ESP32_Humanoid_Robot_RECEIVER.ino): `17-Servo-Humanoid-Robot/ESP32_Humanoid_Robot_RECEIVER/2ESP32_Humanoid_Robot_RECEIVER/2ESP32_Humanoid_Robot_RECEIVER.ino`

### Robot hardware

- **PCA9685 driver**
- **17 servo motors**
- **OLED display**
- **Amplifier and speaker**
- **Servo power supply**

### Other components

- **Hand movement**

## Connections

- Hand movement → Flex sensor: bends (evidence: `README.md`)
- Flex sensor → ESP8266 transmitter: provides input (evidence: `README.md`)
- ESP8266 transmitter → ESP32 receiver: sends commands wirelessly (evidence: `README.md`)
- ESP32 receiver → PCA9685 driver: controls (evidence: `README.md`)
- PCA9685 driver → 17 servo motors: controls (evidence: `README.md`)
- ESP32 receiver → OLED display: connects to (evidence: `README.md`)
- ESP32 receiver → Amplifier and speaker: connects to (evidence: `README.md`)
- Servo power supply → 17 servo motors: supplies power (evidence: `README.md`)
