AMS Forums set to ARCHIVE MODE (POSTING DISABLED). These forums will be used for historical reference, otherwise you can find the AMS event pages located on Facebook.
I offer firmware for Domination Timer (DOMINATOR) project from year 2018. It is usable for Airsoft, Paintball sports for game mode DOMIANTION (Capture Point). Firmware is delivered in machine code .hex for microcontroller architecture AVR ATmega328P. I don't offer .ino application. Firmware can be uploaded to ATmega328P chip via Xloader or AVRUDE using command line. RFID UID are stored in flash memory - PROGMEM and can't be edited from your side. Project website: RFID DOMINATION Timer - Airsoft | Paintball- Arduino - ATmega328P RFID Domination Timer description: Domination timer (DOMINATOR) is a stopwatch device designed for 2 teams that play against each other and try to occupy the point and keep it for as long as possible. The stopwatch is suitable for Airsoft / Paintball game mode DOMINATION, resp. Capture Hill. They consist of an ATmega328P microcontroller (AVR), which can be part of the Arduino development kit (Uno / Nano / Pro Mini). An LCD character display (size 16x2 or 20x4) is used to visualize the times. The times are listed in two lines below each other and are dynamically updated if there is an active team at the point (a point occupied by a team). The stopwatch is equipped with indicator LEDs in team colors, which signal the active team at the point and a detector (piezo transducer), which announces the change at the point after attaching the RFID card. Teams are implemented in the game - RED team and GRE team who play against each other and try to occupy the point and then keep it for as long as possible. At the beginning of the game, the display shows the times 00 hours, 00 minutes, 00 seconds for RED team , GRE team . Each team member is equipped with an RFID chip that is integrated into the bracelet (or card / keychain). The RFID chip transmits its unique identifier - UID (unique ID), which is read by an RFID reader and verified in the logic of the system to which the entity (team) belongs. Individual bracelets can be color-coded (red, green by team and entity function), which allows them to be distributed more quickly to players, but also archived and stored by color. The RED team will occupy the point when the RED team member attaches their card to the RFID reader. This action triggers a buzzer that announces the change of point with a short beep. Subsequently, the LED of the RED team at this station will light up and the display will start adding the time for this team until the member's team card is inserted , Referee , or Eraser. If the point is occupied by a GRE player and the card is attached to an RFID reader, the buzzer will announce this change with a short beep, the GRE LED will light up (RED LED turns off), RED's current time stops , and GRE's time is scored. If the Referee attaches his RFID card, the running time will stop at the current value. The point becomes neutral, the active team's LED goes out. The stoppage lasts until a member of the RED team or the GRE team presents their card. This type of card is thus suitable for temporarily stopping an ongoing game, controlling a player's intervention, or injuries. At the same time, the card can be used at the end of a round of the game, to evaluate the round, respawn teams before continuing. If Eraser attaches the card, both times will stop and reset to the initial value of 00 hours, 00 minutes, 00 seconds, which will be displayed. The Eraser card is used to restart the game, to initialize a new game without the need for a power-on cycle. The RFID reader responds to the insertion of an RFID card immediately, including the entire logic of the Dominator project. The project is suitable for Airsoft events, sports facilities, or Airsoft teams, which can build a Dominator device with their own hardware. Firmware is universal, which is based on the wiring diagram, it is also possible to use the available PCB design for the production of printed circuit boards. The advantage of the RFID Domination timer project is that the usage license authorizes the user to clone and create X points with the same configuration via machine code. Machine code (.hex) is a compiled firmware format for the RFID Dominator project for supplied UID RFID cards that are embedded in the code before compilation. It is thus possible to place any number of independently operating RFID Domination timer points in the game, which respond to identical RFID cards according to a uniform configuration. How RFID Domination Timer works (hardware side): The NXP RC522 RFID reader communicates with the microcontroller (Arduino / stand-alone chip ATmega328P) via the SPI bus with a clock signal (SCLK) of 4 MHz. The RC522 reader responds to the RFID chip at a distance of approximately 3 cm from the antenna, while having a configurable antenna gain in the range of 18 to 48 dB (48 dB is used in the final application for DOMINATOR). Reads the UID (identifier) of RFID chips in range, forwards this identifier to Arduino. Arduino compares the read address of the card in a multi-condition, triggers a buzzer beep, applies digital states to the LEDs, runs a universal counter controlled by the internal function millis() - Timer 0, which is responsible for counting both times. Based on the fulfilled condition, the counter starts to be applied to the given team to which the UID belongs and the time counter is running. The time is plotted on a 16x2 or 20x4 LCD character display. The time data is sent via the I2C bus with a clock signal (SCL) of 100 kHz (Standard Speed). To restore the display as quickly as possible, only the number at the given position (given character) is overwritten. Hours and minutes and seconds are overwritten only when changing and always only for a given team. In case of serious interest, it is possible to create firmware in machine code for ATmega328P to measure also for other types of RFID readers: RDM6300, PN532, Wiegand W26, increase of I2C bus clock signal up to 400 kHz (Fast Speed). Possible firmware expansion for Domination Timer to 3 or 4 teams. Where to use RFID Domination Timer project: RFID Domination Timer project is, in terms of its versatility, suitable for implementation in Airsoft actions, and with the possibility of cloning the firmware, it is possible to place X Domination Timer points in the game field with identical firmware, which players can play with the same RFID cards. Domination Timer is also suitable for teams, sports grounds and playgrounds, which can use this device to expand the services and game modes offered for different numbers of players. If RFID cards, bracelets or key fobs are color-coded, it is very easy and universally distributed to players based on their team. Their archiving is also simple. Using cards, bracelets or key rings is easy and can handle all ages in Airsoft games. The RFID chip itself is protected in a plastic case, it does not mind mud, dirt, water, frost, it is fully maintenance-free. It has no battery, the chip activates the RFID reader, which charges it with the transmitted electromagnetic field and allows it to send a UID - identifier if it is within range of the RFID reader. Domination Timer is suitable for game modes with the same number of players in both teams, e.g. DOMINATION, Capture Point (Points for multiple cloned Domination Timer points). Available PCB design For RFID Domination Timer is available PCB design (double-sided PCB), 104x101 mm (new version released in 2022). There is microcontroller Arduino Nano used. PCB can be created by any popular manufacturer from design. Design is in .lppz format (LibrePCB), it consist all info about layers, drilling, holes, overlays. Shareware version- RFID Domination Timer Project can be tested for free in Shareware version. This version of project allow you to use 4 RFID cards - one card per entity. You can measure up to 15 seconds of each team, then timer will automatically stops, then you can reset both times using Eraser card. This version is used mainly for test compatibility with your hardware. Firmware can be downloaded on project website. It is divided by communication address of LCD display - 0x27 or 0x3F. Price: 30€ per max. 24 UID, that means 10x RED, 10x GRE, 2x Referee, 2x Eraser. If you are interested, then send loaded RFID UIDs to my e-mail address. Sketch for loading RFID UID with UART output is available at project website with template that is online in Google Spreadsheets or for offline usage. It is possible to make agreement of more RFID UID and also I can extend firmware for max. 4 teams. Project website: RFID DOMINATION Timer - Airsoft | Paintball- Arduino - ATmega328P You can find there test firmware, test sketches for loading UID of RFID cards, I2C scanner to get communication address of your LCD display. There is also list of supported hardware. 2022 updates: New PCB design (included in original post) Minor changes in firmware, RFID cards are now stored in PROGMEM and not in RAM, so more cards can be used in application Added auto-detection of LCD display with I2C converter (firmware is not only for one I2C address) Project was developed to finish. No changes will be made to future.