An arduino, light sensor and motor controlled pinhole camera project. This is the arduino code.