Skip to the content
2 layers50 × 100 mmServo tester, the printed circuit board in 3D

Servo tester PCB (KiCad)

Size
50 × 100 mm
Copper layers
2
Thickness
1.6 mm
Parts
39
Nets
39
Pads
129
Tracks, vias
289, 44
Pours
1
Routed
Yes
KiCad
KiCad 4
Created
21 Feb 2017
Updated
21 Feb 2017

Overview

Servo tester is an open-source printed circuit board by TobiasKaiser, from the TobiasKaiser/servo_tester_pcb repository on GitHub. It is a 2-layer board of 50 × 100 mm with 39 parts on 39 nets, routed with 289 tracks and 44 vias.

It is built around the LM2596S-5.0, BC847 and 470UF 10V 6.3*7, with the CC56-12EWA among its other parts. Its parts include 12 resistors, 5 capacitors, 4 transistors, 3 diodes and 2 ICs. It belongs with the robots and motor control boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

4

README

README.md

servo_tester

An electronics project for me to learn how to design PCBs in KiCad and assemble it with SMD components.

Purpose

  • Generate a PWM signal of approximately 20 ms period with variable duty cycle.
  • The duty cycle can be controlled by a potentiometer.
  • For user feedback, the currently set value should be displayed on a 4 digit seven-segment display.
  • Through an additional push button, the user should be able to cycle through a number of settings to control parameters of the PWM output.
  • This PWM output can be used to control the position of a servo motor.
  • To have more, interesting stuff on the board, I put a little buck converter (instead of a linear voltage regulator like the 7805) on the board.

Hardware

Corrected circuit here: ...

Note: Some of the hardware problems which are corrected in this circuit file are not yet corrected in the board file.

Hardware Problems

As I expected, not everything worked out with the first PCBs and components that I have ordered.

  • Before the manufactured PCBs arrived, I already noticed that R5, R6, R7, R8 are incorrectly placed at the common electrode of the multiplexed seven-segment LED display. Using the regular way of multiplexing this display, this would have resulted in different brightnesses depending on the number of lights turned on of each digit. I could

  • The resistor R1 was incorrectly connecting the feedback output of the step down converter with VCC instead of GND. I could solve this problem by adding the resistor right between beside two adjacent pins of the switching converter.

  • Some of the capacitors that I have ordered were too large and could not fit on the PCB, and the push button switch that I ordered was accidentally a through-hole part. Next time I should spend a little more time on selecting the matching components.

  • Ground plane connection issue.

  • ADC problem (see next section)

Reading the potentiometer without built-in ADC module

Unfortunately, the ATtiny2313 has no built-in ADC. The conversion has to be done somehow else using a comparator therefore. The first attempt was to use the technique described in the Atmel application note AVR401 (the charging transient of the capacitor at the analog comparator input A is used to determine the current value of the analog comparator input B, which is the potentiometer). This turned out to be too inaccurate.

Firmware

The firmware can be found in the separate repository (servo_tester_firmware)[https://github.com/TobiasKaiser/servo_tester_firmware].

License

For everything else:

Copyright (c) 2016 Tobias Kaiser mail@tb-kaiser.de

Permission is hereby granted, free of charge, to any person obtaining a copy of this hardware, software, and associated documentation files (the "Product"), to deal in the Product without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Product, and to permit persons to whom the Product is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Product.

THE PRODUCT IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE PRODUCT OR THE USE OR OTHER DEALINGS IN THE PRODUCT.

Parts

39
QtyValueFootprintReferences
61kResistors_SMD:R_0805_HandSolderingR1, R3, R4, R9, R10, R11
4300Resistors_SMD:R_0805_HandSolderingR5, R6, R7, R8
4BC847TO_SOT_Packages_SMD:SOT-23_HandsolderingQ1, Q2, Q3, Q4
21N5825Diodes_ThroughHole:Diode_DO-201AD_Horizontal_RM15D1, D2
2CONN_01X02Pin_Headers:Pin_Header_Straight_1x02P1, P2
1100nFCapacitors_SMD:C_0805_HandSolderingC4
110nFCapacitors_SMD:C_0805_HandSolderingC2
127kResistors_SMD:R_0805_HandSolderingR12
13kResistors_SMD:R_0805_HandSolderingR2
14.7nFCapacitors_SMD:C_0805_HandSolderingC5
1470uF/10VCapacitors_ThroughHole:C_Radial_D6.3_L11.2_P2.5C3
1470uF/50VCapacitors_ThroughHole:C_Radial_D6.3_L11.2_P2.5C1
168uHInductors:INDUCTOR_VL1
1ATTINY2313-SHousings_SOIC:SOIC-20_7.5x12.8mm_Pitch1.27mmIC1
1AVR-ISP-6Pin_Headers:Pin_Header_Straight_2x03ISP
1CC56-12Displays_7-Segment:Cx56-12AFF1
1CONN_01X03Pin_Headers:Pin_Header_Straight_1x03SERVO
1CONN_01X05Pin_Headers:Pin_Header_Straight_1x05DBG
1LEDLEDs:LED_0805D3
1LM2596smd-semi:TO-263-5U1
1POTPoti:POTI_PTV09ARV1
1SW_PUSHButtons_Switches_SMD:SW_SPST_PTS645SW1

The 35 most common of 39 parts.

Similar boards

  • 2 layers133 × 89.5 mmESP32-Simple Thermostat PCB, the printed circuit board in 3D

    ESP32-Simple Thermostat PCB

    jrtaylor71/ESP32-Simple-Thermostat

    Simple ESP32 Thermostat with touch screen

    52 parts2
  • 2 layers160 × 110 mmPrepaid meter, the printed circuit board in 3D

    Prepaid meter

    kbssrikar7/esp32-energy-meter-pcb

    KiCad PCB design for an ESP32-based single-phase energy meter (ATM90E26 metering AFE) — DRC/ERC-clean, SPICE-validated, fab-ready

    80 parts
  • 2 layers101.6 × 147.3 mmKarabas pro revER, the printed circuit board in 3D

    Karabas pro revER

    andykarpov/karabas-pro

    FPGA based retrocomputer with FDD and HDD controllers

    223 parts37MIT
  • 2 layers160 × 112.4 mmGeiger, the printed circuit board in 3D

    Geiger

    slomkowski/octoglow

    Fallout-inspired post-pocalyptic display.

    125 parts8MIT
  • 2 layers129.5 × 72.6 mmOpenPLC, the printed circuit board in 3D

    OpenPLC

    radioelf/OpenPlc

    Hardware for OpenPLC with raspberry PI Z and Mod. software OpenPlc

    165 parts7
  • 2 layers67.3 × 99.7 mmSensor, the printed circuit board in 3D

    Sensor

    oakayasaroglu/esp32d_i2c

    esp32d based i2c pcb

    40 parts1
  • 2 layers100 × 100 mmEv smart, the printed circuit board in 3D

    Ev smart

    Khoapham2004/ESP32-to-ESP-NOW-Control

    The second repository contains the hardware design of the robot. It is mostly based on the 2025 version, with updated sensors, the BTS signal removed from the previous design, and a PCB that primarily uses SMD…

    96 parts

Questions

How big is the Servo tester PCB?

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

What parts does the Servo tester use?

39 parts, built around the LM2596S-5.0, BC847, 470UF 10V 6.3*7 and CC56-12EWA. 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 Servo tester KiCad files?

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

Can I use the Servo tester design in my own project?

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