Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/onitake/matecontrol

Matemat vending machine controller software
https://github.com/onitake/matecontrol

Last synced: 6 days ago
JSON representation

Matemat vending machine controller software

Awesome Lists containing this project

README

        

Matemat control module
(c) 2014 Chaostreff Basel

Build instructions

Clone the matecontrol source code repository:

$ git clone https://github.com/onitake/matecontrol
$ cd matecontrol

Fetch all submodules:

$ git submodule init
$ git submodule update

If you need to change any configuration variables, flashing device, etc.,
run the Aversive configurator:

$ make menuconfig

Compile the source code:

$ make

Change the fuse bits (guided):
For a factory-new ATmega128A device, you need to program a few fuses for
correct operation.
- M103C = 1 (disable ATmega103 compatibility mode)
- CKOPT = 0 (full crystal oscillator swing for 16MHz operation)
- CKSEL3:0 = 1111 (crystal oscillator, long startup time)
- SUT1:0 = 11 (maximum startup time, 65ms)
The resulting fuse bytes should then be: (E:FF, H:89, L:FF)

$ make fuse

Flash the built program onto the controller:

$ make program