Skip to the content
2 layers30.5 × 27.8 mmServo tester, the printed circuit board in 3D

Open-source library of power electronics converter topologies — KiCad schematics, working principles, use cases, and design notes for DC-DC, AC-DC, DC-AC, and AC-AC converters. Free to use, modify, and build on.

Size
30.5 × 27.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
10
Nets
8
Pads
28
Tracks, vias
67, 0
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
18 Sep 2026
Updated
3 Oct 2026

Overview

Servo tester is an open-source printed circuit board by ajkumar-1907, from the ajkumar-1907/POWER-ELECTRONICS-LIB repository on GitHub, published under the MIT licence. It is a 2-layer board of 30.5 × 27.8 mm with 10 parts on 8 nets, routed with 67 tracks and 0 vias.

It is built around the NE555P. Its parts include 3 resistors, 2 diodes, 2 connectors, 1 capacitor and 1 IC. It belongs with the robots and motor control boards of this library.

Main components

1

README

airtap/README.md

AirTap: Touchless AC Switch

A touchless, proximity-triggered relay controller for 220 V AC loads. Hold your hand 10–30 mm above the sensing area and a VL53L0X time-of-flight sensor detects it. The ATmega328 then toggles an onboard relay to switch a lamp, fan or other mains appliance, with no physical contact.

Credit: AirTap is a fork of ProxiWave-D (PWD-v010A) by Ampnics, released under the MIT License. The circuit, PCB layout and test firmware are Ampnics' original design. This fork re-brands the board silkscreen as "AIR-TAP", ports the project to KiCad 10, and adds Gerbers, renders and documentation. See NOTICE.md.

⚠️ DANGER: mains voltage. The AC side of this board carries 220 V. Never touch it while it's powered, keep it in an enclosure, and only build it if you're experienced with mains wiring.

Schematic

PCB Layout

PCB Top and Bottom

3D views

TopBottom (sensor side)
3D top3D bottom

3D angled view

Schematic sections

220 VAC → 5 VDCAC connector, relay & buzzer
Power supplyRelay and buzzer
ToF sensorMicrocontroller
ToF sensorMicrocontroller

3.3 V regulator, programming port, LEDs, IR connector

Layer views

Front copperBack copper
Front copperBack copper
Front silkscreenBack silkscreen
Front silkscreenBack silkscreen

Overview

BlockPartsFunction
220 VAC → 5 VDCF1 fuse, RV1 MOV, C1, PS1 HLK-5M05, C3Fused, surge-protected isolated AC-DC module
5 V → 3.3 VU2 AMS1117-3.3 + decouplingPowers the MCU and sensor
MicrocontrollerU3 ATmega328-A, Y1 8 MHz, SW1 resetReads the sensor, drives the relay, buzzer and LEDs
ToF sensorU1 VL53L0X, I²C pull-upsMeasures hand distance (10–30 mm trigger window)
Relay and buzzerK1 G5LE-1, Q1/Q2 AO3400A, D1 flyback, LS1 MLT-8530Switches the AC load; audible feedback
IndicatorsD2 blue (relay), D3 red (power), D4 green (status)Visual status
ProgrammingJ2 2×3 ICSPFlash with USBasp / AVRISP
Backup sensorJ3 3-pinOptional IR proximity sensor input

Working Principle

  1. Power: mains enters on J1 (LINE / NEUTRAL) through fuse F1 (0.5 A). MOV RV1 (10D561K) clamps surges, and the HLK-5M05 isolated module produces 5 V. The AMS1117 then makes 3.3 V for the ATmega328 and the VL53L0X.
  2. Sensing: the VL53L0X sends out infrared laser pulses and measures their time of flight. The ATmega328 reads the distance over I²C (SDA = PC4, SCL = PC5).
  3. Decision: when a hand is held inside the calibrated 10–30 mm window, the firmware toggles the load state.
  4. Switching: PC2 drives Q1 (AO3400A logic-level MOSFET), which energises relay K1. D1 clamps the coil's flyback spike. The relay's NO / C / NC contacts are brought out on J1.
  5. Feedback: PC3 drives the buzzer through Q2, the blue LED shows the relay state, and the green LED (PC1) shows status.

GPIO Mapping

ATmega328 PinSignalFunction
PC1 / A1STSRelay status LED
PC2 / A2RLYRelay driver (Q1)
PC3 / A3BUZZERBuzzer driver (Q2)
PC4 / A4SDAVL53L0X I²C data
PC5 / A5SCLVL53L0X I²C clock
PD2 / D2XSHUTVL53L0X shutdown / reset
PD4 / D4IR-BKPBackup IR sensor (J3)

J1: AC Terminal (5-way)

PinLabelDescription
1L/LAC line (live) in
2NAC neutral in
3NORelay normally-open
4CRelay common
5NCRelay normally-closed

Wire the load between NO and neutral, and connect C to line, so the load is off until triggered.

Key Equations

ToF ranging:

text
d = (c × t) / 2        c = 3×10⁸ m/s, t = round-trip time of the laser pulse

Relay coil drive (G5LE-1, 5 V coil ≈ 72 Ω):

text
I_coil ≈ 5 V / 72 Ω ≈ 70 mA      → switched by AO3400A (R_DS(on) ≈ 30 mΩ at V_GS = 2.5 V)

LED current (3.3 V rail):

text
I_LED = (3.3 − V_F) / R      e.g. (3.3 − 2.0) / 330 Ω ≈ 4 mA

Specifications

ParameterValue
Input220 V AC, 50 Hz
Load SwitchingSPDT relay (G5LE-1), NO / C / NC on screw terminal
Logic Supply5 V (HLK-5M05) → 3.3 V (AMS1117)
MCUATmega328-A @ 8 MHz, 3.3 V
SensorVL53L0X ToF, 10–30 mm calibrated trigger
Protection0.5 A fuse, 10D561K MOV, flyback diode
ProgrammingICSP 2×3
Board Size50 × 100 mm, 2-layer, 4 × M2.5 mounting holes, fiducials

Bill of Materials (key parts)

RefValuePackage
PS1HLK-5M05 (220 VAC → 5 V)Module
U3ATmega328-ATQFP-32
U1VL53L0CXV0DH1 (VL53L0X)LGA
U2AMS1117-3.3SOT-223
K1Omron G5LE-1 relay, 5 V coilTHT
Q1, Q2AO3400A N-MOSFETSOT-23
D11N4148WSOD-123
F10.5 A / 250 VAC fuseLittelfuse 395
RV110D561K MOVDisc 12 mm
C10.1 µF X2 film13 × 6 mm
C3220 µF electrolytic8 × 10 mm
LS1MLT-8530 buzzerSMD
Y18 MHz resonatorSMD 3-pin
J15-way screw terminal, 5.08 mmTHT

Plus 0603 resistors, capacitors and LEDs; see the schematic for full values.

Firmware

Test sketches by the original author are in firmware/test-codes/:

SketchTests
ToF-SensorVL53L0X I²C ranging (prints distance over UART)
RelayRelay coil driver and flyback diode
Relay-LedRelay status LED
BuzzerBuzzer driver

Setup: in the Arduino IDE, install MiniCore (board manager URL https://raw.githubusercontent.com/MCUdude/MiniCore/master/package_MCUdude_MiniCore_index.json), then choose ATmega328, External 8 MHz, 3.3 V. Install the VL53L0X library by Pololu, and flash through J2 with a USBasp.

Design Notes

  • J3 footprint: the backup IR connector (J3) has no footprint assigned in the schematic, although the PCB has one. Assign it, for example PinHeader_1x03_P2.54mm, before running "Update PCB from Schematic", or KiCad will flag it.
  • Isolation: the AC/DC boundary is marked on the silkscreen. For extra safety, consider adding a routed isolation slot between the mains section and the logic section.
  • C1 must be an X2-rated safety capacitor.
  • Load rating: the relay is rated 10 A, but the fuse (0.5 A) protects the logic supply only. Fuse the load circuit separately, sized for your appliance.
  • 3D models: the vendor 3D models (relay, buzzer, terminal, switch) aren't included, so KiCad's 3D viewer shows those parts without a body. The 3D renders in this folder were made with them.

Files in This Folder

FileDescription
airtap.kicad_pro / .kicad_sch / .kicad_pcbKiCad 10 project, schematic and PCB
airtap-PTH.drl / airtap-NPTH.drlDrill files
gerbers/Gerber set for fabrication (incl. paste layers)
firmware/test-codes/Arduino test sketches (original author)
schematic.pngFull schematic image
schematic-*.pngSchematic section close-ups
pcb-3d-top.png / pcb-3d-bottom.png / pcb-3d-angle.png3D renders
pcb-layout2.png / pcb-layout.pngLayout previews
pcb-front-copper.png / pcb-back-copper.pngCopper layer views
pcb-front-silkscreen.png / pcb-back-silkscreen.pngSilkscreen layer views
NOTICE.mdOriginal copyright and license notice

How to Use

  1. Open airtap.kicad_pro in KiCad 10 or later.
  2. To manufacture, zip gerbers/ together with the two .drl files and upload them to any PCB fab.
  3. After assembly, flash the test sketches through J2 to check each block, then load your main firmware.
  4. Calibrate the trigger distance (10–30 mm) for your enclosure.

License

The original ProxiWave-D design is © Ampnics, released under the MIT License (see NOTICE.md). Changes in this fork are released under the repository's MIT License.

Parts

10
QtyValueFootprintReferences
1100KPotentiometer_THT:Potentiometer_Alps_RK163_Single_HorizontalRV1
11KResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR3
11N4148Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1
122nFCapacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mmC1
13M3Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR1
156KResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR2
1Conn_01x02_PinConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_HorizontalJ1
1Conn_01x03_PinConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_HorizontalJ2
1LEDLED_THT:LED_D3.0mmD2
1NE555PPackage_DIP:DIP-8_W7.62mmU1

More from ajkumar-1907/POWER-ELECTRONICS-LIB

7
  • 4 layers220 × 150 mmDual active bridge, the printed circuit board in 3D

    Dual active bridge

    ajkumar-1907/POWER-ELECTRONICS-LIB

    Open-source library of power electronics converter topologies — KiCad schematics, working principles, use cases, and design notes for DC-DC, AC-DC, DC-AC, and AC-AC converters. Free to use, modify, and build on.

    174 parts1MIT
  • 2 layers50 × 100 mmAirtap, the printed circuit board in 3D

    Airtap

    ajkumar-1907/POWER-ELECTRONICS-LIB

    Open-source library of power electronics converter topologies — KiCad schematics, working principles, use cases, and design notes for DC-DC, AC-DC, DC-AC, and AC-AC converters. Free to use, modify, and build on.

    62 parts1MIT
  • 2 layers68 × 47.4 mmAir quality monitor, the printed circuit board in 3D

    Air quality monitor

    ajkumar-1907/POWER-ELECTRONICS-LIB

    Open-source library of power electronics converter topologies — KiCad schematics, working principles, use cases, and design notes for DC-DC, AC-DC, DC-AC, and AC-AC converters. Free to use, modify, and build on.

    59 parts1MIT
  • 2 layers56.5 × 29 mmDc motor speed controller, the printed circuit board in 3D

    Dc motor speed controller

    ajkumar-1907/POWER-ELECTRONICS-LIB

    Open-source library of power electronics converter topologies — KiCad schematics, working principles, use cases, and design notes for DC-DC, AC-DC, DC-AC, and AC-AC converters. Free to use, modify, and build on.

    19 parts1MIT
  • 2 layers48.8 × 37.5 mmTransformerless power supply, the printed circuit board in 3D

    Transformerless power supply

    ajkumar-1907/POWER-ELECTRONICS-LIB

    Open-source library of power electronics converter topologies — KiCad schematics, working principles, use cases, and design notes for DC-DC, AC-DC, DC-AC, and AC-AC converters. Free to use, modify, and build on.

    19 parts1MIT
  • 2 layers31 × 15 mmUsb to uart converter, the printed circuit board in 3D

    Usb to uart converter

    ajkumar-1907/POWER-ELECTRONICS-LIB

    Open-source library of power electronics converter topologies — KiCad schematics, working principles, use cases, and design notes for DC-DC, AC-DC, DC-AC, and AC-AC converters. Free to use, modify, and build on.

    19 parts1MIT
  • 2 layers53 × 36 mmBuck converter, the printed circuit board in 3D

    Buck converter

    ajkumar-1907/POWER-ELECTRONICS-LIB

    Open-source library of power electronics converter topologies — KiCad schematics, working principles, use cases, and design notes for DC-DC, AC-DC, DC-AC, and AC-AC converters. Free to use, modify, and build on.

    11 parts1MIT

Similar boards

  • 2 layers327.9 × 139 mmCoco2, the printed circuit board in 3D

    Coco2

    baldengineer/bit-preserve

    Project for capturing vintage, classic, aka old computer schematics in KiCad.

    147 parts446
  • 2 layers370.8 × 298.5 mm8 Bit Computer, the printed circuit board in 3D

    8 Bit Computer

    The-Invent0r/8-bit-Computer-PCB

    These are the KiCAD files for my 8-Bit Computer.

    323 parts142
  • 2 layers200 × 96 mmTouchtone555, the printed circuit board in 3D

    Touchtone555

    DarcyJProjects/touchtone555

    An open-source DIY, NE555-based analogue synthesizer - play notes with a stylus

    73 parts33
  • 4 layers340 × 210 mmYddraig, the printed circuit board in 3D

    Yddraig

    ddraig68k/hardware

    Schematic and CAD files for my 68K based computer

    224 parts29MIT
  • 2 layers152.9 × 74.9 mmClock, the printed circuit board in 3D

    Clock

    erikvanzijst/clock

    24H digital quartz clock from scratch

    82 parts21
  • 2 layers88.9 × 50.8 mmSynthCard, the printed circuit board in 3D

    SynthCard

    benjiaomodular/SynthCard

    I designed this project with the help of PCBWay. You can get a copy of these cards through the PCBWay Shared Projects page.

    16 parts19MIT
  • 4 layers194.5 × 188.6 mmMyCpu, the printed circuit board in 3D

    MyCpu

    fortinsylvain/MyCpu

    Home brew CPU Hardware with 1-bit ALU implementation using 74LSxx, a micro-code and assembler coded in C#.

    162 parts18MIT
  • 2 layers145.3 × 129.9 mmC128Diag, the printed circuit board in 3D

    C128Diag

    hackup/C128Diag

    Replica of the Commodore C128 Diagnostic Test cartridge Assy No. 325093-01.

    61 parts16

Questions

How big is the Servo tester PCB?

It measures 30.5 × 27.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Servo tester use?

10 parts, built around the NE555P. 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 ajkumar-1907/POWER-ELECTRONICS-LIB repository on GitHub, at the commit this page was made from: the board is servo-tester/servo-tester.kicad_pcb and its schematic air-quality-monitor/air-quality-monitor.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

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

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