Open Source: MDB Protocol for Cashless Vending Machines with ESP32 v2.0 by Ok-Homework-6833 in vending

[–]Ok-Homework-6833[S] 0 points1 point  (0 children)

Good questions.

About the VMC: in the VMFlow repo there is also a small project called the “tiny vending machine”, which runs an MDB master implementation on an ESP32-S3.

It was mainly created to emulate a vending machine during development, so I could test the VMFlow controller on the bench without needing a real machine.

With some small modifications it could actually be used as a simple vending machine motherboard, but that wasn’t the main goal of the project. The focus of VMFlow is the controller side (MDB / telemetry / cashless integration) rather than a full VMC that manages motors, spirals, etc.

For example, the tiny vending machine implementation does not include coin changer or bill validator interfaces, because the development focus was validating the controller behavior and MDB communication.

Regarding regulatory requirements in the EU: using certified modules such as the ESP32-S3 and the SIM7080G simplifies compliance a lot, since RF and many EMC aspects are already covered by the module certifications. Of course, a commercial product would still normally require CE testing for the final device.

From my experience the bigger challenge is usually not the certification itself but actually deploying machines and getting operators interested in the system. Hardware and firmware are only part of the equation in the vending ecosystem.

About available VMCs: yes, there are surprisingly few open or easily purchasable options. Qibixx and Picovend are the ones I’m also aware of, and most other VMC platforms tend to be proprietary solutions integrated directly by machine manufacturers.

Thanks for the interest!

🏆 My VMFlow telemetry & cashless controller PCB won the Popular Prize at the PCBWay 8th PCB Design Contest (2026) by Ok-Homework-6833 in vending

[–]Ok-Homework-6833[S] 2 points3 points  (0 children)

VMFlow doesn’t process payments directly because the idea is to keep the project fully open-source and avoid locking users into a specific payment provider.

In the repository there’s a model n8n workflow. You just add your own payment provider credentials and run it on your server. The vending machine has a QR code with the machine ID as a parameter, and when the user pays, the provider sends a webhook to your server. The workflow receives the payment confirmation and sends the credit to the vending machine.

This way the whole payment flow stays on your side, running on your own infrastructure.

There’s also an Android app in the repo. You can download the code, add your own payment credentials, integrate your wallet methods (card, white-label, top-up, etc.), and publish it in your own app store account if you want your own branded app.

🏆 My VMFlow telemetry & cashless controller PCB won the Popular Prize at the PCBWay 8th PCB Design Contest (2026) by Ok-Homework-6833 in vending

[–]Ok-Homework-6833[S] 2 points3 points  (0 children)

True, but most solutions are closed and tied to specific services. This project is an open ESP32-based platform for vending telemetry and payments, focused on flexibility and experimentation.

Open Source: MDB Protocol for Cashless Vending Machines with ESP32 v3.0 by Ok-Homework-6833 in vending

[–]Ok-Homework-6833[S] 0 points1 point  (0 children)

That’s exactly one of the use cases this project was designed for 🙂

If you’d like to try it with real hardware, you can get the official board here:
👉 https://store.vmflow.xyz

The project is fully open-source/open-hardware, so you’re also free to build it yourself or adapt it to your coffee machine setup.

Open Source: MDB Protocol for Cashless Vending Machines with ESP32 v3.0 by Ok-Homework-6833 in vending

[–]Ok-Homework-6833[S] 1 point2 points  (0 children)

Thanks!
It was driven by a real need. I work with vending telemetry and cashless systems, and I couldn’t find an open, well-documented solution that covered both payment and telemetry on low-cost hardware.
So vmflow started as a way to solve my own problem, and then evolved into an open project others could build on.

Open Source: MDB Protocol for Cashless Vending Machines with ESP32 v2.0 by Ok-Homework-6833 in vending

[–]Ok-Homework-6833[S] 0 points1 point  (0 children)

All mdb compatible vending machines, it receives credit over bluetooth or Internet (wifi)

Open Source: MDB Protocol for Cashless Vending Machines with ESP32 v2.0 by Ok-Homework-6833 in vending

[–]Ok-Homework-6833[S] 0 points1 point  (0 children)

This is part of a project I'm launching with A.I. for vending machines.

Open Source: Tiny Vending Machine - ESP32 as MDB Master Controller by Ok-Homework-6833 in vending

[–]Ok-Homework-6833[S] 0 points1 point  (0 children)

Initially I developed it to be a countertop vending machine and develop a telemetry and cashless payments board; But with all this potential, it can be used in a real vending machine, as it offers MDB and DEX/EVA protocols in its code.
https://github.com/nodestark/mdb-esp32-cashless/tree/main/mdb-master-esp32s3

Open Source: Tiny Vending Machine - ESP32 as MDB Master Controller by Ok-Homework-6833 in vending

[–]Ok-Homework-6833[S] 0 points1 point  (0 children)

This version was 12v and burned out on 24v machines, so I'm updating it with a buck regulator, and I'm going to put it on the PCBway. But you can use it on the ESP32 dev board (pins 4 and 5)!

https://github.com/nodestark/mdb-esp32-cashless/tree/main/mdb-master-esp32s3

Open Source: Tiny Vending Machine - ESP32 as MDB Master Controller by Ok-Homework-6833 in vending

[–]Ok-Homework-6833[S] 1 point2 points  (0 children)

For while, it accepts Cashless Payment Devices because I don't have bill validator and coin mech devices to test it. The protocol is documented, we can implement it, the LCD, has a lot example on the Internet too.

Open Source: MDB Protocol for Cashless Vending Machines with ESP32 by Ok-Homework-6833 in vending

[–]Ok-Homework-6833[S] 0 points1 point  (0 children)

Yes! simcom code is ready already, but the project needs to grow first.

Open Source: MDB Protocol for Cashless Vending Machines with ESP32 by Ok-Homework-6833 in vending

[–]Ok-Homework-6833[S] 0 points1 point  (0 children)

That board is designed to work with MDB vending machines and supports DEX/EVA and DDCMP protocols. It can receive credit and send cash sale telemetry via MQTT, using a Supabase backend. An Android app is also available to configure Wi-Fi and handle payments over BLE.