Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

MDB

Attention! All equipment must be connected with the power turned off. Connecting devices while the system is powered can result in damage that is not covered under warranty.

MDB (Multi-Drop Bus) is a standardized communication protocol used in vending machines. It acts as a common language that allows different components — such as coin validators, bill acceptors, cashless payment systems, and product dispensers — to communicate with each other.

Installation

Below is a scheme for connecting the SmVend Coffee Mini controller to a vending machine via MDB.

Below is the cable and video guide for connecting the SmVend Smart Connector controller to a vending machine via MDB.

FAQ MDB

Here you’ll find answers to the most frequently asked questions about connecting MDB vending machines.

How can I check if the controller is working?

Connect the controller to the vending machine and check the LED indicator responsible for MDB data exchange. If the LED is on or blinking, communication has been established and you can proceed with the next steps in the setup.

If the LED is off, check the following:

  • Whether the cables between the controller and the vending machine are connected correctly

  • Whether the MDB protocol and the Cashless Device option are enabled in the machine’s settings

Smart Connector
Coffee Mini
Events show «Zero item, change the PLU number to 1» — what should I do?

To fix the “zero product” error, go to the Configuration page for the relevant machine in your SmVend personal account.

In the MDB section, enable the option Shift PLU to PLU+1, then click Save at the bottom of the page.

How to configure a controller after installation?

The lightest and most universally compatible setup.

Smart Connector with mdb_019 firmware
Coffee Mini

If your vending machine does not support Cash Sale but does have a coin acceptor, some transactions may appear merged — combining card and coin data.

2. Pseudo Always Idle

If your vending machine doesn’t support Cash Sale, or requires the product selection before payment workflow, use the following configuration.

Smart Connector with mdb_020 firmware
Coffee Mini

You may need to adjust the Deposit displayed on the machine parameter.

What is Always Idle mode?

Always Idle mode allows the customer to select a product first, then see its price displayed on the terminal before completing the payment.

How to check if my machine supports Always Idle with the Smart Connector controller?

To determine whether your vending machine supports Always Idle mode, we added a self-detecting Default mode.

If you are using the Smart Connector controller

Steps to check Always Idle:

  1. On the Configuration page of the machine in your SmVend personal account, set the Cashless flag parameter to Default

  2. Reboot the vending machine.

  3. Test whether the machine processes payments correctly:

  • If payments are processed without errors, the machine supports Always Idle mode and the configuration is correct.

  • If payment errors occur, the machine does not support Always Idle. In this case, switch the POS terminal to Pre-authorization mode.

With Always Idle
Without Always Idle

If you are using the Coffee Mini controller

Steps to check Always Idle:

  1. On the Configuration page of the machine in your SmVend personal account, set the Cashless flag parameter to Default

  2. Reboot the vending machine.

  3. On the Debug page find the ia tag in the first message:

  • If the tag value is 0, enable the Pre-authorization switch.

  • If the tag value is 1, disable the Pre-authorization switch.

ia=0
ia=1

Режим предавторизации POS-терминала

If the vending machine supports Always Idle, both of the following modes are available:

  • Pre-authorization mode, where the amount is first blocked on the card, and then the product is selected.

  • Post-selection mode, where the product is selected first, and then the corresponding amount is displayed on the POS terminal.

If the machine does not support Always Idle, only one of the following modes will be available:

  • Pre-authorization mode, where the amount is first blocked on the card, and then the product is selected.

  • Post-selection mode, where the product is selected first, and then the corresponding amount is displayed on the POS terminal.

To activate the post-selection mode on machines that do not support Always Idle, set the Cashless flag to Pseudo Always Idle.

However, note that in this case, the coin and bill acceptors will be disabled, since proper price display before product selection requires full support for Always Idle mode.

Режим Master Mode

Решение проблемы с cash sale

If you have any questions, feel free to contact our support team at support@smvend.io, via the chat in the bottom-right corner of the app, or WhatsApp at +371 28 701 129.

Last updated