14

hybrid brick sorter: sort bricks by color and size

The LEGO MINDSTORMS NXT 2.0 robotics kit comes with instructions to build a robot that sorts the colored balls in the set. This chapter goes a bit further by showing you how to build and program a sorter that sorts by both color and size. The Hybrid Brick Sorter robot separates regular LEGO bricks (2-by-4 studs) from smaller bricks (2-by-2 studs) and also separates red, yellow, green, and blue bricks, as shown in Figure 14-1. It drops each type of brick into different buckets or simply onto different places on the ground as shown in the figure.

Image

Figure 14-1: The Hybrid Brick Sorter sorts LEGO ...

Get The LEGO MINDSTORMS NXT 2.0 Discovery Book now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.