[mircemk] shows how to create a simple non-contact proximity sensor using little more than an Arduino Nano board, and a convenient software library intended to measure the value of capacitors.
Unlike a Raspberry Pi, you won't find anything resembling an operating system here; instead, the Arduino uses simplified controls and works off "sketches," or programs you write within the Arduino ...