Skip to the content
4 layers50 × 70 mmOdsci, the printed circuit board in 3D

An STM32-based USB interface for DS18B20 temperature sensors

Size
50 × 70 mm
Copper layers
4
Thickness
1.6 mm
Parts
35
Nets
43
Pads
162
Tracks, vias
172, 30
Pours
8
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
15 Mar 2026
Updated
14 Apr 2026

Overview

Odsci is an open-source printed circuit board by sthivaios, from the sthivaios/odsci repository on GitHub. It is a 4-layer board of 50 × 70 mm with 35 parts on 43 nets, routed with 172 tracks and 30 vias.

It is built around the USBLC6-2SC6. Its parts include 12 capacitors, 8 resistors, 4 connectors, 3 ICs and 3 diodes. It belongs with the sensors and measurement and interfaces and adapters boards and the STM32 boards of this library.

Main components

1

README

README.md

ODSCI

test test

An STM32-based USB interface for DS18B20 temperature sensors

A picture taken during the very early development of ODSCI showing an STM32 Nucleo board and a breadboard connected to a MacBook Pro

Getting Started - How to use ODSCI

If you want to get started using ODSCI quickly, and don't care about the project, this is the only section of the README that matters to you.

You can grab a pre-built CLI binary from the releases page for your platform/OS, or build from source. The CLI is written in Go and is located in the /cli directory.

Connect the ODSCI probe to your computer, and find the serial port that it uses (COM port on Windows, or a /dev/tty device on Linux and MacOS).

Then, you can use the capture command to save a given amount of samples as a CSV file.

shell
./odsci --port THE_SERIAL_PORT_HERE --samples 100 --interval 10 --output "./output.csv"

The CLI has more features than just the capture command. Run ./odsci --help for more information on the commands, or read the documentation.

Introduction

ODSCI is an STM32-based USB interface for DS18B20 sensors. It stands for OneWire DS18B20 Computer Interface.

It connects to any computer through a USB-C port and exposes a USB CDC virtual serial port, through which the MCU can send temperature readings back to the computer.

I am mainly working on this project, in order to teach myself Go (which the CLI uses), while also using it as an excuse to attempt to write my own OneWire "driver" for the STM32 to communicate with the sensor.

Project structure

You can find each "part" of ODSCI in its corresponding folder.

  1. The firmware that runs on the STM32 is written in C and configured with CubeMX and uses CMake. It is located in the /firmware directory.

  2. The hardware (PCB) is a KiCad project. It is located under /hardware.

  3. The enclosure was designed in Fusion360. The project file, as well as any STL exports are located under the /enclosure.

  4. The CLI is written in Go. You can find its source under /cli. I will attempt to cross-compile it for different platforms. Check the repo releases for pre-built binaries.

  5. The docs are written with VitePress. You can find them under /docs.

Contributing

You are welcome to report any issues that you find with any part of ODSCI, or open pull requests to fix them.

If you are actually contributing code to the project, make sure that you understand the license terms.

Licensing

Different parts of the project are licensed under different licenses.

Under each directory, you will find a separate LICENSE file for that part of the project.

While that may seem a little confusing at first, please understand that some parts like the PCB simply aren't very compatible with the usual licenses like MIT, GPL, etc.

See LICENSE for more info.

Parts

35
QtyValueFootprintReferences
6100nFCapacitor_SMD:C_0402_1005MetricC3, C4, C5, C6, C7, C9
4MountingHole_PadMountingHole:MountingHole_2.2mm_M2_PadH1, H2, H3, H4
3330Resistor_SMD:R_0402_1005MetricR6, R7, R8
34.7uFCapacitor_SMD:C_0805_2012MetricC8, C10, C12
3LEDLED_THT:LED_D3.0mmD1, D2, D3
210kResistor_SMD:R_0402_1005MetricR3, R4
25.1kResistor_SMD:R_0402_1005MetricR1, R2
110uFCapacitor_SMD:C_0805_2012MetricC2
11uFCapacitor_SMD:C_0805_2012MetricC1
14.7kResistor_SMD:R_0402_1005MetricR5
147uFCapacitor_SMD:C_0805_2012MetricC11
1Conn_01x03_PinConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ2
1Conn_01x04_PinConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ3
1STM32F042K6TxPackage_QFP:LQFP-32_7x7mm_P0.8mmU2
1SW_PushButton_Switch_THT:SW_SPST_Omron_B3F-315x_AngledSW1
1Screw_Terminal_01x03TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-3-2.54_1x03_P2.54mm_HorizontalJ4
1TPS7A4701xRGWPackage_DFN_QFN:Texas_RGW0020A_VQFN-20-1EP_5x5mm_P0.65mm_EP3.15x3.15mm_ThermalViasU1
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U3
1USB_C_ReceptacleConnector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ1

Similar boards

  • 4 layers16.9 × 119.4 mmOrbit, the printed circuit board in 3D

    Orbit

    earthtojake/text-to-cad

    Design physical products with AI

    182 parts26kMIT
  • 2 layers290.1 × 130 mmPro V2, the printed circuit board in 3D

    Pro V2

    kata0510/Lily58

    6×4+4keys column-staggered split keyboard.

    312 parts2.3k
  • 4 layers95 × 55.5 mmEinkPDA keyboard, the printed circuit board in 3D

    EinkPDA keyboard

    TalismanDesign/PocketMage_PDA

    An E-Ink PDA device using the ESP32 S3.

    137 parts2kApache-2.0
  • 4 layers299 × 127 mmLaunch, the printed circuit board in 3D

    Launch

    system76/launch

    System76 Launch Configurable Keyboard

    385 parts1.4kGPL-3.0
  • 2 layers42 × 67 mmLalboard, the printed circuit board in 3D

    Lalboard

    JesusFreke/lalboard

    A 3D-printed keyboard inspired by the DataHand

    65 parts993
  • 2 layers134 × 88 mmTulipcc, the printed circuit board in 3D

    Tulipcc

    shorepine/tulipcc

    The Tulip Creative Computer and AMYboard - portable Python synthesizers

    103 parts978
  • 4 layers70.8 × 108 mmCastor and Pollux, the printed circuit board in 3D

    Castor and Pollux

    wntrblm/Castor_and_Pollux

    A Juno-inspired dual oscillator

    235 parts587
  • 4 layers28.2 × 26.1 mmDongleHiderPlus PCB, the printed circuit board in 3D

    DongleHiderPlus PCB

    LeoDJ/FW-EC-DongleHiderPlus

    Framework Expansion Card that includes a USB hub to hide a bare dongle inside and still have a USB-A port externally

    23 parts497CERN-OHL-W-2.0

Questions

How big is the Odsci PCB?

It measures 50 × 70 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Odsci use?

35 parts, built around the USBLC6-2SC6. 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 Odsci KiCad files?

From the sthivaios/odsci repository on GitHub, at the commit this page was made from: the board is hardware/odsci.kicad_pcb and its schematic hardware/odsci.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Odsci design in my own project?

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