Difference between revisions of "CCCheckmate"

From RevSpace
Jump to navigation Jump to search
(Edited misformatted contact)
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
   |Status=In progress
 
   |Status=In progress
 
   |Contact=minicom
 
   |Contact=minicom
   |Contact=h3x4d3c1m4l
+
   |Contact1=h3x4d3c1m4l
 
   }}
 
   }}
  
  
 
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 15: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