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.
Speaker tick generator (for polarity testing) described a stand alone test pulse generator based on re-purposing a brushless DC motor controller (ESC, used for RC models).
This article describes a simple tick generator using a inexpensive 8051 type MCU (STC15F104E) and a H-bridge IC (TC427).
Above, the prototype was build on a small piece of Veroboard. DC input of 6-15V is applied to the 2.1×5.5mm DC jack, and speaker output is on the screw terminals (nearest to DC jack is -ve). Continue reading Speaker tick generator #2 (for polarity testing)
Fox Flasher MkII and several follow on articles described an animal deterrent based on a Chinese 8051 architecture microcontroller, the STC15F104E.
This is an update after several years operation outside, and some in service modifications to improve performance.
Above is the original basic schematic.
Above is the revised schematic. One only high current LED driver is shown, use as many as needed. The battery charger / protection module is based on TP4056 and DW01 chips and modules sell on eBay for $1 or so. Continue reading Fox flasher MkII update 7/2019
The STC15Fx chips use a simple TTL/CMOS async programming interface that is suited to the common USB-RS232(TTL) adapters, some of which are less than A$2 on eBay (CH341 chip).
Above, the completed adapter. DIP-28 are located carefully so that the pins 10-18 are in the socket, the same connections are used for both chip sizes for STC15F104E and STC15F204E. Continue reading Basic programming jig for STC15F104E and STC15F204E chips
On the concept of that P=Pfwd-Prev discussed the expression for power at a point on a line in terms of the travelling wave voltage and current components.
The expansion of P=real((Vf+Vr)*conjugate(If+Ir)) gives rise to four terms.
This article looks at the components of that expansion for a mismatched line for a range of scenarios.
- Lossless Line;
- Distortionless Line; and
- practical line.
We will override the imaginary part of Zo and the real part of γ (the complex propagation coefficient) to create those scenarios. The practical line is nominally 50Ω and has a load of 10+j0Ω, and models are at 100kHz.
A Lossless Line is a special case of a Distortionless Line, we will deal with it first.
A Lossless Line has imaginary part of Zo equal to zero and the real part of γ equal to zero.
Above is a plot of the four components of power and their sum at distances along the line (+ve towards the load). Continue reading From lossless transmission line to practical – Zo and γ
A reader of On the concept of that P=Pfwd-Prev asked if / how the scenario discussed could be modelled in SimSmith.
SimSmith uses different transmission line modelling to what was used in that article, but a SimSmith model of RG58A/U allows illustration of the principles and it will deliver similar results.
Let’s explore the voltage maximum and minimum nearest the load to show that VSWR calculated from the magnitude of reflection coefficient is pretty meaningless in this scenario.
Above is the basic model. I have created two line sections, one from the load to the first voltage maximum, and another to the first voltage minimum where I have placed the source. I have set Zo to the actual Zo of the line as calculated by SimSmith (56.952373-j8.8572664Ω), effZ as SimSmith calls it, so the Smith chart relates to the real transmission line. Continue reading SimSmith example of VSWR assessment
ESP01S first experience outlined steps to get a ESP01S up and running.
This article lays out an example IoT submission to Thingspeak using Expect as the test frame. Continue reading ESP01S IoT – Thingspeak GET submission
Some recent articles discussed some effects that in part are a result of Zo having a complex value (ie a non-zero imaginary part). Continue reading On working with complex Zo
I purchased some ESP01S ESP8266 based WiFi modules on eBay.
Above, the ESP01S is a basic module comprising an ESP8266 and 1MB SPI flash memory (~$2.50 on eBay). Continue reading ESP01S first experience
The article On negative VSWR – Return Loss implications raised the question of the validity of the concept of that P=Pfwd-Prev.
The Superposition Theorem is an important tool in linear circuit analysis, and is used to find the combined response of independent sources. Superposition applies to voltages and currents, but not power. Continue reading On the concept of that P=Pfwd-Prev
On negative VSWR (read it first) discussed the case of negative VSWR results from some calculating tools and formulas, and more generally that simple formulas that depend on lossless line assumptions produce errors on practical lossy line scenarios.
Return Loss is defined as the ratio Pfwd/Prev, often given in dB.
Return Loss is usually calculated as 20*log(1/ρ), it yields negative calculated Return Loss for ρ>1. It would be a mistake to doctor the result to hide the negative return loss as it is a strong hint that the results may be invalid.
An important consideration here is the validity of the concept of Pfwd and Prev. Continue reading On negative VSWR – Return Loss implications