Arduino code to use an NJK-5002C Hall sensor

Video thumbnail for Using NJK-5002C Hall Proximity Sensor with Arduino code RJT135

Arduino code to use an NJK-5002C Hall sensor

This is the Arduino code to use the NJK-5002C Hall sensor to control a DC or AC load with and without an Arduino. Fig. 1 Wiring of the NJK-5002C Hall Proximity Sensor Fig. 2 Wiring diagram of the NJK-5002C proximity sensor with a 5V relay module

Images

Arduino code to use an NJK-5002C Hall sensor

Arduino code to use NJK-5002C hall sensor

Arduino code to use an NJK-5002C Hall sensor

Arduino code to use NJK-5002C hall sensor

Code Snippets

Comments will be displayed here.