PROJECT ENDED. This repository contains the archived data for CCC Basel's "Matemat" vending machine project. Use at your own risk. https://wiki.ccc-basel.ch/index.php/Matemat
Find a file
2021-01-11 01:28:20 +01:00
avr-can-lib@137b1710c4 Added avr-can-lib submodule 2021-01-11 00:23:20 +01:00
control More rerouting 2019-04-01 22:29:00 +02:00
drive Updated LM317L part from library 2021-01-10 14:11:42 +01:00
feedback fb: removed min clearance 2020-12-01 20:49:43 +01:00
matemat.pretty Added SOT-223 package to module library (currently missing from Debian) 2015-12-31 09:05:04 +01:00
power ignore parts cache 2020-07-26 17:23:16 +02:00
poweriface Added power interface test program 2021-01-11 00:25:02 +01:00
sensor ignore parts cache 2020-07-26 17:23:16 +02:00
wiring wiring: Added some descriptions 2020-08-24 20:16:26 +02:00
.gitignore Ignore build sources 2021-01-11 00:24:42 +01:00
.gitmodules Added avr-can-lib submodule 2021-01-11 00:23:20 +01:00
AUTHORS Added author list, readme and hardware license 2015-04-07 20:01:00 +02:00
datasheets.txt Updated data sheet list 2015-04-07 20:01:17 +02:00
LICENSE Added author list, readme and hardware license 2015-04-07 20:01:00 +02:00
matemat.lib Added optional linear regulator for 5V Vcc. 2015-12-30 12:24:08 +01:00
matemat.mod Updated PCB 2015-04-06 14:13:22 +02:00
matemat.pro Added global KiCad project 2015-04-03 00:20:38 +02:00
README.md Fixed more link markdown 2021-01-11 01:28:20 +01:00
zerocross.png Added zero crossing detector circuit simulation graph 2015-04-01 18:12:08 +02:00

Matemat

The Matemat is a vending machine for carbonated soft drinks.

It is based on an old vending machine with all its electronics replaced by new custom-build circuit boards.

All hardware and software was designed by members of CCC Basel and released in the form of circuit diagrams, printed circuit board layouts and source code for anyone to use and modify. Refer to the LICENSE file for details.

The name "Matemat" is a portmanteau of "mate" (as in mate tea) and "automat" (the German word for vending machine). The device is mainly intended to dispense mate tea based soft drinks, but may be used for other types of beverages too.

Structure

The heart of the vending machine is a Raspberry Pi model 3 or later, witch a custom CAN interface board on its GPIO header.

See CAN Hat for more information.

Firmware

Some of the modules require firmware. There is a makefile in each module to build and flash it to its microcontroller.

Before building, you need to check out the CAN driver source code, which is referenced as a Git submodule.

Run the following commands in the checked out repository:

git submodule init
git submodule update

Modules

The Matemat components are highly modular. Individual circuits are connected by CAN bus, and can be extended as needed.

drive

Single-motor driver.

Attached directly to each bottle release mechanism. Requires only power supply wires for the motor and the CAN bus line.

power

Motor driver board and power supply.

Alternative to the drive board. Uses the existing machine wiring instead of power + CAN.

control

Old central control board. Obsolete.

feedback

End switch feedback interface.

Senses the status of the end switches and sends CAN bus messages on changes.

poweriface

Interface between CAN bus and power board.

This module requires firmware. Switch into the firmware directory poweriface/firmware/ and run

make

To flash the firmware, attach a programmer to the ISP header on the PCB, then run:

make flash

sensor

Environment sensor interface.

wiring

Wring schema of the old vending machine.