Skip to the content
2 layers79.5 × 50 mmLine usb master, the printed circuit board in 3D

Serial messaging protocol

Size
79.5 × 50 mm
Copper layers
2
Thickness
1.6 mm
Parts
111
Nets
99
Pads
338
Tracks, vias
663, 287
Pours
379
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
12 Nov 2023
Updated
18 Aug 2026

Overview

Line usb master is an open-source printed circuit board by c4deszes, from the c4deszes/bike-line-protocol repository on GitHub. It is a 2-layer board of 79.5 × 50 mm with 111 parts on 99 nets, routed with 663 tracks and 287 vias.

It is built around the MCP2003-E/P, 74HCT595D and FT4232HL, with the TPS61085, B140-13-F(MS) and TVCM17015BPB among its other parts. Its parts include 32 resistors, 31 capacitors, 11 diodes, 8 connectors and 7 ICs.

Main components

6

README

README.md

LINE protocol

LINE is a bus type protocol that uses a single controller, it's based on the LIN protocol used in automotive products and extends the frame length and number of frames.

Usage

The project includes a CMake based environment that can be included as a subproject. A function call is used to instantiate the library in a way that's unique to the application.

cmake
include(tools/cmake/CPM.cmake)
CPMAddPackage("gh:c4deszes/bike-line-protocol#master")

line_codegen(TARGET protocol-stack
             CONFIG config
             ADAPTER
)

add_executable(MyApp src/main.c)
target_link_libraries(MyApp PUBLIC protocol-stack)

A code generation configuration is required, a single instance multiple network definitions and multiple nodes can be used.

json
{
    "Network": {
        "channel": 0,
        "rxBufferSize": 128,
        "txBufferSize": 128,
        "oneWire": true,
        "network": "multi_node_network.json",
        "nodes": {
            "Peripheral1": {
                "enabled": true,
                "diagnostics": {
                    "channel": 0,
                    "enabled": true,
                    "initAddress": true
                }
            },
            "Peripheral2": {
                "enabled": true,
                "diagnostics": {
                    "channel": 1,
                    "enabled": true,
                    "initAddress": true
                }
            }

Building

The library only has interface and test targets, run the C library tests using cmake --workflow --preset workflow-test.

Documentation is built using Sphinx with doxygen, that can be generated using cmake as well by running cmake --workflow --preset workflow-docs.

Parts

111
QtyValueFootprintReferences
16100nCapacitor_SMD:C_0603_1608MetricC1, C5, C6, C7, C8, C9, C10, C11, C12, C15, C18, C19, C20, C22, C28, C31
1010kResistor_SMD:R_0402_1005MetricR15, R16, R17, R18, R19, R27, R39, R40, R43, R44
710uCapacitor_SMD:C_0805_2012MetricC2, C3, C4, C21, C27, C32, C33
5LEDLED_SMD:LED_0603_1608MetricD1, D9, D10, D11, D12
5TestPoint_ProbeTestPoint:TestPoint_Pad_D1.5mmTP1, TP2, TP3, TP4, TP5
40Resistor_SMD:R_0402_1005MetricR33, R34, R35, R36
4220Resistor_SMD:R_0603_1608MetricR23, R24, R25, R26
4MountingHoleMountingHole:MountingHole_2.2mm_M2H1, H2, H3, H4
31kResistor_SMD:R_0603_1608MetricR5, R20, R21
31kResistor_SMD:R_0402_1005MetricR13, R14, R42
3Conn_01x01local:BananaJack_15.3mmJ4, J5, J6
3SW_SPDTlocal:S3PCBKPSW1, SW2, SW3
210uInductor_SMD:L_0805_2012MetricL3, L4
218pCapacitor_SMD:C_0603_1608MetricC14, C16
2220pCapacitor_SMD:C_0603_1608MetricC13, C17
222uCapacitor_SMD:C_0805_2012MetricC29, C30
24.7kResistor_SMD:R_0402_1005MetricR46, R47
247kResistor_SMD:R_0402_1005MetricR1, R37
2B140-13-FDiode_SMD:D_SMAD3, D13
2BAS3005BDiode_SMD:D_SOD-523D5, D6
2Conn_01x04Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ7, J8
2FiducialFiducial:Fiducial_1mm_Mask2mmFID1, FID2
2MCP2003Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU4, U6
2SMF33CA-DIODiode_SMD:D_SMFD7, D8
11.5kResistor_SMD:R_0402_1005MetricR22
110uHlocal:HPI0530L2
12.2nCapacitor_SMD:C_0402_1005MetricC23
12.2uCapacitor_SMD:C_0805_2012MetricC24
1220Resistor_SMD:R_0402_1005MetricR45
12N7002Package_TO_SOT_SMD:SOT-23Q6
12klocal:3305SMD-POTR30
1330Resistor_SMD:R_0402_1005MetricR41
14.7uHlocal:HPI0530L5
174HCT595Package_SO:SO-16_3.9x9.9mm_P1.27mmU7
193LCxxCPackage_SO:SO-8_3.9x4.9mm_P1.27mmU5
1Bananalocal:BananaJack_15.3mmJ3
1CFPX-104Crystal:Crystal_SMD_5032-4Pin_5.0x3.2mmY1
1Conn_01x02Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ2
1FT4232HPackage_QFP:LQFP-64_10x10mm_P0.5mmU3
1LMR51420Package_TO_SOT_SMD:SOT-23-6U8
1SN050-08Fuse:Fuse_1206_3216MetricF1
1TPS61085Package_SO:TSSOP-8_3x3mm_P0.65mmU1
1TVCM17015BPBButton_Switch_SMD:SW_SPST_SKQG_WithStemSW4
1USB_Blocal:USB_B_Lumberg_2411_02_HorizontalJ1

Similar boards

  • 2 layers41.7 × 108.9 mmBattery manager, the printed circuit board in 3D

    Battery manager

    c4deszes/bike-battery-management

    Battery management system

    201 parts
  • 2 layers67.4 × 44.8 mmAllSerial LIN, the printed circuit board in 3D

    AllSerial LIN

    Phunkafizer/AllSerial

    An universal sophisticated USB-serial converter

    13 parts6MIT
  • 2 layers49 × 47 mmGNI plutoclocker, the printed circuit board in 3D

    GNI plutoclocker

    cr1tbit/GNI-plutoclocker

    This device serves a couple of roles: allowing clocking adalm-pluto by an external clock source of broad frequency range injecting clock signal into RF trace, for clocking modded LNB supplying LNB with DC voltage…

    72 parts6MIT
  • 2 layers100 × 100 mmKijaniCarrier, the printed circuit board in 3D

    KijaniCarrier

    Waziup/WaziDev

    WaziDev official repository

    75 parts5Apache-2.0
  • 4 layers82 × 34 mmFiber phantom, the printed circuit board in 3D

    Fiber phantom

    jayis1/hacker-devices

    Full-cycle hardware designs for security research devices — each device is a subfolder with its own README, schematics, PCB layout, and software stack

    17 parts2
  • 2 layers78 × 84 mmLC meter, the printed circuit board in 3D

    LC meter

    schuyler4/LCR_Meter

    An LCR meter design.

    93 parts6MIT
  • 2 layers100 × 95 mmController, the printed circuit board in 3D

    Controller

    Doc-Raptor/dragon_controller

    32bit 3d-printer controller board for 3d printers from china with the anet-stlye controller-board

    88 parts3
  • 2 layers84 × 138.6 mmDBW5.10, the printed circuit board in 3D

    DBW5.10

    elcano/V5_Drive-by-wire

    Updated code and PCB for light vehicle drive by wire.

    120 parts2MIT

Questions

How big is the Line usb master PCB?

It measures 79.5 × 50 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Line usb master use?

111 parts, built around the MCP2003-E/P, 74HCT595D, FT4232HL and TPS61085. 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 Line usb master KiCad files?

From the c4deszes/bike-line-protocol repository on GitHub, at the commit this page was made from: the board is hardware/line-usb-master.kicad_pcb and its schematic hardware/line-usb-master.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Line usb master design in my own project?

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