I snuck an AVR microcontroller into a TI-84+ graphing calculator and connected it to the calculator's link port and a DB-9 connector stuck through the back of the calculator so programs running on the calculator could interface with external hardware devices.