Rice Robotics — Building a Soccer-Kicking Leg
By Samar | July 2026 | Rice ELITE Tech Camp
The challenge
At a summer camp at Rice University, I took Robotics I in the morning and Robotics II in the afternoon. Working with a small group of students, I helped build a robot leg with multiple joints. Our challenge was to make it kick a ball into a goal. In one test the ball went off the table. In a later test, we scored.
I worked on the mechanical assembly, wiring, coding, and testing alongside my teammates. This was a group project, and the finished mechanism was our shared work.
What we built
Our leg had three servo motors connected by a framework made from wooden craft sticks. A cardboard tower and base supported the mechanism, and a small foot at the bottom contacted the ball. The photos show the motors at the upper, middle, and lower joints, with MG995 labels visible on the servo housings.
We connected the mechanism to a microcontroller board and a breadboard with jumper wires. The build brought together a physical structure, electrical connections, and code that controlled the movement. The craft-stick sections transferred the motors’ rotation through the leg, so the position of one joint affected where the foot ended up.
The goal was more demanding than making a motor turn. The leg had to move through a useful kicking motion, contact the ball, and send it in the right direction.
What I was learning
Robotics I focused on motors. My notes cover circuits, Ohm’s law, motor controllers, gearing, and different motor types, including servos and steppers. I also recorded Arduino programming concepts such as setup and loop, pin configuration, timing, and pulse-width modulation.
Robotics II focused on sensors and how a controller receives information. My notes include switches, light and distance sensing, analog and digital signals, and the difference between polling and interrupts.
The leg gave me a physical problem to work on alongside those lessons. A command in code had a visible mechanical consequence: the joints moved, the foot swung, and the ball either went where we wanted or it didn’t.
Testing: from movement to a goal
Our early tests did not all work. In one close-up recording, the leg swings and sends the blue ball off the edge of the table. The mechanism could move the ball, but that was only part of the challenge.
With several connected joints, the foot’s path depends on their combined motion. Ball placement and the direction of contact also matter. Testing the assembled robot let us see the result of the whole system working together, beyond whether an individual motor or section of code worked on its own.
We continued testing as a team. In the later recording, the ball travels across the tabletop and enters the small goal. That was the result we were trying to achieve.
The recordings show both outcomes. I didn’t log the changes between those tests, so I can’t say which adjustment made the difference.
What I would do next
If I revisited the leg, I would record the starting position of the ball, keep the goal in a fixed position, and repeat the same kick several times. I would then change one setting at a time and compare the outcomes. That would help separate a successful shot from a repeatable kicking motion.
I would also keep the code and a short record of each change with its test video. That would make it easier to explain how a failed attempt led to a better result.
Videos and project materials
Successful goal: Watch on YouTube
Early test: Watch on YouTube
Close-up test: Watch on YouTube