mixographer
New member
I'm planning a build of a chess machine similar to this type of machine: http://www.boris-is-king.com/homepage.htm#110179313.
The chess engine will run on a computer, like a Raspberry Pi or a BeagleBone Black. The chess engine will be a subprocess of a python program that will handle communication with the interface. The human interface will be 8 digits of Alphanumeric LED (like DL2416 or DL1414) and a matrix keypad.
I have built some i2c interfaces for the LED displays, using MCP23017 i/o expanders, and I imagine I could also read the keypad matrix using an i/o expander or an i2c keypad matrix decoder, or just connect it di +rectly to a teensy or a teensy+ and use the Keypad.h to read the key presses. (I could even use a 74c922 keypad decoder I have and not worry about debounce and such.)
I'd like to know the best way to have two way communication between the Teensy and the Raspberry Pi. Key presses on the matrix send the moves to the engine and the engine sends moves back out to the LEDs. So do I hook the Teensy up to the Raspberry Pi USB port, and use USB Serial to send the messages back and forth to the python program? Or use the teensy like a USB keyboard and then use my i2c display right off the Raspberry Pi GPIOs?
Any ideas or comments much appreciated.
Jimmy
The chess engine will run on a computer, like a Raspberry Pi or a BeagleBone Black. The chess engine will be a subprocess of a python program that will handle communication with the interface. The human interface will be 8 digits of Alphanumeric LED (like DL2416 or DL1414) and a matrix keypad.
I have built some i2c interfaces for the LED displays, using MCP23017 i/o expanders, and I imagine I could also read the keypad matrix using an i/o expander or an i2c keypad matrix decoder, or just connect it di +rectly to a teensy or a teensy+ and use the Keypad.h to read the key presses. (I could even use a 74c922 keypad decoder I have and not worry about debounce and such.)
I'd like to know the best way to have two way communication between the Teensy and the Raspberry Pi. Key presses on the matrix send the moves to the engine and the engine sends moves back out to the LEDs. So do I hook the Teensy up to the Raspberry Pi USB port, and use USB Serial to send the messages back and forth to the python program? Or use the teensy like a USB keyboard and then use my i2c display right off the Raspberry Pi GPIOs?
Any ideas or comments much appreciated.
Jimmy