card-terminal: hardware prototype