# meltzzuko/arduinoprojects architecture

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

- Interactive diagram: https://gitdiagram.com/meltzzuko/arduinoprojects
- Repository: https://github.com/meltzzuko/arduinoprojects

## Overview

This repository contains several small Arduino/IoT projects rather than one integrated application. The only inspected runtime shows an Odroid reading PM2.5 values over serial, then posting them to ThingSpeak and LINE Notify. The other projects are represented by their filenames only; with no README or source excerpts for them, their behavior and connections are left unspecified.

Main entry points: [`ProjectsArduino/Odroid_Project/odroidToThingSpeakAndLine.py`](https://github.com/meltzzuko/arduinoprojects/blob/main/ProjectsArduino/Odroid_Project/odroidToThingSpeakAndLine.py) (Serial polling loop)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_odroid["Odroid PM2.5 relay"]
  node_odroid_main["Serial polling loop"]
  node_thingspeak_sender["ThingSpeak sender"]
  node_line_sender["LINE notifier"]
end

subgraph group_nodemcu["NodeMCU project"]
  node_nodemcu_project["Blynk and mobile"]
end

subgraph group_uno["UNO projects"]
  node_uno_data_project["Arduino data sharing"]
  node_uno_piggybank["Piggy bank<br/>[piggyBank.ino]"]
end

node_serial_input(("Serial input"))
node_thingspeak["ThingSpeak"]
node_line_notify["LINE Notify"]

node_serial_input -->|"provides serial data"| node_odroid_main
node_odroid_main -->|"calls sender"| node_thingspeak_sender
node_odroid_main -->|"calls notifier"| node_line_sender
node_thingspeak_sender -->|"posts PM2.5"| node_thingspeak
node_line_sender -->|"posts alert"| node_line_notify

click node_odroid_main "https://github.com/meltzzuko/arduinoprojects/blob/main/ProjectsArduino/Odroid_Project/odroidToThingSpeakAndLine.py"
click node_thingspeak_sender "https://github.com/meltzzuko/arduinoprojects/blob/main/ProjectsArduino/Odroid_Project/odroidToThingSpeakAndLine.py"
click node_line_sender "https://github.com/meltzzuko/arduinoprojects/blob/main/ProjectsArduino/Odroid_Project/odroidToThingSpeakAndLine.py"
click node_nodemcu_project "https://github.com/meltzzuko/arduinoprojects/blob/main/ProjectsArduino/NodeMCU_Project/nodemcuToBlynkAndMobile.ino"
click node_uno_data_project "https://github.com/meltzzuko/arduinoprojects/blob/main/ProjectsArduino/UNO_Project1/dataFromArduinoToOthers.ino"
click node_uno_piggybank "https://github.com/meltzzuko/arduinoprojects/blob/main/ProjectsArduino/UNO_Project2/piggyBank.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_odroid_main,node_thingspeak_sender,node_line_sender toneBlue
class node_nodemcu_project toneAmber
class node_uno_data_project,node_uno_piggybank toneMint
class node_serial_input,node_thingspeak,node_line_notify toneIndigo
```

## Components

### Odroid PM2.5 relay

- [Serial polling loop](https://github.com/meltzzuko/arduinoprojects/blob/main/ProjectsArduino/Odroid_Project/odroidToThingSpeakAndLine.py): `ProjectsArduino/Odroid_Project/odroidToThingSpeakAndLine.py`
- [ThingSpeak sender](https://github.com/meltzzuko/arduinoprojects/blob/main/ProjectsArduino/Odroid_Project/odroidToThingSpeakAndLine.py): `ProjectsArduino/Odroid_Project/odroidToThingSpeakAndLine.py`
- [LINE notifier](https://github.com/meltzzuko/arduinoprojects/blob/main/ProjectsArduino/Odroid_Project/odroidToThingSpeakAndLine.py): `ProjectsArduino/Odroid_Project/odroidToThingSpeakAndLine.py`

### NodeMCU project

- [Blynk and mobile](https://github.com/meltzzuko/arduinoprojects/blob/main/ProjectsArduino/NodeMCU_Project/nodemcuToBlynkAndMobile.ino): `ProjectsArduino/NodeMCU_Project/nodemcuToBlynkAndMobile.ino`

### UNO projects

- [Arduino data sharing](https://github.com/meltzzuko/arduinoprojects/blob/main/ProjectsArduino/UNO_Project1/dataFromArduinoToOthers.ino): `ProjectsArduino/UNO_Project1/dataFromArduinoToOthers.ino`
- [Piggy bank](https://github.com/meltzzuko/arduinoprojects/blob/main/ProjectsArduino/UNO_Project2/piggyBank.ino): `ProjectsArduino/UNO_Project2/piggyBank.ino`

### Other components

- **Serial input**
- **ThingSpeak**
- **LINE Notify**

## Connections

- Serial input → Serial polling loop: provides serial data (evidence: `ProjectsArduino/Odroid_Project/odroidToThingSpeakAndLine.py`)
- Serial polling loop → ThingSpeak sender: calls sender (evidence: `ProjectsArduino/Odroid_Project/odroidToThingSpeakAndLine.py`)
- Serial polling loop → LINE notifier: calls notifier (evidence: `ProjectsArduino/Odroid_Project/odroidToThingSpeakAndLine.py`)
- ThingSpeak sender → ThingSpeak: posts PM2.5 (evidence: `ProjectsArduino/Odroid_Project/odroidToThingSpeakAndLine.py`)
- LINE notifier → LINE Notify: posts alert (evidence: `ProjectsArduino/Odroid_Project/odroidToThingSpeakAndLine.py`)
