Lego Functional Basic Gearbox

by abou169472 in Circuits > Electronics

358 Views, 0 Favorites, 0 Comments

Lego Functional Basic Gearbox

Screenshot 2026-09-16 at 10.32.00 AM.png

I've always been into cars and I have always enjoyed watching them race or seeing how people modify them to make them go faster. I am especially fond of that last part, I've always thought of cars as a marvel of engineering considering how effective they are and how complicated they can be. That's why I've decided to create this gearbox to try and create my own transmission.

This is just a prototype, but it can be used in probably most lego rc car projects with some modifications. It is meant to be use as a basis for a LEGO gearbox and can be easily modified to make it better or add more features. It is a sequential gearbox, meaning the shifter just moves up and now instead of the normal H-pattern you see in most manual cars, this makes it easier to build around because you don't have to create a complex mechanism and instead just need some motors to move it in a straight line.

Supplies

Screenshot 2026-09-16 at 10.41.31 AM.png
Screenshot 2026-09-16 at 10.41.56 AM.png
Screenshot 2026-09-16 at 10.42.13 AM.png
Screenshot 2026-09-16 at 10.42.27 AM.png

This is fully made out of LEGO:

For the gear holders: 2x axles, 5x pairs of gears of varying sizes.

For the frame: 2x square lego frames, 3x beams (Length of your choice but longer than at least 9 studs).

For the clutch: 1x L-shaped lego, 2x spur gears (beige color in photo), 2x normal lego gears, 1x 5 stud lego beams, 1x I-shaped lego.

For control: 2x lego spike angular motors, 1x lego spike control box.

As many lego pins as you need for assembling.

Assembling the Gearbox

FCVKC1CMU1VK35J.png
F2LBRSBMU1VK354.png
F95F6IKMU1VK35B.png
F4LOTVFMU1VK34X.png

To start, insert the gears in opposite order from each other into the axles (as shown in the photo) but don't attack the clutch gear yet (lone grey gear).

Next, start building the frame, attach the 3 beams to the bottom of one of the grey frames, then insert the axles with the gears in (make sure that they are still opposite of each other, meaning smallest gear matches with biggest gear) and make sure that the side with the beams sticking out is where the axle's side where you put the clutch gear is facing. Then, attach the other grey square frame, and attach the angular motor #1 to the axle without the clutch gear (this will be our "car motor").

For the passing gear (shifter), on an axle, attach a gear that fits between your other gears and then (in this order) insert any beam type part (for holding) and a washer to secure the beam part, in this prototype, you switch gears manually by moving the passing gear yourself.

The final assembly step is to make the clutch, to start attack the I-shaped piece, lying down, onto the beams, where it is attached exactly may vary depending on your beam length. Then, attach the 5 stud beam to the I lego, the beam will be vertical. Next, pass an axle through one of the holes in the vertical beam the only thing that matters is that the axle is centered with the other clutch gear coming from the gearbox, and attach the second clutch gear so that there is exactly one stud apart between both clutch gears. On the other side, use a lego washer to keep the axle in place and (optional) attach some kind of marker to see how fast each gear is. To finish of the assembly step, attach the L-shaped lego to the clutch angular motor, securing it with two lego pins and making sure the bottom of the L part that sticks out is facing away from the clutch gears. And finally, attach the angular motor to the beams so that the L-shaped lego lines up with the space in between the clutch gears, and attack both spur gears by passing a short axle through the L-shaped piece and attaching one to either side.

The Code

Screenshot 2026-09-16 at 11.07.07 AM.png
Screenshot 2026-09-16 at 11.08.17 AM.png
Screenshot 2026-09-16 at 11.37.29 AM.png

Open your computer and open up this link: https://spike.legoeducation.com/essential/project This will direct you to the lego spike coding website, you then want to click new project. From there choose "word blocks", name the project whatever you want, and click create. You will then be sent to the coding part, on this screen you want to click "connect" in the top corner. Follow the instructions and connect your control box. Then you want to connect your angular motors to the control box to be able to use them(it can be any port as long as you link the code to the correct port. Then use this exact code (picture) to get it to work (but make sure it links to correct pins).

Try It Out!

Start up the control box to make the "car motor" start, move the passing gear manually to shift gears and tilt the control box up or down the engage/disengage the clutch! You can have fun with it or modify it to your liking to make it better or add other features you want to add.