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.