Skip to the content
2 layers18.9 × 44.6 mmDistance ir v2, the printed circuit board in 3D

Measures distance up to 150cm with infrared light

Size
18.9 × 44.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
25
Nets
19
Pads
81
Tracks, vias
152, 21
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
14 May 2018
Updated
20 May 2026

Overview

Distance ir v2 is an open-source printed circuit board by Tinkerforge, from the Tinkerforge/distance-ir-v2-bricklet repository on GitHub. It is a 2-layer board of 18.9 × 44.6 mm with 25 parts on 19 nets, routed with 152 tracks and 21 vias.

It is built around the S3B-PH-SM4-TB. Its parts include 5 capacitors, 4 connectors, 3 resistors, 3 ICs and 2 diodes.

Main components

1

README

README.rst

Distance IR Bricklet 2.0

This repository contains the firmware source code and the hardware design files. The documentation generator configs can be found at https://github.com/Tinkerforge/generators

Repository Content

software/:

  • examples/: Examples for all supported languages
  • build/: Compiled files
  • src/: Source code of firmware
  • Makefile: Makefile to build project

hardware/:

  • Contains KiCad project files and additionally schematics as PDF

datasheets/:

  • Contains datasheets for sensors and complex ICs that are used

Hardware

The hardware is designed with the open source EDA Suite KiCad (http://www.kicad.org). Before you are able to open the files, you have to install the Tinkerforge kicad-libraries (https://github.com/Tinkerforge/kicad-libraries). You can either clone them directly in hardware/ or clone them in a separate folder and symlink them into hardware/ (ln -s kicad_path/kicad-libraries project_path/hardware). After that you can open the .pro file in hardware/ with KiCad and from there view and modify the schematics and the PCB layout.

Software

If you want to do your own Brick/Bricklet firmware development we highly recommend that you use our build environment setup script and read the tutorial (https://www.tinkerforge.com/en/doc/Tutorials/Tutorial_Build_Environment/Tutorial.html).

To compile the C code we recommend you to install the newest GNU Arm Embedded Toolchain (https://launchpad.net/gcc-arm-embedded/+download). You also need to install bricklib2 (https://github.com/Tinkerforge/bricklib2).

You can either clone it directly in software/src/ or clone it in a separate folder and symlink it into software/src/ (ln -s bricklib_path/bricklib2 project_path/software/src/). Finally make sure to have CMake installed (http://www.cmake.org/cmake/resources/software.html).

After that you can build the firmware by invoking make in software/. The firmware (.zbin) can then be found in software/build/ and uploaded with brickv (click button "Flashing" on start screen).

Parts

25
QtyValueFootprintReferences
3VAL**kicad-libraries:Fiducial_MarkFiducial_Mark, Fiducial_Mark, Fiducial_Mark
21kkicad-libraries:R0603FR2, R4
2DRILLkicad-libraries:DRILL_NPU2, U3
1100nFkicad-libraries:C0603EC1
1100µF/10Vkicad-libraries:3528-21C2
110uFC0805C4
11kR0603FR3
11uFC0603FC5
1220pFC0402EC3
1824X0402RP1
1BOOTkicad-libraries:SolderJumperP3
1CE_5mmkicad-libraries:CE_5mmVAL
1CON-SENSOR2kicad-libraries:CON-SENSOR2P1
1DEBUGkicad-libraries:DEBUG_PADP2
1LOGOkicad-libraries:Logo_CoMCUG***
1S3B-PH-SM4kicad-libraries:S3B-PH-SM4P4
1Val**kicad-libraries:Logo_31x31Ref**
1WEEE_7mmkicad-libraries:WEEE_7mmVAL
1XMC1302kicad-libraries:QFN24-4x4mm-0.5mmU4
1blueD0603ED1
1greenkicad-libraries:D0603ED2

Similar boards

  • 2 layers100 × 62 mmEsp32s3aprs, the printed circuit board in 3D

    Esp32s3aprs

    mcapdeville/esp32s3aprs

    ESP32s3 APRS beacon/tracker/logger, USB kiss TNC , USB audio FM tranceiver with Micropython shell

    156 parts8CERN-OHL-S-2.0
  • 2 layers52 × 36 mmCyphalPicoBase CAN, the printed circuit board in 3D

    CyphalPicoBase CAN

    generationmake/CyphalPicoBase-CAN

    Board for the Raspberry Pi Pico to connect via CAN using OpenCyphal and UCANPHY Micro

    62 parts5CERN-OHL-W-2.0
  • 6 layers104.8 × 77 mmGame console-1, the printed circuit board in 3D

    Game console-1

    enigmr/game-console-1

    Hobby handheld game console from scratch.

    213 parts2MIT
  • 4 layers246.5 × 95 mmViaggio, the printed circuit board in 3D

    Viaggio

    dataehora/beatconfused

    A small web studio of fast, elegant, install-free music tools. Every tool is plain HTML, CSS and vanilla JavaScript with the Web Audio API — no build step, no dependencies, no accounts, works offline after first load.

    215 parts1
  • 4 layers45 × 35 mmESPLionV1, the printed circuit board in 3D

    ESPLionV1

    Angus-McIntyre/ESPLionV1

    124 parts
  • 4 layersProtopico, the printed circuit board in 3D

    Protopico

    MyloWhylo/ProtogenPCBs

    Repository for ProtoPico and BackpackController

    81 partsMIT
  • 6 layers62 × 44 mmBioZ muscle monitor, the printed circuit board in 3D

    BioZ muscle monitor

    ricknoboa137/BioZ-muscle-monitor

    A portable, battery-powered bioimpedance spectroscopy (BIS) device that measures biceps muscle impedance during and after exercise, to track fatigue and fluid shift.

    92 parts

Questions

How big is the Distance ir v2 PCB?

It measures 18.9 × 44.6 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Distance ir v2 use?

25 parts, built around the S3B-PH-SM4-TB. 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 Distance ir v2 KiCad files?

From the Tinkerforge/distance-ir-v2-bricklet repository on GitHub, at the commit this page was made from: the board is hardware/distance-ir-v2.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Distance ir v2 design in my own project?

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