Git Product home page Git Product logo

mdb-sniffer's Introduction

MDB Parser

Update

You are welcome to contact me about this project but I won't be moving forward on it. I was ripped off by the company that promised to sell my vending machine on consignment; I no longer have access to the hardware. I have moved on to bigger and better things. Getting me a machine and some testing hardware will not be enough - no two VM makers follow the MDB protocol the same way, the edge cases are painful. Good luck with your project!

What

Modern vending machines voluntarily adhere to the NAMA standard for Multidrop Bus (MDB). If these steps are correctly duplicated then this will output to the Arduino serial window a human-readable interpretation of the conversation taking place inside the vending machine between the various peripherals and the VMC.

Why

Many people want to create devices that "speak" MDB and can interact with a vending machine. Some examples include adding an RFID reader, Accepting payment with BitCoin, touch screens, and discount for secret knock.

How

This code is meant to be Arduino firmware. It assumes that the vending machine components adhere to the MDB 4.2 standard. There are three required components:

  • A physical circuit you will have to build/source. Section 4.4 of the standard describe the circuit. An example schematic from the Nottingham Hackspace Wiki has been included in this distro.
  • Arduino #1 runs "near_MDB" firmware. A1 connects to the physical circuit through the hardware serial. This means the hardware serial is not avilable to output data to a PC.
  • Arduino #2 runs "near_PC" firmware. A2 connects to your PC through a USB cable. A2 pin 10 connects to A1 pin 11. A2 pin 11 connects to A1 pin 10.

Don't forget the common ground between A1 and A2.

Who Where When

Created by Dan Royer ([email protected]) for the vending machine at the Vancouver Hackspace April 16, 2014.

"If I have seen further it is by standing on the shoulders of giants." -- Isaac Newton

Based on previous work from Nottingham Hackspace members James Hayward and Matt Lloyd.

More

mdb-sniffer's People

Contributors

i-make-robots avatar tyisi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.