Introduction: SmartStrike System

Smart System that will help you progress in martial arts

Supplies

  • Raspberry Pi 4
  • Breadboard
  • Extra power supply (3.3V & 5.1V)
  • 3x RP-S40-ST
  • 1x Ultrasonic sensor
  • 1x RFID sensor
  • 1x Bluetooth audio amplifier & old audio speaker
  • 1x MPU 6050 sensor
  • 2x buttons
  • 1x OLED 128x64 display
  • tons of cables (male-male, male-female, short, long, ....)
  • Boxing gloves (for this project, 1 is enough but feel free to make more of those if you want a better experience)
  • Boxing pad(s) -> again, 1 is enough but feel free to expand as you want

  • -------------- -------------- --------------
  • write your code -> For components you can use a lot of libraries. Frontend you design as desired. Use socketio for realtime communication between your device and the website. Make sure you have a functioning Database where your data can be inserted into.
  • You can find my testfile for running all the components here aswell as the fritzing scheme to see how i've connected everything.

Step 1: Test Your Components

Connect all sensors & actuators to your Pi. Make sure they're working correctly. Make them class objects and define some basic functions. What I've done was first, was connecting them all separately and test them with their corresponding code to make sure that each individual component is working as it should.

Step 2: Connect Everything Together

Once everything works fine on it's own, connect everything into 1 big device. In this step I also added the easier parts such as the joystick that reads the joystick position.

Step 3: Expand As Needed

Since I'm working with a boxing glove and boxing pads, I needed extra long cables to connect everything and be able to move freely. If you want to make a small, portable device then you probably could skill this step.


*I've used some ethernet cables to have the individual cables organized - it cost me some sweat, tears and... even blood. So watch out what you're doing - make sure you work safely*

Step 4: Insert the Sensors in the Gloves/pads

Once everything works fine, insert your sensors that will measure your data inside the gloves/pads. Make sure they are inserted really good and won't fallout when using the gloves.

Step 5: Put Everything in a Case Where It's Safe

As a last step, put your raspberry pi with all the unneeded cables and components inside a case so they don't get damaged and are somehow organized.

Step 6: To Make Your Device Fully Standalone:

To make your device fully standalone, make sure of the following:

  • You have apache2 installed and configured correctly, so that it starts a server on your index.html file
  • Work in a venv for your backend
  • Make 2 buttons on your Pi that will power it on and shut it down when needed
  • Foresee some music and images (if you want o use these) on your raspberry pi
  • Put an extender in your case so that all your devices are connected to it


Step 7: You're Finished. Now You Have a Training Device