CCCheckmate: verschil tussen versies
Uit RevSpace
Changed to contact1 |
Geen bewerkingssamenvatting |
||
| Regel 10: | Regel 10: | ||
Playing chess with PoS hardware! The player enters the coordinates in the payment terminal, then the LCD will display them. If the player agrees, he presses OK and the updated board will be printed by the opponent printer. | Playing chess with PoS hardware! The player enters the coordinates in the payment terminal, then the LCD will display them. If the player agrees, he presses OK and the updated board will be printed by the opponent printer. | ||
The payment terminals use an Arduino Nano with an MCP32017 I/O extender connected over the I²C bus, who send the keys pressed over a serial connection to a Raspberry Pi. The RPi uses a Python script that receives the serial bytes, processes them and prints it over serial to the USB PoS display. Using the `python-escpos` and the `python-chess` it should print the updated chess board. This is still WIP as the printer doesn't seem to print wide images. | |||
First working PoC will be uploaded to the GitLab if it works: https://gitlab.com/cccheck-mate/cccheck-mate | |||
Versie van 28 nov 2018 14:10
| Project CCCheckmate | |
|---|---|
| Chess game based on PoS hardware, such as receipt printers and payment terminals | |
| Status | In progress |
| Contact | minicom, h3x4d3c1m4l |
| Last Update | 2018-11-28 |
Playing chess with PoS hardware! The player enters the coordinates in the payment terminal, then the LCD will display them. If the player agrees, he presses OK and the updated board will be printed by the opponent printer.
The payment terminals use an Arduino Nano with an MCP32017 I/O extender connected over the I²C bus, who send the keys pressed over a serial connection to a Raspberry Pi. The RPi uses a Python script that receives the serial bytes, processes them and prints it over serial to the USB PoS display. Using the `python-escpos` and the `python-chess` it should print the updated chess board. This is still WIP as the printer doesn't seem to print wide images.
First working PoC will be uploaded to the GitLab if it works: https://gitlab.com/cccheck-mate/cccheck-mate