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
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:
- DC Load input: 0-25V
- DC Signal Read by Arduino: 0.02445 - 25V
- Resolution of module: 0.00489
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:
- Arduino UNO
- Voltage sensor module
- I2C 16x2 LCD
Hardware Installation
Voltage sensor connections:
- + -> Arduino 5V port
- - -> Arduino ground port
- S -> Arduino AD port (In this project we use A0)
- Vcc -> DC Load positive terminal
- Gnd -> DC Load ground terminal
I2C LCD module
- VCC -> Arduino 5V port
- GND -> Arduino ground port
- SDA -> Arduino A4
- SCL -> Arduino A5
Source Code
- Download the test code and open it by using Arduino software or IDE.
- Make sure that you have choose the right board and the corresponding port. (In this tutorial, Arduino Uno is used)
- Then, upload the test code into your Arduino Uno.