Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/onitake/matecontrol
- Owner: onitake
- License: gpl-3.0
- Created: 2015-04-07T18:39:39.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-06T00:38:56.000Z (about 9 years ago)
- Last Synced: 2025-01-02T14:04:59.403Z (23 days ago)
- Language: C
- Size: 256 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
Matemat control module
(c) 2014 Chaostreff BaselBuild instructions
Clone the matecontrol source code repository:
$ git clone https://github.com/onitake/matecontrol
$ cd matecontrolFetch all submodules:
$ git submodule init
$ git submodule updateIf 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