Voltmeter, ammeter, ohmmeter or as a "compact device"=multimeter are the ultimate lifesavers or at least good mood savers when the self-built circuit does not work.
Sometimes it happens that even though you have followed a detailed construction plan, the built circuit still does not work. At the latest then one sits after the initially motivated work very often very frustrated in front of the built circuit and would like to throw everything back.
In such situations, good advice is often expensive. In order to give you a little guide on how you can possibly at least get on the track of the problem in these situations, here comes the following article.
These small, compact devices can be used to measure various electrical variables and thus quickly localize faults.
Safety instructions
I know the following notes are always kind of annoying and seem unnecessary. Unfortunately, many people who knew "better" have lost eyes, fingers or other things due to carelessness or injured themselves. Data loss is almost negligible in comparison, but even these can be really annoying. Therefore, please take five minutes to read the safety instructions. Because even the coolest project is not worth injury or other trouble.
https://www.nerdiy.de/sicherheitshinweise/
Affiliate links/advertising links
The links to online shops listed here are so-called affiliate links. If you click on such an affiliate link and make a purchase via this link, Nerdiy.de will receive a commission from the relevant online shop or provider. The price does not change for you. If you make your purchases via these links, you support Nerdiy.de in being able to offer other useful projects in the future. 🙂
Requirements
Helpful articles:
Not really a requirement but an example of a practical application can be found in the article Electronics - Commissioning of a new circuit
Required material:
-no-
Required tool:
In the following list you will find all the tools you need to implement this article.
The functions of a multimeter
It is important for later troubleshooting to know and be able to use the basic functions of a multimeter. This is not always easy, because modern multimeters are often equipped with all kinds of functions. To give you an overview of the individual functions, they are described in the following sections.
Measuring range selector switch
The range selector switch is the main control of your meter. This determines roughly which quantity you want to measure. For some measuring ranges, such as "Hz/Duty", you can then switch between the options using the buttons. To set the measuring range selector switch to the desired option, it is turned so that it points like a pointer to the desired measuring range.
Button
The available buttons on a meter are very often different from model to model. Mostly there is only a "range selector switch" with which you can select the electrical quantity to be measured.
In some models, however, additional functions can be selected via the pushbuttons. As an example, the functions of the pushbuttons of the measuring device shown are therefore described.
With the "HOLD/B.L" key you can "hold" the measured value that is displayed on the screen at the time the key is pressed. The displayed measured value remains on the display and you have, for example, enough time to note the corresponding value in peace. By a long keystroke on this key, the backlight can also be switched off.BackLight) to enable or disable.
The Range key allows you to adjust the measuring range manually. With many measuring instruments, this measuring range is now determined automatically. Nevertheless, it can sometimes be necessary to be able to set this measuring range manually. Therefore, it is - especially with the current and voltage measurement - always important that you are "roughly" aware of the magnitude of the electrical quantity to be measured before the measurement. For example, if you only want to measure 12V, you have to take completely different safety precautions than when measuring 500V or more. It is also essential to observe the safety instructions!
The "°C/°F key" allows you to change the unit of temperature measurement between Celsius and Fahrenheit. Fahrenheit is the most common unit in the United States. Celsius is the unit of measurement in all other countries.
With the "Hz/Duty" key you can switch between the measurement of the frequency and the duty cycle. Since these two measured variables share a setting position on the measuring range selector switch, it is possible to switch between them.
The "REL" key allows you to set a new "zero point" for subsequent measurements. For example, you can compare two voltages. For example, if you measure a voltage of 5V during the first measurement and then press the "REL" key, all subsequent voltages will be measured in relation to the first. For example, if you measure a voltage of 8V after pressing the "REL" key, only 3V will be shown on the display of your meter, because 5V is used as a reference for this measurement.
With the help of the "Select" button you can select whether you want to measure an alternating quantity (=AC) or a direct quantity (=DC). For example, if you want to measure the DC voltage of a battery or accumulator, it is important that you set both the range selector switch to "V" (=voltage measurement) and the type of quantity to DC voltage (=DC). If, on the other hand, you want to measure the voltage of a socket, you must set the type of quantity to AC voltage (=AC).
Connection sockets:
In the lower area there are four connection sockets into which the test leads can be plugged. The "most important" one is the "COM" socket. The black lead always remains plugged in. Only the red test lead is reconnected depending on which electrical quantity is to be measured.
For example, if you want to measure a current with a magnitude in the ampere range, you have to connect the red measuring lead to the socket "10A" plug in. It is also important that the designation "10A" here indicates that this connection is fused with "only" 10A. Higher currents can not be measured directly with it. If you don't measure any current at all when using this socket, most likely this fuse is defective. How to replace it is described in the manual of your meter.
Directly next to the "10A" socket you will find the "TEMP/µA/mA" socket. You have to plug the red test lead into this socket if you want to measure currents in the mA and µA range - i.e. less than 1A. This socket is also protected by a fuse. In many cases, as in this one, it is protected by a self-resetting fuse. An external temperature sensor can also be connected to this socket on this measuring device. This is the reason for the "TEMP..." in the socket name.
The last socket is located on the right side of the meter shown. This with a Capacitor, diode, voltage, resistance symbol and "Hz". marked socket is needed for all other measurements. So if you want to measure capacitances, resistances, voltages or frequencies, you have to use this socket. Also for the diode test - to determine the forward direction and forward voltage of a diode - you must use this socket.
Voltage measurement
One of the important electrical quantities is voltage. It can be measured relatively easily with a multimeter.
Nevertheless, you should think about the expected voltage beforehand. Because the precautionary measures during the measurement must also be adapted to this. It is not only important to know which voltage value you should expect but also which voltage type. So whether alternating voltage (AC=alternating current) or direct voltage (DC=dc voltage).
Here is a small quote from the very detailed Wikipedia article (https://de.wikipedia.org/wiki/Ber%C3%BChrungsspannung):
In healthy adult humans, one goes with the crossing of the Extra-low voltage from 50 V Alternating current (AC) or 120 V direct current (DC) from a life-threatening situation.[3] Among other things, for children and larger farm animals, the touch voltage is only set to a maximum of 25 V AC or 60 V DC, in wet roomInstallations partly even to 12 V.
This means that you can normally measure voltages of at least 25V AC and 60V DC without great danger to your life. If you are not a "specialist" you should also generally avoid working with higher voltages (it is often not necessary).
To measure the voltage with a multimeter, you must first set it to the voltage measuring range. This is usually marked with a "V" for volt (the unit of electrical voltage). Unfortunately, the correct setting is not standardized here and varies with many measuring instruments. If you want to be absolutely sure, a look into the operating manual of your measuring device will help.
Once you have set the voltage measurement, it is important that you set the voltage type. In the example measuring device, the voltage is set via the "Select" button. However, as already mentioned, this is not uniform for all measuring devices.
For the actual voltage measurement, the measuring tips are then always connected in parallel to the consumer or generator whose voltage you want to measure.
It is important to know that a measuring device in the voltage measurement has a very high but measurable internal resistance. During the voltage measurement, you therefore inevitably connect a resistor in parallel to your consumer to be measured, which creates a parallel circuit of two resistors and thus a (slightly) higher current flows through the overall circuit. This may also cause the voltage to be measured to be slightly lower than it would be without the meter. This is negligible in most cases but still good to have in mind 🙂 .
Current measurement
The current is another important electrical quantity. It can also be measured quite easily with a multimeter. In contrast to the voltage, however, the circuit whose current is to be measured must be somewhat prepared and estimated.
Resistance measurement
Resistance measurement is actually a combination of voltage and current measurement. However, since resistance is also one of the important electrical quantities, its measurement is possible directly with many measuring devices.
Actually, the resistance of a circuit is (simplified) the proportionality constant of voltage to current. That is, the resistance indicates how much current flows through a circuit at a certain applied voltage. This means that if you know what voltage is applied to a circuit and then also know what current flows through the circuit at this voltage, you can easily calculate the resistance.
Continuity test
The continuity test is actually a luxury version of the resistance measurement. It can be used to determine very easily whether two contacts are electrically connected.
If, for example, you want to check whether you have correctly implemented your circuit from the circuit diagram into reality, you can use the continuity test to measure whether the contacts that should be electrically connected according to the circuit diagram are actually connected. You can find out whether two contacts are electrically connected by touching the first contact with the black measuring tip and the second contact with the red measuring tip. If both contacts are connected, the meter usually signals this with a beep and the resistance value shown in the display. Whether two contacts are connected is determined with the resistance measurement. If the resistance from one contact to the other is very low, there is also a connection between them.
Capacitance measurement
The capacitance measurement allows you to determine the capacitance of a capacitor. This is especially helpful if you find a capacitor in your component drawer whose value is no longer clearly readable.
To measure the capacitance, simply hold the measuring tips of the meter against the two contacts of the capacitor.
Diode test
With the help of the diode test you can determine the forward direction and the forward voltage of a diode. This is especially helpful with SMD diodes, because the forward direction is not always printed on the package.
You can recognize the forward direction by holding the measuring tips to the two contacts and trying out in which combination a voltage is shown on the display. For example, if you hold the red measuring tip to the first contact of the diode and the black measuring tip to the second contact and you then see a voltage on the display, you know that the contact to which you have just held the red measuring tip is the anode of the diode.
The displayed voltage is then the forward voltage of the diode. If, on the other hand, no voltage is displayed, you must reverse the measurement tip assignment. In this case you have only found the reverse direction of the diode.
Frequency measurement/duty cycle
The frequency or duty cycle measurement is not integrated in all measuring instruments. With the help of these you can measure frequencies of an AC voltage or the duty cycle of a switched DC voltage.
For example, it is also relatively easy to check whether a pulse width modulation you have programmed works.
Possible additional functions
Temperature
Some meters also have the option of measuring temperatures with the aid of an externally connected thermocouple. To do this, you must connect it and set the meter accordingly.
dB
With the help of the dB measurement you can measure the sound pressure of a sound.
Lux
With the help of illuminance measurement you can measure the illuminance in a room.
x10Lux
In order to be able to measure very high illuminance levels - for example in strong sunshine - you can switch the sensitivity of the illumination measurement. This means that you can measure higher illuminance levels or show them on the display.
Troubleshooting
Now to the actual troubleshooting. It is difficult to provide an exact, generally valid, always working "roadmap" for this. Unfortunately, errors often hide where you don't expect them.
However, many errors are simply careless mistakes. These can usually be found very quickly with the following roadmap.
- Continuity test of all connections in the de-energized - i.e. switched off - state.
- Check that all connections that should exist according to the circuit diagram are actually connected. The continuity test is perfect for this.
- You can also check that neighboring contacts on the board have not been accidentally short-circuited.
- Especially the power supply lines should not have a short circuit. You can also test this with the continuity test. The measuring device should then show no continuity.
- Check installed resistors for correct value.
- To do this, measure the installed resistors in a de-energized state.
- In case of deviating values, please note that the respective resistor could also be connected in parallel with other resistors, which would change its value. In case of doubt you have to disconnect one contact of the resistor from the circuit and measure the resistor separately.
- Check power supply and other voltages
- It is often helpful to check the individual supply voltages. If you have several supply voltages in your circuit (e.g. 3.3V and 5V) you should make sure that both are available and that they do not drop under load.
- Check input current.
- By checking the input current, you can easily determine whether there is a short circuit or a missing connection, for example.
- If the current is very high, you will most likely have built in a short circuit. Then look for a connection between the positive and negative contact of the power supply of your circuit.
- If the current is very low, it is possible that you have forgotten to connect the power supply. It could also be that a voltage regulator is defective. If you use a microcontroller, it could be that it is held in reset mode by a faulty circuit.
- Check the voltage of the logic levels.
- Especially for digital communication between a microcontroller and connected sensors it is important that they use the same logic levels. For example, a microcontroller that works with 1.8V logic levels will not work well with a sensor that expects 5V logic levels. This can be solved by measuring the voltages and/or looking at the data sheets of the devices involved.
Step-by-step structure to avoid/detect errors directly
Admittedly, this is a bad tip for troubleshooting after the complete circuit is already built. But maybe it will help you to build your next circuit:
For very complex circuits or circuits with several sensors, actuators, etc., it is recommended to commission them step by step "piece by piece". That means you first check that the microcontroller works without connected sensors and is programmable.
If this works, the next sensor is connected and checked again whether it works. If everything works, the next sensor/actuator is connected. Continue this until all circuit parts are built.
If after a newly added component this or something or even the complete circuit does not work anymore, you already have an approach for troubleshooting. You can then be quite sure that the newly added component has something to do with the error or is the cause of it.
In this case, you can remove the added component again as a kind of "cross-check". If the error no longer occurs in this case, you have confirmation that the error is related to the corresponding component.
In this case, it is then necessary to find out why this component is causing the error?
- Is it perhaps defective? If available, try to install and test another copy of the corresponding component.
- How does the current consumption of your circuit change when the component is installed? Is it possibly so high that not enough power reserves are available to supply the entire circuit? Here you should check by a voltage measurement whether the supply voltages "break in"/sink.
- With sensors/actuators that communicate via the I2C/IIC or other buses, it may be that the other bus participant interferes with the communication. Check here possibly existing terminating resistors, PullUps and short circuits. Keep in mind that especially with the I2C bus a further bus participant increases the bus capacity and therefore the PullUps must be adapted.
The advantage of this "procedure" is that you have a direct approach to what could have caused the error. The troubleshooting will be easier and hopefully the error will be fixed faster.
Further information
https://de.wikipedia.org/wiki/Ber%C3%BChrungsspannung
Have fun with the project
I hope everything worked as described for you. If not or you have questions or suggestions please let me know in the comments. I will then add this to the article if necessary.
Ideas for new projects are always welcome. 🙂
PS Many of these projects - especially the hardware projects - cost a lot of time and money. Of course I do this because I enjoy it, but if you think it's cool that I share the information with you, I would be happy about a small donation to the coffee fund. 🙂
Thank you for your always very detailed and interesting articles!
Good luck with your future projects
Thanks very much. 🙂