For a coin mechanism for the newspaper vending machine, I designed a electro/mechanical mechanism to detect coins based on their size and for this mechanism I designed a microcontroller-based board using a Zilog Z86E21. The coin mechanism detected the different coins by their size as they slid down the coin chute. Steve Searle had one of the mechanisms machined in his shop. Below on the left shows one face of the clam-shell design and on the right is shown the "Flipper" which rotates when the coin strikes it. A small magnet on the Flipper triggers a reed switch on the printed circuit board to cause an interrupt and restart the code in the Zilog microcontroller.
Two views of my Coin Mech mechanical design. |
My First Coin Mech Electronic Design. |
Roger had previously incorporated his company as UniRac and in early 2000, Roger incorporated GVA (Gordon Vending Associates) as a California corporation and we were on our way to fortunes in the vending machine business. I received 3000 shares in the new corporation work for my work and expenses that I incurred.
In about 2000, Roger conceived of a new newspaper rack design that he called The Elevator, that held the newspapers on a vertically movable shelf to elevate the newspapers, presenting a single copy to the customer. I enlisted my brother, Richard Baker (http://bakerstudio.carbonmade.com/) to produce some advertising material for Roger's Elevator and he produced the flyer idea below.
Richard Baker's Suggested Flyer Design for Roger's Elevator Newspaper Vending Machine. |
Later in 2003, Roger contacted a sticker vending company in South San Jose to see if we could retrofit one of their vending machines with a battery-operated electronic coin mechanism. We were invited to meet with the principals of the company and they gave us the go-ahead and one of their machines, similar to the photo below but six columns instead of the four columns. The machine used the washing machine type coin mechanism as shown in the picture and the company was interested in changing to an electronic mechanism to keep track of sales and inventory in each of their many machines.
Sticker Vending Machine example. |
Steve Searle and Don Kelsey of Techmetrics designed a new coin mechanism for the machine that used a different principle of kicking the coins off a sloping coin track to sort them to individual chutes depending on the size of the coin; quarter first then nickel, penny and dime. I designed a new microcontroller-based circuit board with infrared LED's and photodiodes to detect the coins, accumulate the coin amount and also to control a motor to operate a flap that would either accept the quantity of inserted coins or reject them in case either the customer wanted to return his coins or in case the coin amount wasn't sufficient for the sticker purchase. I don't have an image of Techmetrics' coin mechanism but an photo of my unloaded electronic board is shown below. For this design I used a PIC16F877A microcontroller chip and a low-cost C compiler for the software development. Nowadays Microchip provides a free GCC GNU C Compiler with an Eclipse IDE. Also I purchased a Sony Clie' PDA and programmed it to be able to retrieve and set prices on the coin mechanism board, to retrieve sales information and battery status via a serial connection between the coin mechanism electronics and the Sony PDA.
Controller Board for Sticker Vending Machine, Top Design and Etched Board. |
There are many sources for CAD programs to design your printed circuit boards, many companies that will fab your printed circuit board and many distributors from which to purchase your electronics components. I have used Eagle CadSoft (www.cadsoftusa.com/) and ExpressPCB (www.expresspcb.com/). ExpressPCB provides free design software and will fab boards for you. Currently I am using Kicad (www.kicad-pcb.org/) since it's open source software and also I can get Gerber files using Kicad. Teltec and ExpressPCB have fabbed boards for me but I am considering using OSH Park (oshpark.com/) for my next boards as they have been recommended as providing high quality low-cost boards. I like Digikey (www.digikey.com/), Mouser (www.mouser.com/) and Newark (www.newark.com/) for components but there are many other distributors including Allied (www.alliedelec.com) and Avnet (www.avnet.com). Also I have gone direct to Zilog (www.zilog.com/) and Microchip (www.microchip.com) for microcontrollers and Maxim (www.maximintegrated.com), Linear Technology (www.linear.com), Analog Devices (www.analog.com) and Texas Instruments (www.ti.com) for various IC's. Zilog is famous for the Z80 microprocessor, of course, and I have used various versions of their Z8 chips. Also, for faster to market, I have used microcontroller boards from Z-World, now Digi International (www.digi.com), who also have an excellent C development software called Dynamic C.
Below is a photo of my controller board set up for testing.
Testing of My Coin Mech Controller Board. |
The system that we (Techmetrics and myself) developed for the sticker vending machine worked beautifully to:
- accept and accumulate the coins to allow a purchase from the vending machine,
- reject coins if the customer wished to do so or if the amount was insufficient,
- allow the purchase of a sticker,
- enable setting the purchase price of a sticker for each different vending machine column,
- provide the sales and inventory information on the Sony Clie' PDA.
No comments:
Post a Comment