Skip to the content
2 layers68 × 86.9 mmNBoxRpi, the printed circuit board in 3D

An extension platform for the Raspberry Pi that mimics the functionality of a PLC.

Size
68 × 86.9 mm
Copper layers
2
Thickness
1.6 mm
Parts
95
Nets
70
Pads
325
Tracks, vias
619, 62
Pours
4
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
7 Dec 2020
Updated
7 Dec 2020

Overview

NBoxRpi is an open-source printed circuit board by trihome, from the trihome/RasPi_NervesBOX repository on GitHub, published under the CC-BY-SA-4.0 licence. It is a 2-layer board of 68 × 86.9 mm with 95 parts on 70 nets, routed with 619 tracks and 62 vias.

It is built around the 74HC541D, MCP3002-I/P and TLP222AF, with the DS1307+, 1N4148W and FOD814A300W among its other parts. Its parts include 41 resistors, 16 diodes, 10 connectors, 9 ICs and 5 capacitors.

Main components

7

README

README.md

Nerves BOX for Raspberry Pi

はじめに

このボードは、産業用に使用される機器(例:24V駆動のスイッチ、センサー、リレーなど)をRaspberry Piへ接続できるようにします。

詳しくは、Qiitaの記事「Elixir/NervesでPLC(多機能リレー)を作ってみた」をご覧ください。

pcb01 pcb02

仕様

機能仕様補足
出力4ch(フォトリレー絶縁)シンク(NPN)・ソース(PNP)駆動切り替え可能。各chの動作確認LEDあり。
入力4ch(フォトカプラ絶縁)〃
AD変換10bit 2ch非絶縁・入力保護のダイオード付き
時刻保持リアルタイムクロックDS1307ボタン電池でバックアップ
GROVEコネクタあり、I2C x 15V電源タイプ
外部UART端子あり x 1RaspberryPiのUARTに直結
電源5V系/24V系は個別に供給それぞれポリスイッチ(過電流防止)あり

J5, J7の接続

対応表GPIO(BCM表記)本機の端子
入力12X0
〃16X1
〃20X2
〃21X3
出力6Y0
〃13Y1
〃19Y2
〃26Y3

J2の接続

駆動したい方法Pow24+InPow24-InD16D13X側COM端子Y側COM端子
シンク+24VGND→点灯消灯GND+24V
ソースGND+24V→消灯点灯+24VGND

作り方

Manualをご覧ください。

Parts

95
QtyValueFootprintReferences
1410kResistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR13, R14, R15, R16, R17, R18, R19, R20, R32, R33, R34, R35, R40, R41
104.7kResistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR1, R2, R3, R4, R5, R6, R7, R8, R26, R31
81kResistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR9, R10, R11, R12, R36, R37, R38, R39
8330Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR21, R23, R24, R25, R27, R28, R29, R30
41N4148WDiode_SMD:D_SOD-123D1, D2, D3, D4
4FOD814A300WPackage_DIP:DIP-4_W7.62mmPC1, PC2, PC3, PC4
4GrLED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD5, D6, D7, D8
4MountingHoleMountingHole:MountingHole_3mmMH1, MH2, MH3, MH4
4TLP222APackage_DIP:DIP-4_W7.62mmU6, U7, U8, U9
4YeLED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD9, D11, D12, D14
30.1uFCapacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolderC1, C2, C4
3RedLED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD10, D13, D16
2Pin Header 3Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ3, J9
2TB401-1-4-E_my_kicad_symbol:Terminal_TB401-1-4-EJ2, J6
10.17A(MAX0.34)Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmF1
10.5A(MAX1A)Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmF2
1100uFCapacitor_THT:CP_Radial_D5.0mm_P2.50mmC3
1220uFCapacitor_THT:CP_Radial_D5.0mm_P2.50mmC5
132.768kHzCrystal:Crystal_Round_D2.0mm_VerticalY1
1470Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR22
174HC541Package_SO:SO-20_5.3x12.6mm_P1.27mmU4
1AE-PCA9306Package_DIP:DIP-8_W7.62mmU1
1CH243-2032LF_my_kicad_symbol:BatteryHolder_Keystone_CH74-2032LFBT1
1DS1307+Package_SO:SO-8_3.9x4.9mm_P1.27mmU3
1GROVE CONNConnector:NS-Tech_Grove_1x04_P2mm_VerticalJ1
1MCP1703AT-3302EPackage_TO_SOT_SMD:SOT-23U5
1MCP3002Package_DIP:DIP-8_W7.62mmU2
1MountingHoleSymbol:OSHW-Logo_5.7x6mm_SilkScreenH1
1MountingHole_my_kicad_symbol:CC-BY-SAH2
1Pin Header 4Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ8
1RasPi CONN_my_kicad_symbol:Connector_21602X20GREP1
1SBR1A40SADiode_SMD:D_SMAD15
1TB401-1-3-E_my_kicad_symbol:Terminal_TB401-1-8-EJ7
1TB401-1-3-E_my_kicad_symbol:Terminal_TB401-1-3-EJ4
1TB401-1-8-E_my_kicad_symbol:Terminal_TB401-1-8-EJ5

Similar boards

  • 2 layers87 × 56 mmPiFA 8xy, the printed circuit board in 3D

    PiFA 8xy

    trihome/RasPi_PiFA

    IO interface board for Raspberry Pi "HAT".

    69 parts8CC-BY-SA-4.0
  • 2 layers72.4 × 91.4 mmPedal pi Robin, the printed circuit board in 3D

    Pedal pi Robin

    thawney/PedalPiV2

    Pedal Pi V2 by Thawney is an all new and regularly maintained Pedal-Pi by electrosmash; a lo-fi programmable guitar pedal that works with the Raspberry Pi ZERO Board.

    54 parts45GPL-3.0
  • 2 layers65 × 30 mmGardening pHAT, the printed circuit board in 3D

    Gardening pHAT

    AnaviTechnology/anavi-gardening

    ANAVI Gardening uHAT is an open source hardware add-on board for Raspberry Pi that helps you develop smart solutions for monitoring and growing plants.

    27 parts11
  • 2 layers100 × 84 mmCyclope, the printed circuit board in 3D

    Cyclope

    RICCIARDI-Adrien/Cyclope

    Raspberry Pi powered robot with camera live stream and 360° lidar.

    88 parts5MIT
  • 2 layers110.9 × 59.5 mmProcon gcc main pcb, the printed circuit board in 3D

    Procon gcc main pcb

    ESCA47/thingamaPRO

    Order at your own risk, even i fuck up too often. Maybe poke at me for help but for the most part you are on your own if you do decide to order these.

    77 parts4CERN-OHL-S-2.0
  • 2 layers125 × 79.4 mmPHORI 2 0 5, the printed circuit board in 3D

    PHORI 2 0 5

    Jwray0/phori_2

    Forked from the https://github.com/PhobGCC/PhobGCCv2-HW Project

    114 parts3CERN-OHL-S-2.0
  • 2 layers125.4 × 84.5 mmZinnia2 0 5, the printed circuit board in 3D

    Zinnia2 0 5

    plants-tech/Zinnia

    fork of a fork of phob 2.x (Phob 2.x Official -> PhloraGCC -> Zinnia)

    113 parts2CERN-OHL-S-2.0

Questions

How big is the NBoxRpi PCB?

It measures 68 × 86.9 mm and has 2 copper layers, 1.6 mm thick.

What parts does the NBoxRpi use?

95 parts, built around the 74HC541D, MCP3002-I/P, TLP222AF and DS1307+. 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 NBoxRpi KiCad files?

From the trihome/RasPi_NervesBOX repository on GitHub, at the commit this page was made from: the board is NBoxRpi.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the NBoxRpi design in my own project?

Its repository publishes it under the CC-BY-SA-4.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).