A Arduino based ambient light sensor on a Raspberry