1)Objective

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;

Jump wires

3)Circuit Graph

Voltage Detection Sensor_bb

4)Download Sample code from following link:

Voltage sensor Arduino code

Load above code into Arduino and run it.

5) Result

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:

vds