CCCheckmate: Difference between revisions

From RevSpace
Jump to navigation Jump to search
(Changed to contact1)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 10: Line 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 <code>python-escpos</code> and <code>python-chess</code> 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

Latest revision as of 14:12, 28 November 2018

Project CCCheckmate
Ccheckmate.png
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 python-escpos and 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