ARDUINO BASED MULTIMETER
Nov 01st, 2023 | by: ELECTRONOOBS | Views 7816
Views 7816
In this tutorial we will merge all the parts seen in these past tutorials here. In those tutorials we have seen how to measure resistance, current, indcutnace and capacitance. Measure voltage is very easy. In this tutorial we make a 5 in 1 multimeter based on an Arduino, an ADC module and an LC tank circuit. The case is 3D printed. You have the schematic, code and all you need to amke this project .
Schematic

You have the schematic for this project below. You need the Arduino, the ADS1115 ADC module, the OLED display, the ACS712 current module, the TP4056 based charger and a few more components. You have all the values below. After you make the connections, you can downlaod the code and upload it to the Arduino and give it a test.

We need:

Measure voltage

Below you have the full code for this project. Download it and read it line by line in order to understand it better. You will also need the OLED library and the library for the ADS1115 module so downlaod those and install them on your Arduino IDE.

Download Adafruit_ADS1015 library: LINK

Download Adafruit_GFX.h library: LINK

Download Adafruit_SSD1306.h library: LINK

But first, let's go step by step and see how we measure each value: voltage then resistance, then capaciance, inductance and current. Let's start with volage since that is very easy. Below you have an example code for the ADS1115 module using the library. We read and print the values to the serial monitor. The ADS1115 has its own refference so it doesn't matter if the voltage battery is 3.7 or 4.2 or any other value, the output will always be precise.

So, make the connections and uplaot it to the Arduino. It will measure voltage with high precision. But!, you need the voltage divider at input in order to measure up to 20V. Otherwise the ADS1115 module will burn out. See schematic for voltage divider values and how to integrate that in the code measurement.

Measure resitance

For more details see the RESISTANCE METER TUTORIAL. But we will use a basic voltage divider to calculate the resistence. As we know, a voltage divider is made of two resistences (R1 and R2) in series. The output voltage in the middle point is [R2/(R1+R2)]Vin. Using this formula and knowing the value of one of the two resistors and measuring the Vout it is very easy to calculate the resistence of the seacond resistor.

On our schematic, the resistance measurement is made with the 2k, 20K and 470K resistors connected on pins D6, D7 and D8. By that we have 3 different scales. If we set D6 as OUPTUT and set to LOW, that will our GND for the voltage divider. The other pins, D7 and D8 are set to INPUT so they have high impedance. So our volage divider is amde out of the 2K resistor and the unknown resistor. We measure the voltage on the ADC1 pin and using the formula we get the resistance. We do that for all the scales.

Make sure that you measure the vlues of the 2k, 20K and 470K resistors so you know the exact value and put that later in the full code. Put the multimeter into resistance mode and try different values. Tune your values in the code till you get good results.

Measure capacitance

See the past tutorial about this for more. But it is quite basic. We charge the capacitor using one of the Arduino pins. Then we discharge it through a resistor. The formula tells us that the capacitance value is equal to the time it took to reach 63.2% of the fully charged voltage divided by the resistor value.

So, in the code, when capacitance mode is selected, we charge the capacitor, discharge it and count time. When the capacitor reaches 63.2% of Vcc, we stop the time counter and calculate the capacitance value using the formula.

Measure inductance

For more details see the INDUCTANCE METER TUTORIAL. But an inductor in parallel with a capacitor is called an LC circuit, and it will electronically "ring" like a bell. Well regardless of the frequency or how hard a bell is struck, it will ring at it’s resonating frequency. We will electronically strike the LC bell, wait a bit to let things resonate, then take a measurement. There is some internal resistance so this is really an RLC circuit.

When the multimeter is into inductance mode, we count the time between each pulse of the resonancy frequency. If we know the frequency value and also the used capacitance, in this case 2uF, we can get the inductance value adn print that to the OLED screen.

Measure current

This part is also simple. We use the ACS712 module to measure current. The ACS712 current sensor is an economical solution for measuring current, it works internally with a Hall effect sensor that detects the magnetic field produced by induction of the current flowing through the line being measured. The sensor gives us a voltage output proportional to the current, depending on the application we can use the ACS712-05A, ACS712-20A or the ACS712-30A, for ranges of 5, 20 or 30 amps respectively.

We know the mV / A value for each range so all we haev to do is to measure the voltage drop from the current sensro and divide that by the mV value and we get the current value. Is that easy. But, the sensor gives us a value of 2.5 volts for a current of 0A and thereafter increases proportionally according to the sensitivity, having a linear relationship between the voltage output of the sensor and the current. This relationship is a straight line in a graph Voltage vs Current where the slope is the sensitivity and the intersection in the Y axis is 2.5 volts. The equation of the line would be the following

# V = mI + 2.5

Remember to downlaod the full code. Tune the values at the beginning of the code. Also install the adafruit libraries for the ADS1115 module and the OLED screen. Compile, make the connections and upload. Test the multimeter.

3D case

Downlaod the 3D files from below. I've used 2 perimeters, 20% infill and a 0.4mm nozzle and PLA amterial. The case is made out of 2 parts and 3 plastic buttons. Cut your PCB to the case dimensions and place that inside. It has space for the OLED screen, sliding switch and the USB connectors for the Arduino and charging module.

Final Video

• ### Noob 19129

about 11 months ago

Please try Google before asking about Top Rated Product Site aa023d9

### Noob 19129

about 7 months ago

Please try urlhttpswwwgooglecomGoogleurl before asking about urlhttpwwwydw2020comforumphpmodviewthreadtid2352pid24430page1extrapid24430Top Product Blogurl 7057981

### Noob 19129

about 7 months ago

Please try urlhttpswwwgooglecomGoogleurl before asking about urlhttpssoarboatingclubcoukforumviewtopicphpf21t495608p644871p644871Useful Product Siteurl 3595dd

### Noob 19129

about 5 months ago

Please try urlhttpswwwgooglecomGoogleurl before asking about urlhttps733721comviewthreadphptid24595pid80563page1extrapid80563Top Rated Product Infourl 7057980

### Noob 19129

about 4 months ago

To the guy inquiring about must do in new york for first timers popular sites in new york luxury experiences new york fastest way to get to new york best couples experiences nyc view point new york something about new york city cheap areas to stay in new york beautiful place in new york good time to visit new york I highly suggest this urlhttpswilliam4c96vxc7wikiusnewscomuserview website on asian escort tipsurl or new york best tour entertainment in new york new york info new in nyc best way to stay in new york best thing to do in nyc right now new york city sky view new york country cheapest way to visit nyc special experiences in nyc and dont forget this urlhttp2908wwwmolifannetspaceuid2063820htmlfunny post about asian escort adviceurl alongside all cheapest things to do in new york best area to stay in nyc first time cool events in new york best place to stay in nyc as a tourist best nyc travel book trip to manhattan new york vip experiences in nyc cheapest time to go nyc fun place to go in new york good place to go in new york and dont forget this urlhttpsethan8b35zma3qodsblogcomprofileextra resources on asian escort siteurl which is also great Also have a look at this urlhttpschristopher1r41kpt5blogeyecomprofiletop asian escort urlurl not to mention cool stores to visit in nyc cool areas to stay in new york popular sites in new york best way to explore new york must sees in nyc top 10 the view of new york city things happening in new york in may travel from new york best to do in new york beautiful place in new york on top of this urlhttp89856wwwmolifannetspaceuid2063820htmlwebsite on asian escort forumurl with manhattan in may best experiences in nyc new york city tour companies view nyc best place to go to in new york sites to see in new york best thing to do in new york tourist destinations in new york city in manhattan new york planning a trip to new york city for good measure Check more urlhttpswwwroverdieselcoukforumsviewtopicphpp6294p6294Cool Asian Escorts Websiteurl 579830

### Noob 19129

about 3 months ago

To the person talking about slot 88 jackpot slot gacor terbaru pragmatic play thor slot88 slot 02 mega slot 88 login slot indonesia situs pragmatic play resmi jackpot slot 88 slot hercules aplikasi gates of olympus I highly recommend this urlhttpsbrookslcgz17305wikikartscom721031newinfoforchoosingcuanslot88websitesadvice for CuanSlot88 infourl or cuan slot gacor pragmatic4d wap home slot situs web slot slot situs gacor thor slot88 cuanslot88 login pragmatic play itu apa cuan slot situs pragmatic play resmi as well as this urlhttpsisraeluegc30643nationalwikicom715011freesuggestionsforpickingcuanslotsitesexcellent CuanSlot88 tipsurl not to mention rtp ninja slot sepakbolacc wap web slot arcade slot slot 88 id situs online slot terpercaya slot pm gacor slot online download aplikasi game slot slot kode not to mention this urlhttpselliottbmwb19631xzblogscom68864952greatadvicefordecidingoncuanslot88websitesmore bonuses about CUANSLOT urlurl which is also great Also have a look at this urlhttpsrowanqojf69259blogdomagocom26904034goodsuggestionstoselectingcuanslotsiteslink for CUANSLOT urlurl and dont forget permainan thor situs slot pragmatic slot download apk situs slot online aplikasi game slot log gacor cuan 88 togel logo slot login antara slot login net play 88 slot alongside all this urlhttpsjohnathanziqx98776wikibuysellcom725685topideastochoosingcuanslotsitesbonuses about CUANSLOT blogurl with idn slots situs 88 slot slot alternatif ini slot 88 online slot gacor slot88 pragmatic play pragmatic play mahjong aplikasi slot online rtp situs slot poker home for good measure Check more urlhttpsanitapicforum2gonlviewtopicphpf5t15117p164880p164880Great CUANSLOT Siteurl d94c5f7

### Noob 19129

about 3 months ago

In response to the lady inquiring about tennis prediction tips today betting expert tennis picks nadal fritz odds fantasy tennis picks australian open 2022 predictions tennis picks today tsitsipas khachanov odds atp tennis betting tips 2022 australian open odds stefanos tsitsipas odds I highly recommend this urlhttpsboredbrainlessuswhatarethemostimportantelementstoconsiderwhentryingtopredictasportsresultbest tennis prediction adviceurl or wimbledon betting predictions kyrgios odds wimbledon tennisinsight match previews wimbledon betting tips today caroline garcia odds tennis sure bets swiatek cornet odds french open picks today 007 tennis prediction indian wells winner odds alongside all this urlhttps365ebytnetwhatarethemostsignificantfactorsintryingtopredictasportsresultwebsite on tennis prediction urlurl on top of rune ruud odds wimbledon tennis predictions today wimbledon 2022 predictions nadal odds australian open atp prediction today roland garros 2022 predictions nadal prediction tennis over under sets predictions us open predictions tennis medvedev prediction on top of this urlhttpspokercheatershopwhatisthesignificanceofplayerinjuriesandsuspensionswhentryingtopredicttheoutcomeofasportingeventadditional reading about tennis prediction siteurl which is also great Also have a look at this urlhttpsstyleslotcowhatisthesignificanceofthehomeandawayrecordsinthepredictionofsportingoutcomesgreat tennis prediction linkurl not to mention alcaraz ruud betting odds tennis doubles predictions us open womens final odds swiatek zheng odds best tennis tipster in the world alcaraz tiafoe odds sinner djokovic odds best lawn tennis prediction site odds on australian open mens final australian open predictions 2023 as well as this urlhttpssilverslotcowhatistheimportanceofplayerinjuriesandsuspensionswhentryingtopredictsportsresultslisten to this podcast about tennis prediction tipsurl with djokovic odds french open australian open tennis betting tips wimbledon semi final odds rafael nadal match prediction tennis picks and parlays ruud khachanov odds emma raducanu prediction high odds tennis predictions tennis prediction mathematical australian open predictions 2022 for good measure Check more urlhttpwwwsvenska480klubbenseforum1viewtopicphpp27473p27473Excellent WIN1000X Blogurl e0b59a7

### Noob 19129

about 3 months ago

In reply to the guy talking about nama situs judi slot online slot play playtech indonesia ion slot login main slot 88 login link game slot online slot service live casino bonus judi slots bandar slot singapore I highly suggest this urlhttpforumprolifeclinicsroprofilephpid1305020useful dvltoto linkurl or jackpot judi slot online agen judi casino online agen judi slot online terpercaya game judi indonesia live online slot slot area game slot live live judi slot online playstar online bandar judi togel online on top of this urlhttpsbbsocialclubcomstory19032123judislot7andrtpsgpi thought about this on dvl toto blogurl alongside all pada slot88 slot casino online indonesia slot ygg slot company slot game indonesia main casino slot judi slot88 online link judi online casino indonesia free spin judi slot online playtech and dont forget this urlhttpssocialicuscomstory2678401bandarslotloginandgameslotjokergamingadditional reading for dvl toto adviceurl which is also great Also have a look at this urlhttpssociallyftcomstory7114560hkcasinoandionslotloginexcellent dvltoto forumurl as well as toto slot judi indonesia slot online slot game login spin deposit toto game online slot s slot online judi slot live22 login judi free link game slot apa saja on top of this urlhttpskingslistscomstory18379381carajudionlineandmainjudislotmy response about dvl toto tipsurl with apa saja game slot playtech online slot online live22 bandar judi slot sistem judi slot online game slot online toto play online slot88 slot live22 login online indonesia slot game for good measure Check more urlhttpswwwds1991comforumphpmodviewthreadtid63022pid118081page2extrapage3D1pid118081Top Rated 7RAJATOGEL Siteurl e0b59a7 For the man asking about link game judi slot online main game judi game judi slot bandar online deposit pulsa online slot indonesia main slot live game judi jackpot online slot online jackpot judi online casino web judi togel I highly recommend this urlhttpyyjjllongimotorcomspacephpuid146850the advantage about 7rajatogel siteurl or slot ug gaming judi slot 88 jadi bandar judi ion slot login bandar 4d slot slot online indonesia spadegaming slot online slot spade gaming link judi slot online slot game link on top of this urlhttpsnathan9i05duj9levitrawikicomuserread full article on 7 raja togel forumurl alongside all slot game slot game main jackpot online website judi slot online game slot spadegaming website main slot sistem game slot game slot game judi online casino slot online link bandar online slot and dont forget this urlhttpmodelsforumnetmemberphpactionprofileuid23208awesome 7 raja togel tipsurl which is also great Also have a look at this urlhttpscaleb1r74geb9wikirecognitioncomuserread full article on 7 raja togel blogurl as well as link game judi slot online judi slot online deposit dana apa nama situs judi slot online slot company indonesia slot game live22 slot game slot game slot yggdrasil indonesia slot online jackpot http casino as well as this urlhttpsforochilehacedeporteclmemberphpactionprofileuid185top 7 raja togel adviceurl with online slot game judi slot online uang asli web judi slot link slot judi jili slot login bandar 4d slot slot judi indonesia jago slot asia game slot apa main judi slot online for good measure Check more urlhttpwwwsubaruxvthailandcomforumindexphptopic65018newnewUseful Bar Signs For Home Bar Siteurl

• ### Noob 22194

about 9 months ago

So smart! A suitable environment for your development and freedom to explore tiny games.

• ### Noob 24242

about 9 months ago

Hello. I love playing all kinds of slot machines. So thanks to this casino https://slotscity.ua/ru/slots , I can do it seamlessly and at any time. This casino offers a wide range of games from top providers. That's why every slot I've played has cool graphics and effects, as well as high wins. That's why anyone can find a way to have fun here.

• ### Noob 24242

about 9 months ago

[URL=ссылка]анкор[/URL] [url=ссылка]анкор[/url] [link=ссылка]анкор[/link] анкор анкор [анкор](силка)

• ### Noob 24242

about 9 months ago

Hello. I love playing all kinds of slot machines. So thanks to this casino https://slotscity.ua/ru/slots , I can do it seamlessly and at any time. This casino offers a wide range of games from top providers. That's why every slot I've played has cool graphics and effects, as well as high wins. That's why anyone can find a way to have fun here.

• ### Noob 26262

about 8 months ago

GST calculators are designed to be user-friendly and intuitive. They typically have a simple interface where you can enter the relevant figures, such as the taxable amount and the applicable GST rate, and instantly obtain the GST amount https://gstinfo.net/

• ### Noob 26262

about 8 months ago

GST calculators are designed to be user-friendly and intuitive. They typically have a simple interface where you can enter the relevant figures, such as the taxable amount and the applicable GST rate, and instantly obtain the GST amount https://gstinfo.net/.

• ### Noob 26262

about 8 months ago

GST calculators are designed to be user-friendly and intuitive. They typically have a simple interface where you can enter the relevant figures, such as the taxable amount and the applicable GST rate, and instantly obtain the GST amount [url=https://gstinfo.net/]https://gstinfo.net/[/url].

• ### Noob 26262

about 8 months ago

GST calculators are designed to be user-friendly and intuitive. They typically have a simple interface where you can enter the relevant figures, such as the taxable amount and the applicable GST rate, and instantly obtain the GST amount https://gstinfo.net/.

• ### Noob 13159

about 7 months ago

Thank. It has space for the OLED screen, sliding switch and the USB connectors for the Arduino and charging module. connect 4

• ### Noob 13159

about 7 months ago

Thank. It has space for the OLED screen, sliding switch and the USB connectors for the Arduino and charging module. [gg](https://gg.com)

• ### Noob 13159

about 7 months ago

Thank. It has space for the OLED screen, sliding switch and the USB connectors for the Arduino and charging module. [gg](https://gg.com)

### Noob 15123

about 7 months ago

a hrefhttpsabccomabcaurlhttpsabccomabcurl

### Noob 15123

about 7 months ago

### Noob 15123

about 7 months ago

a hrefhttpsabccomabcaurlhttpsabccomabcurl

• ### Noob 15123

about 7 months ago

abc

• ### Noob 15123

about 7 months ago

[https://abc.com abc]

• ### Noob 36355

about 3 months ago

I want to thank you for the wonderful book!! I definitely enjoyed every bit of it fnaf. I have bookmarked it for you to see new stuff you post. retro games

• ### Noob 36355

about 3 months ago

I want to thank you for the wonderful book!! I definitely enjoyed every bit of it. I have bookmarked it for you to see new stuff you post. retro games

• ### Noob 33732

about 2 months ago

If you are looking forward to having fun, Aerocity Call Girl ; our service is the best and ideal choice for your entertainment, which can give you a girl who is an expert in fulfilling your bodily desires. You will be delighted to enjoy the cool winter Aerocity Escorts. So, are you ready to have fun and spend time with our amazing girls?

• ### Noob 40662

about 1 month ago

I want to thank you for the wonderful book!! URL

• ### Noob 40662

about 1 month ago

URL

• ### Noob 40662

about 1 month ago

URL

• ### Noob 40662

about 1 month ago

• ### Noob 40662

about 1 month ago

• ### Noob 40662

about 1 month ago

URL

• ### Noob 40662

about 1 month ago

• ### Noob 40662

about 1 month ago

URL

• ### Sanjeet Singh

about 1 month ago

good one

• ### Noob 43026

about 4 days ago

Explore the Arduino-based multimeter tutorial on Monkey Mart, featuring a 5-in-1 design using Arduino, ADC module, and 3D printed case. Measure resistance, current, inductance, capacitance, and voltage with detailed schematics and code provided.