Skip to the content
2 layers57.2 × 35.1 mmMainBoard Rev2, the printed circuit board in 3D

MainBoard Rev2

lzrtag/LZRTag111

AVR-Based easily modifyable DIY Lasertag!

Size
57.2 × 35.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
70
Nets
84
Pads
270
Tracks, vias
520, 63
Pours
3
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
20 Feb 2016
Updated
2 Jan 2023

Overview

MainBoard Rev2 is an open-source printed circuit board by lzrtag, from the lzrtag/LZRTag repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 57.2 × 35.1 mm with 70 parts on 84 nets, routed with 520 tracks and 63 vias.

It is built around the ESP32-WROOM-32, FT231XS-R and LSM6DS3, with the WS2812B, PMBT2222A and IRLML6402 among its other parts. Its parts include 18 resistors, 12 capacitors, 11 diodes, 5 ICs and 5 connectors. It belongs with the computers and single-board computers boards and the ESP32 boards of this library.

Main components

6

README

README.md

LZRTag

ESP32-Based Lasertag

Ever wanted to set up your own system of Lasertag? Interested in having an easily modifiable system to create your own gamemodes and styles with? Or just looking for a cool project to try out? Well, why not take a spin at this!

Note: This project is not in serious development. I (Xasin) take no responsibility for what is done with this code, and I can't guarantee it'll do exactly what I tell it to (even if I try to give it treats >:c) However, it is a fully functional system, if you know how to use it, and it has proven itself to be pretty reliable and useful!

The components

In order to have a functional game, you will need at least the following:

  • Two or more soldered Lasertag Sets
  • A WiFi access point or a newtwork of points throughout the arena.
  • A MQTT Server, preferrably in the local network, to reduce ping.
  • And a system running Ruby 2.4 or better, to run the Lasertag Backend and your gamemodes

The Electronics

Attention: The electronics aren't necessarily beginner-friendly. I've designed them with components no smaller than a TSOP package or a 0805 resistor, but the newer versions of the hardware do include two QFN Packages - one for a optional IMU, so it can be left out, and one for a standard I2S audio chip, for which you can use any breakout board that supports 44100Hz, 16 bit playback. If you have a hot air gun, definitely make use of it!

The electronics are based around the ESP32, a fairly cheap, powerful, WiFi and Bluetooth capable chip. The PCB includes all necessary support structures, including a battery charge circuit and a USB to UART converter to reprogram and debug the ESP. It comes with the following hardware:

  • The ESP32 plus beefy voltage regulation, ESD protection, etc. It ain't gonna break!
  • A MAX I2S decoder + amplifier, for on-board, high quality audio.
  • A LSM6D IMU, to detect movement, collisions, gestures, etc.
  • Peripherals to receive and send IR Signals (documented here: TODO)
  • Feedback in the shape of WS2812 LEDs and a vibration motor
  • Trigger, Gun Select and Reload buttons.

The vest connection is exposed with a D-SUB connector, and I2C lines are available to make more complex add-ons easier to achieve. There's also a I2C breakout connection on the PCB itself!

The Vest itself can be as simple as a couple of Vishay 40kHz IR receivers and WS2812 LEDs, but there is a connection for vest-specific haptic feedback, and via the I2C connection it's easy to add more complex features.

To solder one, check out the Aisler project here: https://aisler.net/p/QLILZEMV Or head to the "Electronics" folder and generate your own Gerber files!

The Casing

The 3D printed casing I designed is totally optional - the electronics can be easily fitted into any other casing, provided it has space for a switch, a speaker and a couple of LEDs! However, if you do want to print it out, there's the Fusion360 page here: https://a360.co/2Lbm2zJ

Parts

70
QtyValueFootprintReferences
7220Resistor_SMD:R_0805_2012MetricR1, R4, R7, R8, R9, R12, R30
410uFCapacitor_SMD:C_0805_2012MetricC4, C9, C52, C53
4WS2812BLED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mmD2, D3, D4, D5
3150nFCapacitor_SMD:C_0805_2012MetricC2, C8, C31
32.2kResistor_SMD:R_0805_2012MetricR5, R6, R35
3R_SmallResistor_SMD:R_0805_2012MetricR13, R14, R15
3TestPointTestPoint:TestPoint_Pad_2.0x2.0mmTP1, TP2, TP3
21uFCapacitor_SMD:C_0805_2012MetricC50, C54
2220RResistor_SMD:R_0805_2012MetricR2, R3
2D_SchottkyDiode_SMD:D_0603_1608MetricD35, DPWR1
2MountingHoleMountingHole:MountingHole_3.2mm_M3_DIN965H1, H2
2PMBT2222APackage_TO_SOT_SMD:SOT-23Q30, Q35
2Q_NPN_BECPackage_TO_SOT_SMD:SOT-23Q5, Q6
10.1uFCapacitor_SMD:C_0805_2012MetricC3
1100kResistor_SMD:R_0805_2012MetricR55
1100nFCapacitor_SMD:C_0805_2012MetricC19
110kResistor_SMD:R_0805_2012MetricR52
1200kResistor_SMD:R_0805_2012MetricR56
147uFCapacitor_SMD:C_1206_3216MetricC5
1AP2114H-3_3TRG1digikey-footprints:SOT-223U50
1Battery_CellConnector_JST:JST_PH_S2B-PH-SM4-TB_1x02-1MP_P2.00mm_HorizontalBT1
1COM-12999digikey-footprints:LED_RGB_WP154A4SUREQBFZGCD1
1Conn_01x02_MaleConnector_PinHeader_2.00mm:PinHeader_1x02_P2.00mm_VerticalJ5
1Conn_01x04_FemaleConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ1
1Conn_01x04_MaleMainBoard_Rev2:nav_switch_COM_08184J4
1DB9_FemaleConnector_Dsub:DSUB-9_Female_Horizontal_P2.77x2.84mm_EdgePinOffset4.94mm_Housed_MountingHolesOffset7.48mmJ2
1D_Zener_ALTDiode_SMD:D_SOD-123FD8
1ESP32-WROOM-32RF_Module:ESP32-WROOM-32U1
1FT231XSPackage_SO:SSOP-20_3.9x8.7mm_P0.635mmU13
1IRLML6402Package_TO_SOT_SMD:SOT-23QPWR1
1LEDLED_SMD:LED_0603_1608MetricD7
1LEDLED_SMD:LED_0805_2012MetricDUSB1
1LED_Dual_AACCLED_SMD:LED_RGB_1210D6
1LSM6DS3Package_LGA:LGA-14_3x2.5mm_P0.5mm_LayoutBorder3x4yU3
1MAX1555EZK_Tdigikey-footprints:SOT-753U4
1MAX98357APackage_DFN_QFN:QFN-16-1EP_3x3mm_P0.5mm_EP2.7x2.7mm_ThermalViasAMP1
1Motor_DC_ALTConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalVBR1
1MountingHoleSymbol:OSHW-Logo_5.7x6mm_SilkScreenH4
1MountingHoleSymbol:KiCad-Logo_5mm_SolderMaskH3
1MountingHoleMainBoard_Rev2:DragonIconH6
1SFH4346LED_THT:LED_D3.0mm_IRBlackD30
1SW_PushConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalTRGR1
1SW_SPSTConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalSWPWR1
1USB_B_MicroConnector_USB:USB_Micro-B_Wuerth_629105150521J3

More from lzrtag/LZRTag

3
  • 2 layers57.8 × 31.1 mmLZRTag, the printed circuit board in 3D

    LZRTag

    lzrtag/LZRTag

    AVR-Based easily modifyable DIY Lasertag!

    30 parts111GPL-3.0
  • 2 layersTestTarget, the printed circuit board in 3D

    TestTarget

    lzrtag/LZRTag

    AVR-Based easily modifyable DIY Lasertag!

    13 parts111GPL-3.0
  • 2 layers28.4 × 21.3 mmSensorBoard, the printed circuit board in 3D

    SensorBoard

    lzrtag/LZRTag

    AVR-Based easily modifyable DIY Lasertag!

    8 parts111GPL-3.0

Similar boards

  • 4 layers322.5 × 183.5 mmDancing forest, the printed circuit board in 3D

    Dancing forest

    sequoia-hope/dancing-forest-pcb

    The PCB design for the Dancing Forest art project

    239 parts1
  • 4 layers156.5 × 85.4 mmP2 Kevinbot Board, the printed circuit board in 3D

    P2 Kevinbot Board

    meowmeowahr/KevinbotV3-KiCAD

    Kevinbot Core - Parallax Propeller 2 Robot Controller

    166 parts7CERN-OHL-S-2.0
  • 2 layers107 × 107 mmF450, the printed circuit board in 3D

    F450

    Icarus-Quadro/esp32-flight-controller-pcb

    PCB designs for esp32 based flight controller and power distribution

    62 parts3
  • 4 layers68.8 × 90.3 mmHorizon, the printed circuit board in 3D

    Horizon

    Horizon-Avionics/Horizon-H1

    Building a fully open-source flight computer for amateur rocketry!

    173 parts17
  • 4 layers75.6 × 100 mmFlight log, the printed circuit board in 3D

    Flight log

    knivier/SkyCell

    The telecommunications solution on a balloon...for broke people alike.

    208 partsMIT
  • 2 layers83.3 × 76.1 mmSrom, the printed circuit board in 3D

    Srom

    derekfountain/zx-spectrum-pico-rom

    A Raspberry Pi Pico based device to emulate a ROM on a ZX Spectrum

    31 parts44GPL-2.0
  • 4 layers100 × 99.9 mmSrom, the printed circuit board in 3D

    Srom

    derekfountain/zx-spectrum-pico-interface-one

    A recreation of the ZX Spectrum Expansion System, a hardware Microdrive emulator

    43 parts42GPL-2.0
  • 6 layers95.9 × 90.2 mmCpb, the printed circuit board in 3D

    Cpb

    OakwoodEngineering/ObiWanKomputer

    The Obi Wan Komputer and Combined Payload Boards from the NyanSat project.

    251 parts10

Questions

How big is the MainBoard Rev2 PCB?

It measures 57.2 × 35.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the MainBoard Rev2 use?

70 parts, built around the ESP32-WROOM-32, FT231XS-R, LSM6DS3 and WS2812B. 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 MainBoard Rev2 KiCad files?

From the lzrtag/LZRTag repository on GitHub, at the commit this page was made from: the board is Electronics/MainBoard_Rev2/MainBoard.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the MainBoard Rev2 design in my own project?

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