Football Playing Robot

Assembly instructions for the Football Playing Robot from the CODEBOX Drive Kit.

Prepartations:

1. Begin with preparing your workspace. It’s best to have a spacious place to assemble your kit, like an empty desk or a large table.

2. Prepare your screwdriver and previously assembled nuts and bolts box. Keep in mind that your kit consists of three types of screws: 12 mm, 20 mm and 70 mm. All the nuts are the same size.

3. Don’t use too much force when breaking off wooden elements from the forms. Be careful not to break the parts. You can also use a small craft knife to cut the joints in the forms, but be extra careful when doing this!

We wish you a ton of fun during the assembly of your LOFI Robot kit 🙂 Enjoy!

Assembly

The Football Playing Robot is based on the Rover. Below you will find instructions, how to transform your Rover into the Football Playing Robot.

1. Prepare your Rover.

Robot_swiatlolub_v_02_1

2.

Robot_swiatlolub_v_02_2

3.

Robot_swiatlolub_v_02_3

4.
Robot_swiatlolub_v_02_4

List of required parts:

https://www.lofirobot.com/codebox/pojazd-instrukcja-montazu/

Prepare parts needed for the base of the robot’s arms:

Pojazd_futbolista_v01_czesci02

5.

Pojazd_futbolista_v01_mont_ramiona_1

6.

Pojazd_futbolista_v01_mont_ramiona_2

Pojazd_futbolista_v01_mont_ramiona_3

7.

Pojazd_futbolista_v01_moc_przod_1

Pojazd_futbolista_v01_moc_przod_2

Pojazd_futbolista_v01_moc_przod_3

Pojazd_futbolista_v01_moc_przod_4

Prepare parts for the arms:

Pojazd_futbolista_v01_czesci03

8.

Pojazd_futbolista_v01_led_1

Pojazd_futbolista_v01_led_2

9.

Pojazd_futbolista_v01_led_3

Pojazd_futbolista_v01_led_4

Pojazd_futbolista_v01_led_5

10.

Pojazd_futbolista_v01_led_6

11.

Pojazd_futbolista_v01_ramie_moc

Pojazd_futbolista_v01_ramie_moc_1

Pojazd_futbolista_v01_ramie_moc_2

12.

Pojazd_futbolista_v01_ramie_moc_3

Prepare the parts for the shields and antennas.

Pojazd_futbolista_v01_czesci04

13.

Pojazd_futbolista_v01_osłonka_1

14.

Pojazd_futbolista_v01_osłonka_2

Pojazd_futbolista_v01_osłonka_3

15.

Pojazd_futbolista_v01_czulki_1

16.

Pojazd_futbolista_v01_czulki_2

17.

Pojazd_futbolista_v01_czulki_4

Prepare the parts for the flag.

Przygotuj części drewniane osłonek i antenek:

18.

Przygotuj części drewniane osłonek i antenek:

Pojazd_futbolista_v01_choragiewka_2

19.

Pojazd_futbolista_v01_choragiewka_4

20.

Pojazd_futbolista_v01_choragiewka_5a

Pojazd_futbolista_v01_choragiewka_7

Congratulations! Your Football Playing Robot is ready!

Pojazd_futbolista_v01_end

Electronic connections

1. Connect the motors to the M1 and M2 ports of the LOFI Brain controller. Make sure the small metal walls inside the pins of the motor cables are facing the plastic walls of the pins on the controller.

2. Connect the powerbank to the micro USB slot on the Adapter.

LOFI_Robot_Rover_assembly

3. Connect the distance sensor to the corresponding slot on the Adapter. Make sure you have connected the pins VCC, TRIG, ECHO, and GND as shown in the picture below.

LOFI_Robot_Rover_assembly

4. If you are using a bluetooth module, connect it to the corresponding slot on the adapter. Make sure you put the module in the right direction, see the picture below.

LOFI_Robot_Rover_assembly

Programming

Connect LOFI Brain with LOFI Blocks on your computer using LOFI Robot Extension. Insert the following code:

LOFI_Robot_Football_Playing_Robot_program

The left part of the script is responsible for the movement of our Football Player. Every arrow key is assigned for movement. The left column of the code is responsible for the goal celebration – pressing “Z” on your keyboard triggers flashing LEDs and beep sounds on the buzzer.

Have fun!

If you’re curious why the program looks like that, please see this lesson.