Skip to the content
2 layers180.7 × 143.8 mmCam server, the printed circuit board in 3D

Smart Home System / Alarm System / Input Output System for Raspberry Pi CM4

Size
180.7 × 143.8 mm
Copper layers
2
Thickness
1.68 mm
Parts
231
Nets
383
Pads
1,192
Tracks, vias
3,776, 336
Pours
6
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
13 Oct 2022
Updated
12 Nov 2022

Overview

Cam server is an open-source printed circuit board by cruunnerr, from the cruunnerr/CrallyBoard repository on GitHub. It is a 2-layer board of 180.7 × 143.8 mm with 231 parts on 383 nets, routed with 3,776 tracks and 336 vias.

It is built around the AP22653W6, FSUSB42MUX and ICL7665S, with the DF01S-T, ZPY7.5 and BC337 among its other parts. Its parts include 45 resistors, 44 capacitors, 23 diodes, 20 connectors and 13 ICs. It belongs with the computers and single-board computers boards and the Raspberry Pi (Linux) boards of this library.

Main components

6

README

README.md

CrallyBoard

Smart Home System / Alarm System / Input Output System for Raspberry Pi CM4

THIS IS JUST A DOCUMENTATION FOR MYSELF! YOU CAN USE IT, BUT THERE MAY BE MISSING SOME STEPS!

realitic_3d_animation

This is a custom Board made for Raspberry Pi CM4 Module


It contains:

  • 16 Inputs via GPIO (with 3,3V Z-Diodes) connected through a PIN-Header to eventually add some Input-Handling PCBs in future
  • 1 seperate Input via GPIO
  • 16 Ouputs via MCP23017 (I2C). Outputs from MCP over OptoCoupler to a PinHeader to directly connect these Output-Relays-Modules
  • 1 OnBoard Output Relays directly via GPIO
  • 1 Display Port for SSD1306 (I2C) (3V or 5V)
  • 1 RTC Port for DS3231 (I2C) (3V or 5V)
  • 1 RS-485 Port
  • 1 free to use I2C Port (3V or 5V)
  • 1 free to use onboard button
  • 1 USB OTG Port
  • 1 Double USB Port for using with RPi
  • 1 Ethernet Gigabit Port with PoE
  • 1 PCI-E 1x Port
  • 2 FAN-Ports (5V and 12V)

Main Supply Power:

There yre several Options:

  • PoE when AG5300 or AG5400 is on board
  • USB-C (min. 15W)
  • Directly 7-15V via "12V IN"-Port
  • 16-30V via "16-30V IN"-Port

When using 16-30V Power Supply you were able to connect a Gel Lead Battery. With the potentiometer you can adjust the Battery Load Voltage (max. 15V due to Zener Diodes). Also there is a deep discharge protection via ICL7665. It disconnects the Output from Battery at around <11,2V and reconnects at around >13V.

Well, the values are not that accurate and I know that the circuit maybe isn't the best solution. But for my usage it's working well enough.

For the 3V Line on the board you can choose (via jumper) to use the 3V comming from the RPi or use a seperate regulator (TL1963A-33DCYR).


Power Consumption:

When RPi, SSD1306 and DS3231 is on Board and no Relais is activ we are around = 3,8W (12,9V*0,3A)

With all Relays on Ralay Board activ we are around = 14W

So every Relay consumes around 0,6W or 0,05A

So with no Relay activ and just using the RPi with OLED and RTC we get the following runtimes:

7Ah Battery = >20h

17Ah Battery = >50h

24Ah Battery = >75h


I personally use it as Smart Home System and Alarm System. The Software is written with python and php. Maybe I will add it to the repository later...

IMG_1065 IMG_1066

Parts

231
QtyValueFootprintReferences
21Jumper_2_BridgedJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP11, JP12, JP13, JP14, JP15, JP16, JP17, JP18, JP19, JP20, JP21, JP22, JP23, JP24, JP25, JP26 +5
191N47xxADiode_SMD:D_MiniMELFD10, D11, D12, D13, D14, D18, D19, D20, D21, D22, D23, D24, D25, D26, D27, D28 +3
1210uCapacitor_SMD:C_0805_2012MetricC16, C17, C24, C26, C27, C28, C29, C41, C42, C43, C44, C46
9100nCapacitor_SMD:C_0805_2012MetricC13, C18, C19, C20, C21, C22, C23, C36, C37
81kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR4, R14, R22, R26, R36, R40, R44, R45
610u 35vCapacitor_SMD:C_0805_2012MetricC30, C31, C32, C33, C34, C35
5MountingHole_4.3mm_M4MountingHole:MountingHole_4.3mm_M4H1, H2, H3, H4, H5
5Screw_Terminal_01x02TerminalBlock_WAGO:TerminalBlock_WAGO_804-102_1x02_P5.00mm_45DegreeJ7, J12, J13, J18, J23
436K 1%Resistor_SMD:R_0805_2012MetricR50, R51, R52, R54
43k3Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1, R2, R20, R21
4Jumper_3_Bridged12Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJP1, JP2, JP3, JP4
4PC847Package_DIP:DIP-16_W7.62mmU18, U19, U20, U21
4Screw_Terminal_01x08aaaa:250-408J14, J16, J26, J27
3 Button_Switch_THT:SW_PUSH_6mm_H5mmSW1, SW2, SW3
3100uF/ 16VCapacitor_SMD:CP_Elec_8x6.2C4, C7, C8
32,2kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR10, R12, R19
32.2K 1%Resistor_SMD:R_0805_2012MetricR29, R48, R49
3TPD4EUSB30Package_SON:USON-10_2.5x1.0mm_P0.5mmU7, U8, U12
2100uFCapacitor_Tantalum_SMD:CP_EIA-7343-31_Kemet-DC25, C45
210kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR16, R18
212K 1%Resistor_SMD:R_0805_2012MetricR28, R30
220kResistor_THT:R_Array_SIP9RN1, RN2
227pFResistor_SMD:R_0805_2012MetricC14, C15
2330RResistor_THT:R_Array_SIP9RN5, RN6
23AFuse_Holders_and_Fuses:Fuseholder5x20_horiz_open_lateral_Type-IIF2, F6
2470RResistor_SMD:R_0805_2012MetricR46, R47
2470RResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR32, R33
25,1kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR38, R39
2Conn_02x03_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJP5, JP6
2DF01S-Taaaa:SOP510P1040X293-4NBR1, BR2
2FANConnector_Molex:Molex_KK-254_AE-6410-02A_1x02_P2.54mm_VerticalJ3, J9
2ZPY7.5Diode_SMD:D_MiniMELFD5, D6
2nfResistor_SMD:R_0805_2012MetricR31, R34
2nfCapacitor_SMD:C_0805_2012MetricC38, C40
10,1uFCapacitor_THT:CP_Radial_Tantal_D4.5mm_P2.50mmC9
10,5RPackage_TO_SOT_THT:TO-126-2_Horizontal_TabUpR37
11,5AFuse_Holders_and_Fuses:Fuseholder5x20_horiz_open_lateral_Type-IIF3
11.2nFCapacitor_SMD:C_0805_2012MetricC39
1100kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR13
1100nF/ 16VCapacitor_SMD:C_0805_2012MetricC3
1100uF/ 50VCapacitor_SMD:CP_Elec_8x6.2C47
110RResistor_SMD:R_0805_2012MetricR25
110uFCapacitor_SMD:CP_Elec_8x6.2C10
112K 1%Capacitor_SMD:C_0805_2012MetricR53
1137kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR15
115K 1%Capacitor_SMD:C_0805_2012MetricR55
11N4007Diode_THT:D_DO-41_SOD81_P10.16mm_HorizontalD29
12,5AFuse_Holders_and_Fuses:Fuseholder5x20_horiz_open_lateral_Type-IIF7
120K 1%Resistor_SMD:R_0805_2012MetricR27
1220RResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR3
1220uFCapacitor_SMD:CP_Elec_10x10C6
122u/10VCapacitor_SMD:C_0805_2012MetricC48
124MHzCrystal:Crystal_SMD_HC49-SDY1
1330RResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR35
133uHInductor_THT:L_Axial_L26.0mm_D10.0mm_P7.62mm_Vertical_Fastron_77AL2
1470uFCapacitor_THT:CP_Radial_D10.0mm_P5.00mmC2
1690-008-221-904CM4IO:MOLEX_USB_67298-4090J22
174LVC1G07_copyPackage_TO_SOT_SMD:SOT-353_SC-70-5U1
1750kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR17
1820RResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR6
1AG5300 bzw. AG5400aaaa:AG5300U25
1AP22653W6Package_TO_SOT_SMD:SOT-23-6U13
1AP64501SP-13Package_SO:SOIC-8-1EP_3.9x4.9mm_P1.27mm_EP2.95x4.9mm_Mask2.71x3.4mm_ThermalViasU22
1Act_LEDLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderLD7
1BC337Package_TO_SOT_THT:TO-92_InlineQ2
1ComputeModule4-CM4CM4IO:Raspberry-Pi-4-Compute-ModuleModule1
1Conn_01x02TerminalBlock:TerminalBlock_bornier-2_P5.08mmJ29
1Conn_01x02Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJ1
1Conn_01x04Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ6
1Conn_01x12_MaleConnector_PinSocket_2.54mm:PinSocket_1x12_P2.54mm_VerticalJ28
1Conn_02x03_Counter_ClockwiseButton_Switch_SMD:SW_DIP_SPSTx03_Slide_Omron_A6S-310x_W8.9mm_P2.54mmJ2
1Conn_02x10_Odd_EvenConnector_IDC:IDC-Header_2x10_P2.54mm_VerticalJ17
1Conn_02x18_Odd_EvenConnector_PinSocket_2.54mm:PinSocket_2x18_P2.54mm_VerticalJ30
1Conn_02x18_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x18_P2.54mm_VerticalJ31
1D_ZenerDiode_THT:D_DO-15_P12.70mm_HorizontalD30
1FSUSB42MUXPackage_SO:MSOP-10_3x3mm_P0.5mmU10
1G5LE-1Relay_THT:Relay_SPDT_Omron-G5LE-1K1
1HeatsinkmanuelLIB:Heatsink_SK95HS3
1HeatsinkHeatsink:Heatsink_Fischer_SK104-STC-STIC_35x13mm_2xDrill2.5mmHS2
1ICL7665Package_DIP:DIP-8_W7.62mm_SocketU4

The 198 most common of 231 parts.

Similar boards

  • 2 layers160 × 100 mmCountingPRU v2-3, the printed circuit board in 3D

    CountingPRU v2-3

    lnls-sirius/counting-pru

    Multi-purpose counting system based on Beaglebone Black PRU

    94 parts
  • 4 layers110 × 100 mmBitcart, the printed circuit board in 3D

    Bitcart

    skot/bitcart

    Raspberry Pi CM4 based antminer control board

    134 parts23
  • 6 layers100 × 220 mmSrvant mk2, the printed circuit board in 3D

    Srvant mk2

    lwolf/srvant-board

    [WIP] Carrier board for the CM4 with BMC

    276 parts2
  • 6 layers155 × 100 mmCM5IO második terv, the printed circuit board in 3D

    CM5IO második terv

    NBence0/JedlikBots

    Welcome to the official GitHub page of JedlikBots! 🎓🤖 We are the dedicated team of software development and robotics students from the Jedlik Ányos Technical School in Győr, Hungary.

    491 parts
  • 4 layers160 × 90 mmCmb cat, the printed circuit board in 3D

    Cmb cat

    rassom-anatol/cmb-cat

    Cortex Motion Base for EtherCAT

    151 parts

Questions

How big is the Cam server PCB?

It measures 180.7 × 143.8 mm and has 2 copper layers, 1.68 mm thick.

What parts does the Cam server use?

231 parts, built around the AP22653W6, FSUSB42MUX, ICL7665S and DF01S-T. 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 Cam server KiCad files?

From the cruunnerr/CrallyBoard repository on GitHub, at the commit this page was made from: the board is kicad files/cam_server.kicad_pcb and its schematic kicad files/cam_server.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Cam server design in my own project?

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