Tag Archives: oscilloscope

Plant Watering Sensor – Precise Current Measurement

As I wrote in the first part of my article, how to design a cheap plant watering sensor, I had troubles to get exact measurements of the current, using my Testo multimeter. I searched for a solution and found the µCurrent Gold device, from David L. Jones known for the EEVblog. Later a little bit more about the device, first the measurements.


I could do the measurements using the oscilloscope and not only measure the static current consumption, but the current consumption over time. The graph shown in the diagram, is the reading of if the sensor does one single measurement and flashes the LED. Continue reading Plant Watering Sensor – Precise Current Measurement


How to Debug Time Critical Code using an Oscilloscope

From time to time you have to debug time critical code. If you are using interrupts, you are interested in the actual performance on the code. This is especially true, if you are using timed interrupts.

In this cases, using the serial interface is impossible. If you write to the serial interface, the whole timing of your application changes and you will get no usable results.

If you own an oscilloscope, there is a really simple way to debug many applications. I used this technique many times, for example with projects featured on these pages: For the timing of the sound output of the cat protector, or the timing of the display interrupt of the Meggy Jr library.

This technique is obvious ans simple. Nevertheless I hope this article will give some inspiration to help solving timing problems.

Continue reading How to Debug Time Critical Code using an Oscilloscope