This "sweet" candy machine features two candy chutes, a locking mechanism for storing candy, and a fun and simple design. It uses 2 EV3 servo motors to operate both candy chutes. Also, the machine's program can be tweaked to add various sounds, images and more! It is fun, easy-to-use, made out of lego bricks, and dispenses candy. What more could you ask for in a machine?

This machine only works with small candies such as Nerds, Mini M&Ms, Sprinkles, Tiny Size Chiclets, etc.. Larger candies may result in the machine clogging.

Files Needed:

Lego Digital Designer Software (Free)

Lego Mindstorms EV3 Software (Free)

Candy Machine Instructions

Lego Digital Designer File

Parts List

Candy Machine EV3 Program

Step 1: Lego Assembly

Before starting, you will need to be sure you have the necessary pieces to build this. The color of the pieces can be changed depending on what you would like or what you have. The suggested colors are listed in the "Parts List" PDF. Refer to that document to be sure you have the necessary pieces. You will also need a LEGO MINDSTORMS EV3 Kit.

The "Lego Candy Machine Instructions" PDF provides the step-by-step building instructions for this Lego creation. If you would like animated 3D instructions, you can download the "Lego Candy Machine.lxf" file. This file can be opened with "LEGO Digital Designer", which is available free for download here. The LDD (LEGO Digital Designer) file provides 3D, animated building steps.

After you have made sure you have all of the necessary LEGO pieces, you may begin assembling the candy machine as described in LDD file or the PDF.

After assembling you will need to connect the motors to the Intelligent Brick. To do this, you will need to first take off the red roofing pieces from the top of the machine. This will open up room for you to plug in the cables. Now, (facing the front of the machine) connect the motor on the right to "Port D" and connect the motor on the left to "Port A" using the cables included in the LEGO MINDSTORMS EV3 Kit. Then replace the red roofing bricks.

<p>How do you store the candy at the back?</p><p>After how many times do you have to refilll it?</p><p>Will the mechanism scoop up more candy after you click it once?</p><p>Doesn't the bricks all get dirty because of the candy melting?</p>
<p>That's explained in step 3.</p><p>It probably needs to be refilled every few uses, I'm going to guess about 3 (per side).</p><p>Yes, the machine can dispense candy multiple times in a row, as demonstrated in the video.</p><p>Nope. Hard candies like Wonka Nerds, Gobstoppers, Skittles, and Tic Tacs don't really melt. Chocolate candies might melt though, so try to avoid using those.</p>
<p>your welcome ! :)</p>
<p>love the machine i want something like that . i love the candy Chiclets tiny size !!!!</p>
<p>Thanks! I appreciate it.</p>
<p>this is amaying</p>
Can this different candy
<p>Yes you can use different candy, as long as it is about the same size as the candy I used. Mini M&amp;Ms, Tiny Size Chiclets, Sprinkles and Wonka Nerds are all candies that should work. Bigger candies tend to clog the machine. They may be others that work, so feel free to experiment with different candies.</p>
Really cool! I have a Mindstorm NXT 2.0 but I have not used it in a while. You have have encouraged me to start messing with t again. :)
<p>This is awesome! I like that you can put two kinds of candy in it!</p>

About This Instructable




Bio: My name is Calvin and I love to create things. I also enjoy filming and editing movies, playing games, watching movies (especially Marvel movies), and ... More »
More by goldlego:LEGO MINDSTORMS Pet Feeder Version 2.0 DIY Backlit Poster DIY Jigsaw Puzzle 
Add instructable to: