Voltage detect sensor can detect 0-25V voltage. In this project, we will use Arduino to get voltage data from the sensor and display the value to serial window.
2)Parts and Devices
Arduino UNO R3 x 1；
USB CABLE X 1；
Voltage detect sensor x 1;
4)Download Sample code from following link：
Load above code into Arduino and run it.
When you connect a 3.3V input with detect ports of the sensor, you will see serial window(on upper right corner of Arduino IDE) shows as following:
When change input voltage to 5V, serial window will show following data：