He built the machine using a robot kit called Lego Mindstorms. A light sensor detects when a coin is inserted, which triggers the release of milk and cereal.
A round lego piece even prevents the milk from spilling.
Breakfast will never be the same.
Related: Look back at Cheerios' different flavors and looks:
Cheerios flavors, designs through the years
A brilliant 16-year-old built a Cheerios vending machine entirely from Legos
401990 01: This undated photo shows a special edition Cheerios box, available in select Southeast markets, featuring race car driver John Andretti reading aloud with his family. This month, the Cheerios franchise kicks off its literacy campaign on over 28 million boxes of Cheerios. (Photo by General Mills/Getty Images)
UNITED STATES - MARCH 16: A shopper reaches for a box of cereal near a selection of General Mills cereals on display in an Associated Supermarket in New York on March 16, 2004. Nestle SA, the world's largest foodmaker, is considering a bid for General Mills Inc. to add brands such as Cheerios cereal and Betty Crocker dessert mixes, people familiar with the matter said. (Photo by Daniel Acker/Bloomberg via Getty Images)
UNITED STATES - MARCH 23: Boxes of General Mills Yogurt Burst Cheerios cereal is seen on the shelves of a Key Food Supermarket on Thursday, March 23, 2006, in Brooklyn, New York. General Mills Inc., the second-largest U.S. cereal maker, said fiscal third-quarter profit rose 7 percent after it added new flavors of Cheerios and Yoplait yogurt. (Photo by Ramin Talaie/Bloomberg via Getty Images)
UNITED STATES - JUNE 29: Boxes of General Mills Cheerios cereal sit on a grocery store shelf in New York, Thursday, June 29, 2006. General Mills Inc. said fourth-quarter profit dropped as earnings from a year earlier included a gain from the sale of two units. (Photo by Adam Rountree/Bloomberg via Getty Images)
UNITED STATES - SEPTEMBER 21: General Mills Fruity Cheerios cereal is seen on a supermarket shelf in New York New York Thursday, September 21, 2006. General Mills Inc., the second-largest U.S. cereal maker, said first-quarter profit rose 6 percent, exceeding analysts' estimates on higher sales of new cereals, including Fruity Cheerios, and Yoplait yogurt . (Photo by Stephanie Kuykendal/Bloomberg via Getty Images)
BRISBANE, CA - MAY 12: Boxes of Cheerios cereal are displayed on a shelf at the Midtown Market May 12, 2009 in Brisbane, California. The Food and Drug Administration has issued a warning letter to Cheerios maker General Mills telling the company to stop making claims in its advertising the Cheerios will lower cholesterol and treat heart disease. (Photo by Justin Sullivan/Getty Images)
Boxes of General Mills Inc. Honey Nut Cheerios and Chex cereal are arranged for a photograph in Washington, D.C., U.S., on Friday, Feb. 17, 2012. General Mills Inc., the maker of Cheerios cereal and Yoplait yogurt, reduced its earnings forecast for its current fiscal year as weak demand and rising costs squeeze food producers. Photographer: Andrew Harrer/Bloomberg via Getty Images
General Mills Inc. Cheerios cereals are displayed for sale at a supermarket in New York, U.S., on Monday, June 25, 2012. General Mills Inc., the maker of Cheerios cereal and Yoplait yogurt, is scheduled release quarterly earnings on June 27. Photographer: Scott Eells/Bloomberg via Getty Images
General Mills Inc. Cheerios and Total brands breakfast cereals sit on display at a supermarket in Princeton, Illinois, U.S., on Wednesday, Aug. 22, 2012. General Mills Inc. is scheduled to release earnings data on Sept. 19. Photographer: Daniel Acker/Bloomberg via Getty Images
Boxes of Cheerios breakfast cereal, produced by Nestle SA, sit on a shelf inside a supermarket in London, U.K., on Friday, Feb. 8, 2013. Britain's economy will grow more slowly this year than previously forecast and stagnation may persist, according to the National Institute of Economic and Social Research. Photographer: Chris Ratcliffe/Bloomberg via Getty Images
Boxes of General Mills Inc. brand Cheerios cereal are displayed for sale inside a Costco Wholesale Corp. store in Nashville, Tennessee, U.S., on Friday, Sept. 25, 2015. Costco Wholesale Corp., the largest U.S. warehouse-club chain, is expected to release fourth-quarter earnings figures on September 29. Photographer: Luke Sharrett/Bloomberg via Getty Images
FILE - In this file photo taken Sept. 10, 2009, boxes of General Mills Cheerios breakfast cereal varieties are displayed at a Little Rock, Ark., grocery store. Cereal maker General Mills Inc. said Monday, May 3, 2010, that its board announced a two-for-one stock split, effectively doubling the number of stock owned by every shareholder. The split will be in the form of a stock dividend and will be distributed on June 8. (AP Photo/Danny Johnston, File)
General Mills' Cheerios cereals are seen on display at a store in Palo Alto, Calif., Wednesday, July 1, 2009. General Mills Inc. said Wednesday that its fiscal fourth-quarter profit almost doubled as consumers stuck with its well-known brands such as Cheerios cereal and Yoplait yogurt. (AP Photo/Paul Sakuma)
General Mills Inc. Cheerios brand cereal is arranged for a photograph in Tiskilwa, Illinois, U.S., on Wednesday, March 18, 2015. General Mills reported net sales of $4.35 billion during the third quarter and reaffirmed the company's outlook for 2015 during an earnings report today. Photographer: Daniel Acker/Bloomberg via Getty Images