IoT water tank telemetry project – part 2

Calibration of the 4-20mA input

This article is a tutorial on calibrating the 4-20mA input which is designed for flexibility that is achieved through exploitation of the calibration.

The input device for this tutorial is a Pt100 RTD temperature sensor and inexpensive Chinese Pt100 – 4-20mA converter (loosely) calibrated for -50-150°. The Pt100, the converter, the load resistor, the divider resistors on the MCU board, and the MCu voltage reference all introduce error which is compensated in this end to end calibration procedure.

For this demonstration, two scenarios are measured:

  1. probe in still air whose temperature is captured with an accurate thermometer; and
  2. probe in boiling water whose temperature is calculated from known altitude and barometric pressure.

Another option would be to use a container of water filled with ice to obtain close to 0° for scenario 1… you don’t need a triple point cell for the end system stability and accuracy.

Temperature of boiling water

Using Calculate cooking time for soft boiled egg :

No, we are not boiling an egg, but the results include the temperature of the boiling water under current altitude and pressure. Continue reading IoT water tank telemetry project – part 2

Aluminium ground system suitability for ham radio station

I have been asked a few times about my article Implementation of G5RV inverted V using high strength aluminium MIG wire, and conversations ran to the suitability of the wire to a radial system on Marconi type antennas.

Firstly, a progress report on the antenna, no news to report and that is good news, there have been no issues so far. Inspection of connections without disassembly has not shown signs of corrosion or fatigue. Continue reading Aluminium ground system suitability for ham radio station

Baluns – wire size insanity

An online expert recently expounded on detailed design of a balun, this is an excerpt about wire sizing.

The wire gauge used limits the current handling capacity of the wire, run too thin a wire and it will heat up. Run much too thin of a wire for the power in use and it will fuse open. Current carrying capacity of wire is typically rated for either power transmission applications or chassis wiring applications. The latter, and higher, current capacity for a wire is relevant to designing a balun. How much current your 50 watt signal generates depends on the impedance its looking into. If you’re talking about a 50 ohm system, with a perfect match you’ll deliver one amp through your balun wires when driving 50 watts into it. Allowing for say a 4:1 SWR the worst case current(@12.5 ohms) is 2 amps. If you’re using this as a tuner balun, perhaps to drive a multi-band doublet then the impedance can vary widely so over sizing the wires is easy insurance. Here’s a table of wire current carrying capability: https://www.powerstream.com/Wire_Size.htm

For convenience, the relevant part of the table linked above is quoted for discussion.

So, the poster recommends wire with chassis wiring rating of 2A for 50W with reserve capacity for worst case VSWR=4. Continue reading Baluns – wire size insanity

IoT water tank telemetry project – part 1

This is the first in a series of articles describing a simple maker / DIY IoT water tank telemetry system.

Design criteria

  • capture water depth, temperature and relative humidity;
  • IoT connectivity;
  • solar / battery powered;
  • wireless connection;
  • use existing inexpensive electronic modules.

Design choices made initially:

  • 4-20mA water pressure sensor for depth measurement;
  • ESP8266 Wemos D1 mini pro for the MCU and wireless elements;
  • NodeMCU / Lua software environment;
  • external antenna for improved WiFi range;
  • 6V 100mA PV array;
  • module with TP4056 batter charger and cell protection chip;
  • 2500mAh 18650 cell;
  • AM2320 temperature and humidity sensor;
  • bipolar transistor switch for boost converter;
  • Thingspeak RESTful interface for data accumulation and presentation.

Block diagram

Above is a block diagram showing the major system components. Almost all of the electronics is on easily obtained low cost electronic modules source from eBay, assembled on a Veroboard backplane. Continue reading IoT water tank telemetry project – part 1

ARRL guidance on design of ferrite cored inductors

The ARRL handbook for radio communications (Ward 2011) gives guidance on designing with ferrite cored inductors:

Ferrite cores are often unpainted, unlike powdered-iron toroids. Ferrite toroids and rods often have sharp edges, while powdered-iron toroids usually have rounded edges.
Because of their higher permeabilities, the formulas for calculating inductance and turns require slight modification. Manufacturers list ferrite AL values in mH per 1000 turnssquared. Thus, to calculate inductance, the formula is

L=ALxN2/1000000

where:

L = the inductance in mH
AL = the inductance index in mH per 1000 turns-squared, and
N = the number of turns.

Example: What is the inductance of a 60-turn inductor on a core with an AL of 523? (See the chapter Component Data and References for more detailed data on the range of available cores.)

L=ALxN2/1000000=523×602/1000000=1.88e6/1e6=1.88mH

Lets follow the example through. Continue reading ARRL guidance on design of ferrite cored inductors

Antenna half power bandwidth and Q, concept and experimental validation

Many antennas can be represented near their series resonance as a series RLC circuit, and in many cases R changes very slowly with frequency compared to X. This provides a convenient and good approximation for the behavior of the antenna impedance in terms of a simple linear circuit.

Series resonant circuit

The response of a simple series resonant RLC circuit is well established, when driven by a constant voltage source the current is maximum where Xl=Xc (known as resonance) and falls away above and below that frequency. In fact the normalised shape of that response was known as the Universal Resonance Curve and used widely before more modern computational tools made it redundant.

Above is a chart of the Universal Resonance Curve from (Terman 1955). The chart refers to “cycles”, the unit for frequency before Hertz was adopted, and yes, these fundamental concepts are very old. Continue reading Antenna half power bandwidth and Q, concept and experimental validation

AIM system – AIM912 initial checkout

Given that most versions of the AIM software that I have tried have had serious defects, I approach the latest release, AIM912, with caution.

An interesting opportunity presented when a correspondent sent me some .scn files captured from an AIM4170B using AIM912.

Above is the correspondents .scn file opened in AIM912. Continue reading AIM system – AIM912 initial checkout

Review of inexpensive Chinese LAN cable tester

I bought an inexpensive LAN cable tester to give to my daughter.

Above is the sellers pic, the specifications states that it checks data wires 1-8 and the shield / ground connection of STP cables.

On test, it failed to show the shield connection on an STP cable, the LED did not light on either the master or the slave unit.

I tore it apart to see if it was worth getting a replacement. Continue reading Review of inexpensive Chinese LAN cable tester

Speaker tick generator (for polarity testing)

A recent purchase of an inexpensive ($6) speaker polarity tester prompted a need for a stand alone driver for speakers.

Above, the tester has a microphone that senses the polarity of the pressure wave and indicates with one of two LEDs.

The tester comes with a CD containing a file that can be used to provide the test signal on a complete system with CD player, but there is a need for a stand alone driver for testing bare speakers or speaker units. Continue reading Speaker tick generator (for polarity testing)

IMD associated with colorbond sheet steel cladding

A recent experiment exposed significant IMD of a 7MHz locally radiated signal.

The source used for these tests is a battery powered low power transmitter  driving a 0.6m square loop. Radiated power is very low (of the order of -60dBm EIRP), and received signal on the station receiver is less than -73dBm.

Loop near steel shed #1

The loop was leaned against the colorbond sheet steel wall of shed #1. Shed #1 is about 40m from the receiving antenna, and is connected to the power mains. The building has colorbond sheet steel screwed to a steel frame. Colorbond is painted Zinc/Aluminium coated steel.

For this test, the submain was turned off at the main switchboard, so there is not equipment in the shed powered up, but the supply neutral is still connected and bonded to the shed steel work and shed PES ground electrode.

Above, the spectral response of receiver output, there are a number of side products at 100Hz intervals, presumably some form of IMD. At higher radiated power, products at odd 50Hz intervals become visible, though at much lower level than the 100Hz products. Continue reading IMD associated with colorbond sheet steel cladding