摘要 |
A vending machine includes a front plate with an opening, a delivery tray, and a shielding plate rotatably attached to the cabinet. The delivery tray is attached to the front plate and defines an entrance. A first electromagnet, a second electromagnet, and one or more sensors are located on the delivery tray. The sensor(s) is connected to the first electromagnet and the second electromagnet. The sensor(s) detects merchandise dropping into the delivery tray and sends a signal to the first electromagnet and the second electromagnet; when the sensor detects no merchandise in the delivery tray, the shielding is engaged with the first electromagnet to cover the opening; when the sensor detects the merchandise in the delivery tray, the shielding is engaged with the second electromagnet to cover the entrance. A merchandise output method of the vending machine is also provided. |