
Rifle mono v1-panelized
DAlexis/caustic-lasertag-system
Caustic project is a full-featured indoor and outdoor lasertag system

Caustic project is a full-featured indoor and outdoor lasertag system
Rifle and sensors is an open-source printed circuit board by DAlexis, from the DAlexis/caustic-lasertag-system repository on GitHub. It is a 2-layer board of 92.5 × 82.8 mm with 268 parts on 105 nets, routed with 2,074 tracks and 277 vias.
It is built around the STM32F103RET6, NRF24L01 and PAM8403, with the MCP73831, USBLC6-4 and TSOP4856 among its other parts. Its parts include 63 connectors, 62 resistors, 46 capacitors, 26 ICs and 18 transistors. It belongs with the radio and wireless and sensors and measurement boards and the STM32 boards of this library.
For Russian description scroll down the page.
Описание на русском --- внизу страницы.
Caustic project is a full-featured outdoor and indoor wireless lasertag system. It consists of principial schemes, PCBs and firmware for devices used in lasertag game. For now, system consists of:
Caustic Lasertag System licensed under GPLv3. Third party code used in project may be licensed under other licences, see corresponding files and comments in the sources. Copyright 2016, see AUTHORS file.
Here is a directories description:
Android/ --- Android application to control the game and change settingscpp-sources/ --- MCU firmware. Here:
bootloader-usb/ is a reference to https://github.com/DAlexis/stm32-usb-bootloader --- bootloader that supports cardreader functionality and flash controller from file flash.binuniversal-device/ --- universal firmware for any Caustic LTS device.Docs/ --- some datasheets and useful documents for projectmedia/ --- sounds and its raws. Most of them were get from https://www.freesound.org/schematic/ --- electic schemes, PCBs and gerbers made with KiCadtools/ --- some scripts to simplify primitive jobssdcards/ --- samples of devices' SD cards containmentNow only Linux OS supported to build Caustic LTS firmware, but I use CMake so add Windows support should not be a very complicated task.
You need to install cmake, arm-none-eabi-gcc compiler with arm-none-eabi-newlib and arm-none-eabi-binutils installed, and installation dirs should be in $PATH. Simply installation from your distro's repository usually enough. To flash the MCU with ST-link programmer you should install stlink utility. Then:
Clone this repository:
git clone https://github.com/DAlexis/caustic-lasertag-system.git
Go to cpp-sources directory:
cd caustic-lasertag-system/cpp-sources
Download git submodule containing bootloader:
git submodule init && git submodule update
Run build.sh for debug build and build.sh release for release one
Then, to program the board:
Connect ST-link programmer to the board and to yout PC's USB
To flash main firmware run
flash-universal-device.sh
To flash bootloader run
flash-bootloader.sh
To flash release version add release parameter to both scripts
NOTE: flashing bootloader means removing previous firmware. To flash main program after flashing bootloader you should rename universal-device.bin to flash.bin and copy it to sd-card's root, then reboot device.
Then, copy proper sh-card containment to your device's sd-card. For example, for gun you should copy all files and dirs from sdcards/rifle to gun's sd-card.
Caustic --- это полноценная беспроводная система для внеаренного и аренного лазертага. Проект содержит принципиальные схемы, печатные платы, прошивки микроконтроллера и другой необходимый код. На данный момент, система включает:
Система Caustic лицензирована под GPLv3. Система включает код тертьих лиц, который может быть лицензирован под другими лицензиями. Copyright 2016, Алексей Булатов.
Проект устроен следующим образом:
Android/ --- Приложение для Androidcpp-sources/ --- Прошивка для контроллера
bootloader-usb/ --- ссылка на https://github.com/DAlexis/stm32-usb-bootloader --- загрузчик, превращающий устройство в кардридер, если при запуске оно подключено к компьютеру по USB. Прошивает контроллер из файла flash.binuniversal-device/ --- универсальная прошивка для любого устройства системы CausticDocs/ --- даташиты, документация и некоторые полезные документыmedia/ --- звуки и их исходники. по большей части, взяты с https://www.freesound.org/schematic/ --- схемы, печатные платы, герберы, сделанные в KiCadtools/ --- некоторые скрипты, упрощающие некоторые простые действияsdcards/ --- содержимое SD-карт для устройств разных типовНа данный момент поддерживается сборка только из-под Linux, однако проект использует CMake, так что добавить поддержку Windows не составит труда.
У вас дожен быть установлен cmake, компилятор arm-none-eabi-gcc, включая arm-none-eabi-newlib и arm-none-eabi-binutils. Компилятор должен быть доступен в $PATH. Обычно, достаточно просто установить соответствующие пакеты из репозитория вашего дистрибутива. Для прошивки нужен программатор ST-link и соответствующая утилита stlink.
Загрузчик не является обязательным.
Итак, для установки:
Склонируйте этот репозиторий:
git clone https://github.com/DAlexis/caustic-lasertag-system.git
Перейдите в папку cpp-sources:
cd caustic-lasertag-system/cpp-sources
Инициализируйте и загрузите подмодуль, содержащий загрузчик:
git submodule init && git submodule update
Запустите build.sh для сборки в режиме build, или build.sh release для сборки в release
Теперь, чтобы запрограммировать устройство:
Подключите программатор к плате устройства и к компьютеру. Включите питание устройства
Чтобы прошить основную программу, наберите
flash-universal-device.sh
Чтобы прошить загрузчик:
flash-bootloader.sh
Чтобы прошить программу, собранную в release, добавьте параметр release к каждому из скриптов.
ВАЖНО: При прошивке загрузчика стирается всё, что до этого было зашито в контроллер. Поэтому после прошивки загрузчика нужно сделать следующее: переименовать universal-device.bin в flash.bin и положить в корень sd-карты (это можно сделать, просто подключив устройство по USB к компьютеру). После перезагрузки устройства загрузчик автоматически зальет прошивку в контроллер. Вообще говоря, можно вообще не использовать загрузчик.
Скопируйте необходимое содержимое на sd-карту. Например, если устройство --- это оружие игрока, скопируйте всё содержимое sdcards/rifle на карту устройства. Именно так прошивка поймёт, "кем быть".
| Qty | Value | Footprint | References |
|---|---|---|---|
| 32 | WHOLES-LINE-3 | components:wholes-line-3 | wholes, wholes, wholes, wholes, wholes, wholes, wholes, wholes, wholes, wholes, wholes, wholes, wholes, wholes, wholes, wholes +16 |
| 23 | 0.1uF | Capacitors_SMD:C_0805 | C1, C1, C1, C1, C1, C1, C1, C2, C2, C2, C2, C2, C2, C2, C10, C11 +7 |
| 21 | 10k | Resistors_SMD:R_0805 | R4, R4, R4, R4, R4, R4, R4, R5, R13, R14, R15, R17, R19, R20, R22, R23 +5 |
| 21 | 150 | Resistors_SMD:R_0805 | R1, R1, R1, R1, R1, R1, R1, R2, R2, R2, R2, R2, R2, R2, R3, R3 +5 |
| 14 | BUS | Pin_Headers:Pin_Header_Straight_1x03_Pitch2.54mm | P1, P1, P1, P1, P1, P1, P1, P2, P2, P2, P2, P2, P2, P2 |
| 11 | Q_NMOS_GSD | TO_SOT_Packages_SMD:SOT-23 | Q1, Q1, Q1, Q1, Q1, Q1, Q1, Q2, Q2, Q3, Q3 |
| 8 | NCP551 | TO_SOT_Packages_SMD:SOT-23-5 | U1, U1, U1, U1, U1, U1, U1, U4 |
| 7 | 0.1 | Capacitors_SMD:C_0805 | C2, C3, C4, C5, C8, C9, C17 |
| 7 | 100uF | Capacitors_Tantalum_SMD:CP_Tantalum_Case-B_EIA-3528-21_Reflow | C3, C3, C3, C3, C3, C3, C3 |
| 7 | STM32F030F4Px | Housings_SSOP:TSSOP-20_4.4x6.5mm_Pitch0.65mm | U2, U2, U2, U2, U2, U2, U2 |
| 7 | SWD | Pin_Headers:Pin_Header_Straight_1x03_Pitch2.54mm | P3, P3, P3, P3, P3, P3, P3 |
| 7 | TSOP4856 | Pin_Headers:Pin_Header_Straight_1x03_Pitch2.54mm | T1, T1, T1, T1, T1, T1, T1 |
| 7 | V+ | Pin_Headers:Pin_Header_Straight_1x01_Pitch2.54mm | P8, P8, P8, P8, P8, P8, P8 |
| 7 | V- | Pin_Headers:Pin_Header_Straight_1x01_Pitch2.54mm | P9, P9, P9, P9, P9, P9, P9 |
| 6 | IRLML2502 | TO_SOT_Packages_SMD:SOT-23 | Q2, Q3, Q4, Q5, Q6, Q7 |
| 5 | 47k | Resistors_SMD:R_0805 | R1, R2, R3, R4, R5 |
| 5 | RGB-LED | LEDs:LED_WS2812-PLCC6 | U3, U3, U3, U3, U3 |
| 4 | 100uF | Capacitors_Tantalum_SMD:TantalC_SizeB_EIA-3528_Reflow | C1, C12, C13, C16 |
| 2 | 20pF | Capacitors_SMD:C_0805 | C6, C7 |
| 2 | 3.3k | Resistors_SMD:R_0805 | R25, R26 |
| 2 | 470 | Resistors_SMD:R_0805 | R9, R11 |
| 2 | I2C display | Socket_Strips:Socket_Strip_Straight_1x04 | P13, P14 |
| 2 | IR | LEDs:LED_D5.0mm | D1, D1 |
| 2 | PA0 | Pin_Headers:Pin_Header_Straight_1x01_Pitch2.54mm | P4, P4 |
| 2 | PA1 | Pin_Headers:Pin_Header_Straight_1x01_Pitch2.54mm | P5, P5 |
| 2 | PA10 | Pin_Headers:Pin_Header_Straight_1x01_Pitch2.54mm | P7, P7 |
| 2 | PA3 | Pin_Headers:Pin_Header_Straight_1x01_Pitch2.54mm | P6, P6 |
| 2 | RGB | LEDs:LED_WS2812-PLCC6 | U3, U3 |
| 2 | R_LED | Resistors_SMD:R_0805 | R6, R6 |
| 2 | R_load | Resistors_SMD:R_0805 | R8, R8 |
| 1 | 0.015uF | Capacitors_SMD:C_0805 | C18 |
| 1 | 0.47uF | Capacitors_SMD:C_0805 | C19 |
| 1 | 1.5k | Resistors_SMD:R_0805 | R8 |
| 1 | 100 | Resistors_SMD:R_0805 | R12 |
| 1 | 2k | Resistors_SMD:R_0805 | R10 |
| 1 | 4.7uF | Capacitors_SMD:C_0805 | C14 |
| 1 | 8MHz | Crystals:Crystal_HC49-U_Vertical | Y1 |
| 1 | Chrg | LEDs:LED_0805 | D1 |
| 1 | DBG | LEDs:LED_0805 | D2 |
| 1 | DEBUG_TX | Pin_Headers:Pin_Header_Straight_1x02 | P7 |
| 1 | FLASH | Pin_Headers:Pin_Header_Straight_1x01 | P15 |
| 1 | Fire | Pin_Headers:Pin_Header_Straight_1x01 | P8 |
| 1 | G B Vcc | Pin_Headers:Pin_Header_Straight_1x03 | P3 |
| 1 | GND | Pin_Headers:Pin_Header_Straight_1x03 | P19 |
| 1 | IRLML6402 | TO_SOT_Packages_SMD:SOT-23 | Q1 |
| 1 | IR_LED | Pin_Headers:Pin_Header_Straight_1x02 | P17 |
| 1 | MCP73831 | TO_SOT_Packages_SMD:SOT-23-5 | U3 |
| 1 | MICROSD-SDIO-CD | components:MICROSD-CD-112J-WH | P1 |
| 1 | NRF24L01 | components:NRF24L01-mini | P4 |
| 1 | PAM8403 | SMD_Packages:SO-16-N | U5 |
| 1 | RC522 | Socket_Strips:Socket_Strip_Straight_1x08 | P10 |
| 1 | Reload | Pin_Headers:Pin_Header_Straight_1x01 | P9 |
| 1 | STM32F103RE | Housings_QFP:LQFP-64_10x10mm_Pitch0.5mm | U1 |
| 1 | SWD | Pin_Headers:Pin_Header_Straight_1x04 | P2 |
| 1 | S_A_M1_M2 | Pin_Headers:Pin_Header_Straight_1x04 | P6 |
| 1 | Speaker1 | Pin_Headers:Pin_Header_Straight_1x02 | P11 |
| 1 | Speaker2 | Pin_Headers:Pin_Header_Straight_1x02 | P12 |
| 1 | TTL | Pin_Headers:Pin_Header_Straight_1x01_Pitch2.00mm | P20 |
| 1 | USBLC6-4 | TO_SOT_Packages_SMD:SOT-23-6 | U2 |
| 1 | USB_A | Connect:USB_B | P5 |
| 1 | USB_OTG | Connect:USB_Micro-B | P18 |
| 1 | VIBRO | Pin_Headers:Pin_Header_Straight_1x01 | P16 |
| 1 | lev1 | Resistors_SMD:R_0805 | R16 |
| 1 | lev2 | Resistors_SMD:R_0805 | R18 |
| 1 | lev3 | Resistors_SMD:R_0805 | R21 |
| 1 | lev4 | Resistors_SMD:R_0805 | R24 |
The 259 most common of 268 parts.

DAlexis/caustic-lasertag-system
Caustic project is a full-featured indoor and outdoor lasertag system

DAlexis/caustic-lasertag-system
Caustic project is a full-featured indoor and outdoor lasertag system

DAlexis/caustic-lasertag-system
Caustic project is a full-featured indoor and outdoor lasertag system

DAlexis/caustic-lasertag-system
Caustic project is a full-featured indoor and outdoor lasertag system

DAlexis/caustic-lasertag-system
Caustic project is a full-featured indoor and outdoor lasertag system

DAlexis/caustic-lasertag-system
Caustic project is a full-featured indoor and outdoor lasertag system

DAlexis/caustic-lasertag-system
Caustic project is a full-featured indoor and outdoor lasertag system

DAlexis/caustic-lasertag-system
Caustic project is a full-featured indoor and outdoor lasertag system

DAlexis/caustic-lasertag-system
Caustic project is a full-featured indoor and outdoor lasertag system

DAlexis/caustic-lasertag-system
Caustic project is a full-featured indoor and outdoor lasertag system

DAlexis/caustic-lasertag-system
Caustic project is a full-featured indoor and outdoor lasertag system

DAlexis/caustic-lasertag-system
Caustic project is a full-featured indoor and outdoor lasertag system



svpetry/TeslaBMBCheck
Simple device that reads the voltage levels and temperatures from a Tesla Model S BMB board.





fwachsmuth/Filmkorn-Raw-Scanner
The Filmkorn Raw Scanner, turning 8mm and 16mm films into lossless 12-bit CinemaDNG
It measures 92.5 × 82.8 mm and has 2 copper layers, 1.6 mm thick.
268 parts, built around the STM32F103RET6, NRF24L01, PAM8403 and MCP73831. 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.
From the DAlexis/caustic-lasertag-system repository on GitHub, at the commit this page was made from: the board is schematic/grouped-boards/rifle-sensors/rifle-and-sensors.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask DAlexis before reusing the design.