USBasp – hints

The USBasp is a really useful and quit inexpensive ISP programmer that suits AVR 8 bit microcontrollers.

This article offers some hints on buying and using the USBasp.

There are lots of sellers of these on eBay, Aliexpress etc… but there are traps in buying them. I recall buying the USBasp with cable for less than $5, but they are more like double that now… or more

The adapters with the pogo pins are simply ordinary adapters with P75-xxx (eg P75-LM2) pogo pins inserted. Continue reading USBasp – hints

ISP programming of the (tr)uSDX

I noted some online discussions where some people had troubles using an ISP programmer to program the MCU.

I do not have a (tr)uSDX (trusdx), but inspection of the schematic does hint what those users are doing wrong.

Loading the SCK, MOSI and MISO lines risks problems with operation of the SPI protocol used, but the effect depends to some extent on the driver, length and type of interconnecting cable etc.

Here are some measurements of a USBasp driving an Arduino board with 5V Atmega328P 16MHz chip using about 200mm of ribbon cable… AND the MOSI line is loaded with a 0.01µF capacitor (as in the (tr)uSDX schematic).

As mentioned, ISCP uses an SPI protocol and the capture above uses blue for SCK and cyan for MOSI. Continue reading ISP programming of the (tr)uSDX

Switching times in Class-E RF power amplifiers

Class-E RF power amplifiers have become quite fashionable in ham radio in the last decade or two.

One of, if not the main contribution to efficiency in a Class-E RF amplifier is the operation of the active device in switching mode where it is either not conducting, or conducting hard (saturated, with very little voltage across it). Both of these are very low dissipation conditions, but in the transition between these states there is significant current and voltage present, the product of which gives significant instantaneous power… so the idea is to make this transition very fast so that the average power is low.

This article discusses effect of slowed switching times on PA efficiency.

Above is a circuit above is from (Sokal 2001) which explains the amplifier and gives guidance on selection of components. Continue reading Switching times in Class-E RF power amplifiers

FNIRSI FNB48 USB meter – cable resistance measurement

The FNIRSI FNB48 USB meter is a flexible USB power meter that incorporates a facility to measure the resistance of a USB cable. The tested unit uses firmware v2.50.

The operation also needs a constant current load of 0.5 – 1A (for most cables).

The method is: Continue reading FNIRSI FNB48 USB meter – cable resistance measurement

Sontheimer coupler – transformer issues

It is not uncommon that ham designs for Sontheimer coupers (aka Tandem coupler, Grebenkemper coupler) fall short in the design of the magnetic components resulting in one or both of:

  • high InsertionVSWR; and
  • high core loss.

The above circuit is from (Grebenkemper 1987) and is an embodiment of (Sontheimer 1966). In their various forms, this family of couplers have one or sometimes two transformers with their primary in shunt with the through line. Let’s focus on transformer T2. It samples the though line RF voltage, and its magnetising impedance and transformed load appear in shunt with the through line. T2’s load is usually insignificant, but its magnetising impedance is significant and is often a cause of: Continue reading Sontheimer coupler – transformer issues

Ferrite cored RF chokes in Class-E RF power amplifiers – core material issues

At Ferrite cored RF chokes in Class-E RF power amplifiers a design was offered for a choke using a Fair-rite 2843000202 core (commonly sold as a BN43-202), and the point was made that some products sold as BN43-202 might be significantly different.

Let’s look at the calibrated model estimates of choke impedance and core loss, side by side. Continue reading Ferrite cored RF chokes in Class-E RF power amplifiers – core material issues

Ferrite cored RF chokes in Class-E RF power amplifiers

Class-E RF power amplifiers have become quite fashionable in ham radio in the last decade or two.

This article discusses a common issue with the design of the RF choke providing DC to the Class-E stage.

Above is a circuit above is from (Sokal 2001) which explains the amplifier and gives guidance on selection of components. One key recommendation is that the usual choice of XL1 being 30 or more times the unadjusted value of XC1. This spells out that L1’s role is essentially an RF choke, it is intended to pass DC but to largely prevent RF current, it needs a high impedance at RF, and low DC resistance. Continue reading Ferrite cored RF chokes in Class-E RF power amplifiers

ESP WiFi relay project – preview

The impetus behind the project is a remotely WiFi controllable relay for reset function in a remote controlled ham station.

The information presented here applies to development v0.1.

Features:

  • support typical multi channel relay boards;
  • ESP8266 and ESP32 firmware versions;
  • WiFi credentials programmable via a captive web interface;
  • DHCP or static IP;
  • nMDNS responder;
  • flexible configuration stored as json file in on-board LittleFS file system;
  • optional authentication to secure remote access.

A variety of integrated relay boards

Above, a Yunshan relay, not recommended as RESET pin is tied high. This one was binned, quite a waste of money. It exemplifies a common problem in that the RESET line is often not available on a header pin, this one is worse in having tied RESET high and no header pin for EN. Continue reading ESP WiFi relay project – preview