For those who were confused during the lecture, here's something that might clear it up:
Lego has a few basic building blocks:
Bricks (as seen in pictures 1 and 2)
Plates (picture 3)
Beams (4 and 5)
There are also pegs, which are the black and grey cylinders used to connect beams together. The black pegs are slightly bigger and therefore are not free to spin while inside beams, unlike grey pegs which are free to spin.
![[image]](http://virtualatdp.berkeley.edu:8081/2674/files/1.GIF)
![[image]](http://virtualatdp.berkeley.edu:8081/2674/files/2.GIF)
![[image]](http://virtualatdp.berkeley.edu:8081/2674/files/3.GIF)
Standard lego measurements are 5*5*6 (as seen in picture 1). "5*5*6" is just units of lego; it isn't a real measurement. You can easily find the dimensions of other bricks simply by counting the studs (the bumps on the bricks). Each stud will count as 5, and each brick is always 6 tall. Plates are counted the same, except each plate is 2 tall. Three plates make up the height of a brick.
You can use Pythagorean theorem to perfectly calculate bracing on a row of beams, if you want to. (more on this tomorrow)
![[image]](http://virtualatdp.berkeley.edu:8081/2674/files/4.GIF)
![[image]](http://virtualatdp.berkeley.edu:8081/2674/files/5.GIF)
The other important part of legos are the gears. You should be familiar with the three gears you'll be using the most:
8 tooth gear
24 tooth gear
40 tooth gear
![[image]](http://virtualatdp.berkeley.edu:8081/2674/files/6.GIF)
![[image]](http://virtualatdp.berkeley.edu:8081/2674/files/7.GIF)
![[image]](http://virtualatdp.berkeley.edu:8081/2674/files/8.GIF)
When you connect gears together, you alter the torque and angular velocity. Your motor spins at the same angular velocity no matter what. In other words it has a constant RPM (unless you change power levels). This means that your motor will spin each gear at equal angular velocity.
What happens if you connect an 8 tooth gear, which is connected to the motor, to a 24 tooth gear?
For every revolution of the 8 tooth gear, the 24 tooth gear only goes through 8 teeth, which is exactly 1/3 of the whole gear. That means for every three times the 8 tooth gear does a revolution, the 24 tooth gear does one revolution.
This will result in the final angular velocity being SLOWER, since it takes more turns to spin the gear around. It is 3 times slower. However, your torque is multiplied 3x; this gearing setup would be advantageous if you were climbing some kind of incline.
Gears can also be combined in more complex ways, as seen in diagrams 6 and 7. If you have questions on this, ask on the discussion forum.
Another important gear configuration to know is in diagram 8, with a 40t connected to a 24t connected to a 8t gear. Suppose the motor is connected to the 8t. What is the final gear reduction?
As it turns out, you can calculate the gear reductions separately and just multiply. The 8t connected to the 24t gives:
8/24
and the 24t connected to the 40t gives:
24/40
If you multiply these two together, you get 8/40, or one fifth. This is the same gear reduction as if you just had the 8t and 40t gears.
The center gear is called the IDLER gear, because it does not affect gearing. It does, however, reverse the direction of the whole gear setup.
Last thing about gears is the clutch gear. The clutch gear limits the amount of torque that can pass through. This is useful for avoiding damage to your robots. When the motors stall (they are on but unable to spin the wheels due to some kind of obstruction) the clutch gear will allow the motor to spin and avoid damage.