Capacitance Meter With TM1637 Using Arduino.




About: Born 1998

How to make a capacitance meter using Arduino displayed on the TM1637. Ranging 1 uF to about 2000 uF.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Parts Required


1x: 220 Ohm

1x: 10 kOhm (Or something else but you will have to change the code after what you use, 8000 Ohms would work as well.)


Have a range of capacitors while testing, since it's easier calibrating if needed that way. The capacitors in the picture are seen from the left, 10 uF, 47 uF, 220 uF and 1000 uF. Calibrate it after what you think you will use the most.


This is not needed if you just want to see the values on your computer, but the programming is already done for your part so why not add one.

Jumper wires:

Depending on using the TM1637 or not you need about 8 wires, TM1637 uses 4.

USB cable:

To program the Arduino.

And of course an Arduino and a computer to program it.

Step 2: Connecting the Resitors

The 220 Ohm resistor goes from digital 11 to A0 and the anode of the capacitor.

The other resistor goes from digital 13 to A0 and the anode of the capacitor. The fourth cable leads the other end of the capacitor the GND.

Step 3: Connecting the TM1637

There's 4 pins on this display, 2 of them goes to GND and 5V. The other 2 are named DIO and CLK, DIO goes to digital 8 on the Arduino and CLK to digital 9.

All set up! Time to load the sketch!

Step 4: The Code and Display Files

The file named Capacitance meter is the main sketch, the other two files are necessary for the display to work.

The first step is to open Arduino IDE, if you don't have it already it can be found here:

Next open the main sketch, press sketch and then press add file. From there you will select the other 2 files. When you are done it should look something like in the screenshot found in this step.

Press upload and test it out!

If you want the "u" sign displayed as seen in the in the first picture, type:

TM.display(2, 0x30);

To display "F":

TM.display(3, 15);

I removed this in the code since it limits the numbers you can display.

Step 5: Thanks To:


Who gave me the link to the site below where I found this circuit and most of the code.

Be the First to Share


    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    9 Discussions


    1 year ago

    Wonder why I'm getting an error when I upload that says "sketch uses 4514 bytes of program storage space. Maximum is 32256 bytes." Help.

    1 reply

    Reply 8 months ago

    The text that you posted here is not a problem, it is just telling you how much memory you're using.
    Press "Copy error messages" and paste it here so I can have a look at it.


    2 years ago

    Hey Gustavio101, nice work and thanks ;)

    I'll give yours a whirl.



    2 replies

    Reply 2 years ago

    Thanks Baelzabubba, I actually made it for a much larger project that I've been working on for some time now. Maybe I'll upload this here as well soon.


    Reply 2 years ago

    Thanks Gustavo, that's a great idea and I can't wait to see it. It's always nice to see what's in other peoples heads ;)