P. Chithravalli
T. Vijaikumar
AUTOMATIC CHOCOLATE VENDING MACHINE (AVCM) USING μC/OS-II RTOS
ACVM Specifications
Alphanumeric keypad and Display * Alphanumeric keypad on the top of the machine. A child interaction with it when buying a chocolate. * Owner commands and interaction with the machine. Three line LCD display unit on the top of the machine. * Displays menus, entered text, pictograms, and welcome, thank messages, and time and date. * Child as well as the ACVM owner GUIs with the machine using keypad and display.
Coin insertion and delivery slots, and Internet port * Coin insertion slot so that the child can insert the coins to buy a chocolate * Delivery slot to collect the chocolate, and coins if refunded-Internet connection port so that owner can interact with ACVM from remote.
RTOS
* An RTOS has to schedule the buying tasks from start to finish. * Let μC/OS-II be the RTOS used in ACVM
System requirements
The machine has a slot for inserting the coin. * There is a slot into which a child (buyer) inserts the coins for buying a chocolate. The chocolate costs Rs. 8. A coin can be in one of the three possible denominations: Rs. 1, 2 and 5. Whenever a coin is inserted, a mechanical system directs each coin to its appropriate port, Port_1, Port_2 and Port_5. * The machine should have an LCD display matrix as ‘User Interface’. Let the interface be called Port_Display. It displays the message strings in three lines. * It should have a bowl from where the buyer collects the chocolate through a port for delivery. Let this port be called Port_Deliver. All ports, Port_Deliver, Port_Refund and Port_Excess Refund communicate to Port_Collect. This port is a common mechanical interface to the bowl. * An RTOS has to schedule the processes (tasks) for buying from start to finish. * It should also be possible to reprogram the codes and relocation of the codes in the system ROM of