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.