There’s are multiple types of sensors that work with both Arduino and Raspberry Pi from PIR motion sensors, sound sensors to light and proximity sensors. These have multiple uses and have been used on a majority of different projects from creating automation in haunted houses to creating full-on automated light shows at Christmas such as the video below.
The creator behind this Christmas lightshow uploaded a blog post and explained how he created this step by step and even uploaded the Arduino lightshow code in order to copy this in to your own session.
Whilst this project was created by programming MIDI music on to an Arduino and pushing this through relay boards there are other projects sensors can be used for, another example of this is for sound triggered and motion sensors.
Seeed are a company who offer a selection of different sensors which word in conjunction with Arduino and Raspberry Pi, In the following video there has been lights created to run off of both motion and sound/loudness.
Within this video, the set-up has been designed to run in two ways one is by setting of the PIR sensor which adjusts the brightness of the lights whenever a motion of someone walking past is detected. The loudness sensor works by determining how loud the audio is and adjusting the lights dependent on the volume of the noise.
These have multiple uses not just when it comes to light but also adjusting sound, colours and much more. There is undoubtedly a use for these across many industries and I think you’d be surprised to see how much control you have over these sensors.