Grove - Voltage Divider

3 years ago 1285
  • Description
  • Documents
  • BOM
  • Attachments
  • Members
  • Comments

Description

The Grove – Voltage Divider provides an interface for measuring extern voltage, eliminating the need to connect a resistance to input interface. Besides, The voltage gain can select by dial switch.They are easy to use.

enter image description here

Features Extern Voltage Interface and Grove Interface Easy to use Can adjust the gain

From:For more detail, please visit: http://www.seeedstudio.com/item_detail.html?p_id=1472

Feature

Extern Voltage Interface and Grove Interface Easy to use Can adjust the gain Specification

Item Min Typical Max Unit Working Voltage 4.7 5.0 5.3 VDC Measurement Accuracy <=1 % Extern Voltage Range select 3 0.3 / 12.9 V Select 10 1.0 / 43 Dimension 24X20 mm Usage

When measuring the external voltage, connect the external voltage to J1 and then connect the on-board Grove connector to analog port of Arduino/Seeeduino:

Connect the module to A0 port of Grove - Base Shield with a universal Grove Cable.

Connect Grove - Base Shield to Arduino/Seeeduino.

In order to test the precision of this module, I tested some voltage inputs and get the following data:

Voltage Divider Test Score.jpg

As you can see, when the inputs were in the measuring range, the voltage divider has a high accuracy(<1%, that i marked an "OK"). But as the inputs were not in the range, the accuracy gets low(i marked a "NO") Please see Specification about the specific measurement range.

And When voltage divider output voltage is higher than VCC (The Grove Operating Voltage and reference of analog read), an indicator will light up to show you the error.

Using the serial monitor of Arduino, you can measure the input voltage value. Demo code as show below:

void setup(){
  Serial.begin(9600);
}

void loop(){  
   long  sensorValue=analogRead(A0);
   long  sum=0;
   for(int i=0;i<1000;i++)
   {  
      sum=sensorValue+sum;
      sensorValue=analogRead(A0);
      delay(2);
   }   
   sum=sum/1000;

   Serial.print("if you set the Gain to 10,the input voltage:");
   Serial.println(10*sum*4980/1023.00);

   Serial.print("if you set the Gain to 3,the input voltage:");
   Serial.println(3*sum*4980/1023.00);

   delay(1000);
}

Documents

Grove - Voltage Divider v1.0

Grove - Voltage Divider v1.0

BOM

ID Name Designator Quantity
1 68K_1% R2,R8,R10 3
2 30K_1% R7 1
3 TWIG-4P-2.0 J2 1
4 SCREW-TERMINAL-2P J1 1
5 SEEEDSTUDIO_SCH_FRAME U$4 1
6 SWITCH-2CH-6P SW 1
7 LMV358 U1 1
8 RED D2 1
9 1K R11 1
10 10M_1% R5,R9 2
11 1M_1% R6,R4 2
12 100K R1 1
13 100nF C1 1
14 270K_1% R3 1

Attachments

None
Success
The owner does not allow comments in this project now

Comments (0)

goToTop
你现在访问的是EasyEDA海外版,使用建立访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow
We use cookies to offer you a better experience. Detailed information on the use of cookies on this website is provided in our Privacy Policy. By using this site, you consent to the use of our cookies.