Using a NPN Proximity sensor with an arduino uno

If the Uno is powered via the power jack (not the USB) you could connect the brown sensor wire to the Vin pin to get more with in the operating voltage range. The sensor output is NPN open collector so it should not be a risk to the Uno.