Inefficient coil gun
jamesbrayy·inefficient-coil-gun·kicadFiles/electromagneticMarbleMachine.kicad_pcb
About the Inefficient coil gun PCB
Inefficient coil gun is an open source AVR/Arduino PCB design by jamesbrayy, published on GitHub under the MIT license. It is a 2-layer board measuring 440 × 196 mm, with 151 components from 53 distinct parts.
Its main chip is the ATMEGA328P-PU, from the AVR/Arduino family. Other key parts include the LM2576T-5, NE555P, 4N28 and UGN3503UA. By type, the board carries 44 diodes, 36 resistors, 15 capacitors, 14 connectors, 12 transistors and 10 ICs.
From the project
a somewhat successful first coil gun project
a marble machine with a five-stage coil gun to accelerate the marbles.
optimised for ~300V charges (225 J) but capable of up to 405V to give a 10% safety margin (410.0625 J).

Main components on the Inefficient coil gun
Inefficient coil gun bill of materials (BOM)
151 components, 53 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 2 | LM2576T-5 | TO170P483X1016X1611-5P | U1, U9 |
| 1 | NE555P | DIP-8_W7.62mm | U2 |
| 5 | 4N28 | DIP-6_W7.62mm | U3, U5, U6, U7, U8 |
| 1 | ATMEGA328P-PU ATmega328P-PU | DIP-28_W7.62mm | U4 |
| 1 | UGN3503UA | UGN3503UA | U10 |
| 6 | 2N2222 | P2N2222A | Q1, Q2, Q5, Q6, Q7, Q11 |
| 5 | PT334-6B | PT3346B | Q3, Q4, Q8, Q9, Q10 |
| 1 | BC639 | P2N2222A | Q12 |
| 1 | 20MHZ 20MHz | Crystal_HC49-U_Vertical | Y1 |
| 1 | SSD1306 | 128x64OLED | J1 |
| 7 | ~ | 1x1 2.54mm header | J2, J8, J9, J10, J11, J12, J15 |
| 2 | Shunt | PinHeader_1x02_P2.54mm_Vertical | J3, J5 |
| 1 | CONN_01X03_MOUNTINGPIN Conn_01x03_MountingPin | 1x2 2.54mm header | J4 |
| 2 | CONN_01X14_MOUNTINGPIN Conn_01x14_MountingPin | 1x14 2.54mm header | J6, J7 |
| 1 | CONN_01X03_MOUNTINGPIN Conn_01x03_MountingPin | 1x3 2.54mm header | J16 |
| 1 | buzzer | Buzzer | BZ1 |
| 1 | 5V relay | 5v relay | K1 |
| 1 | 1MΩ Pot | potentiometer | RV1 |
| 1 | 10kΩ Pot | potentiometerOFFBOARD | RV2 |
| 1 | Pushbutton | SW_PUSH_6mm | SW1 |
Show 33 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | SPDT Microswitch | microswitch | SW2 |
| 1 | N/C Pushbutton | button_or_keyswitch | SW3 |
| 1 | SPST Switch | button_or_keyswitch | SW4 |
| 1 | 20V Vin | 20Vin | V1 |
| 1 | 405V Boost Converter | 405Vin | V2 |
| 1 | 9V Battery | 9V Battery Holder | V3 |
| 2 | 1N5822 | D_DO-201AD_P15.24mm_Horizontal | D1, D43 |
| 17 | 6A10 | DIOAD4425W130L885D885 | D2, D11, D12, D13, D14, D16, D17, D29 +9 |
| 1 | 151033RS03000 White LED Wurth Electronics Inc. | LED_D5.0mm | D3 |
| 7 | 1N5408 | D_DO-201AD_P15.24mm_Horizontal | D4, D9, D10, D25, D26, D27, D28 |
| 5 | 151033RS03000 IR LED Wurth Electronics Inc. | QED234 | D5, D6, D19, D20, D21 |
| 6 | 151033RS03000 5mm LED Wurth Electronics Inc. | LED_D5.0mm | D7, D8, D22, D23, D24, D42 |
| 6 | VS-70TPS12PBF CLA50E1200HB | TO546P530X1586X2594-3P | D15, D18, D34, D37, D40, D41 |
| 2 | 100UH 100uH | Inductor | L1, L7 |
| 5 | 100UH 100uH | Coil Socket | L2, L3, L4, L5, L6 |
| 1 | Solenoid | solenoid_WIRED | L8 |
| 2 | 0.01UF 0.01uF | C_Disc_D4.3mm_W1.9mm_P5.00mm | C1, C2 |
| 2 | 100UF 100uF | C_Radial_D8.0mm_H11.5mm_P3.50mm | C3, C14 |
| 2 | 470UF 470uF | C_Radial_D10.0mm_H12.5mm_P5.00mm | C4, C15 |
| 2 | 22PF 22pF | C_Disc_D4.3mm_W1.9mm_P5.00mm | C5, C6 |
| 2 | 0.1UF 0.1uF | C_Disc_D4.3mm_W1.9mm_P5.00mm | C7, C8 |
| 5 | 1000UF 1000uF | officialCAP | C9, C10, C11, C12, C13 |
| 8 | 10kΩ | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1, R2, R12, R13, R17, R28, R29, R30 |
| 1 | 910kΩ | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R3 |
| 7 | 2k2Ω | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R4, R14, R15, R31, R32, R33, R36 |
| 1 | 2k0Ω | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R5 |
| 6 | 390Ω | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R6, R7, R11, R20, R21, R22 |
| 5 | 1k2Ω | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R8, R9, R23, R24, R25 |
| 4 | 270Ω | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R10, R16, R18, R19 |
| 1 | 900Ω | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R26 |
| 1 | 47Ω | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R27 |
| 1 | 10k0Ω | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R34 |
| 1 | 200W 1k0Ω | 200W Resistor | R35 |
Inefficient coil gun design files
The KiCad project lives in the jamesbrayy/inefficient-coil-gun repository on GitHub; these links point at the commit this page was built from.
Inefficient coil gun: common questions
What microcontroller does the Inefficient coil gun use?
The Inefficient coil gun is built around the ATMEGA328P-PU, from the AVR/Arduino family.
How big is the Inefficient coil gun PCB?
The Inefficient coil gun measures 440 × 196 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Inefficient coil gun?
151 components, from 53 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the Inefficient coil gun design files?
From the jamesbrayy/inefficient-coil-gun repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the Inefficient coil gun design in my own project?
Yes, under the terms of its MIT license, which jamesbrayy chose for the repository.
Can I test firmware for the Inefficient coil gun without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug AVR/Arduino firmware against it before you order a PCB.
Similar boards
AVR/Arduino
Redox keyboard
mattdibi
162.2 × 126.5 mm77 parts2LMIT2.0kAVR/Arduino
ModuleV450
stuartpittaway
30 × 61.4 mm39 parts2LCC-BY-NC-4.01.1kAVR/Arduino
V4
stuartpittaway
30 × 50 mm38 parts2LCC-BY-NC-4.01.1kAVR/Arduino
Discipline
coseyfannitutti
304.9 × 122.8 mm170 parts2LCC-BY-NC-4.01.0kAVR/Arduino
Megadesk
gcormier
41.7 × 32.2 mm23 parts2LGPL-3.0818AVR/Arduino
Easyduino Atmega Nano
Hanqaqa
43.4 × 18 mm30 parts4LCERN-OHL-P-2.0746