I have used PERL to script NEC runs, and then to read the huge volume of output to produce simpler summary tables. This has provided facility to run a very large number of models with some variation in one or more model parameters. One of the early published web articles was Feeding a G5RV published in 2005, but I had been using PERL for that purpose for quite some time before that, and in my ‘day job’ since early 1990s. Ham projects led to development of some application specific libraries to model transmission lines and ATUs.
Like PERL, Python had its origins in the late 1980s, but it has really only come of age in recent years with the release of v3. Python appears running on all sorts of things from microcontrollers up, and is probably the most popular scripting language today. Continue reading PERL vs Python pre / post processing NEC
Recent versions of Windows 10 have made changes to some audio input processing.
Above is a screenshot of a Microphone Properties window, and attention is drawn to the section highlighted in pink which may appear in some devices.
The Signal Enhancements would appear to introduce certain non-linear behaviour.
I preface this with saying the ‘enhancements’ are probably hardware dependent (ie the chipset used and driver capability) but may also include Windows core, and this report applies to my specific configuration but hints issues that may be systemic.
That said, I performed a simple test switching an audio sine generator between two close frequencies and observed the level vs time in SpectrumLab.
I wrote an application that presents maps on a webpage using Leaflet and OpenStreetMaps, and some readers commented that the text was hard to read on their devices.
It turns out that this issue seems present on devices with high resolution small screen (ie high pixels/mm or small pixel size).
The reports raise the question of whether it is the compatibility of the device and the user’s Visual Accuity (VA).
VA is often assessed on the familiar Snellen chart which has characters of a 5×5 grid and normal vision is indicated by reading characters that subtend 5 minutes of arc (MOA), or 1MOA for each ‘pixel’ (px).
The STC15Fx chips use a simple TTL/CMOS async programming interface that is suited to the common USB-RS232(TTL) adapters. This article describes a low cost programmer that also allows the programming application to Vcc (so initiating the boot loader automatically).
Above is the programmer ($2.50 on eBay) and a small adapter that plugs into the top row of the 2×5 header on the programmer.
I have started using Arduino Pro Micros recently, and sourced inexpensive clones from China.
Experience is that all manner of inexpensive small microcontroller modules from China are likely to have issues with the bootloader: it isn’t there, it is back level, not suited to the actual clock speed.
I have come to routinely install a current / known / working bootloader to avoid wasting time down the track.
The Pro Micro does not have an ISP header, and the QFN package does not suit a chip adapter, so the next option is an adapter that can connect to the board with no pins, male or female headers, top or bottom.
Above is an adapter built on a small piece of Veroboard. If you are ging to copy it, make it one row of holes higher. I did initially, and in a miscount of rows, I incorrectly removed the top row. The black mark identifies the pin 1 of the Pro Micro, and the adapter connects to the side with the /RST pin.
The headers on the adapter engage JP6, preserving the pin ordering, pin 1 to the black mark on the veroboard.
This article documents a project with the Espressif ESP8266.
This project is based on ESP8266 IoT DHT22 temperature and humidity – evolution 3, but uses the Bosch BME280 temperature, humidity and pressure sensor. The BME280 has been around for a couple of years, but recently, modules using the chip have become available on eBay for a couple of dollars.
The objective is a module that will take periodic temperature, humidity atmospheric pressure (barometer) measurements, and in this evolution publish them using a RESTful API.
The example platform used in this article is a Wemos D1Pro. In this case, the D1Pro is configured for an external antenna, and a modification is made to the board to add a 1N34A diode for the deep sleep reset circuit (NodeMCU devkit V1 deep sleep). A right angle header on the top of the board (as seen) and another on the underside on the opposite edge to get GND, +3.3, D3 and D4 for the BME280 sensor. There is less than $25 in parts in the pic above. Continue reading ESP8266 IoT BME280 temperature, humidity and pressure