During a two-week internship, I was given the task of manufacturing and programming a lighting system for a model house. I did all of this on a Rapsberry Pi, in the C programming language. First, it was a matter of simply controlling the LEDs, then I had to add a button which could be used to manually switch the LEDs on and off, and then there had to be an automatic timer so that the LEDs would briefly turn on automatically at 6:00 and go off again by 10:00 p.m. at the latest. I also added a light sensor which turns the LEDs off again when they reach a certain brightness. I also used a motion detector which was also supposed to turn the LEDs on, but after a certain time they went off again. Finally, I added a door sensor from SICK which automatically turns the LEDs off as soon as the door closes and turns them on when it opens. All of this was then installed in a model house which I made myself out of a multiplex board. The Rapsberrypi was mounted on the inside of a DIN rail and wired up there with all the other components so that from the outside only the button was visible so that the LEDs could be "operated".