This Vending Machine project is one of the "bonus projects" available on the CD LEGO MINDSTORMS NXT 2.0 by Example from nxtprograms.com . A preview and video of the project are available on the website (see video below), and full building instructions and the fully commented NXT-G program are available on the CD. Built with a single NXT 2.0 kit, the machine displays four LEGO parts for sale on the rack in front. The colored balls act as different coin values, with the color sensor detecting them as they are inserted. Using the display and buttons on the NXT, you choose your item from a menu on screen, then you insert balls to pay for it. If you inserted enough money, the selected item is dispensed down the slide in the front, and if you inserted extra money, the machine automatically computes and dispenses the correct amount of change via a hidden change reservoir into the change cup in front. The machine also handles various other error cases such as not inserting enou...
The ROBOTMAK3RS Blog brings together news and information related to the LEGO® MINDSTORMS®, SPIKE Prime, WeDo, BOOST and PoweredUp LEGO robotic platforms. It is operated by the ROBOTMAK3RS RLOC. Read more about us at robotmak3rs.com.