Electronic Fencing Target

15,962

113

31

How awesome it would be if you can build something that helps you train in fencing and have fun at the same time, right!?,
My name is Enrique Alvarez, I am the fencing master for the Fargo-Moorhead Fencing Club and I was tired of seeing my students playing video games in tournaments and not paying attention to what they should have been paying attention, ;) I had the idea to bring the electronic world and fencing together and have some fun with it, I am sure everybody is familiarized with electronic targets, devices that usually contain a set of lights and pressure sensors that determine which region of the target is being hit, very similar to the electronic memory game of Simon. I wanted to bring this idea to the next level, and that’s why I created the MMFT (multi modal electronic target).




Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Cut Play-wood and Place the Targets

First step is to get the plywood cut and drilled,
I got half an inch Birch plywood and cut it 18 by 20 inches approximately
then I drilled 7 holes destined for the seven targets/push-buttons from All Electronics and finally placed them in the positions shown in the picture.

Step 2: Prep the Lights

The push-button from All Electronics come with the regular white bulb,
what I did, was to switch those bulbs for RGB leds, driven by an Arduino Mega
I also added some resistors to control the current sent to the LEDs.

Step 3: Prepare the Arduino

The Arduino Mega is limited in current output, so I included a set of n-channel Mosfets to beef up the power to the leds.

Step 4: Display Board

The Electronic Fencing Target includes a 4 digit display to show the fencer the results of the exercises and any other info messages.
The 4 digit display uses an SPI interface with the micro-controller, messages with the data to display are sent through the SPI link and received by the sub-system. More details are explained in the code section.

Step 5: Wrie It Up!

Now, you just have to wire the output from the N-channel Mosfets to the RGB leds and the push-button inputs,
in this particular model, there are:
- 7 outputs for the red leds,
- 7 outputs for the green leds,
- 7 inputs for the push-buttons.
The eagle schematic is also shown in the images files and the schematic in Eagle cadsoft is included.

Step 6: Wireless Module

The wireless module is composed of:
- 1 Arduino nano
- 1 link pair of nRF24L01+
- 1 cell phone micro motor
The submodule is based on this wikisite http://arduino-info.wikispaces.com/Nrf24L01-2.4GHz-HowTo
The wireless module receives messages form the Arduino Mega an when needed activates the micro motor to provide vibration in along the blade.The module is attached to the weapon with a couple of Neodymium magnets.

Step 7: Software Code

The project uses:
1 arduino Mega + Arduino Nano emitter
[code attached above]
Arduino Nano receiver
[code attached above]

Step 8: Vinil for the Front and Enjoy!

Share

Recommendations

  • Make It Fly Challenge

    Make It Fly Challenge
  • Stone Concrete and Cement Contest

    Stone Concrete and Cement Contest
  • Indoor Lighting Contest

    Indoor Lighting Contest

31 Discussions

0
None
ArtJ11

1 year ago

I got mine working and its really awesome! If anyone is interested in the details I can post them here....there's some modification to the code required if you want to use the updated 4 digit display from sure-electronics.

Many thanks to the author :)

10 replies
0
None
nb1234ArtJ11

Reply 1 year ago

That would be fabulous! I'm starting to pull together everything now to build it, and any help/additional info/warnings would be great.

Many thanks to BOTH of you!!

0
None
ArtJ11nb1234

Reply 1 year ago

Hi....you can retrieve my latest working code from here:

https://drive.google.com/open?id=1r9QJ8lTMK1jkaRZ89gsL9Ex6HUsjUUf4

You may want to get it sooner than later because I clear out my google drive pretty often :)

I haven't been able to get the RF-buzzer portion of the project working yet....the Mirf library and all of its operational requirements may be a bit above my pay grade so if anyone else can assist that would be great. Otherwise everything else works fine with this code.....good luck!

0
None
nikkialiberoArtJ11

Reply 1 year ago

It will be wonderful if you could share again your material.

0
None
nikkialiberoArtJ11

Reply 1 year ago

Great. Thank you very much.

I hope I will have some time to dig into this soon!

0
None
ArtJ11nikkialibero

Reply 1 year ago

No problem...I would recommend loading the code into your Arduino mega as a first step just to assure that your system is stable before attaching the peripherals.

0
None
HonirArtJ11

Reply 1 year ago

Hey, thank you for your code and excuse me to distrub you, I begin to create the fencing target with my father and it's our 1st project with Ardruin. We began to do the electronic part but after upload the code in adruino. 0 Led are up. do you see a mistake on the electric part?

Thank you very much

20180810_131347.jpg
0
None
ArtJ11Honir

Reply 1 year ago

I'd say check the polarity of your MOSFETs first...make sure you have your gate, source and drain pins connected to the appropriate polarity.....after that make sure your LED's are also hooked up to appropriate polarity. One other important thing...I used a separate 5V power source to run the LED's as they do consume some power....the display panel I used just happened to have a nice regulated 5V source which was sitting there doing nothing so I put it to work.

********Also in your photo I don't see anything connected to the DC input jack...you appear to be running off USB only......that's a red flag right there....plug in a good DC source around 9 to 12 volts to make sure you have sufficient power to run that thing*********

0
None
ArtJ11nb1234

Reply 1 year ago

I did some digging around and found some newer RF24 libraries....there a "lite" library which offers very simple Tx/Rx operation....I think it would be ideal for this application because all you really need to do is throw a byte or two out to the weapon to activate the pager motor....the Mirf library is disastrously complex....I'll give this a shot but it'll probably be spring before I have any results....too many things going on right now :(

0
None
NBBAXTER

1 year ago

Hi I trying to make this for my daughter the fencer but am completely new to arduino. Could someone help me out with an updated code and if possible a wiring diagram. The one above is a bit above my level of understanding as I am not sure where the board and the jumpers are. I am only looking at builders the target not the reciever / transmitter modules.Many thanks Nick

0
None
ArtJ11

1 year ago

As an addendum to the below I was also able to get the bounce.h library working so no more switch bounce issues especially in Exercise 2. If I hear crickets on this page for the next couple of weeks I'll assume the thread is dead otherwise pls request updated code.

0
None
Silvester10528

2 years ago

I've been wanting to do something like this for SCA armored combat for some times, but electronics and programming are not my strong points - this is a HUGE help!!

Thank you!

0
None
mrupp99148

4 years ago on Introduction

I made the unit so it does exercises #1 and #2. My brother (the fencer) is trying it out and will make suggestions on other exercises. Took a long time...started in August 2014. The switches were constantly out of stock. Used LEDs from All Electronics (PN LED-259) with 1K resistors running off of 12 VDC. The LEDs are more than bright enough. Bought ribbon cable from Jameco but it is not needed...just makes the wiring look neater. The LEDs were most difficult part; they are surface mount and I had trouble soldering to them. Mounting them in the switch was also an annoyance. Other than that, it is just a lot of soldering. Without a fine tip soldering iron (from work) I would not have been able. I was completely unfamiliar with Arduino which slowed things down. Could not get the development system to install on my Windows Vista machine had to use a Windows 7 machine. I think I got a slightly different display than the author so had to modify the software.

0
None
dwmcqueen

4 years ago on Step 6

How did you best position this on the sword?

0
None
dwmcqueen

4 years ago on Introduction

I am curious about the LEDs - which ones did you go with and what resistors did you use?