Vending Machine: Difference between revisions
tag |
No edit summary |
||
Line 1: | Line 1: | ||
{{Photo|date=December 2018}} | {{Photo|date=December 2018}} | ||
{{Project|name=Vending Machine|status=live|qrmode=2}} | {{Project|name=Vending Machine|status=live|qrmode=2}} | ||
We currently have two vending machines: | |||
* A [[Vending Machine/Westomatic|Westomatic]] snacks vending machine, purchased June 2011 | |||
* A [[Vending Machine/BevMax45|BevMax45]] can/bottle drinks vending machine, purchased mid 2018 | |||
Both machines support [[Vending Machine/Cashless Device|MDB cashless devices]], and have been fitted with [[Vending Machine/Cashless Device Implementation|custom RFID cashless devices]] that use the same cards as [[Gatekeeper]]. | |||
===MDB/ICP protocol=== | ===MDB/ICP protocol=== | ||
Line 34: | Line 25: | ||
The master indicates an address byte/start of session by setting the 9th bit, the correct slave responds as needed and on sending it's last byte it also sets the 9th bit to indicated end of it's session (although the master will ACK this) | The master indicates an address byte/start of session by setting the 9th bit, the correct slave responds as needed and on sending it's last byte it also sets the 9th bit to indicated end of it's session (although the master will ACK this) | ||
[[Category:Projects]] | [[Category:Projects]] |
Revision as of 13:22, 19 December 2018
Please improve this page by adding a photo. Click to upload an image, help with using images can be found here. The talk page may contain suggestions about suitable images. (December 2018) |
Vending Machine | |
---|---|
Status | live |
We currently have two vending machines:
- A Westomatic snacks vending machine, purchased June 2011
- A BevMax45 can/bottle drinks vending machine, purchased mid 2018
Both machines support MDB cashless devices, and have been fitted with custom RFID cashless devices that use the same cards as Gatekeeper.
MDB/ICP protocol
The Multi-Drop Bus/Internal Communications Protocol is a voluntary standard for vending machine communication. This is a serial bus interface working at 9600baud in a master-slave arrangement, where the vending machine controller is the master. Each peripheral is assigned a unique address and command set.
MDB has support for the following devices:-
- Coin Changer
- Bill Validator
- Cashless devices
- Communications Gateway
- Universal Satellite Device
- Coin Hopper or Tube Dispenser
In order to operate the serial line as a bus with multiple devices attached MDB uses a 9bit serial over the traditional 8bit, 9n1 vs 8n1 The master polls each device for activity, all communication sessions are initiated by the master addressing a slave, slaves are only allowed to respond when addressed, this prevents bus collisions.
The master indicates an address byte/start of session by setting the 9th bit, the correct slave responds as needed and on sending it's last byte it also sets the 9th bit to indicated end of it's session (although the master will ACK this)