100%
esphome-xiao-base pcb view
Description

Imported from GitHub: 0rax/esphome-xiao-base · commit 78860ab · license CERN-OHL-S-2.0

Description

XIAO base board PCB & configuration for ESPHome based sensors.

README

ESPHome XIAO Base

Release License KiCad

The ESPHome XIAO Base is a custom PCB designed to be used with the ESPHome firmware as a base for creating new sensors.

It was made as a carrier board for the XIAO series of microcontrollers with an OLED display and three switches while providing an easy-to-access header on the back for standard communication protocols (I²C, UART and SPI).

A cutout has also been left for the underside of the XIAO to allow access to the battery pads available on the underside of some modules (such as the XIAO ESP32C6).

PCB

RenderFrontBack
PCB RenderPCB FrontPCB Back

The PCB has been designed in KiCad EDA 9.0.

You can preview the project files using KiCanvas directly in your browser, the exported schematic is also available under output/schematics.

PCB Order

The necessary Gerber files to order the PCB are available in the output/fabrication/jlcpcb directory. They have been generated specifically for JLCPCB using KiBot. They should be compatible with other PCB manufacturers too.

Here is the list of parameters to use for the PCB order:

ParametersValueParametersValue
Base MaterialFR4Copper Weight1 oz
Layers2Via CoveringTented
Dimensions40 × 30 mmMin Via Hole Size0.3 mm
PCB Thickness1.2 or 1.6 mmBoard Outline Tolerance± 0.2 mm
PCB Color 1BlackMark on PCB 22D Barcode (Serial Number)
SilkscreenWhite> Printing: Number Only
Surface Finish 3Lead Free HASL or ENIG> Position: Specify Position

BOM

PartRef.QuantityRemarks
PCBESPHome XIAO Base PCB1See the previous section on how to order it.
XIAO ControllerXIAO ESP32C3, XIAO ESP32C6 or XIAO ESP32S31Any ESPHome compatible XIAO controller should work.
Tactile SwitchSCHURTER 1301.93033Any 6 × 6 mm thru-hole tactile switch should work. We recommend a model with a stem length of 3 mm or more.
OLED DisplaySSD1306 0.91" OLED Display or SSD1107 0.96" OLED Display1Any SSD1306 or SSD1106 I²C based display should work. The PCB was designed to accommodate both 0.91" (128 × 32) and 0.96" (64 × 128) modules.

ESPHome

Example ESPHome configuration files can be found in the esphome directory.

Two are provided for the XIAO ESP32C6 and XIAO ESP32S3 with two different type of OLED display. They should be easily modifiable to fit any ESPHome compatible XIAO microcontrollers and displays.

Notes

Potential Modifications

  • The XIAO microcontroller is currently soldered at the front of the PCB making the OLED display require a double stacked header for clearance as well as force the use of switches with extended stem. Moving it to the back of the PCB would allow for everything in the front to be made smaller but would make access to the battery pads on the back of the XIAO more difficult.
  • Adding some sort of STEMMA QT / Qwiic connector to the back of the PCB would make it easier to integration some sensors.

License

This design is licensed under the CERN Open Hardware Licence Version 2 – Strongly Reciprocal (CERN-OHL-S-2.0).

You are free to use, modify, and distribute this design for any purpose, provided that:

  • Attribution: Appropriate credit is given, a link to the license is provided, and any modifications are clearly indicated.
  • Reciprocity: Any derivative works must be released under the same license.

If you are a retailer or business interested in producing or selling this design or related products, I’d love to discuss it! Please feel free to reach out so we can explore potential arrangements.

Footnotes

  1. You can select any PCB color you want but some manufacturers such as JLCPCB may charge you more for uncommon combos (such as Blue PCB + ENIG Surface Finish).

  2. JLCPCB specific option, a pre-configured footprint has been added for a serial number to be printed on the back of the PCB.

  3. The "HASL (with lead)" option is extremely discouraged due to the risk of lead poisoning. We strongly recommend paying the premium for the "Lead Free HASL" option.

Comments
Sign in to comment

No comments yet. Be the first to ask about this board.