Skip to the content
2 layers140 × 40 mmSmall switches, the printed circuit board in 3D

Reusable circuit fragments for KiCAD

Size
140 × 40 mm
Copper layers
2
Thickness
1.6 mm
Parts
4
Nets
17
Pads
19
Tracks, vias
0, 0
Routed
Not yet
KiCad
KiCad 8.0 (file 20240108)
Created
18 Jan 2025
Updated
11 Feb 2025

Overview

Small switches is an open-source printed circuit board by romkey, from the romkey/kicad-circuit-libs repository on GitHub, published under the MIT licence. It is a 2-layer board of 140 × 40 mm with 4 parts on 17 nets.

It is built around the 1TS001G-1500-1700-CT, EVQP6DB35 and TS-1077S-02026, with the TS-1080W-A5B3-D1 among its other parts.

Main components

4

README

README.md

KiCAD Lib

This repo contains "libraries" of circuits in KiCAD intended for re-use in projects as well as notes on using the circuits and notes on various other topics that may be helpful.

Circuit fragments will usually include components that are tagged with JLCPCB/LCSC component numbers, making it easy to submit them for assembly.

IMPORTANT

Using these designs does not excuse you from understanding how the circuits work and confirming their correct design. Just blindly dropping these into designs can lead to shorts, fried components, just plain not working PCBs. Anything working with power is extra risky, especially LiPo batteries. You may damage USB ports, destroying components and batteries that catch fire or explode.

If you don't understand at least the basics of voltage and current, diodes, Ohm's law, you're not ready to work with this stuff.

Nothing in this repo is intended as a tutorial. These designs are simply bookmarks, shorthand, time savers to avoid having to look up pinouts or component models or needed support circuitry, for people who already know what they're doing.

USE AT YOUR OWN RISK

About I2C and Pull-Up Resistors

The I2C bus requires pull-up resistors on the SDA and SCL lines. If it works without them it's accidental and cannot be relied upon. You'll generally want a single set of them per bus. Having multiple will work but isn't optimal and wastes space and money. Multiple pull-up resistors will also be in parallel, which reduces total resistance. If there are enough of them the pull-ups will stop working effectively.

If a CPU board has I2C devices on it, it should include a single set of pull-up resistors for each separate I2C bus.

If a CPU board has no I2C devices on it but a way to connect external I2C devices, like a Qwiic/STEMMA QT connector, it should not include pull-up resistors and should instead assume they'll be provided by any external devices.

Each circuit fragment with an I2C device includes pull-up resistors for that device.

Each circuit fragment with a CPU includes pull-up resistors for the first I2C bus.

If you combine them, you should eliminate any duplicate pull-up resistors and leave only one set. 4.7K to 10K is usually a good range of values for the resistors.

On most PCBs you can place pull-up resistors wherever is convenient. By convention they're often placed at the start of the I2C bus, near the CPU if the CPU is on the board.

About Bypass Capacitors

Many circuit fragments will include a pair of bypass capacitors, often 10µF and 0.1µF. These help protect against low and high frequency noise in the power supply. Sensors should always include these. Bypass capacitors should always be placed as close to the chip they're protecting as possible.

Do not treat bypass capacitors like pull-up resistors and do not attempt to combine bypass capacitors for multiple chips.

Circuits

All circuit fragments are under the hw directory. Most are just schematics without a PCB. Some (like the AHT20 which has a cutout on the PCB for thermal isolation) include a PCB if there are useful features on it.

3.3V Regulator

Simple 3.3V regulator using an LD1117 LDO, good for batteries, USB and unregulated power sources up to 15V (do not recommend running it maximum voltage however). Maximum current out 800mA.

AHT20

AHT20 I2C temperature and humidity sensor. The example PCB includes a cutout to help thermal isolation of the sensor. This is useful on boards with CPUs on them as CPUs often run hot and can throw off the sensor. It's not useful on boards with just the sensor.

LiPo Charger

LiPO battery connector and charging circuitry.

LiPo Fuel Gauge

I2C LiPo battery "fuel gauge" that estimates current battery charge.

Qwiic/STEMMA QT connector

Very simple circuit with labelled connectors for Adafruit's "STEMMA QT" and Sparkfun's "Qwiic" I2C connector.

Small Switches

An assortment of small SPST SMD switches of several sizes that were in stock at JLCPCB when I created this. These are suitable for use as BOOT and RESET buttons.

Notes

Parts

4
QtyValueFootprintReferences
11TS001G-1500-1700EasyEDA:SW-SMD_4P-L5.1-W5.1-P3.70-LS6.5-TL-2SW3
1EVQP6DB35EasyEDA:KEY-SMD_4P-L4.0-W4.0_EVQP6DB35SW2
1TS-1077S-02026EasyEDA:SW-SMD_L3.1-W3.1-P2.20-LS4.0SW1
1TS-1080W-A5B3-D1EasyEDA:KEY-SMD_4P-L6.2-W6.5-P4.50-LS8.0_SKHMXXSW4

Similar boards

  • 2 layers18.5 × 26 mm24g2usb rp2350zero, the printed circuit board in 3D

    24g2usb rp2350zero

    joypad-ai/joypad-os

    Universal controller firmware for building adapters, dongles, and custom controllers.

    4 parts1.7kApache-2.0
  • 2 layers116 × 33 mm966595-1 and 963356-1, the printed circuit board in 3D

    966595-1 and 963356-1

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    4 parts1.2k
  • 2 layers19 × 18 mmDaughter board, the printed circuit board in 3D

    Daughter board

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    4 parts915
  • 2 layers24.8 × 24.8 mmNrf24 breakout, the printed circuit board in 3D

    Nrf24 breakout

    tardate/LittleArduinoProjects

    a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!

    4 parts803MIT
  • 2 layers26 × 20 mmCap chain, the printed circuit board in 3D

    Cap chain

    drandyhaas/KiCadRoutingTools

    A set of Python/Rust tools to aid routing in KiCad

    4 parts744MIT
  • 2 layers34.7 × 20 mmXG Station Power MSI, the printed circuit board in 3D

    XG Station Power MSI

    osy/XG_Mobile_Station

    Open source eGPU dock for ROG Ally and ROG Flow

    4 parts712CC-BY-4.0
  • 2 layers20.3 × 24.5 mmJack power input, the printed circuit board in 3D

    Jack power input

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    4 parts546MIT

Questions

How big is the Small switches PCB?

It measures 140 × 40 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Small switches use?

4 parts, built around the 1TS001G-1500-1700-CT, EVQP6DB35, TS-1077S-02026 and TS-1080W-A5B3-D1. 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 Small switches KiCad files?

From the romkey/kicad-circuit-libs repository on GitHub, at the commit this page was made from: the board is hw/small switches/small switches.kicad_pcb and its schematic hw/3.3V regulator/3.3V regulator.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Small switches design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).