Giter VIP home page Giter VIP logo

target_practice's Introduction

Target_Practice

An Ardunio based Wemos D1 Mini controller used to create a fencing target as shown in this video. The target takes input from the A,B and C lines from the fencing body cord and compares it to Digital Input signals from three Targets. The B Line is connected to the Analog Pin.

The enclosure was created using Onshape and houses the Wemos, an OLED display, a momentary contact push button and WS2812 Individually Addressable LEDs.

The electric schematic is described in Schematic_Fencing_Target_Individually_Addresseable.pdf. It is powered from a 5V power supply. In this case I used the 5V from the WEMOS usb connection, but it is designed to use a dedicated 5V power source.

The target has two modes. One mode signals a light when the target is hit, the other mode is a Reaction Time mode that signals the fencer to hit. In Reaction Time mode the signal is sent three times and the reaction times are averaged and displayed to the fencer in milliseconds. The weapon mode cycles through Epee, Foil, Saber and Foil Classic with a short button press of less than 1 second. The Reaction Time mode starts with a long press of the Mode button, greater than 1 second.

Epee: Epee is designed so that it will light when the A and B lines close. The light will not illuminate if the controller senses that one of the targets was hit with the epee.

Foil: Foil is accomplished by breaking the contact between the B and C lines. There is a sleep mode which will turn the LED lights off after 5 seconds. Plugging in the foil and then hitting a target again will wake up the LED lights. The foil will give Blue Lights if none of the targets are hit or Green Lights if a target is hit when the connection between the B and C lines is broken.

Saber: Saber will light when a target is hit, closing the C line to one of the targets. The Reaction Time mode for Saber will light up 2 of the 3 regions on the addressable LED Strip and the fencer should strike the unlit portion. The light color will change regardless of the region struck, but the correct region hit will yield a Green light while incorrect will be Blue.

For the Target I used an old lamé. I sewed two strips of cloth, one horizontal and one vertical onto the back of the lamé so that it was divided into three parts. I then cut the lamé down the center of the pieces of cloth to create three electrically isolated regions. I also needed two pieces of cloth along the shoulders. These were then connected through alligator clips and 4mm banana plugs to the enclosure.

target_practice's People

Contributors

benkohn2004 avatar

Stargazers

C1FR1 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.