TOP Contributors

  1. MIKROE (2652 codes)
  2. Alcides Ramos (351 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (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 (136605 times)
  2. FAT32 Library (69806 times)
  3. Network Ethernet Library (55881 times)
  4. USB Device Library (46212 times)
  5. Network WiFi Library (41857 times)
  6. FT800 Library (41067 times)
  7. GSM click (28941 times)
  8. PID Library (26400 times)
  9. mikroSDK (26306 times)
  10. microSD click (25323 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: 4417 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

Thermo 20 click

0

Thermo 20 Click is a compact add-on board that provides an accurate temperature measurement. This board features the TSYS03, a miniature digital temperature sensor that comes up with factory calibrated, highly accurate temperature data from TE Connectivity.

[Learn More]

MiWi click

0

MiWi click is a sub-gigahertz radio transceiver click boardâ„¢, which offers a reliable FSK or OOK communication solution, with the maximum data rates of 40kbps and 16kbps, respectively.

[Learn More]

4-20mA R click

0

Example demonstrates communication via 4-20mA interface. It measures current received from host (4-20mA T click). Temperature value and measured current are displayed via UART.

[Learn More]