Skip to the content
2 layers56.5 × 29 mmDc motor speed controller, the printed circuit board in 3D

Dc motor speed controller

ajkumar-1907/POWER-ELECTRONICS-LIB1

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
56.5 × 29 mm
Copper layers
2
Thickness
1.6 mm
Parts
19
Nets
11
Pads
42
Tracks, vias
83, 0
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
18 Sep 2026
Updated
3 Oct 2026

Overview

Dc motor speed controller 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 56.5 × 29 mm with 19 parts on 11 nets, routed with 83 tracks and 0 vias.

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

Main components

2

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

19
QtyValueFootprintReferences
31N4007Diode_THT:D_DO-41_SOD81_P10.16mm_HorizontalD1, D2, D3
2100nFCapacitor_THT:C_Disc_D4.7mm_W2.5mm_P5.00mmC1, C2
21KResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR1, R2
2Screw_Terminal_01x02TerminalBlock:TerminalBlock_bornier-2_P5.08mmJ1, J2
11000uFCapacitor_THT:CP_Radial_D10.0mm_P5.00mmC3
1100KPotentiometer_THT:Potentiometer_Alps_RK163_Single_HorizontalRV1
12.2KResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR3
1LEDLED_THT:LED_D5.0mmD4
1NE555PPackage_DIP:DIP-8_W7.62mmU1
1TIP122Package_TO_SOT_THT:TO-220-3_VerticalQ1

The 15 most common of 19 parts.

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 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
  • 2 layers30.5 × 27.8 mmServo tester, the printed circuit board in 3D

    Servo tester

    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.

    10 parts1MIT

Similar boards

  • 2 layers68 × 50.5 mmFanspeed, the printed circuit board in 3D

    Fanspeed

    Aniket95-code/Fan-Speed-Controller-NE555-PCB-design

    A simple, low-cost DC fan speed controller built around the classic NE555 timer IC operating in astable mode. Fan speed is adjusted by varying the PWM duty cycle via a potentiometer, while a TIP122 Darlington transistor…

    19 parts2
  • 2 layersDC motor speed controller, the printed circuit board in 3D

    DC motor speed controller

    arijit-arijit/pcb_design

    my journey in learning to design PCBs from scratch through tutorials and projects

    19 parts1
  • 2 layers65.3 × 33.8 mmDC Motor Speed Controller, the printed circuit board in 3D

    DC Motor Speed Controller

    adityajoshi2008/555-Timer-PWM-DC-Motor-Speed-Controller

    **555 timer-based PWM DC motor speed controller designed and developed in KiCAD for practical motor speed control.

    20 parts
  • 2 layers167.5 × 124 mmMINORAVG, the printed circuit board in 3D

    MINORAVG

    apekg-blip/PWM-based-dc-motor-speed-controller

    Built an analog DC motor speed controller using an NE555 timer IC and LM3914 LED bar graph for duty-cycle visualization. Designed the circuit schematic in KiCad, gaining experience in PWM and analog motor control

    60 parts
  • 2 layers58.3 × 35 mmDC Motor Speed Controller, the printed circuit board in 3D

    DC Motor Speed Controller

    Hirusha785/DC-Motor-Speed-Controller-PCB

    ⚡ NE555 PWM DC motor speed controller PCB designed in KiCad, featuring adjustable speed control, TIP122 driver stage, flyback protection, screw terminals, and 3D PCB renders.

    21 parts
  • 2 layers62.7 × 28.9 mmDC moter speed controller, the printed circuit board in 3D

    DC moter speed controller

    Mahender0408/Embedded-Systems-Projects

    Embedded Systems, IoT and PCB Design Projects

    19 parts
  • 2 layers57 × 32.5 mmDC MOTOR SPEED CONTROLER USING TIMER IC, the printed circuit board in 3D

    DC MOTOR SPEED CONTROLER USING TIMER IC

    MuhammadAbuzarCUI/DC-Motor-Speed-Controller-Using-555-Timer-IC-PCB-Designed-in-KiCad

    PCB design of a DC motor speed controller using the 555 timer IC to generate a PWM signal for speed control. Includes circuit schematic and PCB layout for motor speed regulation by adjusting the PWM duty cycle.

    15 parts
  • 2 layers50.4 × 33.3 mmDC motor speed controller, the printed circuit board in 3D

    DC motor speed controller

    Noraiz963/DC-Motor-Controller

    A 555-timer-based DC motor speed controller designed in KiCad — uses a variable-duty-cycle PWM signal driven through a power transistor to control motor speed with a single potentiometer.

    21 parts

Questions

How big is the Dc motor speed controller PCB?

It measures 56.5 × 29 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Dc motor speed controller use?

19 parts, built around the NE555P and TIP122. 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 Dc motor speed controller KiCad files?

From the ajkumar-1907/POWER-ELECTRONICS-LIB repository on GitHub, at the commit this page was made from: the board is dc-motor-speed-controller/dc-motor-speed-controller.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 Dc motor speed controller 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).