Joey Meyer wrote and built "Raspberry Turk":
The Raspberry Turk is a robot that can play chess—it's entirely open
source, based on Raspberry Pi, and inspired by the 18th century chess
playing machine, the Mechanical Turk.
This goes beyond the OP's question because it also incorporates (a) the engine to calculate responses and (b) a robotic arm to ...
Squareoff is making another board at 200$. Expensive but not extortionist. They say it will be available March 2021. Automatically moves pieces too. Details. Has Blitz mode but may not be so good for it. May not allow more than one user per board but plays through chess.com and maybe lichess.
I'm very late to this question, but I think I have something to add:
PGN was not designed for games that are played according to FIDE rules, which do allow
illegal moves in game scores under certain conditions. PGN was designed for games that are worth recording.
(Read that again. It may sound insulting -- but it's actually in the specification of PGN)