Skip to the content
PCBKitNew board
2 layers101.6 × 45.1 mmRailgun, the printed circuit board in 3D

the more wire you have the better just don't over do it pass the 3 wires from the front through these two holes solder said wires here run [(your wire length) - 1612mm]/192.71786 on your calculator the number you get is…

Size
101.6 × 45.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
24
Nets
34
Pads
69
Tracks, vias
111, 0
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
10 Sep 2026
Updated
12 Oct 2026

Overview

Railgun is an open-source printed circuit board by alsono, from the alsono/cailranon repository on GitHub. It is a 2-layer board of 101.6 × 45.1 mm with 24 parts on 34 nets, routed with 111 tracks and 0 vias.

Its parts include 3 diodes, 3 switches and 2 connectors.

README

readme.md

introduction

This is an arduino nano powered hand held rail gun that runs on a 24V (12vx2) battery thats somewhat simple to use
this took me more than it should have since i'm generally learning cad (around 9 hours)
24v battery should be charged with crocodile clips as its hooked up via relay
system works on a 5V battery on the side that must be removed before charging
it has a cooldown of 5 seconds after every shot to avoid overheating the coils
fih

how to use

load it up like a musket with the metal pellets they use for slingshots, aim at your target and press the trigger, it should make a loud ass beep as it shoots

what to use this for?

  • NOT killing people
  • shooting at soda cans
  • killing tomatoes/ref

how it works

think of it like a 3 step motor, the power cycles between 3 coils in the gun barrel infront of the projectile pulling it forward
and then cycling to the next one right away

warning i am not legally accounted with any harm caused from this outside its intended use or during malfunction

tools you'll need

  • soldering iron and solder
  • superglue (bear with me)
  • hot glue gun (bear with me here)
  • acess to a 3d printer (you can use jlc3dp)

parts you'll need

ReferenceValueDatasheetFootprintQtyDNP
24V1BatteryConnector_PinHeader_1.00mm:PinHeader_1x02_P1.00mm_Vertical1
BZ1BuzzerBuzzer_Beeper:Buzzer_12x9.5RM7.61
D1,D2,D31N914http://www.vishay.com/docs/85622/1n914.pdfDiode_THT:D_DO-35_SOD27_P7.62mm_Horizontal3
D4LED1
J1AnalogConnector_PinHeader_2.54mm:PinHeader_1x15_P2.54mm_Vertical1
J2DigitalConnector_PinHeader_2.54mm:PinHeader_1x15_P2.54mm_Vertical1
K1,K2,K3Fujitsu_FTR-LYAA005xhttps://www.fujitsu.com/sg/imagesgig5/ftr-ly.pdfRelay_THT:Relay_SPST-NO_Fujitsu_FTR-LYAA005x_FormA_Vertical3
L1,L2,L3,L4,L5,L6,L7,L8,L9,L10,L11,L12,L13,L14,L15L15
R1R1
SW1SW_Push
  • check out the bom (bill of materials) for more info
  • order the pcb from jlcpcb.com using the gerber.rar in production files

how to build

software

setup steps:

  • download arduino ide
  • download the file in railgunsoftware
  • run it with arduino ide
  • attach your arduino nano to your pc
  • press the checkmark on the top left and wait for it flash

printing

first set (or order) these parts to 3d print while you work on the hw:

  • the main body with the cover
    mainbody
  • the barrel (if your printer is too small you can split it into 2 and glue it together)
    barrel
    note: ideally you should print the barrel laying down so its way more sturdy and doesn't break off

soldering

solder the components so it looks like this (arduino nano on the bottom)
pcb3d
now solder a wire to each of these
solder 2 wires
run said wires through here
run them switch
and then solder them to the switch like so
solder them to switch
next solder a 5v battery to the 5v pin on the nano (run the connection through here)
porp
and (bear with me) hot glue it to the side
next grab the 3 relays and wire them to these (relay part pointing down from it)
wire them relay
run the cable through these
holerelay
and (bear with me) hot glue them here
to this
grab 2 12V batteries and wire them in series and then wire them here (- is down + is up) and make sure the wire is long enough for you to carry them in a bag
24v
last step:
grab 3 of the longest copper wires you can find ideally 1.25mm and run the following equasion

the more wire you have the better just don't over do it
pass the 3 wires from the front through these two holes
wire through this coils
solder said wires here
coilshidiodeside
run [(your wire length) - 1612mm]/192.71786 on your calculator
the number you get is the amount of turns each coil gets, hope you got a lot of wire!!
do the amount of turns you got on these with the topmost wire you soldered to the diodes around these parts
wraparoundwire1
drip down superglue onto each coil to both lock it in place and make sure it doesn't short out if the wax layer is burnt off due to usage
now after running it back through the same hole solder it to this part
coil1torelay
repeat the above 2 more times for the other 2 wires (don't put the coils on top of eachother i meant put wire 2 on every 3rd spot without wire already starting from the 2nd)

qna

"why don't you hold stuff down with bolts?" gun explodes
"whys there no relay module in the demonstrations?" i could not for the life of me find one and i've spent too much on this project to make one

stuff for nerds

the schematic used you can find it in pcb
dsa
the pcb design wiring
cbp

demo links

Parts

24
QtyValueFootprintReferences
7, , , , , ,
4MountingHole_65milArduino_MountingHole:MountingHole_65milMH1, MH2, MH3, MH4
31N914Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1, D2, D3
3Fujitsu_FTR-LYAA005xRelay_THT:Relay_SPST-NO_Fujitsu_FTR-LYAA005x_FormA_VerticalK1, K2, K3
1AnalogConnector_PinHeader_2.54mm:PinHeader_1x15_P2.54mm_VerticalJ1
1BatteryConnector_PinHeader_1.00mm:PinHeader_1x02_P1.00mm_Vertical24V1
1BuzzerBuzzer_Beeper:Buzzer_12x9.5RM7.6BZ1
1DigitalConnector_PinHeader_2.54mm:PinHeader_1x15_P2.54mm_VerticalJ2

The 21 most common of 24 parts.

Questions

How big is the Railgun PCB?

It measures 101.6 × 45.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Railgun use?

24 parts. 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 Railgun KiCad files?

From the alsono/cailranon repository on GitHub, at the commit this page was made from: the board is pcb/railgun.kicad_pcb and its schematic pcb/railgun.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Railgun design in my own project?

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

Similar boards

  • 2 layers56 × 65 mmSeaTalk1, the printed circuit board in 3D

    SeaTalk1

    dotnet/iot

    This repo includes .NET Core implementations for various IoT boards, chips, displays and PCBs.

    24 parts2.4kMIT
  • 2 layers26.2 × 45.5 mmPL18 multiprotocol, the printed circuit board in 3D

    PL18 multiprotocol

    pascallanger/DIY-Multiprotocol-TX-Module

    Multiprotocol TX Module (or MULTI-Module) is a 2.4GHz transmitter module which controls many different receivers and models.

    24 parts1.9kGPL-3.0
  • 2 layers58 × 35.5 mmHat, the printed circuit board in 3D

    Hat

    menloresearch/asimov-1

    v1 of Asimov, an open-source humanoid robot

    24 parts1.4kCERN-OHL-S-2.0
  • 2 layers21.6 × 19.5 mmMicron Logo LED, the printed circuit board in 3D

    Micron Logo LED

    DraftShift/StealthChanger

    Tool changing system for Vorons and other front mount printer motion systems, not just stealthburner.

    24 parts1.2kGPL-3.0
  • 2 layers158 × 11 mmRainbow Matchstick, the printed circuit board in 3D

    Rainbow Matchstick

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    24 parts1.1kGPL-3.0
  • 2 layers85.6 × 54 mmTRACED wio1262-carrier, the printed circuit board in 3D

    TRACED wio1262-carrier

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    24 parts915
  • 2 layers36 × 20 mmCombined, the printed circuit board in 3D

    Combined

    adamb314/ServoProject

    Getting the most out of your hobby servo

    24 parts545