Skip to the content
2 layers63 × 57 mmHead sensor, the printed circuit board in 3D

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

Size
63 × 57 mm
Copper layers
2
Thickness
1.6 mm
Parts
52
Nets
60
Pads
221
Tracks, vias
587, 53
Pours
1
Routed
Yes
KiCad
KiCad 3
Created
18 Jul 2016
Updated
12 Jan 2018

Overview

Head sensor 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 63 × 57 mm with 52 parts on 60 nets, routed with 587 tracks and 53 vias.

It is built around the STM32F103RET6 and NRF24L01. Its parts include 16 connectors, 10 capacitors, 9 transistors, 8 resistors and 2 ICs. It belongs with the radio and wireless and sensors and measurement boards and the STM32 boards of this library.

Main components

2

README

README.md

Caustic Lasertag System

For Russian description scroll down the page.

Описание на русском --- внизу страницы.

Overview

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:

  • Player's gun
  • Player's sensor to detect shoots
  • Smart control point for 'capture the point' game and some other things
  • Bluetooth bridge that provide interconnection between your smartphone and all the devices in game near bridge
  • Android application (currently alpha state) to control the game and change settings

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.

Project structure

Here is a directories description:

  • Android/ --- Android application to control the game and change settings
  • cpp-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.bin
    • universal-device/ --- universal firmware for any Caustic LTS device.
  • Docs/ --- some datasheets and useful documents for project
  • media/ --- sounds and its raws. Most of them were get from https://www.freesound.org/
  • schematic/ --- electic schemes, PCBs and gerbers made with KiCad
  • tools/ --- some scripts to simplify primitive jobs
  • sdcards/ --- samples of devices' SD cards containment

How to build firmware

Now 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 --- это полноценная беспроводная система для внеаренного и аренного лазертага. Проект содержит принципиальные схемы, печатные платы, прошивки микроконтроллера и другой необходимый код. На данный момент, система включает:

  • Оружие игрока
  • Датчики попадания ("головная повязка") для игрока
  • Умная контрольная точка для игры в "захват точки", поддерживающая другие вспомогательные функции
  • Bluetooth-мост, позволяющий подключать смартфон одновременно к любому количеству устройств системы
  • Приложение для Android (на данный момент в альфа-версии) для управления игрой и настройки игровых устройств

Система Caustic лицензирована под GPLv3. Система включает код тертьих лиц, который может быть лицензирован под другими лицензиями. Copyright 2016, Алексей Булатов.

Структура проекта

Проект устроен следующим образом:

  • Android/ --- Приложение для Android
  • cpp-sources/ --- Прошивка для контроллера
    • bootloader-usb/ --- ссылка на https://github.com/DAlexis/stm32-usb-bootloader --- загрузчик, превращающий устройство в кардридер, если при запуске оно подключено к компьютеру по USB. Прошивает контроллер из файла flash.bin
    • universal-device/ --- универсальная прошивка для любого устройства системы Caustic
  • Docs/ --- даташиты, документация и некоторые полезные документы
  • media/ --- звуки и их исходники. по большей части, взяты с https://www.freesound.org/
  • schematic/ --- схемы, печатные платы, герберы, сделанные в KiCad
  • tools/ --- некоторые скрипты, упрощающие некоторые простые действия
  • 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 на карту устройства. Именно так прошивка поймёт, "кем быть".

Parts

52
QtyValueFootprintReferences
9MOSFET_NSOT23GDSQ1, Q2, Q3, Q4, Q5, Q6, Q7, Q8, Q9
8CSM0805C2, C4, C5, C6, C7, C8, C9, C10
447kSM1206R2, R3, R4, R5
4RSM1206R1, R6, R7, R8
3JUMPERGS2JP1, JP2, JP3
3P***1pin1PIN, 1PIN, 1PIN
2CP1c_tant_CC1, C3
1CRYSTALHC-49VX1
1HeadLEDsTERMINALS_4P15
1LINSTAB-(1-GND/ADJ,2-OUT,3-IN)SOT223U1
1MICROSD-SDIO-CDMICROSD-CDP1
1NRF24L01pin_array_4x2P14
1NRSTPIN_ARRAY_1P3
1PowerTERMINALS_2P16
1RFID-RC522-MODULEPIN_ARRAY-9X1-2mm-horizP13
1STM32F103REdsp56f8323-LQFP64-10X10U2
1SWCLKPIN_ARRAY_1P8
1SWDIOPIN_ARRAY_1P7
1SWGNDPIN_ARRAY_1P4
1SensorsGNDTERMINALS_6P12
1SensorsInTERMINALS_6P10
1SensorsVccTERMINALS_6P9
1USART1PIN_ARRAY_4x1P11
1USART3PIN_ARRAY_4x1P6
1VibroenginesTERMINALS_6P2
1VibroenginesVCCTERMINALS_6P5

More from DAlexis/caustic-lasertag-system

12
  • 2 layers92.5 × 82.8 mmRifle and sensors, the printed circuit board in 3D

    Rifle and sensors

    DAlexis/caustic-lasertag-system

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

    268 parts16
  • 2 layers77.5 × 97.1 mmRifle mono v1-panelized, the printed circuit board in 3D

    Rifle mono v1-panelized

    DAlexis/caustic-lasertag-system

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

    237 parts16
  • 2 layers92.5 × 96 mm10x10, the printed circuit board in 3D

    10x10

    DAlexis/caustic-lasertag-system

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

    176 parts16
  • 2 layers267.7 × 109.1 mmUniversal dev v1-r1-append, the printed circuit board in 3D

    Universal dev v1-r1-append

    DAlexis/caustic-lasertag-system

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

    165 parts16
  • 2 layers90.4 × 95.5 mmHead rifle round sensors, the printed circuit board in 3D

    Head rifle round sensors

    DAlexis/caustic-lasertag-system

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

    149 parts16
  • 2 layers92.4 × 98.9 mmFixed hs g431-tube sensors, the printed circuit board in 3D

    Fixed hs g431-tube sensors

    DAlexis/caustic-lasertag-system

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

    149 parts16
  • 2 layers78.1 × 85.7 mmHs mono g431-panelized, the printed circuit board in 3D

    Hs mono g431-panelized

    DAlexis/caustic-lasertag-system

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

    112 parts16
  • 2 layers92.8 × 58.1 mmRound sensors usb, the printed circuit board in 3D

    Round sensors usb

    DAlexis/caustic-lasertag-system

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

    102 parts16
  • 2 layers88.8 × 30 mmRifle mono v1, the printed circuit board in 3D

    Rifle mono v1

    DAlexis/caustic-lasertag-system

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

    88 parts16
  • 2 layers50 × 50 mmSensor module, the printed circuit board in 3D

    Sensor module

    DAlexis/caustic-lasertag-system

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

    80 parts16
  • 2 layers61.3 × 34.3 mmRifle shield, the printed circuit board in 3D

    Rifle shield

    DAlexis/caustic-lasertag-system

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

    62 parts16
  • 2 layers61.3 × 34.3 mmUniversal dev v1-r1, the printed circuit board in 3D

    Universal dev v1-r1

    DAlexis/caustic-lasertag-system

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

    60 parts16

Similar boards

  • 2 layers70 × 90 mmNeuralRobot, the printed circuit board in 3D

    NeuralRobot

    viktorvano/NeuroBot

    Robot With Deep Neural Network

    74 parts9MIT
  • 2 layers44.9 × 26 mmMcu module, the printed circuit board in 3D

    Mcu module

    caustic-lt-system/caustic-public

    This repository contains public parts of Caustic lasertag system project. Schematics and PCBs are licensed under GPLv2 license.

    22 parts1
  • 2 layers100 × 120.3 mmReceiver, the printed circuit board in 3D

    Receiver

    GAULAvionique/IdeFIX

    Repo pour le KiCad et Firmware du Beacon

    87 parts1
  • 4 layers102 × 86 mm2102 dio 0808 main, the printed circuit board in 3D

    2102 dio 0808 main

    hamayanShowa-ele/kicad_share

    kicad share data.

    233 parts
  • 2 layersSmartEggTimer, the printed circuit board in 3D

    SmartEggTimer

    meierh/Embedded_System_Hands_On_I

    All files related to the group project can be found in the Project folder. It contains the following parts of our project:

    66 parts
  • 4 layers70 × 54.5 mmInt debugger, the printed circuit board in 3D

    Int debugger

    TUDSSL/DIPS

    This is the official public repository for DIPS: Debugger for Intermittently-Powered Systems. The repository consists of all components that make DIPS: - Hardware - Debugger Firmware - Emulator Firmware - Emulator Host…

    224 parts
  • 4 layers90.2 × 95.9 mmMC SunSensorPCB, the printed circuit board in 3D

    MC SunSensorPCB

    queens-satellite-team/pcbs

    PCBs for satellite

    111 parts1

Questions

How big is the Head sensor PCB?

It measures 63 × 57 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Head sensor use?

52 parts, built around the STM32F103RET6 and NRF24L01. 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 Head sensor KiCad files?

From the DAlexis/caustic-lasertag-system repository on GitHub, at the commit this page was made from: the board is schematic/head-sensor/head-sensor-stm32f103ret6-rev1.1/head-sensor.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Head sensor design in my own project?

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