Skip to content

AlexTransit/vender

Repository files navigation

What

Vender is free open source VMC (Vending Machine Controller). (fork https://github.com/temoto/vender)

Status:

  • MDB adapter hardware module - works
  • VMC - works

Hardware

Required for VMC:

Supported peripherals:

  • MDB coin acceptor, bill validator
  • Evend MDB drink devices
  • any MDB device via configuration scenarios (work in progress)
  • MT16S2R HD44780-like text display
  • TWI(I2C) numpad keyboard
  • graphic display (anyone registered in the system.)

Design

VMC overall structure:

  • engine (see internal/engine packages) executes actions, handles concurrency and errors
  • device/feature drivers provide actions to engine
  • configuration scenario specifies action groups and when to execute them

Build

  • Install latest Go from https://golang.org/dl/ (now worked on 1.21)
  • Set target environment, default is GOARCH=arm GOOS=linux
  • Run script/build
  • Deploy file build/vender to your hardware