Candy dispensing robot for NodeJS on Raspberry Pi