If for some reason you cannot use the bootloader that reads from the USB port via the CP2102, you can resort to programming the MCU chip using the SWD port and a programmer that supports that protocol.
WARNING: there is potential for damage if you get this stuff wrong. No warranty is offered, if you break it, you get to keep both parts.
Example hardware configuration
Above is the hardware configuration for programming. I have used a LiPo and BEC to supply 5V to the SPF3 board (the target), and a clone ST-LINKV2 (~$4 on eBay) is connected to the Serial Wire Debug (SWD) connector on the SPF3 with a custom cable. Note that you cannot use USART2 concurrently with SWD.
Continue reading Flashing SeriouslyProF3 Cleanflight using ST-LINKV2
I spent quite a while chasing down a problem in a Cleanflight v1.13 flight controller which would not start properly, giving a series of beeps that one might expect hinted the problem.
Above is a scope capture of the /BEEP signal, five short beeps (50ms ON, 50ms OFF) then four long beeps (250ms ON, 250ms OFF). Continue reading Cleanflight – initialisation failure beeps
Accurate GPS positioning has been of interest in automating data collection in field strength surveys of antennas on HF. To be useful, the positions need to be accurate to 100mm.
RTKLIB is an open source program package for GNSS positioning.
A number of experiments were conducted using a U-Blox LEA-6T assembly with integral small patch antenna (cost ~A$40) and RTKLIB v2.4.3(b8) using a base station feed from Geoscience Australia (with thanks). The test location is about 200km from the reference station at Symonston ACT.
Above, the LEA-6T and a RS-232 to USB adapter are strapped to a roof rack bar with stretch film. The high mounting position gives good view of the sky.
Above is a position plot of about an hour with the vehicle stationary (though in Kinematic mode) beside the house. Sky view was slightly restricted by the house and a line of tall trees to the west.
For the most part the track is smooth, but there is one section where the track in a more heavily treed section is markedly jaggy.
The Atten APS3005S is a 0-30V 5A linear DC power supply.
This later model includes a thermostatically controlled fan which at moderately light currents short cycles (10s on 20s off) and is very annoying… especially since it sits above my desk.
This project describes application of the generic heating / cooling controller (hcctl) to control the fan, reducing the short cycling nuisance.
Continue reading Atten APS3005S – a better thermostatic fan control
On a transmission line with standing waves, the voltage varies cyclically along the line, and is dependent also on power.
This article explains a method to use an analyser to predict the peak voltage level at a point for a given frequency and power based on measurement or estimation of complex Z or Y at that point using a suitable antenna analyser.
Lets say you have some critical voltage breakdown limit and want to use your analyser to find any non-compliance at the proposed power level.
Let us assume that the not-to-exceed voltage at that point is 1000Vpk. Let’s allow a little margin for variation due to factors not fixed, let’s actually use 800Vpk as the limit. We will use the maximum permitted power in Australia, 400W.
Continue reading Exploiting your antenna analyser #22
I purchased a new digital caliper recently (no, they are NOT vernier calipers, though modern usage seems to have misused the term vernier to the point of it having no value).
A pic of the back reveals their recommendation for a battery, it is in the upper right corner of the pic “Battery 1.55V”. This is really subtle and a departure from previous practice of marking them more clearly SR44.
The nominal voltage of a silver button cell is 1.55V, an alkaline is 1.5V. Continue reading Silver vs alkaline button cells
I bought a couple of ‘generic’ micro SD cards on eBay about a year ago. They were not much cheaper than brand name cards, and though only speed 6 rated, were available locally for quick delivery. I have a vague recollection that it might have been a RPi product supplied with NOOBS on it (I have a couple of SD adapters with the RPi logo on them).
These were both used in RPi B systems and worked without fault for the last year, though they are not running full time (perhaps a couple of hundred hours of use).
During a Raspbian sofware update, both cards failed with the same problem, they effectively became read-only cards. Continue reading Micro SD card premature failure
The popular End Fed Half Wave is all things to all men, but this article compares an End Fed Half Wave, Inverted L, and Half Wave Dipole with some common parameters:
- frequency: 7.1MHz;
- flat top length: 20m;
- Height above ‘average’ ground (0.005,13): 10m;
- lossless balun / matching device.
- ground connection: Inverted L = 2Ω, End Fed Half Wave = 100Ω; and
- effective common mode choke used on the dipole.
Above is the modelled gain for all three. Continue reading End Fed Half Wave / Inverted L / Half Wave Dipole
Some while ago I purchased a EZP2013 device programmer on eBay.
There were literally scores of sellers, and they all looked the same, and some variation in price from about US$25 to US$50… which is not unusual.
I used the thing a few times, and it was clearly a very poor product so I replaced it with a SOFI SP-8B which cost close to US$50 on Aliexpress including a bunch of (6) adapters. Continue reading Chinese counterfeiters at it again – EZP2013
Work continues on the quadcopter using Cleanflight on a NAZE32 flight controller. Continue reading Some automation to supplement Cleanflight-configurator