Voltage sensor

원문 : Tired Huan’s Blog

1. Voltage sensor

It’s a simple creature, only having a couple resistors, screw terminals, and header pins. How this part works: It’s just a resistor voltage divider where R1=30 kΩ and R2=7.5 kΩ.

This module is based on principle of resistive voltage divider design, can make the red terminal connector input voltage to 5 times smaller.Arduino analog input voltages up to 5 v, the voltage detection module input voltage not greater than 5Vx5=25V (if using 3.3V systems, input voltage not greater than 3.3Vx5=16.5V). Arduino AVR chips have 10-bit AD, so this module simulates a resolution of 0.00489V (5V/1023), so the minimum voltage of input voltage detection module is 0.00489Vx5=0.02445V.

 Voltage input range : DC0-25 V

Voltage detection range : DC0.02445 V-25 V

Voltage analog resolution : 0.00489 V

2. 연결 방법

DC input interface : red terminal positive with VCC, negative with GND

Sensor ‘+’ –> Arduino 5V
Sensor ‘-’ –> Arduino GND
Sensor ‘S’ –> Arduino A0

 

3. 소스 코드 (스케치)

 

Post Author: TORTUGA

TORTUGA
궁금하신 점은 새로 개편한 홈페이지의 QnA 게시판을 이용해주세요!!!!!!! http://www.hardcopyworld.com/gnuboard5/bbs/board.php?bo_table=qna

댓글 남기기

이메일은 공개되지 않습니다.