Skip to the content
PCBKitNew board
2 layers22 × 71 mmCircut, the printed circuit board in 3D

基于 ESP32-S3 的温湿度 / 光照 / 人体存在传感器和红外发射器。

Size
22 × 71 mm
Copper layers
2
Thickness
1.6 mm
Parts
18
Nets
50
Pads
117
Tracks, vias
177, 29
Pours
2
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
11 Jun 2023
Updated
16 Jan 2024

Overview

Circut is an open-source printed circuit board by larry-wong, from the larry-wong/tiny_sensor repository on GitHub. It is a 2-layer board of 22 × 71 mm with 18 parts on 50 nets, routed with 177 tracks and 29 vias.

It is built around the ESP32-S3-WROOM-1-N8, GY-302 and AMS1117, with the S8050 among its other parts. Its parts include 5 resistors, 4 capacitors, 3 ICs, 3 connectors and 2 diodes. It belongs with the home automation and IoT and sensors and measurement boards and the ESP32 boards of this library.

Main components

4

README

README.md

基于 ESP32 的家庭智能传感器,搭配 Home Assistant 项目实现家自动化。

小巧的身材上集成温湿度 / 光照度 / 人体存在传感器和红外发射管。

硬件设计

  • 主控选用 ESP32-S3-WROOM-1

  • 温湿度传感器选用 HDC1080

  • 光照度传感器选用 GY-302 模块

  • 人体存在传感器选用 LD2410B 模块

  • 红外发射选用 3mm 发射管

  • 状态灯选用贴片发光二极管

  • 采用 typec 口供电 / 烧写程序,针脚对应关系:

    typecesp32备注
    GND (A1, A12, B1, B12)GND接地
    VBUS (A4, A9, B4, B9)5V
    CC1 (A5), CC2 (B5)GPIO0烧写固件时需接地
    D+ (A6, B6)GPIO43TX
    D- (A7, B7)GPIO44RX

电路设计

原理图及 PCB 使用 kicad 绘制,项目文件见 circut 目录(依赖 ESPRESSIF 官方库)。

  • 所有贴片元件均采用 0805 封装尺寸
  • 焊接时可多留一些红外管引脚,以调整发射方向
  • 不需要的传感器可留空
  • 由于不同颜色发光二极管的压降不同,在 R3 为 100 欧姆时 D2 采用红色发光二极管效果较好,采用黄色发光二极管时亮度较低。若要使用其他颜色发光二极管可自行计算 R3 阻值。

固件设计

固件使用 ESPHome 搭建,配置文件见 esphome 目录。

  • 暴露以下传感器至 Home Assistant:
    • 一个温度传感器
    • 一个湿度传感器
    • 一个光照度传感器
    • 一个人体存在二元传感器
    • 一个人体存在距离传感器
    • 一个可开关的 LED 灯(复用状态灯)
  • 项目中对红外管的使用比较客制化,使用自定义的 MQTT 消息驱动。建议改用 Remote Transmitter 或自行修改。

应用参考

接入 Home Assistant 后,可使用暴露出的传感器实现一些家庭自动化,例如:

  • 使用人体存在传感器配合光照度传感器控制灯
  • 甚至可配合人体存在距离传感器大致确定人体位置后控制不同的灯
  • 使用人体存在传感器配合温度传感器控制空调制冷 / 加热 / 关闭
  • 使用湿度传感器控制加湿器
  • 使用 LED 指示报警信息(电量低,扫地机集尘盒满等)
  • 使用红外管控制空调 / 电视 / 浴霸等传统电器
  • ……

捐赠

如果此项目对你有帮助,可扫描下方二维码请我喝杯咖啡 :)

                         

Parts

18
QtyValueFootprintReferences
310kResistor_SMD:R_0805_2012MetricR1, R4, R5
20.1uFCapacitor_SMD:C_0805_2012MetricC3, C4
2100Resistor_SMD:R_0805_2012MetricR2, R3
110uFCapacitor_SMD:C_0805_2012MetricC1
122uFCapacitor_SMD:C_0805_2012MetricC2
1AMS1117Package_TO_SOT_SMD:SOT-223-3_TabPin2U1
1ESP32-S3-WROOM-1Espressif:ESP32-S3-WROOM-1U3
1GY-302Connector_PinSocket_2.54mm:PinSocket_1x05_P2.54mm_VerticalJ1
1HDC1080Package_SON:Texas_PWSON-N6U2
1IRLED_THT:LED_D3.0mm_IRBlackD1
1LD2410BConnector_PinSocket_1.27mm:PinSocket_1x05_P1.27mm_VerticalJ2
1LEDDiode_SMD:D_0805_2012MetricD2
1S8050Package_TO_SOT_SMD:SOT-23Q1
1USB_C_Receptacle_USB2.0Connector_USB:USB_C_Receptacle_G-Switch_GT-USB-7010ASVJ3

Questions

How big is the Circut PCB?

It measures 22 × 71 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Circut use?

18 parts, built around the ESP32-S3-WROOM-1-N8, GY-302, AMS1117 and S8050. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Circut KiCad files?

From the larry-wong/tiny_sensor repository on GitHub, at the commit this page was made from: the board is circut/pcb.kicad_pcb and its schematic circut/pcb.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Circut design in my own project?

Its repository states no licence, so its author keeps all rights: ask larry-wong before reusing the design.

Similar boards

  • 2 layers56.4 × 78.4 mmAIOsense, the printed circuit board in 3D

    AIOsense

    Schluggi/AIOsense

    ESPHome based all-in-one sensor

    25 parts162MIT
  • 2 layersOrrery v1, the printed circuit board in 3D

    Orrery v1

    art-mon/orrery

    This open-source project gathers small signals from the world and turns them into daily broadcasts of art, language, and atmosphere.

    20 parts
  • 2 layers38.7 × 50.6 mmSmartWatch, the printed circuit board in 3D

    SmartWatch

    PierceMckinnon/SmartWatch

    PCB + SW to make a functional smartwatch

    89 parts1
  • 2 layers150 × 90 mmECE445L Lab7Restart, the printed circuit board in 3D

    ECE445L Lab7Restart

    Andres-Wearden/Lab10

    The typical explanation for the repo structure. Lab specific instructions can be found further below.

    87 parts
  • 4 layers89.8 × 41.5 mmBldcDriver, the printed circuit board in 3D

    BldcDriver

    dwanpo/balancer

    187 parts1
  • 2 layers80.8 × 73.1 mm30A home automation using esp32, the printed circuit board in 3D

    30A home automation using esp32

    hammadurrehman2006/kicad_lab

    A collection of KiCad PCB designs developed during my Electronic Engineering degree (2024-28). Includes university projects, personal experiments, and custom components—featuring schematics, layouts, Gerber files, and…

    33 parts1
  • 2 layers85 × 60 mmKhoi Mach ESP32, the printed circuit board in 3D

    Khoi Mach ESP32

    Minh9072/KiCad

    Some KiCad PCB project

    44 parts