Introduction: How to Use Voltage Sensor Module in Arduino

This voltage sensor module utilize the concept of voltage divider, which is able to minimize the input voltage to 5 times than the actual value. The maximum input voltage for Arduino is 5V. Hence, this module only able to accept Voltage input at a maximum of 25V.

Specification:

  1. DC Load input: 0-25V
  2. DC Signal Read by Arduino: 0.02445 - 25V
  3. Resolution of module: 0.00489

Step 1: Material Preparation

In this project, we will use voltage sensor connected to Arduino and scan the DC load. The reading is then passed to the I2C 16x2 LCD to display the reading of the DC Voltage load.

Materials required:

  1. Arduino UNO
  2. Voltage sensor module
  3. I2C 16x2 LCD

Step 2: Hardware Installation

Voltage sensor connections:

  1. + -> Arduino 5V port
  2. - -> Arduino ground port
  3. S -> Arduino AD port (In this project we use A0)
  4. Vcc -> DC Load positive terminal
  5. Gnd -> DC Load ground terminal

I2C LCD module

  1. VCC -> Arduino 5V port
  2. GND -> Arduino ground port
  3. SDA -> Arduino A4
  4. SCL -> Arduino A5

Step 3: Source Code

  1. Download the test code and open it by using Arduino software or IDE.
  2. Make sure that you have choose the right board and the corresponding port. (In this tutorial, Arduino Uno is used)
  3. Then, upload the test code into your Arduino Uno.

Step 4: Video Example