v6.9.5 — LUNA Lab INDI Edition: ADC + INDI Observatory Control
- ダウンロード商品¥ 500

## AiBridgeMCP v6.9.5 — LUNA Lab INDI Edition 🔭🔬 > **AI that talks to the universe — and measures it.** > LUNA now bridges Claude AI directly to professional astronomy software > while gaining full analog sensing capability on ESP32-S3. --- ### 🆕 What's New in v6.9.5 #### `indi` module — Astronomy Device Control Control any INDI-compatible telescope, camera, or focuser directly from Lua scripts. This version includes **13 Lua functions** (connect, get/set properties, wait_state, etc.) and **10 MCP tools** that allow Claude to operate your observatory via natural language. #### `adc` module — Analog Input (ESP32-S3 ADC1) Read real-world analog voltages directly from Lua scripts on the ESP32-S3. | Function | Description | |----------|-------------| | `adc.atten(pin, db)` | Set measurement range: `0`=0–950mV / `1`=0–1250mV / `2`=0–1750mV / `3`=0–3100mV | | `adc.read(pin)` | Raw 12-bit value (0–4095) | | `adc.read_mv(pin)` | Calibrated millivolts (eFuse correction applied) | | `adc.read_avg(pin, n)` | Average of n readings in mV — reduces noise (recommended n ≥ 16) | **Supported pins:** GPIO1–10 (ESP32-S3 ADC1 only). **⚠ ADC2 pins conflict with WiFi — use ADC1 only.** --- #### `dac` module — Stub (ESP32-S3 Hardware Note) The ESP32-S3 does not have a hardware DAC. `dac.write()` and `dac.stop()` return a clear error message. **Alternative:** Use `gpio.pwm()` with an external RC filter (10kΩ / 10μF) as a pseudo-DAC output. --- ### 💡 Verified on Hardware All functions confirmed on **ESP32-S3**: - `indi.*` — all 9 functions confirmed callable ✅ - `adc.read_mv(4)` — live voltage measurement stable ✅ - `gpio.pwm(38, 1000, 128)` — pseudo-DAC output confirmed ✅ - `json.encode / parse` — complex telescope coordinate handling verified ✅ --- ### 🌉 From AI Bridge to AI Bridge & Platform LUNA began as a bridge — connecting Claude AI to serial instruments via a simple MCP server. With v6.9.5, that vision expands further. By combining the **INDI protocol** (the open standard for astronomy) with **Lua scripting** and **analog sensing**, LUNA is evolving into an **AI-native physical computing platform**. Claude can now not only communicate with devices but **sense, measure, and autonomously control** an entire observatory through natural conversation. > **Serial bridge → WiFi control → Sensor fusion → AI-driven observatory.** > One device. One platform. Driven by AI. --- ### 📦 How to Use 1. Flash `AiBridgeMCP_v6_9_5.ino` via Arduino IDE (Board: **ESP32-S3**, Partition: **Huge APP 3MB**) 2. Connect to WiFi via the setup page 3. Add to Claude Desktop `claude_desktop_config.json` 4. Ask Claude to `get_lua_guide` — then start experimenting with INDI and ADC! --- ### ❤️ Support the Project on BOOTH This firmware is **free and open** — always will be. If LUNA has been useful to you, the same firmware (pre-compiled binary, ready to flash — no Arduino IDE needed) is available on BOOTH as a **pay-what-you-feel download**: 👉 **https://onstepninja.booth.pm/** Your support — however small — directly funds continued development. New modules, new editions, new ideas. Every download is a vote for the next version. Thank you. 🙏 --- *LUNA — AI Bridge & Platform for the Physical World.* *Solo indie project by Nishioka*
