TOP Contributors

  1. MIKROE (2693 codes)
  2. Alcides Ramos (362 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Bugz Bensce (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (137953 times)
  2. FAT32 Library (70759 times)
  3. Network Ethernet Library (56446 times)
  4. USB Device Library (46827 times)
  5. Network WiFi Library (42588 times)
  6. FT800 Library (41786 times)
  7. GSM click (29468 times)
  8. mikroSDK (27020 times)
  9. PID Library (26662 times)
  10. microSD click (25797 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
mikroSDK Library

Multimeter click

Rating:

5

Author: MIKROE

Last Updated: 2018-08-07

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: Measurements

Downloaded: 4665 times

Not followed.

License: MIT license  

Multimeter click is a Click board designed to measure voltage, current, resistance, and capacitance properties of the components, connected to the input terminals.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Multimeter click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Multimeter click" changes.

Do you want to report abuse regarding "Multimeter click".

  • mikroSDK Library 2.0.0.0
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

mikroSDK Library Blog

Multimeter click

Multimeter click

Native view of the Multimeter click board.

View full image
Multimeter click

Multimeter click

Front and back view of the Multimeter click board.

View full image

Library Description

The library contains calibration function, to be used on startup for more accurate readings, as well as
4 functions that measure Voltage, Current, Resistance, and Capacitance. Calibration should be performed at startup when all measurement leads are disconnected.

Key functions:

  • float multim_measureU() - This function measures voltage, and returns the value in millivolts.
  • float multim_measureR() - This function measures resistance, and returns the value in ohms.
  • float multim_measureC() - This function measures capacitance, and returns the value in nanofarads.
  • float multim_measureI() - This function measures current, and returns the value in milliamperes.

Example description

The application is composed of three sections:

  • The application is composed of three sections :
  • System Initialization - Initializes pin control, SPI peripheral and logger.
  • Application Initialization - Initializes the driver, and performs calibration. Application Task (Code snippet) - Outputs read values.
char text[20];
 float value = 0;
 value = multim_measureR();
 FloatToStr(value,text);
 mikrobus_logWrite("R = ",_LOG_TEXT);
 mikrobus_logWrite(text,_LOG_TEXT);
 mikrobus_logWrite(" Ohms",_LOG_LINE);

 value = multim_measureU();
 FloatToStr(value,text);
 mikrobus_logWrite("U = ",_LOG_TEXT);
 mikrobus_logWrite(text,_LOG_TEXT);
 mikrobus_logWrite(" mV",_LOG_LINE);


 value = multim_measureI();
 FloatToStr(value,text);
 mikrobus_logWrite("I = ",_LOG_TEXT);
 mikrobus_logWrite(text,_LOG_TEXT);
 mikrobus_logWrite(" mA",_LOG_LINE);


 value = multim_measureC();
 FloatToStr(value,text);
 mikrobus_logWrite("C = ",_LOG_TEXT);
 mikrobus_logWrite(text,_LOG_TEXT);
 mikrobus_logWrite(" nF",_LOG_LINE);

 mikrobus_logWrite("-------------------",_LOG_LINE);
 Delay_ms( 1000 );

Other MikroElektronika libraries used in the example:

  • Conversions
  • C_String 
  • UART

Additional notes and information

Depending on the development board you are using, you may need USB UART clickUSB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.

ALSO FROM THIS AUTHOR

LED Driver 3 Click

5

LED Driver 3 click is an RGB LED driver, capable of driving RGB LEDs with up to 30mA per segment, via the digital I2C interface. It comes with an RGB LED onboard, and is capable of displaying a palette of 32768 colors.

[Learn More]

Power/Reset click

0

Power/Reset Click is equipped with two capacitive touch pads on a single click board™.

[Learn More]

OLED C click

5

OLED C click arries the PSP27801 OLED display, the same one that we have used on Hexiwear. The click is designed to run on 3.3V power supply only. It communicates with the target microcontroller over an SPI interface.

[Learn More]