https://github.com/onitake/matecontrol
Matemat vending machine controller software
https://github.com/onitake/matecontrol
Last synced: 10 months ago
JSON representation
Matemat vending machine controller software
- Host: GitHub
- URL: https://github.com/onitake/matecontrol
- Owner: onitake
- License: gpl-3.0
- Created: 2015-04-07T18:39:39.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-01-06T00:38:56.000Z (over 10 years ago)
- Last Synced: 2025-07-05T18:32:18.618Z (12 months ago)
- Language: C
- Size: 256 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
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