Page 4
Under the supervision of Seeed Technology Inc., this manual has been compiled and published which covered the latest product description and specification. The content of this manual is subject to change without notice.
1. Introduction The Grove – Voltage Divider provides an interface for measuring external 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.
"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. ...
Page 9
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);...
Need help?
Do you have a question about the Grove and is the answer not in the manual?
Questions and answers