- Creating a Fencing Buzzer Box.
- 20 Oct 2019 01:41:55 pm
- Last edited by TheLastMillennial on 29 Feb 2020 11:15:46 pm; edited 8 times in total
Quick clarification, this is about the sport fencing, not putting stakes and posts in the ground!
Want the source code? Check out the
GitHub Repository.
For those of you that don't know, fencing is a sport where you get to stab people while avoiding them stabbing you with swords such as foils or epees. Typically during practice there's a simple honesty system where if you get stabbed, you admit it and go to a new round. However, if both fencers get stabbed at the same time, it can be difficult to tell who stabbed first. Since the sword have a button on the end and are wired to a connection point on the bell, you can connect something called a buzzer box which can tell down to the millisecond who stabbed who first. Here's what it looks like:
Two of the connectors on the bell are for the button leads. The third contact point is for ground (detecting if your opponent hit your bell rather than you), you can ignore it for the purpose of this project.
Unfortunately, buzzer boxes are very expensive ($30-50 for one box!) and my team can't afford to buy a dozen of them. That's why I decided to try and make my own. My school has 3D printers that are free to use and most typical circuit components are pretty cheap so I think I'll be able to make one for a lot less.
Current todo list: (Finished | In-progress | Not Started | Not Feasible | Wont Do)
Hardware:
Progress & Eye candy:
Old plan:
End goal: Create a circuit where when a button is bumped or held, a buzzer (and an LED if I can work it in) will activate for 2 seconds. Preferably without using an Arduino.
My plan is to have a capacitor constantly being charged (while the box is on), then when the button is pressed, the capacitor discharges completely, activating the buzzer. Once it's discharged, the battery will start charging it again. The catch is, I don't how most circuit components work so this is going to be a learning curve for me. (I do understand batteries, resistors, capacitors, and I mostly understand transistors, but that's just about it!)
I was told on SAX a few days ago that this can be done with a single transistor and Mateo even created a circuit diagram for me (Note: the numbers in the circuit are not accurate). However, that circuit assumes that the button is normally closed which, on epee swords, the button is normally open. (It would be nice to be able to switch from one to the other, but one step at a time)
I'm guess my first question is: how can I keep a transistor on after only a single button press? I know I said I'd use a capacitor, but I have to idea how to wire it up like that.

Want the source code? Check out the
GitHub Repository.
For those of you that don't know, fencing is a sport where you get to stab people while avoiding them stabbing you with swords such as foils or epees. Typically during practice there's a simple honesty system where if you get stabbed, you admit it and go to a new round. However, if both fencers get stabbed at the same time, it can be difficult to tell who stabbed first. Since the sword have a button on the end and are wired to a connection point on the bell, you can connect something called a buzzer box which can tell down to the millisecond who stabbed who first. Here's what it looks like:


Two of the connectors on the bell are for the button leads. The third contact point is for ground (detecting if your opponent hit your bell rather than you), you can ignore it for the purpose of this project.
Unfortunately, buzzer boxes are very expensive ($30-50 for one box!) and my team can't afford to buy a dozen of them. That's why I decided to try and make my own. My school has 3D printers that are free to use and most typical circuit components are pretty cheap so I think I'll be able to make one for a lot less.
Current todo list: (Finished | In-progress | Not Started | Not Feasible | Wont Do)
Hardware:
- Create an adapter that connects the blade connectors to a headphone jack which can be plugged into a phone:
- Make phone detect headphones are plugged in
- Add pass through port on adapter for audio to go to actual headphones
- Make case for adapter
Document components in the adapter
Upload adapter schematics to Github
- Create app that can detect when blade button is pressed:
- Get code on Github
- Make app dark theme
- Detect when button is pressed
- Beep when button is pressed
- Play beep through either the headphone jack or playing through speakers
- Allow adjustment of beep pitch
- Add button to toggle between Epee and Foil fencing mode
- Add screen lock:
- - Add slider to lock/unlock
- - Remove all clickable buttons
- - Prevent phone from sleeping while locked
- Add Bluetooth communication between devices:
- - So only the winner's phone beeps in a one-on-one match
- - So a third device can act as a completely wireless buzz box & score keeper for a one-on-one match
- Add score keeping
- Test it
- Release to Play Store
Make icon
Make a better readme
Make tutorial
Progress & Eye candy:

Old plan:
End goal: Create a circuit where when a button is bumped or held, a buzzer (and an LED if I can work it in) will activate for 2 seconds. Preferably without using an Arduino.
My plan is to have a capacitor constantly being charged (while the box is on), then when the button is pressed, the capacitor discharges completely, activating the buzzer. Once it's discharged, the battery will start charging it again. The catch is, I don't how most circuit components work so this is going to be a learning curve for me. (I do understand batteries, resistors, capacitors, and I mostly understand transistors, but that's just about it!)
I was told on SAX a few days ago that this can be done with a single transistor and Mateo even created a circuit diagram for me (Note: the numbers in the circuit are not accurate). However, that circuit assumes that the button is normally closed which, on epee swords, the button is normally open. (It would be nice to be able to switch from one to the other, but one step at a time)
I'm guess my first question is: how can I keep a transistor on after only a single button press? I know I said I'd use a capacitor, but I have to idea how to wire it up like that.