Skip to the content
2 layers97.3 × 42 mmSomnos, the printed circuit board in 3D

Somnos - IoT power measurement and on/off switch for USB devices.

Size
97.3 × 42 mm
Copper layers
2
Thickness
1.6 mm
Parts
6
Nets
43
Pads
92
Tracks, vias
101, 2
Pours
9
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
1 Nov 2023
Updated
10 Feb 2024

Overview

Somnos is an open-source printed circuit board by serweryn617, from the serweryn617/somnos repository on GitHub, published under the MIT licence. It is a 2-layer board of 97.3 × 42 mm with 6 parts on 43 nets, routed with 101 tracks and 2 vias.

Its parts include 4 ICs and 2 connectors. It belongs with the home automation and IoT and sensors and measurement boards and the RP2040 boards of this library.

README

readme.md

Somnos

IoT USB power measurement and on/off switch.


The device has USB C input and standard USB A output.

It is capable of measuring USB bus voltage, current and power as well as switching the power on and off.

When requested, the measurement result can be sent over ethernet (UDP) to a receiver, for example to a PC.

⚠️ Power consumed by the device itself is also included in this measurement, which may be unwanted in some use cases.

Building Firmware

Setup build environment:

bash
./project.py submodules
./project.py setup

Build the project:

bash
./project.py build

Hardware Used

  • Raspberry Pi Pico microcontroller,
  • INA219 I2C Current/Power Monitor breakout board,
  • Enc28J60 Ethernet Controller board,
  • MOSFET breakout board,
  • Custom breakout PCB,
  • 3D printed enclosure and 4 M3x8 screws.

Parts

6
QtyValueFootprintReferences
1PiPicosomnos_lib:PiPicoU4
1USB_Asomnos_lib:USB A PortJ1
1USB_C_Receptacle_USB2.0somnos_lib:USB C PortJ2
1~somnos_lib:INA219U2
1~somnos_lib:N-MOS_1U3
1~somnos_lib:END28J60U1

Similar boards

  • 2 layers18.5 × 11.1 mmSwitch, the printed circuit board in 3D

    Switch

    byrantech/laptop

    anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

    6 parts4.3kMIT
  • 2 layers14.6 × 33 mmBrain board SD Card 1, the printed circuit board in 3D

    Brain board SD Card 1

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    6 parts1.2k
  • 2 layers9 × 9 mmDpoint, the printed circuit board in 3D

    Dpoint

    Jcparkyn/dpoint

    Open-source digital stylus using camera tracking and inertial measurements

    6 parts1.1kMIT
  • 2 layers51.5 × 16.6 mmMicroswitchXY Endstop, the printed circuit board in 3D

    MicroswitchXY Endstop

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    6 parts1.1kGPL-3.0
  • 2 layers21.9 × 76.7 mmAmiga External, the printed circuit board in 3D

    Amiga External

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    6 parts1kGPL-3.0
  • 2 layers88.9 × 50.8 mmBusinesscard, the printed circuit board in 3D

    Businesscard

    hackclub/OnBoard

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

    6 parts915
  • 2 layers20.3 × 15.2 mmL0 RGB led, the printed circuit board in 3D

    L0 RGB led

    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.

    6 parts546MIT
  • 2 layers9 × 3.6 mmOpticalEncoder, the printed circuit board in 3D

    OpticalEncoder

    adamb314/ServoProject

    Getting the most out of your hobby servo

    6 parts545

Questions

How big is the Somnos PCB?

It measures 97.3 × 42 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Somnos use?

6 parts. 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 Somnos KiCad files?

From the serweryn617/somnos repository on GitHub, at the commit this page was made from: the board is cad/kicad/project/pcb.kicad_pcb and its schematic cad/kicad/project/pcb.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Somnos 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).