Introduction: Let's Exercise!

It's tiring for physical trainers to come with ideas for how to train and how to regulate themselves during training. Well, the following procedures will guide you to form a machine that is useful for people to train. Whether if it's for any type of sport, basketball, volleyball, running...etc. The machine gives you a mission you or your coach has created and the trainer will have to finish the mission in the restricted amount of time. The trainer will see which side of the LED lights up and run to that side with an LED light lighted up. Once the mission is completed, or after 40 seconds, there will be 30 seconds of time for rest. There will be a total of four rounds. Your coach or you may change the training recipe by just adjusting ArduBlocks if they want to, the LCD board will then display a different mission for the trainers to work on.

Step 1: Collecting Materials

This project relies on Arduino Leonardo and it’s utensils. If you have an Arduino box, (needs to include: wires, 2x red/ 2x green/1x white LED light(s), LCD board, breadboard, horn, wiring heads) you will only then need to purchase 2x smaller breadboards, black wire protective case (5 meters), and 4x 3-meter wires (I suggest to at least prepare two red and two white wires to differentiate the difference when you are constructing your machine). But if you have nothing, you can purchase the listed materials above at 今華電子, so are the 3- meter wires, wire protective cases, and small breadboards that are additionally needed.

Step 2: Constructing the Machine

First, use the black wire protective cases and fit them into the 3-meter wires, use pliers to cut holes and tug the wires in case if the wire protective cases don’t fit the wires entirely through. Do this step twice for both sides of the machine to work later on. Don’t forget to add wiring heads when you connect the 3-meter wire to the Arduino breadboard. Put a piece of red tape on the wiring head that connects the red wire. Connect the LCD board to the breadboard, make sure you plug the correct locations for SCL, SDA, positive, and negative electrode, then we move on to the red, white and green LED lights. We want the red LED lights to light on the left side, white light in the middle, and the green on the right. See the circuit diagram for how and where to plug the LED lights. Next, insert the horn at the holes GND and 11 at the top blocks for the breadboard. Finally, insert the two 3-meter wires covered with black protective cases at the end of the left and right side of the breadboard. Make sure not to confuse yourself with the red wire which was already taped to the other wire. Also, insert one red and one green LED light on the small breadboard which is connected with the 3-meter wire lines. For further detail, check the circuit diagram for further details on how and where to plug.

Step 3: Circuit Diagram


- I would recommend inserting your red line of the horn at pin D11 at the top of the breadboard row. This image uses D13 as an example due to technical issues.

- Four lines are required to be inserted at the left side of the LCD board. Which are respectively SCL, SDA, positive, to negative. This is the order from top to the bottom of where you should plug the four lines(with a different color) on the left side of the LCD board. The circuit diagram also does not demonstrate this due to technical issues from the website I used drawing. There is also an image at the top as a reference.

Step 4: Coding (How This Machine Works)


- Download the code at the bottom if you don’t have ArduBlock downloaded or you want to download it, make sure to still read through what each line of code does and its function (words after //) to this machine since there could be some changes you make when you operate this machine.

- Use ArduBlocks if you have access to it or you want to create it using ArduBlocks, photos will be provided above as a reference

- The activities may be changed by yourself according to what sport you will be doing. For example, if you want to try volleyball: "3 tosses".

Step 5: Packaging

Materials required:

- Sharpie

- Wood Box (20x15x15 cm)

- Utility Knife

- One plastic bottle


Use the utility knife and cut a hole that fits the 3-meter wires to pass through, do it for both sides and make sure the hole is big enough for the lines to pass through. Unplug the 3-meter wires first when you are done, then make sure your small breadboard is on the outside and slowly insert the 3-meter wires inside the box. Also, insert a hole where the lines connecting the LCD board can be inserted. I dug two holes on the surface of my box since my box contains two folds that cover the top of the box, which the lines need to pass through these two holes in order for the LCD board to be exposed at the top of the box where the trainers can see. For the horns, put it through the junction of the box creases in order to just let it expose. See the pictures for further detail. Finally for the small breadboards, take one plastic bottle and cut it by half (recommended). Use the utility knife to cut a 3 cm high hole for both sides that do not contain the cap and the bottom of the plastic bottle so the lines to fit in so they won’t interact. Add a piece of thick paper or wood box materials ( 10 x 5 cm) at the bottom of the small breadboard boxes for both sides. Don't forget to add a hole for your USB plug to go in as well.