can any one give me a link to, or tell me how vending machines work, the more detailed the better, i would like it to involve the steps from when the money is put in, till when the product is produced, all the mechanics and electronics needed, logic gates etc, would also be appreciated.