Marble Sorter

Written by: admin@makezilla


An autonomous marble sorter which raises marbles to a height then separates based on type (glass or metallic) and colour (white, yellow and black). Can be easily modified to sort different colours.

Created as a year 11 engineering project. While this took one school year to complete from its inception, should take less than a month to build using these instructions.

Total cost under $200.


Step 1: Flowchart

Picture of FlowchartSlide229.PNG Slide230.PNG Slide231.PNG

Using four mechanisms the marble is lifted and sorted based on colour and type.

Step 2: Lifting Mechanism [Structure]

Picture of Lifting Mechanism [Structure]Slide44.PNGSlide48.PNGSlide49.PNG Slide50.PNG Slide51.PNGSlide52.PNG

The lifting mechanism is comprised of three sheets of acrylic separated by acrylic washers.

Use CAD software to design component as per given dimensions (or adapt as desired) and cut using a laser cutter or similar. Ensure that a clear front is used so that marbles can be viewed.

Connect together using M4 nuts and bolts.

Connect the rotating disk to a geared motor with extended spindle.

Step 3: Type Sorter [Structure]

Picture of Type Sorter [Structure]Slide93.PNGSlide97.PNGSlide100.PNG Slide101.PNGSlide102.PNGSlide103.PNGSlide104.PNGSlide106.PNGSlide107.PNGSlide108.PNG

Same as lifting.

Connect the disk to a geared motor using an aluminium hub.

The final pathway is intended to house two metal rails which will act as probes to test marble conductivity. These can be attached using a hot glue gun. While aluminium was used in this iteration, the rails did need to be sanded occasionally to obtain a better contact. If available copper rails should be used.

Step 4: Colour Sorter [Structure]

Picture of Colour Sorter [Structure]Slide191.PNGSlide196.PNGSlide197.PNGSlide201.PNGSlide202.PNGSlide143.PNGSlide144.PNG Slide143.PNGSlide144.PNGSlide148.PNGSlide149.PNGSlide150.PNGSlide151.PNGSlide152.PNG

Same as lifting.

Connect the bottom disk to a stepper motor using an aluminium hub.

Step 5: Supports

Picture of SupportsSlide72.PNGSlide73.PNGSlide128.PNG Slide129.PNGSlide177.PNGSlide220.PNGSlide221.PNG

Use pine to create the support pieces and use a chipboard base.

Connect the lifting mechanism using bolts, the rest can be connected using screws.

Once structure is created take apart and spray-paint using several layers. Connect everything back together, use a strong glue (e.g. liquid nails) to attach each mechanism.

Use a plastic container to catch marbles. Hot glue into place.

Step 6: Circuit Boards

Picture of Circuit BoardsSlide68.PNGSlide170.PNG Slide171.PNGSlide172.PNGSlide213.PNGSlide214.PNGSlide215.PNG

Create the required interfacing circuits and micro-controllers.

PICAXE was originally used although later an Arduino Uno was also added (PICAXE ran out of output pins).

If possible use a single Arduino unit and shield since this will greatly reduce build time.

Step 7: Electronics Integration

Picture of Electronics IntegrationSlide69.PNGSlide164.PNGSlide168.PNG Slide169.PNGSlide70.PNGSlide126.PNGSlide173.PNGSlide218.PNG

Connect sensors and actuators to the interfacing circuits using wire.

Keep project looking neat by connecting wires to the supports using hot glue (or similar).

Step 8: Programing

Picture of ProgramingSlide237.PNGSlide238.PNGSlide244.PNGSlide245.PNGSlide246.PNG Slide247.PNGSlide248.PNGSlide249.PNGSlide250.PNGSlide251.PNGSlide252.PNG Slide253.PNGSlide254.PNGSlide255.PNGSlide256.PNGSlide257.PNGSlide258.PNG Slide259.PNGSlide260.PNGSlide261.PNGSlide262.PNGSlide263.PNG

Follow flow diagrams to achieve the appropriate function.

Use logic most suitable to the micro-controllers used.

May need to re-calibrate sensors from time-to-time depending on light levels.

Since two micro-controllers (PICAXE and Arduino) were used, two wires run between the boards to allow for communication. This can be avoided by using a larger control board.



Step 9: Conclusion

Picture of Conclusion


Marble sorter project is complete.

Try modifying the light sensor components to check for other colours.