index.html▼
Frontmatter
{
"title": "TinyDuino LightMeter Portal",
"created": "2026-11-03T11:50:00Z",
"updated": "2026-11-03T15:45:00Z",
"slug": "index"
}TinyDuino LightMeter
Hardware light meter workbench, Web Bluetooth GATT telemetry engine, declarative WebMCP sensory tools, and autonomous agent skills for TinyDuino (ASM2001) + Bluegiga BLE112 (ASD2112) + KY-018 Photoresistor.
🔬 01. Hardware Architecture
Modular 4-layer stack breakdown: ATmega328P processor, Bluegiga BLE112 shield, Proto board, and KY-018 photoresistor.
⚡ 02. Wiring & Schematics
KY-018 3-pin routing, 10k pull-down divider circuit, and 3.3V logic rail safety analysis.
📡 03. BLE112 BGAPI Protocol
Web Bluetooth GATT Handle 17 writes, Handle 20 notifications, and BlueZ 300ms CCCD settling delay.
📐 04. Calibration & Physics
CdS photoconductivity power-law curve, dynamic range calibration, and ADC-to-lux conversion formulas.
🔍 05. Field Diagnostics & Audit
Hardware bring-up field log, boot packet decoding, and Web Serial break signal resilience.
📊 06. Divider Math & Proof
Formal electrical proof and native MathML derivation demonstrating High A0 = Bright across the pull-down divider.
🧪 07. Wokwi Simulation
Complete in-browser simulation with diagram.json, wokwi.toml, and custom C-chip BLE112 emulation.
💾 08. Firmware Guide
4x-oversampled ADC acquisition, non-blocking telemetry stream rate control, and upload script pipeline.
🤖 09. WebMCP Sensory Tools
13 declarative WebMCP tools enabling AI agents to read illuminance, control LEDs, and stream telemetry.
🧠 10. Autonomous Agent Skills
Autonomous agent skills conforming to the Agent Skills open standard: /lightmeter, /nightlight, /tinyduino-doctor, /daylight-harvest.
🖥️ 11. Interactive Workbench UI
Custom element architecture, real-time SVG gauge dials, scrolling waveform timeline, and WebMCP bridge.
🛡️ 12. Namespace Isolation
Strict namespace isolation contract guaranteeing zero naming collisions across tools, elements, and channels.
🔧 13. Troubleshooting Guide
Diagnosing BlueZ GATT error 133, Web Bluetooth experimental flags, and CCCD timing resolution.
📦 14. Download Center
Direct access to raw sketch files (shadow-claw-light-meter.ino), BGLib submodule, Wokwi models, and JavaScript tools.