Raspberry Pi based controller