How to Use Voltage Sensor Module in Arduino

by mybotic in Circuits > Arduino

452 Views, 4 Favorites, 0 Comments

How to Use Voltage Sensor Module in Arduino

volatge_sensor.jpg

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

Material Preparation

Arduino UNO.jpg
161d89c7a12dbaed1c892850bef348da1540370826-lg.jpg
volatge_sensor.jpg

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

Hardware Installation

schematic_done.jpg

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

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.

Downloads

Video Example

How to use voltage sensor module on Arduino UNO with LCD module