https://github.com/vvzen/coin-acceptor
Code for working with the DG600F Coin Acceptor from sparkfun
https://github.com/vvzen/coin-acceptor
acceptor arduino coin dg600f python
Last synced: 3 months ago
JSON representation
Code for working with the DG600F Coin Acceptor from sparkfun
- Host: GitHub
- URL: https://github.com/vvzen/coin-acceptor
- Owner: vvzen
- Created: 2017-09-24T20:39:15.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-21T10:06:17.000Z (over 7 years ago)
- Last Synced: 2025-03-07T00:35:19.991Z (3 months ago)
- Topics: acceptor, arduino, coin, dg600f, python
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DG600F Code examples
This repo contains two simple scripts.The *.ino* file contains the code to be run on the Arduino, which uses a simple **interrupt** to detect signals sent on the serial from the **DG600F** coin acceptor.
The *serial_listener.py* shows how can we use python in order to listen to and print to stdout the serial messages sent by Arduino upon receiving coins from the DG600F.
It uses the [pyserial](https://github.com/pyserial/pyserial) module, which can be easily installed using pip.
In order to communicate with the DG600f, the switches were currently in this position:
