Code Monkey home page Code Monkey logo

copis's Introduction

COPIS - 0.5

A simple DIY wired scoring box for saber fencing based on Arduino

The superficial rules for saber when a valid hit should be detected are very simple. Touch your oponents conductive target areas with your conductive weapon. In Foil and Epee it is very easy to build a scoring box as the blades themselves don't carry any current. We only need to handle events when the switches on the tips of the blades are depressed. This eliminates several special cases which saber needs to deal with. We avoid handling some of these specifically with our implementation.

The main problems with saber compared to the other weapons is that the whole blade and guard is a conductor. One issue this leads to can be easily avoided via multiple approaches. The other is the blades touching and affecting each others circuits. Our implementation solves these issues by only having i.e. fencer A's weapon hot and only fencer B's lame reading at that moment. Then we just repeat this with the fencers swapped respectively.

The electrical circuit can not be much simpler. We only use some resistors to pull-down the inputs, run the LEDs and some diodes to isolate the outputs.

A line is connected through the lame to an input on our microcontroller, B line is the control and connected to the weapon as well as an input and C is the "power" line connected to the weapon and an output.

Current State and To-do

  • behaves as expected on bench (whip-over fully implemented but not tested)
  • it's not going to be be trivial testing the whip-over
  • second live test went very well, apart from some very rare false positives that I should be able to iron out
  • self_hit leds lit up continuously during live test but not on bench, this bug didn't seem to affect behaviour
  • for now the main goal is reliability

prototype

Resources

Official FIE material rulebook 2023 Annex B C. SABRE https://static.fie.org/uploads/32/163442-book%20m%20ang.pdf

Special Thanks

I want to thank github user Solexis2001 for his comment years ago on another persons project which got me on the right path with the idea to alternate which weapon is hot so we can handle each fencer seperately.

copis's People

Contributors

thegrimreaper13 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.