Saturday, June 15, 2019

Promised HF-6m Discovery TX-500 looks interesting

Just spotted this teaser for a new amateur transceiver. A very compact and rugged design with two surface mount boards and built-in antenna tuner.

I'm not sure about the choice of connectors but I guess they're going for a rugged water resistant exterior.

Personally I'd love to see something along these lines with a single USB port carrying control, audio and IQ but in a way that it can be used standalone or with a computer if available.

No idea on price or performance but from the video it seems to sound pretty good and the display looks excellent.

Like everyone else in the world, I'm waiting for the QRP-Labs QSX.

Better digital shortwave radios on the horizon

A post on the Digital Radio Mondiale page highlights a new radio receiver module from Starwaves that will ship later this year and could pave the way for consumer radios covering LW, MW, SW and FM with DRM and analog reception.

The DRM receivers I've tried so far have had terrible battery life and been high cost. Let's hope a new generation is on the way. I hope you're on to this Tecsun!

Arduino ESP8266 with on board OLED display

Here's a very handy little board for AU$16 from Banggood. They call it a Wemos® NodeMCU wifi for Arduino. It's an ESP8266, which can be programmed using the Arduino tools with an on-board 128x64 0.96 inch OLED display.

The library you need to drive it is here.

The trick is to download that Git repo as a Zip and then in the Arduino software install the library from local Zip.

The documentation for the display driver is there on GitHub if you scroll down.

There are methods for pixel drawing, text drawing, even some high level routines for building a user interface.

Of course, if you haven't already, you'll need the esp8266 board files by following the instructions here. Choose generic esp8266 and on macOS the serial port was SLAB_USBtoUART.

Out of the box the board was programmed with the simple example from that site, which is a pretty impressive display of text in various fonts and graphics. When I tried the example I got nothing.

After some hair pulling and gnashing of teeth, I figured out that SDA and SCL are reversed for this board compared to the examples on GitHub.

This works: SSD1306Wire display(0x3c, SCL, SDA); // reversed!

Having Wifi and a display suggested a simple Wifi network display project. The esp8266 wifi library is documented here.

Another thing to watch for is that the display is really a pixel graphics display so the x,y locations for text must account for the line height of the text.

#include "SSD1306Wire.h"
#include "ESP8266WiFi.h"
// Initialize the OLED display using Arduino Wire:
SSD1306Wire display(0x3c, SCL, SDA); // reversed!

void setup() {
  // Initialising the UI will init the display too.

  display.drawString(0, 0, "Starting.." );

void loop() {
  // clear the display
  int height = 10;
  // WiFi.scanNetworks will return the number of networks found
  int n = WiFi.scanNetworks();
  if (n == 0) {
    display.drawString(0, 0, "no networks found");
  } else {
    for (int i = 0; i < n; ++i) {
      int y = i * height;
      String ssid = WiFi.SSID(i);
      String rssi = String(WiFi.RSSI(i));
      String encryption = "Unknown";
      switch(WiFi.encryptionType(i)) {
        case ENC_TYPE_WEP:
          encryption = "WEP";
        case ENC_TYPE_TKIP:
          encryption = "WPA";
        case ENC_TYPE_CCMP:
          encryption = "WPA2";
        case ENC_TYPE_NONE:
          encryption = "Open";
        case ENC_TYPE_AUTO:
          encryption = "Auto";
          encryption = "Unknown";
      String line = ssid + ": " + rssi + " " + encryption;
      display.drawString(0, y, line);

  // Wait a bit before scanning again


John, VK2ASU, points out that there is a similar board for the ESP32 for even less money here. The ESP32 is the successor to the ESP8266 and offers a faster and dual core CPU along with Bluetooth, Hall effect sensor and temperature sensor.

Tuesday, June 11, 2019

Chris Winter, 2JJ and Triple J legend, has died

Chris Winter was a legend in Australian radio. I remember listening to 2JJ on skip in Melbourne in the evenings. He had a deep bass voice, a nickname was "three balls", and he could use that voice to great effect.

In my early 20s I visited Sydney and turned up at the 2JJ studio up William street, I didn't meet Chris then but other staff welcomed me and showed me around.

Much later I was working in ABC training and he attended a course on mainframe word-processing on Dec Vax computers. He said he thought I'd be good on radio and invited me to the studio. From there I was a regular guest for a while on Triple J with Stuart Matchett. We remained friends and he was always right up to date with technology and the issues it triggers in society.

The photo above was taken when Rob Garnsey and I visited his home in Bronte in 2016. I saw from some social media posts that he'd been unwell but it's a shock that we lost him.

The last instagram post is from Winter Feast at Dark Mofo in June.

Old days: that hair!

Looks like his Twitter account has stopped. He tweeted a selfie in hospital recently and I asked if he was ok.

Farewell CW.

Saturday, June 08, 2019

Apple developer conference 2019

Over the past week, Apple has held their World Wide Developer’s Conference (WWDC) in San Jose. I’ve attended quite a few times over many years but in recent years I’ve enjoyed watching the live and recorded videos.

There was a time when it was easy to get a ticket, in fact, Apple really had to work to encourage developers to attend. These days there’s a lottery to get in, which is much better than the system they ran for a few years where we all sat re-loading a web page hoping to get to the booking form.

It’s not cheap for me to go in person, US$1,600 plus accomodation and travel from Australia adds up.

Because of the time zone difference, I have sometimes really struggled to stay awake sitting still in a dark room. I remember one year a friend attended but couldn’t sleep at night and so missed the morning sessions all week.

Being at WWDC in person is a wonderful experience. The buz in the room when big announcements are made, being among developers to discuss the implications of new technologies, meeting developers from well known organisations and learning a bit about the technical dept they carry.

The quality of presentations from Apple is the highest in the industry. Some things that stand out:
  • The slides are minimal and clear
  • Presenters speak well, walk back and forth, and hold up counting fingers
  • Demonstrations almost always work (which is saying something on an alpha operating system) certainly compared to this.
Presentations from past events serve as the canonical introduction documentation for many years.

Apple does a good job to encourage random meetings. I’ve had interesting conversations while queuing and they make it easy to be seated at a lunch table with people you haven’t met.

Labs, where you get to ask questions of Apple engineers, are valuable. In the past I’ve gone with crazy ideas of how to overcome something and been convinced not to waste my time. In one case I demonstrated a bug and was encouraged to log it.

This year was very full of new things. Here's a terrific list from Patrick Balestra of Spotify. As others have noted, WWDC announcements are not just the result of a year of work but the culmination of projects which may have taken many years.

Swift, ARKit, SwiftUI and Catalyst are examples of what must be huge projects.

iOS/iPadOS 13 and macOS Catalina seem like good iterations. I think the splitting out of iPadOS isn’t a big deal this year but is a clue to a future diversion from the phone OS. 

Privacy continues to be a differentiator for Apple and I think they’re on a winner. The sign in with Apple system, which generates a random email forwarder seems like a great idea but the fact that Apple mandates it in apps that offer sign in with Google or Facebook came across as heavy handed. While they can’t mandate it on the web, they’ll have to add it if people have signed up on an Apple device, so it will spread naturally.

Craig Federighi’s interview by Federico Viticci on the AppStories podcast was the clearest explanation I’ve heard of Apple’s strategy on the iPad in that they want to keep it easy to use for new users (even people who’ve never used a computer) and yet add deep functionality required by power users over time. It was great to hear Craig acknowledge that Apple reads what intense users such as Federico write about what they want from the platform.

The Accidental Tech Podcast was fun if only to hear the gang’s positive reaction to the MacPro announcement.

John Gruber’s Talk Show podcast also had Craig on this year but, while interesting,  I felt that John was off his game and didn’t take the opportunity he was given to ask some hard questions. I know Apple has sometimes frozen out commentators who are critical but Gruber has a lot of ethical capital built up and could survive. It was charming to hear Craig acknowledge ATP’s John Siracusa.

Traditional media all had their rundowns of the announcements but really there’s not a lot for the general public until the OSs ship later this year.

SwiftUI looks good. A very small amount of easy to read code is matched with a graphical design tool - changes in either are reflected on the other immediately. I’m sure we’ll still be using UIKit and AppKit for a long time but I can see how this new approach could lead to some amazing optimisation of the UI code and I wonder how long it will be before someone makes a version for non-Apple platforms?

I’m still getting through the videos from this year and it’s also triggered some watching of older sessions.

My free app for ham radio users of Weak Signal Propagation Reporter (WSPR), WSPR Watch, gained dynamic type which means it honours the system setting that lets users crank up the size of type everywhere and my commercial macOS application Transcribe Helper is on the way to Touch Bar support. WWDC has stimulated me to tackle some of the existing technology Apple has already released.

I look forward to attending a future conference in a virtual reality space, the pieces are coming together.

Sunday, June 02, 2019

Experiments with OpenWebRX and Airspy HF+

This week I've been experimenting with sharing my Airspy HF+ over the internet using the excellent, open source, OpenWebRX. Here's how 40m looks through a web browser.

I'm running it on a ThinkPad x230 running Ubuntu 19.04. I got the source code from GitHub and followed these instructions to build the app needed to use the Airspy HF+.

I was expecting it to have all the features seen in the KiwiSDR receivers, but that's not the case. There are 147 forks of the original software, which was part of an academic project.

The first thing that users find frustrating with the original version is that you must tune using the mouse to drag the tuning indicator. Because of the long delay (the buffer time is 2 seconds by default) it's difficult to tune in sideband. There is at least one fork with an open pull request that adds keyboard commands to nudge tuning up and down and the KiwiSDR variant also lets you enter frequencies directly.

It's great that there are increasing numbers of web accessible receivers available. In these times of high noise levels in the cities it can be practical to have a contact by transmitting from home and receiving via a remote receiver.

Saturday, May 25, 2019

WIA conference day at Dural

Today the WIA conference moved to the NSW site at Dural. It was a beautiful day and a good crowd was in attendance to see the stalls, feast on the roast dinner (I'm not kidding), and hear a talk from the incoming president and some technical talks.

As you can see on the right, Peter, VK2EMU, has outclassed Stephen, VK2BLQ and I in the home brew headwear department. He was sporting a monogrammed red berét.

Their were many fine displays under sturdy tents with lots to see and ask about. The home brew group had an excellent table as always.

Incoming WIA president, Gary, VK2GPK, gave a rousing speech and then it was on to the first presentation by Rob, VK2DIO on the Allstar system.

Al was brilliant at quelling the enthusiastic crowd when they got a bit rowdy.

I had to slip away before the second presentation but I'm sure the standard was high.

Thanks to the WIA and ARNSW for another very well run day.

Attended the WIA Annual Conference

Today, for the first time, I attended the Wireless Institute of Australia's annual conference in Sydney. (Or "two days in may" as Stephen, VK2BLQ, suggests).

The conference was very professionally run, in a great venue, with excellent facilities and food. I can't speak highly enough of the organisers.

While I primarily signed up to go to the technical sessions, the annual general meeting was surprisingly interesting and even edgy.

The WIA has experienced some turmoil in recent years and the board who run it now are a fresh group and seem to be doing an excellent job under the circumstances. The financial reports and general reports were presented and all seemed well.

Peter Wolfenden, VK3RV, was awarded a beautiful and well deserved medal. (Pictured here with Jen, who I can personally attest makes a wonderful sticky date pudding).

There is some controversy as the WIA last year lost the ACMA contract to run the license exams. This removes a source of funding and there was some soul searching about why this happened. Next, a new organisation representing radio amateurs in Australia has appeared called RASA. The Radio Amateur Society of Australia.

Reading the financial report I noticed that the membership numbers are declining and that decline is accelerating. I've drawn a graph here:

RASA is rumoured to have about 600 members and it's possible that some of those have quit the WIA and joined them.

I asked a question without notice about this decline and if the board had ideas about why it was and what could be done about it.

The answer was a detailed and well presented discussion of the issue but essentially we are facing a problem unless something changes.

On the technical track I attended David Rowe, VK5DGR's excellent update on FreeDV. There was a fantastic demo of the upcoming high quality 2020 mode which for the first time uses machine learning in the speech generation.

The session on Cubesat missions and how one was reactivated after antenna deployment failure by Tony Monger, VK2KZ was fascinating.

The epic VK Microwave Tour by David Minchin, VK5KK, was amazing.

Secrets of KiwiSDR by Jamie Campbell, VK2YCJ, was excellent as well.

I've never seen the hardware, which is a "hat" for a Beaglebone (like a Raspberry Pi).

Jamie demonstrated using the VK2DDS receiver via he also mentioned that KiwiSDR can decode multiple WSPR bands simultaneously but with the addition of a Raspberry Pi it can even decode 8 bands simultaneously.

Tomorrow the conference moves to the regular meeting and Dural and mostly likely I'll have more to report from that.

A great day, very well run.

Friday, May 10, 2019

Election material here in Warringah is overwhelming

I live in Tony Abbott's safe seat of Warringah. Recently I started collecting campaign material that has been turning up in targeted ads on the internet generally and social media sites such as YouTube, Facebook and Instagram. There's a lot that turns up by post too.

The majority of the material is anti-Zali Steggall. A lot of these negative ads don't even mention Tony Abbott so I guess they think that he's a bit of a liability and it's better to go negative and leave it to the voters to hopefully tick his box.

I've had personalised letters from Scott Morrison and John Howard. Here's a collection of things arriving in the letterbox.

It's interesting that Morrison says "I understand that many people in Warringah have strong opinions about your local MP, Tony Abbott".

John Howard's pitch came on rather dated looking letterhead and basically frames Tony as an old mate. Howard has some other mates too, that's not necessarily going to save him.

There's an anti-Zali billboard up on the fence at the school oval - which strikes me as inappropriate.

Zali has sent a few notes and we've had door knockers from her side too who seemed to think that it's going pretty well for her.

A mobile billboard came around one day and it was amusing to see it parked next to a tiny Tony poster.

There has been some mail from Zali.

Clearly there is support in this suburb on both sides and some houses have put up posters, sometimes they face each other.

Most striking have been the unrelenting negative ads I got every time I opened Instagram.

In the end I reported the ad as misleading and that's stopped them for me. The funny thing is that sometimes they left comments on and they're pretty funny as you might imagine. (Click images to enlarge them).

I've been surveyed several times and had a live call from someone who said that Tony had asked him to call to check that they have my support. Yesterday this text message came through.

Interesting that the issue today is a tunnel or not.

Tony Abbott and team are spending serious money here, I guess that means they're genuinely concerned. It's been a very negative campaign on the Liberal side. The drumbeat line saying that a vote for Steggall is a vote for Labour may not work if there's a big swing to Labour.

Friday, May 03, 2019

Prescription glasses for $22? Yep.

Prescription glasses often cost me hundreds of dollars. As I end up buying a few pairs of reading glasses, sometimes sunglasses and a bi-focal or progressive lens it gets very expensive. My eyes change quite a bit every two years.

I feel manipulated during the process. The eye testers are now connected to a retailer and they do what they can to not give me the measurements. They really try to push you to the retailer to buy glasses. I insist though and make sure it's legible.

This year at a supposedly low cost place the sales person showed me a presentation on an iPad that explained that for $100 I could get progressive lenses with a narrow clear area, for an extra $100 I could get that good area wider and for yet another $100 I could get a wider clear area. Given that lenses are all made on a computer controlled grinding machine I asked her to explain why it costs more to get a different curve on the lens?

She could not justify the cost so I just went for bifocals with the lowest density plastic. I carefully noted the IOD (inter ocular distance) she measured so I could order on line.

There are numerous up-sells including amazingly expensive frames, various anti-glare coatings and hardening, but they do give you a little bottle of cleaning spray and a soft cloth. (Here's a tip - get isopropyl alcohol from the hardware store and clean them with that).

I ordered a pair of prescription glasses from Aliexpress and paid just AU$12 including frames and shipping.

The glasses take a few weeks to arrive and they are great. The lenses are correct for my eyes and the frames are good. The density of the lens is better than what I got locally. Interestingly they describe lens index as:

"Lense index is numerical representation of the speed when light enters the transparent medium. Lense index more higher, the lense more thinner. Please choose suitable number based on your own circumstance. And 1.59PC is for impact glasses."

After this initial success I ordered two pairs of reading glasses and I've now ordered a pair of progressive lens glasses which cost $130 but still a fraction of what they would cost locally.

A story in the LA Times recently suggests that we are being conned by the industry "The bottom line: You’re paying a markup on glasses that would make a luxury car dealer blush, with retail costs from start to finish bearing no relation to reality."

There are numerous sellers on Aliexpress and I suggest looking around. I went cheap, but it's probably worth paying a bit more.

Progressive Multifocals too

After the success with single focals I went on and paid $135.50 for a pair of progressive multifocal glasses. These have arrived and are excellent. I have paid $500+ for the equivalent locally in the past.