Elderly Care Design #1010: ESP32-C3, SuperMini, Wi-Fi — BOM, Wiring Diagram & Firmware | Zhiyun Zhizao
Elderly Care prototype #1010 built on ESP32 with ESP32-C3, SuperMini, Wi-Fi. Complete BOM (8 components, approx ¥60), pin-level wiring, 3D assembly, step tutorial and compilable firmware. Free to view — contact us for a custom variant.
Open in Studio → Contact us for details
Bill of Materials (BOM)
| Component group | Model / Spec | Qty | Unit | Subtotal |
|---|---|---|---|---|
| MCU board | ESP32-C3 SuperMini Wi-Fi + BLE | ×1 | ¥13 | ¥13.0 |
| Sensor | TTP223 | ×1 | ¥2 | ¥2.0 |
| Display | 0.96 OLED SSD1306 I²C 128×64 | ×1 | ¥12 | ¥12.0 |
| Actuator | PAM8403 + 8Ω 2W | ×1 | ¥7 | ¥7.0 |
| Structure | 40P / | ×1 | ¥5 | ¥5.0 |
| Structure | M3 | ×1 | ¥6 | ¥6.0 |
| Structure | ×3 | ×1 | ¥3 | ¥3.0 |
| Power | 5V 2A DC 3C | ×1 | ¥12 | ¥12.0 |
Pin-level wiring table
| Component | Pin | MCU pin |
|---|---|---|
| MCU board | OUT | GPIO25 |
| OLED | SDA / SCL | GPIO21 / GPIO22 |
| MCU board | OUT | GPIO26 |
3D assembly view
Step-by-step assembly
- 1. Prepare components and tools · 15 min
- 2. Bring up the minimal system · 15 min
- 3. Connect sensors and verify readings · 20 min
- 4. Connect actuators and drivers · 25 min
- 5. Add display and interaction · 20 min
- 6. Power rails and common ground check · 40 min
- 7. Flash the firmware · 25 min
- 8. Calibrate and integrate · 60 min
Firmware code
Arduino C++ · ESP32 Dev Module
/* zz-elder-1010 · 卧室床头呼叫盒(TTP223+PAM8403+C3稳压OLED校准一键版)
校调基线:SAMPLE_S=8s / FILTER_N=16 / DEBOUNCE_N=2 / THRESHOLD_PCT=66
采样与阈值在下方宏定义中修改后重新编译即可,无需改接线 */
/* 卧室床头呼叫盒(TTP223+PAM8403+C3稳压OLED校准一键版)
* 智云智造 AI 工程引擎生成 · 引脚宏与接线图一一对应
* 板型:ESP32 Dev Module · Arduino IDE 安装对应库后编译上传
*/
#include <Wire.h>
#include <SSD1306Wire.h>
// ---- 引脚宏(引擎按无冲突原则分配)----
#define PIN_SDA 21
#define PIN_SCL 22
#define PIN_AMP 26
// ---- 器件对象 ----
SSD1306Wire display(0x3C, PIN_SDA, PIN_SCL);
void setup() {
Serial.begin(115200);
Wire.begin(PIN_SDA, PIN_SCL);
display.init(); display.flipScreenVertically();
pinMode(PIN_AMP, OUTPUT); digitalWrite(PIN_AMP, LOW);
Serial.println("[ZYZZ] system ready");
}
void loop() {
// 1) 采集传感器
// 按需读取传感器
// 2) 阈值判断与执行器联动
display.clear(); display.drawString(0, 0, "ZYZZ READY"); display.display();
// digitalWrite(PIN_AMP, condition ? HIGH : LOW); // 语音功放
Serial.printf("tick %lu\n", millis() / 1000);
delay(2000);
}
Safety & compliance notes
- Double-check voltage and current ratings against datasheets before ordering parts.
- Keep mains voltage, lithium cells and high-current loads away from the prototype until insulation is verified.
- MCU, drivers and sensors must share a common ground; use separate power rails for motors and pumps.
- Do not replace certified safety devices (smoke alarms, gas detectors) with these prototypes.
- Generated results are for learning and prototype validation only.
FAQ
Is this design suitable for beginners?
Difficulty is rated out of 5 with an estimated build time. Follow the wiring table and the step tutorial in order; each step states the expected result before power-on.
Can I swap components or reduce the budget?
Yes — parts with the same bus and voltage are drop-in replacements. Keep separate power rails for high-current loads and update the firmware pin macros to match.
Can it run on battery / outdoors / report to the cloud?
The BOM already encodes the power and connectivity choice shown in the title. For outdoor use add the IP65 enclosure listed; Wi-Fi reporting hooks are reserved in the firmware.
Sensor readings look wrong — what now?
Calibration steps are in the tutorial: compare against a reference, perform two-point calibration for analog probes, and let gas sensors pre-heat before comparing values.
Where is data stored and can I get a custom version?
Local prototypes store data on SD card or serial output; Wi-Fi builds can push to your own server or an IoT platform. Contact us for a customized variant of any design.
智云智造