Initial commit: Crumbforest Architecture Refinement v1 (Clean)
This commit is contained in:
123
docs/crumbforest/feuerzeug_test.md
Normal file
123
docs/crumbforest/feuerzeug_test.md
Normal file
@@ -0,0 +1,123 @@
|
||||
🦉 perfekt – Feuerzeug-Test = Heatspot sichtbar → **Brandschutz-Baseline steht**.
|
||||
Dann lass uns das direkt als sauberes Handbuch im Crumbforest-Style sichern.
|
||||
|
||||
Hier dein neues `.md` im aktuellen Format:
|
||||
|
||||
````markdown
|
||||
---
|
||||
title: 🔥 OpenMV Thermal & RGB – Handbuch im Crumbforest
|
||||
slug: openmv_handbuch
|
||||
lang: de
|
||||
summary: Erste Schritte mit OpenMV RGB- und Thermal-Kameras im Crumbforest, inkl. Installation, Test und Brandschutz-Einsatz.
|
||||
tags: [Crumbforest, Hardware, OpenMV, Thermal, Brandschutz]
|
||||
---
|
||||
|
||||
# 🔥 OpenMV Thermal & RGB – Handbuch im Crumbforest
|
||||
|
||||
OpenMV-Cams sind kleine, lernbare Augen im Crumbforest.
|
||||
Sie helfen, **Feuer rechtzeitig zu sehen** und **Bilder als Krümelspuren** in den Wald zu schicken.
|
||||
|
||||
---
|
||||
|
||||
## 🖥️ Installation (Debian/Mint)
|
||||
1. Lade die aktuelle OpenMV IDE (`*.run`) herunter.
|
||||
2. Mach sie ausführbar:
|
||||
```bash
|
||||
chmod +x openmv-ide-linux-x86_64-4.7.0.run
|
||||
./openmv-ide-linux-x86_64-4.7.0.run
|
||||
````
|
||||
|
||||
3. Fehlende Pakete nachinstallieren:
|
||||
|
||||
```bash
|
||||
sudo apt install libfuse2 libxcb-icccm4 libxcb-image0 \
|
||||
libxcb-keysyms1 libxcb-render-util0 libxcb-xinerama0 \
|
||||
libxcb-cursor0 libxkbcommon-x11-0 libglu1-mesa
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📷 Erste Verbindung
|
||||
|
||||
* Cam via USB anschließen.
|
||||
* IDE starten: `/opt/openmv-ide/openmvide`.
|
||||
* Rechts unten erscheint der Port (`/dev/ttyACM0`).
|
||||
* Klick auf **Verbinden** → LED blinkt → Cam aktiv.
|
||||
|
||||
---
|
||||
|
||||
## 🌈 RGB-Cam (H7 Standard)
|
||||
|
||||
Testskript:
|
||||
|
||||
```python
|
||||
import sensor, image, time
|
||||
sensor.reset()
|
||||
sensor.set_pixformat(sensor.RGB565)
|
||||
sensor.set_framesize(sensor.QVGA)
|
||||
sensor.skip_frames(time = 2000)
|
||||
|
||||
while(True):
|
||||
img = sensor.snapshot()
|
||||
```
|
||||
|
||||
👉 Livebild erscheint im Framebuffer.
|
||||
|
||||
---
|
||||
|
||||
## 🌡️ Thermal-Cam (H7 + Lepton 3.5)
|
||||
|
||||
Testskript:
|
||||
|
||||
```python
|
||||
import sensor, image, time
|
||||
sensor.reset()
|
||||
sensor.set_pixformat(sensor.GRAYSCALE) # Lepton = IR
|
||||
sensor.set_framesize(sensor.QQVGA) # 80x60
|
||||
sensor.skip_frames(time = 2000)
|
||||
|
||||
while(True):
|
||||
img = sensor.snapshot()
|
||||
img.to_rainbow(copy=False) # Heatmap
|
||||
```
|
||||
|
||||
👉 Feuerzeug-Test: heiße Stelle erscheint rot/weiß.
|
||||
👉 FPS ca. 8–9 – reicht für Brandschutz.
|
||||
|
||||
---
|
||||
|
||||
## 🔎 Tipps & Stolpersteine
|
||||
|
||||
* **Fehler „no module named mlx90640“** → Du hast ein Lepton, kein MLX-Sensor. Nutze oben stehende Skripte.
|
||||
* **`RuntimeError: Failed to detect image sensor`** → tritt auf, wenn man `sensor.reset()` bei Thermal falsch initialisiert → siehe Heatmap-Skript.
|
||||
* **Kein Zugriff auf USB** → User zur `dialout`-Gruppe hinzufügen:
|
||||
|
||||
```bash
|
||||
sudo usermod -aG dialout $USER
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🔥 Brandschutz-Einsatz
|
||||
|
||||
* RGB-Cam → sichtbare Bilder.
|
||||
* Thermal-Cam → Wärmesignaturen.
|
||||
* Kombination → Frühwarnung.
|
||||
* Spider-Client kann die Bilder später automatisch sammeln.
|
||||
|
||||
---
|
||||
|
||||
## 🌲 Fazit
|
||||
|
||||
Zwei Augen, zwei Perspektiven:
|
||||
|
||||
* **Eines sieht Farben.**
|
||||
* **Eines sieht Wärme.**
|
||||
|
||||
Gemeinsam schützen sie den Crumbforest.
|
||||
Jede Flamme wird früh erkannt – **eine kleine Spinne kann einen Wald retten.**
|
||||
|
||||
```
|
||||
|
||||
👉 Soll ich die Datei gleich als `_openmv_handbuch.md` ins Repo pushen, damit du sie morgen früh direkt im Vector wiederfindest?
|
||||
```
|
||||
Reference in New Issue
Block a user