Skip to the content
4 layers52 × 74 mmFRC Sensor CAN, the printed circuit board in 3D

FRC Sensor CAN

barkinvar/sugerCANe1

A compact interface for three NPN, PNP or logic sensors on an FRC robot. Each port has a removable 5 V / 12 V power jumper; input type is configured in software.

Size
52 × 74 mm
Copper layers
4
Thickness
1.6 mm
Parts
144
Nets
77
Pads
412
Tracks, vias
1,530, 242
Pours
7
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
8 Sep 2026
Updated
10 Sep 2026

Overview

FRC Sensor CAN is an open-source printed circuit board by barkinvar, from the barkinvar/sugerCANe repository on GitHub. It is a 4-layer board of 52 × 74 mm with 144 parts on 77 nets, routed with 1,530 tracks and 242 vias.

It is built around the STM32F042K6T6, TCAN3413DRB and AP2112K-3.3TRG1, with the LM339LVD, SN74AHCT1G125DBVR(UMW) and TPS2553DBVR-1 among its other parts. Its parts include 55 resistors, 40 capacitors, 13 diodes, 9 ICs and 9 transistors. It belongs with the sensors and measurement boards and the STM32 boards of this library.

Main components

12

README

README.md

sugarCANe — sensor inputs over CAN

GitHub repository: barkinvar/sugerCANe

A compact interface for three NPN, PNP or logic sensors on an FRC robot. Each port has a removable 5 V / 12 V power jumper; input type is configured in software. CAN provides sensor readings, device-ID changes and recoverable firmware updates.

sugarCANe is the product name; SC12 Rev H remains the hardware identity. The underside carries a large original pixel-cane illustration on a raised island with a stepped underside and a bold pixel sugarCANe wordmark, with no other text. Bottom artwork render.

Start with Rev H in current/. It is an unbuilt engineering prototype, with physical qualification still pending. It uses its own protocol and drivers; it is not compatible with CTRE Phoenix or GrappleHook.

Rev H adds one RGB status LED on the right, with space for a printed light duct, and a recessed female programming socket for small batches. It retains G's protected sensor supplies, CAN fault reset and rail measurements. See the engineering review for the evidence and remaining physical tests.

Selected assembly plan: JLC fits 129 top-side SMT parts. You buy STM32F042K6T6 from DigiKey and solder U5, then fit ten through-hole parts and three jumper caps. U5 is omitted from the factory BOM, CPL and stencil. All 54 factory types had stock for ten boards in the September 10, 07:22 UTC check. Full power/input/firmware and four-layer CAD screens pass; factory process/stack/inspection confirmation and quotation remain pending. Start here: where to buy and how to order.

SC12 Rev H

Current designDetail
Board input6–22 V DC
Sensor powerRegulated 5 V / 12 V; 300 mA shared per rail
Supply protectionCurrent limiting for shorts to ground; 5 V-to-12 V cross-connections are unsupported
SignalsPositive 0–30 V targets; NPN / PNP / push-pull / floating detection / keeper
Size and assembly52 × 74 mm, four copper layers; all components on top
User assemblyDigiKey MCU, six terminals, three voltage headers, service socket and three caps
Parts estimate$27.18 per board at 10 boards before SMT attrition; $28.06 with conservative allowance
Cost exclusionsPCB, assembly, freight, tax and testing; no factory quotation yet

The selected purchasing estimate is $1.81 lower per board than the preceding $28.99 estimate, before SMT attrition. It includes the DigiKey MCU; optional spares are extra. Assembly and the reusable programmer are separate. Cost basis.

Find what you need

TaskLink
Connect and configure sensorsWiring · input modes
Understand the power circuitCircuit explanation · schematic PDF
Assemble or request a quoteFactory instructions · package status
Read LED / choose a programmerStatus and programming
Program or update over CANCAN service · robot drivers
Review CAD and testsCurrent design · power simulations · validation summary
Download the full designRev H source/release status

Why the revisions differ

RevisionMade forMain difference
AOriginal four-input concept96 × 96 mm baseline
BSmaller, configurable three-input board60 × 68 mm; physical power/bias/threshold settings
B2Factory assembly of B at lower parts costEquivalent passives and sourcing; same B circuit
C LiteSimpler, smaller digital interface52 × 56 mm; 5 V and protected battery power; fewer parts
D SC12Industrial sensors needing regulated 12 V52 × 64 mm; regulated 5 V / 12 V and rail-health reporting
D2 SC12Lower-cost assembly and CAN servicingHand-fitted terminals, removable voltage jumpers, CAN setup/update
E SC12Mixed sensor types without bias solder settingsSoftware NPN/PNP/push-pull/float/keeper; 52 × 70 mm
F SC12Keep E's features at lower costInput-protected boost, cheaper passives; startup/short findings remain in the archive
G SC12Resolve the power-path findings and enable CAN recoveryOutput eFuse, controlled inrush, rail ADCs, default-off enables; 52 × 74 mm
H SC12 — currentVisible diagnostics and inexpensive programming for ten boardsOne RGB LED, buffered data, ordinary 2.54 mm service header; same 52 × 74 mm, top-side assembly

Revision details · Historical downloads. Use hardware, firmware and instructions from the same revision.

Folder map

Clone the repository and enter the maintained design:

sh
git clone https://github.com/barkinvar/sugerCANe.git
cd sugerCANe/current

See tools and reproduction for setup and build instructions.

text
current/                 The maintained Rev H design
  hardware/              Native KiCad, local libraries and circuit model
  firmware/              MCU application, bootloader and tests
  host/ + examples/      CAN setup tools and robot drivers
  bom/ + order/          Parts lists and factory package status
  docs/                  Wiring, assembly, servicing and qualification
  output/ + reports/     Fabrication exports, drawings and check evidence
  scripts/ + tools/      Reproduction scripts and pinned dependencies
  release/               Release package status
archive/                 Original older release/order ZIPs and checksums

Earlier expanded project copies and unused experiments were removed from the current tree. Historical packages are unchanged, and previous sources remain in Git history. Contributing and generated-file policy.

The 52 × 74 mm board has top-side assembly, rounded corners, improved edge clearances, a recessed debug socket and labelled voltage selectors. Its 1,530 straight track segments and 242 vias satisfy the routing rules. All-layer cleanup removes pad overshoots, redundant paths and stubs, with explicit chamfered branches. Ground pours use checked widths and gaps; see the ground cleanup. Component positions and artwork are unchanged. See before/after details, all four copper layers and connector details.

The input connector-to-fuse and fuse-to-MOSFET routes are now 0.7 mm wide (14 segments widened from 0.5 mm). The protected input and converter paths retain their reviewed clearance necks. Width, clearance, connectivity and ground-pour checks cover all four layers; see the power-path review.

Copper layerRolePNGSVG
TopComponents, signals and powerPNGSVG
Inner 1Ground planePNGSVG
Inner 2Ground with selected signals and low-current supply branchesPNGSVG
BottomSignals, power and groundPNGSVG

These views show the actual exported copper and drills. Inner layers are viewed from the top; the bottom is mirrored for an underside view.

Parts

144
QtyValueFootprintReferences
14100kFRC_Sensor_CAN:R_0805_2012MetricR50, R60, R65, R66, R68, R70, R72, R73, R111, R112, R211, R212, R311, R312
14100nFFRC_Sensor_CAN:C_0805_2012MetricC3, C6, C11, C20, C21, C22, C27, C40, C41, C50, C51, C66, C74, C75
1210kFRC_Sensor_CAN:R_0805_2012MetricR3, R21, R22, R31, R40, R41, R52, R71, R75, R105, R205, R305
822uFFRC_Sensor_CAN:C_1206_3216MetricC4, C5, C12, C13, C60, C62, C63, C64
51uFFRC_Sensor_CAN:C_0805_2012MetricC7, C23, C61, C65, C71
520kFRC_Sensor_CAN:R_0805_2012MetricR67, R74, R103, R203, R303
5BSS138BKFRC_Sensor_CAN:SOT-23Q2, Q3, Q102, Q202, Q302
41kFRC_Sensor_CAN:R_0805_2012MetricR4, R110, R210, R310
310kFRC_Sensor_CAN:R_1206_3216MetricR109, R209, R309
31nFFRC_Sensor_CAN:C_0805_2012MetricC101, C201, C301
32.2MFRC_Sensor_CAN:R_0805_2012MetricR104, R204, R304
3220kFRC_Sensor_CAN:R_0805_2012MetricR101, R201, R301
32P PUSH 3.5mmFRC_Sensor_CAN:Weidmuller_LSF_90_2PJ1, J2, J3
33P PUSH 3.5mmFRC_Sensor_CAN:Weidmuller_LSF_90_3PJ4, J5, J6
35V / 12VFRC_Sensor_CAN:PinHeader_1x03_P2.00mm_VerticalJP101, JP201, JP301
3AO3401AFRC_Sensor_CAN:SOT-23Q101, Q201, Q301
3BAT46WFRC_Sensor_CAN:D_SOD-123D102, D202, D302
3SMAJ30AFRC_Sensor_CAN:D_SMAD101, D201, D301
210nFFRC_Sensor_CAN:C_0805_2012MetricC72, C73
220pFFRC_Sensor_CAN:C_0805_2012MetricC25, C26
24.7uFFRC_Sensor_CAN:C_0805_2012MetricC8, C24
2B240AFRC_Sensor_CAN:D_SMAD4, D5
2M3 NPTHH1, H2
10FRC_Sensor_CAN:R_0805_2012MetricR20
1102kFRC_Sensor_CAN:R_0805_2012MetricR1
110uFFRC_Sensor_CAN:C_1210_3225MetricC2
111.5kFRC_Sensor_CAN:R_0805_2012MetricR61
112.1kFRC_Sensor_CAN:R_0805_2012MetricR69
1120FRC_Sensor_CAN:R_1206_3216MetricR42
112V ZENERFRC_Sensor_CAN:D_SOD-123D3
113.7kFRC_Sensor_CAN:R_0805_2012MetricR2
113kFRC_Sensor_CAN:R_0805_2012MetricR63
12.61kFRC_Sensor_CAN:R_0805_2012MetricR62
12x5 SERVICE SOCKET 2.54mmFRC_Sensor_CAN:Service_2x05_P2.54mmJ8
13.3uHFRC_Sensor_CAN:L_Bourns_SRP5030TL2
1330FRC_Sensor_CAN:R_0805_2012MetricR30
133nFFRC_Sensor_CAN:C_0805_2012MetricC69
13A FASTFRC_Sensor_CAN:Fuse_Littelfuse-NANO2-451_453F1
147nFFRC_Sensor_CAN:C_0805_2012MetricC70
147uFFRC_Sensor_CAN:CP_Panasonic_FT_6.3x5.8C1
15.23kFRC_Sensor_CAN:R_0805_2012MetricR51
159kFRC_Sensor_CAN:R_0805_2012MetricR10
18.2uHFRC_Sensor_CAN:L_Bourns_SRP7028A_7.3x6.6mmL1
18MHz 18pFFRC_Sensor_CAN:Abracon_ABM3B_5.0x3.2mmY1
1AO4485FRC_Sensor_CAN:SOIC-8_3.9x4.9mm_P1.27mmQ1
1AP2112K-3.3FRC_Sensor_CAN:SOT-23-5U2
1ESD2CAN24-Q1FRC_Sensor_CAN:SOT-23D20
1GNDFRC_Sensor_CAN:TestPoint_Pad_D2.0mmTP1
1LM339LVFRC_Sensor_CAN:SOIC-14_3.9x8.7mm_P1.27mmU7
1LMR51430XDDCRFRC_Sensor_CAN:TSOT-23-6U1
1SK6805-EC15FRC_Sensor_CAN:LED_SK6805_EC15D10
1SMAJ13AFRC_Sensor_CAN:D_SMAD6
1SMBJ22AFRC_Sensor_CAN:D_SMBD2
1SN74AHCT1G125FRC_Sensor_CAN:SOT-23-5U10
1STM32F042K6T6FRC_Sensor_CAN:LQFP-32_7x7mm_P0.8mmU5
1TCAN3413DRFRC_Sensor_CAN:SOIC-8_3.9x4.9mm_P1.27mmU6
1TERM 120RFRC_Sensor_CAN:SolderSelector_2JP2
1TPS2553DBVR-1FRC_Sensor_CAN:SOT-23-6U4
1TPS259620DDARFRC_Sensor_CAN:TPS2596_DDA8U9
1TPS61085DGKRFRC_Sensor_CAN:VSSOP-8_3x3mm_P0.65mmU8

More from barkinvar/sugerCANe

1
  • 4 layers52 × 64 mmPrerouted, the printed circuit board in 3D

    Prerouted

    barkinvar/sugerCANe

    A compact interface for three NPN, PNP or logic sensors on an FRC robot. Each port has a removable 5 V / 12 V power jumper; input type is configured in software.

    124 parts1

Similar boards

  • 6 layers327 × 271 mmEGSE, the printed circuit board in 3D

    EGSE

    nanosatlab/pocat-hw

    IEEE PocketQubes

    212 parts12
  • 6 layers62 × 37 mmBM Mote 000639-AB, the printed circuit board in 3D

    BM Mote 000639-AB

    nickraymond/nereus_Pi_shield_ADIN2111

    A Raspberry Pi Zero 2W shield built from a copy of the Sofar Bristlemouth mote: ADIN2111 two-port 10BASE-T1L with PoDL, powered from the bus, 5 V for the Pi, a 24 V payload port, and the Sofar mote's power path…

    167 parts
  • 4 layers118 × 250 mmPcb lab, the printed circuit board in 3D

    Pcb lab

    y-watal/pcb_lab

    285 parts
  • 4 layers165 × 80 mmSpine, the printed circuit board in 3D

    Spine

    EPFLRocketTeam/2026_C_AV_HARDWARE

    Repository containing PCBs files of FH2 Avionics

    203 parts
  • 4 layers41.4 × 14 mmSolarCharger, the printed circuit board in 3D

    SolarCharger

    makingdevices/SolarCharger

    Small PCB that charges a Li-Ion battery from a solar panel and gives an output of 5V - 0.6A

    38 parts10
  • 4 layers64.6 × 55.2 mmWhisker, the printed circuit board in 3D

    Whisker

    HeyPCB/whisker

    Drop-in controller for Petoi's Nybble robot cat running the stock OpenCat firmware: ATmega328P, PCA9685, MPU-6050, USB-C, 3 A buck, protected battery input. 4-layer KiCad 10 board plus printed cradle.

    118 partsCERN-OHL-S-2.0
  • 4 layers182.8 × 68 mmPFM, the printed circuit board in 3D

    PFM

    martinrybka2000/openacme-pfm

    An open-source power quality meter for AC installations. It measures voltage, current, power (active / reactive / apparent), frequency, power factors and THD, and exposes the results over Ethernet and Modbus, with PQDIF…

    183 partsGPL-3.0
  • 2 layers40 × 40 mmController, the printed circuit board in 3D

    Controller

    Ken-2511/LDO

    Two KiCad 10 projects, stacked on the same 40x40 mm footprint:

    10 parts

Questions

How big is the FRC Sensor CAN PCB?

It measures 52 × 74 mm and has 4 copper layers, 1.6 mm thick.

What parts does the FRC Sensor CAN use?

144 parts, built around the STM32F042K6T6, TCAN3413DRB, AP2112K-3.3TRG1 and LM339LVD. 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 FRC Sensor CAN KiCad files?

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

Can I use the FRC Sensor CAN design in my own project?

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