Grove - Voltage Divider


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.


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


More details about Grove modules please refer Grove System


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
Extern Voltage Range (Select 10) 1.0 / 43 V
Dimension / 24X20 / mm


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:

  • 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()

void loop()
    long  sensorValue=analogRead(A0);
    long  sum=0;
    for(int i=0;i<1000;i++)

    Serial.print("if you set the Gain to 10,the input voltage:");

    Serial.print("if you set the Gain to 3,the input voltage:");



Help us make it better

Thank you for choosing Seeed. A couple of months ago we initiated a project to improve our documentation system. What you are looking at now is the first edition of the new documentation system. Comparing to the old one, here is the progresses that we made:

  • Replaced the old documentation system with a new one that was developed from Mkdocs, a more widely used and cooler tool to develop documentation system.
  • Integrated the documentation system with our official website, now you can go to Bazaar and other section like Forum and Community more conveniently.
  • Reviewed and rewrote documents for hundreds of products for the system’s first edition, and will continue migrate documents from old wiki to the new one.

An easy-to-use instruction is as important as the product itself. We are expecting this new system will improve your experience when using Seeed’s products. However since this is the first edition, there are still many things need to improve, if you have any suggestions or findings, you are most welcome to submit the amended version as our contributor or give us suggestions in the survey below, Please don’t forget to leave your email address so that we can reply.

Happy hacking