What voltage are to using to provide power to the LJC18A3-B-Z/BX NPN sensor.
Myself I would connect it directly to the 5V controller power. The LJC18A3-B-Z/BX NPN sensor DC6-36V should work perfectly at 5volts.
Original Inductive sensor was the
SN04-N supplied direct from the factory with same voltage specs DC6-36V at 5volt used for 9 months with no viable sensor degradation,
Then upgraded to the to the
Omeron TL-W3MC2 Inductive sensors Specs 12-24 volts Have been running them at 5volts for over a year with no viable sensor degradation.
Computer Programmer / Electronics Technician