Core Capabilities
When the user wants to find anexperimental solutionorcreative project, automatically complete:
- Web-wide search — search academic papers, Arduino/ESP communities, maker projects, award-winning competition solutions
- Feasibility assessment — assess material acquisition difficulty, build complexity, budget, precision
- Complete implementation — generate firmware code, circuit diagrams, BOM, assembly guide, dashboard
- Delivery documentation — lesson plans, worksheets, debugging manual, PPT, packaging
Workflow
Phase 1: Requirement clarification
When the user says "find an XX experimental solution", first ask clearly:
- 实验目的:教学演示 / 竞赛 / 个人研究 / 课程设计?
- 预算范围:低(<50元)/ 中(50-200)/ 高(200+)?
- 受众:中学生 / 大学生 / 爱好者 / 专业?
- 硬件偏好:Arduino / ESP32 / ESP8266 / 树莓派 / 纯软件?
- 时间线:多久需要完成?
If the user is already very clear (for example, "I want to make an XXX experiment for middle school students"), skip the follow-up questions and get started directly.
Phase 2: Web-wide search
Search the following channels in parallel:
| Channel | Priority | Search method |
|---|---|---|
| Google Scholar / CNKI | High | web_search "experiment name+paper+solution" |
| GitHub | High | web_search "experiment name+Arduino/ESP32" |
| Instructables / Hackaday | Medium | web_search "experiment name+tutorial" |
| Zhihu / Bilibili | Medium | web_search "experiment name+DIY/self-made" |
| Taobao / JLC | Low | web_search "sensor name+module" to check material prices |
Search at least 3 queries in different directions, covering the three perspectives of academia, makers, and teaching.
Phase 3: Solution evaluation and selection
Compare 3-5 searched solutions and evaluate them from the following dimensions:
| Dimension | Scoring factors |
|---|---|
| Feasibility | Are the materials easy to buy? Are there common pitfalls? |
| Precision | Is there quantitative error analysis? Compared with theoretical values |
| Cost | What is the total BOM price? Are there expensive or hard-to-buy parts? |
| Complexity | Does it require soldering? Does it require 3D printing? Are there many debugging steps? |
| Teachability | What grade level is it suitable for? Is the principle clear? |
| Scalability | Can a dashboard/mobile app/data logging be added? |
Output: Recommended solution + why choose it ("Solution A has high precision but requires a 3D printer; Solution B is recommended, using an iron stand instead")
Phase 4: Complete implementation
Generate a complete buildable solution package:
<实验名>/
├── 01_硬件方案.md # 原理、BOM、电路图
├── 02_固件代码.md # 完整代码 + 烧录指南
├── 03_打印件设计.md # 3D文件描述(可选)
├── 04_教学教案.md # 教案(2课时)
├── 05_数据可视化.md # 数据分析脚本
├── README.md
├── pendulum_monitor.py # 监控台(如果有串口)
├── firmware/
│ └── main.ino # 完整固件
└── docs/
├── 调试手册.md # 故障排查
├── 学生工作单.md # 可打印
├── 误差预算表.md # 误差分析
├── BOM采购清单.md # 采购清单
├── 装配工艺指南.md # 装配步骤
└── 测试报告模板.md # 测试报告
Phase 5: Delivery
- Teaching documentation → HTML or Word
- Overall packaging → tar.gz
- Web dashboard → preview and publish (
publish_preview) - Needs review/judges → Word (.docx) + PPT
Common experiment categories
Physics
| Experiment | Sensor | Microcontroller | Features |
|---|---|---|---|
| Simple pendulum g measurement | Reed/Hall | ESP32/8266 | Automatic timing ±0.001s |
| Speed of sound measurement | Ultrasonic module | Arduino | Phase difference method |
| Photoelectric effect | Photoresistor + LED | Arduino | Volt-ampere characteristics |
| Hooke's law | Force sensor | ESP32 | Real-time force-displacement curve |
| Resonance experiment | MPU6050 | ESP32 | Spectrum analysis |
Chemistry/Biology
| Experiment | Sensor | Microcontroller |
|---|---|---|
| Solution pH monitoring | pH sensor | ESP32 |
| Photosynthesis | Light + CO2 | Arduino |
| Temperature change curve | DS18B20 | ESP8266 |
| Conductivity measurement | Conductivity module | Arduino |
Engineering/Maker
| Project | Main components | Difficulty |
|---|---|---|
| Ultrasonic rangefinder | HC-SR04 + OLED | ⭐ |
| Mini oscilloscope | ESP32 + OLED | ⭐⭐ |
| Weather station | BME280 + WiFi | ⭐⭐ |
| Bluetooth remote control car | L298N + HC-05 | ⭐⭐ |
| WiFi camera | ESP32-CAM | ⭐⭐⭐ |
Knowledge base
Common sensor selection
| Measurement quantity | Recommended sensor | Interface | Accuracy | Price |
|---|---|---|---|---|
| Magnetic field | Reed switch | GPIO | On/Off | 0.5 |
| Magnetic field | A3144E Hall | GPIO | On/Off | 1.5 |
| Acceleration | MPU6050 | I²C | 16-bit | 8 |
| Temperature | DS18B20 | OneWire | ±0.5°C | 3 |
| Humidity | DHT22 | GPIO | ±2% | 8 |
| Air pressure | BME280 | I²C | ±1hPa | 12 |
| Distance | HC-SR04 | GPIO | ±3mm | 3 |
| Light intensity | BH1750 | I²C | ±1lx | 5 |
| pH value | PH-4502C | Analog | ±0.1 | 15 |
Microcontroller selection decision
需要什么单片机?
├── 只需要简单GPIO+串口 → Arduino Nano/Uno (~15元)
├── 需要 WiFi 上传数据
│ ├── 只需要 WiFi+少量IO → ESP8266 Wemos D1 Mini (~12元) ⭐推荐
│ └── 需要 WiFi+大量IO+蓝牙 → ESP32 (~15元) ⭐推荐
├── 需要摄像头 → ESP32-CAM (~25元)
├── 需要树莓派级算力 → Raspberry Pi Zero 2W (~50元)
└── 需要本地AI推理 → ESP32-S3 (~25元)
Delivery format strategy
| Purpose | Format | Tool |
|---|---|---|
| Teacher lesson plan | HTML/Word | python-docx |
| Judges/Competition | Word (.docx) | python-docx |
| Student worksheet | Word printable | python-docx |
| Speech/PPT | PPTX | python-pptx |
| Web page | Preview and publish | publish_preview |
| Package as a whole | tar.gz | tar command |