Skip to the content
2 layers95.9 × 69.1 mmPanel, the printed circuit board in 3D

PCB to mount a servo below a C track switch

Size
95.9 × 69.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
80
Nets
25
Pads
220
Tracks, vias
703, 78
Pours
2
Routed
Yes
KiCad
KiCad 4
Created
18 Nov 2013
Updated
23 Nov 2015

Overview

Panel is an open-source printed circuit board by dirkjankrijnders, from the dirkjankrijnders/Servo_mount repository on GitHub. It is a 2-layer board of 95.9 × 69.1 mm with 80 parts on 25 nets, routed with 703 tracks and 78 vias.

It is built around the UA78L05CD, BC847 and DF01S. Its parts include 18 resistors, 18 connectors, 12 capacitors, 6 ICs and 4 transistors. It belongs with the robots and motor control boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

3

README

README.md

Servo mount

Based on several threads on the dutch three-rail model railroad forum (for example here), I came up with the idea to combine a PCB of say a decoder with the mechanical mounting of a servo. (cheap to manufacture on small scale and very precise). The result:

Revision 1

First servo mounted!

The design is based on the PSSD, however using a different microcontroller (attiny84) for more memory options and smaller footprint. The construction also meant sacrificing the buttons, so another way of programming the decoder was needed. The ISP connector already planned also has the I2C lines available, so the decoder can now be configured by setting registers over I2C. An arduino sketch facilitates this process.

The decoder has not yet been tested on the PCB, but works on the breadboard. It support two servo's, so only half of the PCB's need their components placed, the second servo can be connected via standard servo wires.

Revision 2

I already found some issues with the electronics side of the decoder, so a second revision is planned. The second revision fixes most footprint issues as well as allowing mount in both left and right switches. Also all components have been moved to the back of the PCB so the build decoder should flush in the C rail ballast form. A good count of the I/O ports shows that there are three unused, these could be used for manual switch buttons.

Second revision boards

What is missing? Exactly, the hole for the servo. But a drill can fix that, the 3rd revision will have a hole with the proper shape. Drilling the hole however severed some traces, so those have to be botched, also fixed in the third revision.

After those mechanical problems the electronics all work! So the work on the firmware commenced in full, as per August 16th speed control and a programmer for the I2C interface have been implemented. The manual switch button remain to be implemented.

Revision 3

PCB's for rev.3 were ordered on December 2nd and the changes are:

  • Footprint for G-90 servo's
  • More I/O pads
  • Shape changes to fit under 2471? switches
  • moved the solder pads of C4 and the rail power as to not make short-cut contact when the lever passes.

Pictures follow when the boards arrive Cost/BOM

Part#Reichelt #price* (€)
IC11ATTINY 44A-SSU1.07
D11SMD DF 0050.18
U11µA 78L05 SMD0.15
U21BUZ 110.57
R*,C*20.50**
PCB1Seeed1.00
Total3.47
\* Estimate for orders of 10.
\** SMD 0805 Components from cost almost nothing in bulk (> 10)

Firmware

To make to PSSD firmware:

text
make BOARD=CSMD

To set the fuse and program both flash and eeprom:

text
avrdude -p t44 -U lfuse:w:0xe2:m -U hfuse:w:0xdf:m -U efuse:w:0xff:m
make flash BOARD=CSMD

Parts

80
QtyValueFootprintReferences
8100nSM0805C1, C1, C5, C5, C6, C6, C7, C7
810kSM0805R1, R1, R3, R3, R4, R4, R7, R7
81kSM0805R2, R2, R5, R5, R6, R6, R8, R8
8SOLDER_PADPyth:solder_pad_2mm_fbJ5, J5, J6, J6, J7, J7, J8, J8
6SOLDER_PADsolder_pad_2mm_fbJ1, J1, J2, J2, J3, J3
6~M2~, ~, ~, ~, ~, ~
4BC847SOT23Q1, Q1, Q2, Q2
4CONN_3SIL-3K5, K5, K6, K6
4~Solderpad_2~, ~, ~, ~
2dp_devices-CC-BY-SA,
2220uSolderpad_2C4, C4
233pSM0805C8, C8
24k7SM0805R12, R12
2ATTINY84-SSSOIC-14IC1, IC1
2BUZ11Transistors_TO-220:TO-220_FET-GDS_VerticalU2, U2
2CONN_3X2pin_array_3x2P1, P1
2DF01SDIPSMD4D1, D1
2VAL**Pyth_servos:Combined_servoSG90_, SG90_
2_Pyth_mechanical:5mm_mousebite_, _
2uA78L05SO8EU1, U1
2~solder_jumper_connJ4, J4

More from dirkjankrijnders/Servo_mount

1
  • 2 layers80 × 34.1 mmServo mount, the printed circuit board in 3D

    Servo mount

    dirkjankrijnders/Servo_mount

    PCB to mount a servo below a C track switch

    39 parts1

Similar boards

  • 2 layers90 × 66 mmSursaTensiune, the printed circuit board in 3D

    SursaTensiune

    CatalinSerafimescu/ZK-4KXPowerSupplyWithFan

    ZK-4KX power supply enclosure with automated fan

    23 parts
  • 2 layers100 × 15 mmCellLight, the printed circuit board in 3D

    CellLight

    humanHardDrive/CellLight

    A shameless copy of the NanoLeaf light

    30 parts2MIT
  • 4 layers136.6 × 54.6 mmBitcart, the printed circuit board in 3D

    Bitcart

    skot/bitcart-node

    Raspberry Pi CM4 based Bitcoin node with PoE and M.2 NVMe

    78 parts1
  • 2 layers234 × 58 mmPGA2311 3, the printed circuit board in 3D

    PGA2311 3

    dmsd-lab/AMP8611

    AMP8611 - open hardware integrated stereo power amplifier with a 2-channel input selector, PGA2311 digital volume control and LM3886 power stages

    213 partsCERN-OHL-S-2.0
  • 4 layers65 × 56 mmPoe4pi, the printed circuit board in 3D

    Poe4pi

    Slenderman00/poe4pi-5

    31 parts
  • 2 layers271.8 × 114.3 mmArdumower mega shield svn, the printed circuit board in 3D

    Ardumower mega shield svn

    Ardumower/ardumower

    Develop an open source robotic lawn mower (HW+SW reference platform)

    426 parts282
  • 2 layers130 × 80 mmSmu main 1, the printed circuit board in 3D

    Smu main 1

    jaromir-sukuba/J-SMU

    DIY source-measure unit

    210 parts244
  • 2 layers58 × 110 mmVco core, the printed circuit board in 3D

    Vco core

    shmoergh/moduleur

    Fully analog DIY-friendly modular synth

    146 parts222

Questions

How big is the Panel PCB?

It measures 95.9 × 69.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Panel use?

80 parts, built around the UA78L05CD, BC847 and DF01S. 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 Panel KiCad files?

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

Can I use the Panel design in my own project?

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