.NET MAUI Development
Xamarin Application Development
React Native App Development
iOS Application Development
Android Application Development
Android Wear App Development
Ionic Development
Universal Windows Platform (UWP)
Kotlin Application Development
Swift Application Development
Flutter Application Development
PWA Application Development
Hire Flutter Developers
Hire Certified React Native Developers
Flutter Health Tech & Wearable App Development Company
React Native Health Tech Wearable App Development
Offshore Software Development
Custom Application Development
Front-End Development
Full Stack Development
AI & Machine Learning
Custom CRM Solutions
Flask Software Development
Electron JS Development
ChatGPT Development
.NET Application Development
.NET Nuke Development
Microsoft Dynamics CRM
Microsoft Small Business Solution
VB .NET Development
C# Development
Sharepoint Migration
Sharepoint Development
ASP.NET Core Development
ASP.NET Development
ASP.NET MVC Development
Kentico CMS
Umbraco CMS
AJAX Development
Agile Development
Microsoft Bot
Microsoft Blazor
Microsoft Azure Cognitive
.Net Maui Healthcare Wearable App
Nuki Smart Lock
Salto Smart Lock
TTlock Smart Lock
NFC App Development
Smart Locker Solutions
Hospital Smart Lock Systems
Hotel Smart Lock Systems
Smart Home & Office Locks
Smart Access for Schools & Colleges
Unloc Smart Lock Integration
Yale & August Smart Lock Integration
Populife Smart Lock Integration
Smart Lock Hardware Development
RaspBerry Pi
Firmware Software Development
ESP 32 Software Development
Embedded Development
Internet of Things
IoT Sensor Integration & Development Solutions
Azure IOT Integration
Tuya IoT App Development
Particle IoT SDK
Hire IoT & Embedded Developers
STM32 Firmware & Hardware Development
IoT Development with AI
Dairy GPS Tracking Solutions
GPS Fleet Management Software
Car Rental & Subscription Solutions
Car Buy & Sell Marketplace Development
AI-Powered Car Wash App Development
PCB Design & Fabrication
IoT AC Automation
AI–IoT Painting Solutions
IoT Wearable Hardware & App Development
HVAC Automation & AI Control Systems
Smart Home IoT Engineering
AI Embedded Systems
AI Hardware Design Service
Advanced IoT Hardware & Firmware Development
Device Driver Development Services
Microchip PIC & AVR Development
Hire IoT Architects
IoT Cloud & Infrastructure Solutions
Infineon XMC / AURIX Development Services
Matter & Thread IoT Services
IoT Wearable Device Development
Native IoT Mobile App Development (BLE & Wi-Fi)
Snapdragon IoT Firmware Development
Renesas RA/RX Firmware Services
Smart Wearable App Development
Smart IoT Meters
Smart Healthcare Wearable App Development
Health Care Monitoring System
Fitness Tracking App Development
Smart Home Automation Apps
nRF PCB Design
ESP32 PCB Design
STM32 PCB Design
Embedded Wearables Engineers
Rental Property Management System
Smart Lighting Development
Infineon Semiconductor Firmware Development Services
Custom Camera Development: Hardware, Firmware & PCB Prototyping
Adequate Infosoft has created a custom MDB/ICP vending machine interface solution based on the concept of SparkVend, a freely available hackerspace project dedicated to vending machines' direct communication.
This system engineering solution is based on opto-isolation hardware, 9-bit serial communication, Teensy firmware and integration with Raspberry Pi via I2C. This case study emphasizes Adequate Infosoft's skills in creating embedded solutions, custom PC boards, industrial protocols integration and firmware engineering.
SparkVend began not as a commercial product but as a practical solution to a problem faced by SparkCC, an Australian hackerspace with a collection of vending machines.
At least one of those machines implements the MDB/ICP (Multi-Drop Bus / Internal Communication Protocol) standard, the dominant serial bus used in the vending industry to connect a Vending Machine Controller (VMC) to peripherals such as coin mechanisms, bill acceptors, and cashless payment devices.
There existed in the hackerspace the idea of making use of the device by potentially using it to dispense electronic parts for the members' projects; however, the management of money via this process was impossible unless control over the interface was gained. Instead of buying a pre-built MDB module, the author of the project decided to construct his own interface as a way of gaining experience in doing all three parts of the process: hardware, firmware and protocols.
As a result, the repository "eltariel/sparkvend" created by the author is quite simple: "a collection of bits that allows a device to communicate with a vending machine that implements the MDB/ICP standard". This is not an actual product, but a reference implementation which illustrates how the most difficult aspect of MDB integration is solved, namely the interface itself.
The primary architectural choice made by SparkVend is one of a two-tier separation. A Teensy 3.x MCU runs the real-time MDB/ICP protocol and acts as MDB Cashless Device 1 at address 0x10 (the default address of a cashless payment device connected to an MDB bus).
A Raspberry Pi is the host computer and connects to the Teensy via the I²C interface introduced in a more recent commit. The purpose of such separation is that the Teensy takes care of all the bit timing, polling, and state-machine concerns of the MDB protocol, whereas the Raspberry Pi offers the computational resources necessary for the application level.
The architecture reflects a pragmatic philosophy. The author notes that many microcontrollers support the 9-bit UART required by MDB, but they wanted to "hook the vending machine to more powerful systems so we don't have to deal with low-level considerations when we eventually build something way more complex than it needs to be". The Teensy therefore acts as a protocol offload engine, presenting a cleaner interface to the host.
The defining technical obstacle in MDB implementation is the 9-bit serial format. MDB uses a ninth bit as a mode bit to distinguish command bytes from data bytes, and standard UART peripherals on most microcontrollers are configured for 8 data bits. The SparkVend author identifies this directly: "finding a UART that supports 9-bit communications is a little less straightforward". The Teensy 3.x was selected partly because it has spare units available in the author's "gadget bin," but also because its UART hardware can be configured for 9-bit operation, avoiding the need for bit-banging or external UART bridge chips.
On the electrical side, MDB is an opto-isolated multidrop serial bus. SparkVend's hardware includes opto-isolation to protect the Teensy from the noisy, often poorly grounded MDB bus and to break ground loops between the vending machine and the host system. The author describes the opto-isolated bus as "not a big deal on its own," but the combination of isolation and 9-bit timing is what makes MDB integration non-trivial.
The /hardware directory contains KiCad v5 schematics and PCB layouts for a board that connects the Teensy, the MDB interface, and the Raspberry Pi. The design is deliberately mostly through-hole, a decision the author attributes to soldering ability rather than performance requirements: "PCB design is mostly through-hole because I can just about manage to solder well enough for that". This makes the board accessible to hobbyists and small-scale fabricators, though it limits miniaturization.
The hardware is organised as a Pi HAT-style board, with the Teensy and MDB front-end circuitry integrated alongside the Raspberry Pi connector. Separate schematics exist for the host interface (host_interface.sch) and the MDB interface (mdb_interface.sch), reflecting the architectural split between the real-time MDB side and the host-side I²C connection. The repository includes custom KiCad footprint libraries (sparkvend.pretty, pi-hat.pretty) and symbol libraries, making the design reproducible without depending on external library sources.
The Teensy firmware is structured as a PlatformIO project using Teensyduino, the Teensy-compatible Arduino core. The author's rationale is candid: PlatformIO was chosen "because the Arduino IDE is… weird". The project follows a conventional embedded layout with src/, include/, lib/, and test/ directories, plus a platformio.ini configuration and a Makefile. The use of PlatformIO brings dependency management, build reproducibility, and a testable structure that the Arduino IDE does not provide by default.
Functionally, the firmware implements the MDB cashless device role: it responds to VMC polls, manages the session lifecycle (inactive, disabled, enabled, idle, and vend states), grants credit when instructed by the host, and reports vend results back to the VMC. The I²C interface added in August 2019 exposes the host-side control plane, allowing the Raspberry Pi to issue credit commands and read status without touching the MDB timing directly. The firmware also includes unit tests under /teensy/test, indicating an intent to validate protocol logic independently of the hardware.
This repository contains three major sections: global project files, /hardware, and /teensy. The repository includes a .gitattributes file and a specific extra.gitconfig file which allows to improve handling of KiCad files by making them Git-aware via filters for normalization of schematics and PCBs.
It is a tiny but indicative thing: the author understood that he would need to track hardware revisions along with the firmware, thus prepared the repository accordingly. There is a .travis.yml file in teensy directory, which indicates an intention to use CI for firmware development.
The commit history shows a short but focused development arc: initial code in early August 2019, PCB and licensing in mid-August, and the I²C interface later that month. The project has not been updated since 2019, which is consistent with its role as a completed exploratory build rather than an actively maintained platform.
SparkVend's limitations are openly acknowledged. The README describes the host system as "(going to be) a Raspberry Pi," indicating that at the time of writing the host-side integration was still aspirational.
The hardware is through-hole and not optimised for production. The project does not implement cashless payment processing, telemetry, or cloud connectivity; it provides only the MDB interface and a basic host control path.
The importance of this work stems from what it illustrates. SparkVend illustrates that the hardest part of the MDB interface the opto-isolated 9-bit bus and real-time polling state machine can be cleanly extracted into its own microcontroller and interfaced with the host via a simple I2C connection.
For those starting to learn about MDB, the project offers a tangible point of departure KiCad schematics for the isolating and level shifting front end, PlatformIO code implementing the cashless device functionality, and the reasoning behind the separation architecture. It serves as an example of protocol offloading as a design paradigm, and of a hackerspace problem driving an entire stack of embedded learning.
Project Repository: github.com/eltariel/sparkvend
Client satisfaction is our ultimate goal. Here are some kind words of our precious clients they have used to express their satisfaction with our service.
I came across Adequate Infosoft while searching for an IT company to design a virtual platform for my Telemedicine business. AI helped me to make my dream project a reality.
Frederick Hess
The price and professionalism of Adequate Infosoft's project team are the most appealing aspects of working with them. The team provides weekly progress reports and responds quickly to the concerns I have.
Kim Jespersen
My team is very satisfied with the professionalism shown by the Adequate Infosoft team during the project. We are looking forward to working with them again.
Óli Freysson
I contacted AI for an Android and iOS application and I am completely satisfied with their service.
Thomas Cheah
I am very satisfied with Adequate Infosoft. very helpful, positive, and quick communication so far. I am looking forward to further cooperation.
Great experience hiring them, understood the requirements very well, and were very effective and efficient in delivering the project. I will hire them for my next project as well and also recommend them to others.
Adequate Infosoft lead development team is efficient and provides the best IT solutions. If you're looking for quick and affordable software development, Adequate Infosoft is your go-to guru!
Adequate Infosoft has stood out to be the best company for providing IT services at affordable prices. Their rapid development approach works in line with our iterative process.
David Kattah
We have worked with Adequate Infosoft for 4 years and it has been a positive experience for me and my company.
Frank Eson
Adequate Infosoft has set a benchmark with its robust product development services. Their development team is highly professional that understands the value of time.
Exceptional service! The AI team guided me through the entire procedure and made it an enjoyable experience.
Kim Jespersen
As a small business, we were most attracted to Adequate Infosoft's competitive pricing and the ability to quickly scale up or down the number of developers supporting the application.
Mr. Aaron
It was a pleasure to collaborate with Adequate Infosoft. Their development team is comprised of true experts.
Adequate Infosoft helped us get the most from Ceraphi, with smooth setup, responsive support, and practical, effective solutions.
Adequate Infosoft helped us develop our smart lock solution, including both the mobile app and web app
The Adequate Infosoft team helped us deliver a custom IoT solution for our European customers very efficiently
Smart Controls
Adequate Infosoft did a great job, helping us implement energy-efficient solutions smoothly.
Australia Health Pty Ltd
The team understood our needs and delivered quality health tech solutions on time.
Adequate Infosoft felt like a true partner, very supportive team, clear communication, on-time delivery, and quality work we genuinely trust.
With a physical presence in over 15 countries and a global footprint spanning 25+ countries, we are ready to serve you anywhere. Location, language, or culture is never a barrier, because our global team can work with you in your language. Our strong international team ensures seamless collaboration across borders We have a strong tech team, highly recognized in their domains, with extensive technical expertise.
Architect & Solution-Level Expert | Recognized Thought Leader with 8k+ LinkedIn Followers
Certified Developer | Driving AI, ML & Data Science Solutions
17+ Years in AI & IoT | 7,000+ Followers | Recognized Technology Leader
20+ Years in Tech | AI & Cloud Architect | HealthTech Innovator | 3,000+ Followers
IoT4All | IoT & Hardware Expert | Established Reputation in Europe
Technology Director at AOTC Limited, certified in CISSP, TOGAF, and SAFe. Leading technical operations across UK, Australia & New Zealand. Former Principal Integration Architect at Vodafone. Available on WhatsApp: +44 7563 407814, +61 458 765 85.
Helping SMEs Overcome Digitalization Challenges | Startup Tech Expert
AI, Life Sciences, HealthTech & Robotics Expert | 8,000+ Followers
25+ Years in Tech | Cloud Consultant | Lead Developer
SFMC Consultant & Developer
Cloud & AI Consultant
Tech Consultant • Sr. Application Developer • IoT & Hardware Expert
AI, IoT & Cloud Expert | Software Consultant
SAP Developer • Technical Consultant | ERP Solutions Specialist
Database & Network Expert • Mobile & Web Architect
Java Developer | Backend & Application Specialist
Engineer & Technology Consultant
Developer • Technical Consultant | Solutions & Strategy Expert
Technical Consultant | IT Strategy & Solutions Specialist
Technical Consultant & Developer
Cloud Solutions Expert with 17+ Years of Experience | HBIT Graduate | AI, IoT & Scalable Architecture Specialist
Lead Architect, Java Developer specializing in RESTful Services & Mobile Applications
Technical Consulting & Speaking | ANZ Region
Product Leadership & AI Architecture
Product Engineer (Python, C#, JavaScript, SQL) | Software Engineer & Speaker
Specializing in servers, virtualization, and network infrastructure
IoT Leadership | Global Operations | Digital Transformation
PMP-Certified Expert in IoT, AMI & Smart Metering
Send your message in the form below and we will get back to you as early as possible.
Your request has been sent successfully!