Skip to the content
PCBKitNew board
2 layers48.3 × 26.7 mmKernel, the printed circuit board in 3D
Size
48.3 × 26.7 mm
Copper layers
2
Thickness
1.6 mm
Parts
14
Nets
17
Pads
56
Tracks, vias
97, 1
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
16 Mar 2021
Updated
23 Mar 2021

Overview

Kernel is an open-source printed circuit board by ColdeZhang, from the ColdeZhang/Kernel_Board repository on GitHub. It is a 2-layer board of 48.3 × 26.7 mm with 14 parts on 17 nets, routed with 97 tracks and 1 via.

It is built around the ESP-12S. Its parts include 5 resistors, 4 connectors, 3 switches, 1 capacitor and 1 IC. It belongs with the ESP8266 boards of this library.

Main components

1

README

Ver_0_X/README.md

Homekit智能家居开发板-核心板(Kernel)

image-20210317145540965

0x0 总体概述

Kernel板主要基于安信可的ESP-12S(后者基于乐鑫ESP8266),为HomeKit智能家居开发准备了一些基础电路。因此更适合没有太多电路基础的新手着手进行Homekit智能家居的开发。相比于ESP-01在保留必须的一部分功能后尽可能的引出了更多的可用IO口(6个),使之可以适应更复杂的项目开发,并且拥有更加稳定的网络连接。项目基于Apple Homekit与ESP8266,并且全部开源。

该核心板全部文件托管在:Github仓库

该核心板配套的代码教程参见:ESP8266-Homekit 模板代码

该核心板配套的扩展版系列目前有:??、??、??、??

在0.1版本中Flash(烧写)模式被称为Upload(上传)模式

从1.0版本开始新增USB-Type-C接口支持供电+烧写程序,无需外接TTL转USB

0x1 特点

1.复位功能

Reset按键可以实行一键重启,免除了切换模式时需要拔插电源重启的麻烦。

2.模式切换

由于ESP-12S具有两种模式(运行模式与烧写模式),并且需要通过将IO0接地来手动切换。本核心板将此操作使用一个单刀双掷开关(SW1)集成在主板上,可以通过拨动开关一键切换运行模式(Normal)和烧写模式(Flash)。

3.重新配对

因为配对信息是被写入在ESP-12S的闪存中的,所以通过Reset是无法擦除配对记录来重新配对的。如果需要重新配对需要调用Apple Homekit内置函数来执行闪存内信息的重写,在本核心板配套的Template代码中,该功能已被写在了IO13引脚上。硬件层面通过一个按钮RePair,按下即可重新配对。

4.恰到好处的尺寸

该核心板拥有恰到好处的尺寸(宽5cm),使其恰好能够放入一个常规开关盒中,十分适合用来制作一些实用的智能家居设备。而从成本(一般来说越小的元件价格越高)与加工难度(越复杂的电路加工难度越大)的角度考虑,并没有将其做的十分小巧的必要。

0x2 使用方法

1.运行方法

将右下的开关选择至Normal,在任意的一个3V3引脚上连接3.3v的直流正极,任意一个GND引脚连接相应的负极即可启动开发板。在开发中如果需要重启开发板,不需要断开电源重连,可以直接按下主控板上的Reset按键执行重启。(该操作不会擦除ESP-12S上内存与闪存的数据)

2.烧写程序

将右下的开关选择至Flash,按下Reset按钮执行重启,重启后主控板处于烧写模式。

对于1.0以下的版本

将USB转TTL串口烧写器的对应引脚连接至开发板右上一排引脚TX、RX、3V3、GND,再将烧写器连接至电脑,即可从电脑烧写程序至开发板。烧写完成后需要将开关切换回Normal模式,再按下重启按钮。

对于1.0以上的版本

将USB-Type-C数据线连接至核心板,另一段连接至电脑,即可从电脑烧写程序至开发板。烧写完成后需要将开关切换回Normal模式,再按下重启按钮。

0x3 外观尺寸

image-20210317150846065

0x4 管脚定义

略

0x5 原理图

image-20210317150128367

0x6 二次开发说明

  1. 本项目全部开源,可直接从仓库获得所有工程文件;
  2. 项目电路图、pcb以及Gerber文件的生成全部使用KiCad操作(工程文件后缀为pro);
  3. 项目从成本的角度出发,仅使用了单层电路板;
  4. 为了便于焊接,在元器件布局以及选型上都并不是电路设计理论上的最优解;
  5. 其中ESP-12S可自由替换ESP-12F或同系列芯片;

Parts

14
QtyValueFootprintReferences
510kResistor_SMD:R_0805_2012MetricR1, R2, R3, R4, R5
110uFCapacitor_SMD:C_1206_3216MetricC1
1ESP-12SRF_Module:ESP-12SU1
1LConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ2
1MODEButton_Switch_THT:SW_E-Switch_EG1271_DPDTSW1
1RConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ3
1RePairButton_Switch_THT:SW_PUSH_6mm_H4.3mmSW3
1ResetButton_Switch_THT:SW_PUSH_6mm_H4.3mmSW2
1TTLConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ4
1TTLConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_HorizontalJ1

Questions

How big is the Kernel PCB?

It measures 48.3 × 26.7 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Kernel use?

14 parts, built around the ESP-12S. 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 Kernel KiCad files?

From the ColdeZhang/Kernel_Board repository on GitHub, at the commit this page was made from: the board is Ver_0_X/Kernel.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Kernel design in my own project?

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

More from ColdeZhang/Kernel_Board

1
  • 2 layers48.3 × 26.7 mmKernel, the printed circuit board in 3D

    Kernel

    ColdeZhang/Kernel_Board

    19 parts3

Similar boards

  • 2 layers54.9 × 33 mmBoard2, the printed circuit board in 3D

    Board2

    dgoodlad/esp8266-mitsubishi-aircon

    ESP8266 / Mitsubishi AC interface

    26 parts24MIT
  • 4 layers47 × 32.9 mmRaesp gateway, the printed circuit board in 3D

    Raesp gateway

    cziter15/raesp_gateway

    :satellite: A standalone device project featuring SX1278 and ESP8266 components, serving as a radio-WiFi gateway.

    17 parts11GPL-3.0
  • 2 layers93 × 20 mmWiFi VFD, the printed circuit board in 3D

    WiFi VFD

    ciisaichan/WiFi-VFD

    开源的ESP8266驱动VFD屏电路,支持BiliBili粉丝数、时间、温度、湿度

    23 parts8MIT
  • 4 layers77 × 83 mmGeoMCU, the printed circuit board in 3D

    GeoMCU

    NohPei/GeoMCU

    Integrated Geophone Boards with programmable gain and an onboard MCU. Can be used over WiFi or wired with an external ADC.

    80 parts2CERN-OHL-P-2.0
  • 2 layers118.7 × 86.4 mmWallbox, the printed circuit board in 3D

    Wallbox

    dkonigsberg/wallbox-board

    Wall-O-Matic Microcontroller Interface Board

    55 parts1CC-BY-SA-4.0
  • 2 layers120 × 100 mmEnvSensor v2, the printed circuit board in 3D

    EnvSensor v2

    jakubprzybytek/Environmental-Sensors

    162 parts1
  • 2 layers64.8 × 62.2 mmWLED V0.1, the printed circuit board in 3D

    WLED V0.1

    Krishnawa/WLED_HW

    WLED Hardware

    55 parts1
  • 2 layers35.1 × 36.3 mmESP8266-IR, the printed circuit board in 3D

    ESP8266-IR

    willbicks/ESP8266-IR

    24 parts1