Raspberry Pi scanner controller