
Rifle and sensors
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
Sensor module is an open-source printed circuit board by DAlexis, from the DAlexis/caustic-lasertag-system repository on GitHub. It is a 2-layer board with 15 parts on 15 nets, routed with 105 tracks and 13 vias.
It is built around the TSOP4856. Its parts include 7 resistors, 4 ICs and 2 connectors. 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 |
|---|---|---|---|
| 7 | R | SM0805 | R1, R2, R3, R4, R5, R6, R7 |
| 2 | P*** | 1pin | 1PIN, 1PIN |
| 2 | RGB-LED | RGB-led | U1, U2 |
| 2 | TSOP4856 | PIN_ARRAY_LARGE_PADS_2.54mm_3X1 | U3, U4 |
| 1 | SENSOR_CONNECTOR | PIN_ARRAY_5x2_SOCKET | P1 |
| 1 | VibroEngine | PIN_ARRAY_LARGE_PADS_2.54mm_2X1 | P2 |

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



google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards

hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

mntmn/amiga2000-gfxcard
MNT VA2000, an Open Source Amiga 2/3/4000 Graphics Card (Zorro II/III), written in Verilog

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

kenp-io/not-for-airpods-repairs
The content of this repository is licensed under the WTFPL License. Please have a close look at the terms before using this material.

Luos-io/luos_engine
Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.
15 parts, built around the TSOP4856. 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/sensor-module/sensor-module-idc-circle-lw/sensor-module.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.