Arduino thermometer using DS18B20 and OLED display

This article describes a Arduino based thermometer using a 1-wire DS18B20 digital temperature sensor using a SDD1306 or SH1106 OLED display.

The DS18B20 is a digital sensor, used for relative noise immunity, especially given the choice of an OLED display.

This is a basis for tinkering, for modification and a vehicle for learning.

Above is the sample display.

The code is written to support multiple sensors on the 1-wire bus, it cycles through each of the sensors displaying them for 1s each. Continue reading Arduino thermometer using DS18B20 and OLED display

NanoVNA examination of stacked ferrite cores of different mixes – more detail

NanoVNA examination of stacked ferrite cores of different mixes studied an example stacked core scenario, presenting measurements of a stack of BN43-202 and BN73-202, 5t wound through both.

 

The article stated:

They are somewhat similar (but only somewhat) to two series chokes with the same number of turns, so you might expect overlap of the responses.

Continue reading NanoVNA examination of stacked ferrite cores of different mixes – more detail

Effective measurement of common mode current on a two wire line – a user experience

This article reports and analyses a user experiment measuring current in a problem antenna system two wire transmission line.

A common objective with two wire RF transmission lines is current balance, which means at any point along the transmission line, the current in one wire is exactly equal in magnitude and opposite in phase of that in the other wire.

Note that common mode current on feed lines is almost always a standing wave, and differential mode current on two wire feed lines is often a standing wave. Measurements at a single point might not give a complete picture, especially if taken near a minimum for either component.

MFJ-854

The correspondent had measured feed line currents using a MFJ-854.

Above is the MFJ-854. It is a calibrated clamp RF ammeter. The manual does not describe or even mention its application for measuring common mode current. Continue reading Effective measurement of common mode current on a two wire line – a user experience

Dislord’s NanoVNA-D firmware v1.2.35 includes a facility to apply a correction based on the DC resistance of the LOAD

A recent series of articles discussed the question of how accurate does a calibration LOAD need to be.

Following on from that I requested a change to allow the actual resistance of LOAD to be used

These tests are not conducted in a temperature stable laboratory, so allow some latitude in results.

The NanoVNA-H running NanoVNA-D firmware v1.2.35 was SOL calibrated, but the calibration kit had a LOAD that measured 51.273Ω at DC using a high accuracy ohmmeter.

Above is an |s11| sweep after calibration. Measurement is limited by the instrument noise floor, about -80dB @ 1MHz. This says nothing about the load as it is based on a flawed calibration, but it shows us the noise floor. For reasonable accuracy, we might say here that we can measure |s11| down to about -70dB… subject to an accurate calibration LOAD. Continue reading Dislord’s NanoVNA-D firmware v1.2.35 includes a facility to apply a correction based on the DC resistance of the LOAD

NanoVNA examination of stacked ferrite cores of different mixes

A chap asked the assembled experts online:

Has anybody tried stacking say a type 43 on top of a 61 on top of a 31 for a wider bandwidth? Would the losses be any greater than using one toroid for each band?

There were some very firm assertions that this will not work well (without evidential support of course). Beware of firm assertions!

Quickly the case was compared to parallel chokes… and there is no parallel (pardon the pun), they are not the same.

They are somewhat similar (but only somewhat) to two series chokes with the same number of turns, so you might expect overlap of the responses. Two series chokes carry the same current and with the same number of turns apply the same magnetomotive force (mmf) to both magnetic cores.

But rather than hypothesise, even if from experience… lets measure.

Above is the DUT. It is a stack of BN43-202 and BN73-202, 5t wound through both. This is not two chokes in series, it is just like stacking a FT240-43 and FT240-73 in concept. Continue reading NanoVNA examination of stacked ferrite cores of different mixes

NanoVNA measurement of a coaxial filter

This article discusses measurement of a coaxial filter. These are often referred to as “cavity filters”, but strictly speaking, a resonant cavity is different, these are a low loss transmission line section without input and output coupling.

The DUT is a single coaxial resonator configured as a band pass filter with adjustable separate coupling loops. The inside of this nearly quarter wave tube is a coaxial rod grounded at the right had end and almost reaching the left hand end with coupling loops attached to the coax connectors. The rod length is adjustable to tune it, everything is silver plated brass. The adjustable coupling loops allow some adjustment of bandwidth, but narrow bandwidth brings higher loss. Continue reading NanoVNA measurement of a coaxial filter

Common mode choke measurement – for beginners

I have corresponded with many people trying to make valid measurements of a Guanella 1:1 balun, also known as a common mode choke.

In common mode, the device looks like a ferrite cored inductor. That might sound simple, but it is anything but, and it can be a challenge to measure.

There are lots of measures quoted, most of them IMHO are bogus or incomplete, usually specious… which accounts for their popularity.

This article focusses on making a valid measurement of the R and X components of the choke’s common mode impedance by the simplest means that is likely to give direct results. Continue reading Common mode choke measurement – for beginners

NanoVNA – how accurate does the LOAD need to be – part 3?

NanoVNA – how accurate does the LOAD need to be – part 2? answered the question in the context of an instrument that assumes the LOAD is exactly 50+j0Ω.

As mentioned in the article, there are more sophisticated models of the imperfection of nominal SHORT, OPEN and LOAD calibration parts (or ‘standards’), but the NanoVNA-H4 does not currently implement any of them.

A simple improvement is to accurately measure the DC resistance of the LOAD part, and use that resistance to calculate the expected LOAD response, and to use that in calculating the error terms that will be used in correction of raw measurements. Continue reading NanoVNA – how accurate does the LOAD need to be – part 3?

NanoVNA – how accurate does the LOAD need to be – part 2?

This article continues on from NanoVNA – how accurate does the LOAD need to be – part 1?

Measures such as ReturnLoss, Gamma, s11, ro |s11|, VSWR are all wrt some reference impedance, often, but not necessarily 50+j0Ω.

The process of SOL calibration of a VNA, and its subsequent correction of DUT measurements, means that raw measurements are corrected with error terms that are derived from the calibration measurements and a set of responses expected of the calibration parts. Continue reading NanoVNA – how accurate does the LOAD need to be – part 2?

Verify coax cable performance with NanoVNA

This article walks through a simple verification of nominal 50Ω coax cable with connectors against manufacturer specifications using a NanoVNA.

The instrument used here is a NanoVNA-H4 v4.3 and NanoVNA-D firmware NanoVNA.H4.v1.2.33.

The DUT is a 10m length of budget RG58-A/U coax with crimped Kings BNC connectors, budget but reasonable quality. It was purchased around 1990 in the hey day of Thin Ethernet, and at a cost of around 10% of  Belden 8259, it was good value. Continue reading Verify coax cable performance with NanoVNA