A Better Option than the PyPortal for a NTP Clock?

In the prior two posts I discussed the mistake made on the PyPortal that rendered all timing very inaccurate (was that 1000 Hz PWM tone actually 970 Hz or 1030 Hz or somewhere in between?).  Adafruit suggested adding a RTC, but that wouldn’t fix the PWM issue (or any other timing related issue).  So the PyPortal is probably simply not the right solution for anything that requires fairly accurate timing.

There is a new Arduino form factor device, Adafruit Metro M4 Express AirLift, that combines WiFi with a ARM M4 CPU.  The price point isn’t too bad at $35.  Add another $35 for an Arduino Touch Screen Shield (2.8 inches, slightly smaller, sadly).  So now the BOM is $70 plus the cost of a case.  But it is worth noting that this cheaper M4/WiFi device did include the 32 KHz crystal.

But this does beg the question, if it isn’t just easier to stick with the original NTP clock solution with slightly different hardware (a RPi Zero W, with 2.8″ Touch Screen).  That’s a $49 solution.  In fact one could bump up to the 3.5″ Touch Screen, with a BOM cost of $59.  That has the advantage that there are nice mounting holes for screws on the display (the RPI Zero W plugs onto the back of the display)

Posted in Arduino, NTP, NTP Clock, Raspberry Pi | Leave a comment

PyPortal NTP Clock – Part 2

The PyPortal does have a 4-pin JST connector on the side, which makes it easy to hook up a IC2 Breakout like the DS3231, which is about 1 PPM accurate, or 3 seconds a month.  That is a heck of a lot better than the 16 HOURS per month error due to a lack of an accurate internal clock on the PyPortal.  But that adds about $15 to the cost of the bill of materials, and looks ugly as heck.  It also requires cutting a trace and installing a jumper as the power on that 4-pin JST connector needs to be 3.3 volts, not the default 5 volts.

Why the designer of the PyPortal didn’t at least put pads on the board to allow a user to install the crystal and two caps, which could have been done for zero cost, I don’t know.  I can remember building boards for my company and doing exactly that, being unsure if early RC timers would be accurate enough (they weren’t).  Probably didn’t bother to check and see how dreadful the internal RC clock was and just assumed it was good enough.

Posted in NTP, Projects | Leave a comment

PyPortal Auto Rebooting Endless Loop

A few years back I made a NTP clock for my station.  I was always obsessed with time accuracy, and a RPi running NTP services filled the bill quite well.  That clock was always within a fraction of a second of spot on.  And it automatically adjusted for DST/STD plus recovered from power failures nicely.  I have found it far more dependable than Windows (which has a crude implementation of a NTP process to automatically set Windows time).

Time has passed (pun), and a potential replacement is a “PyPortal” from Adafruit.  With a nice stand, this device sells for about $65, a bit cheaper than the original part list for the RPi version.  It has a nice graphical touch screen too.  It is about 3.5″x3.0″ with the case.

In the photo above, it is running a tide chart program for today (can be found here).

The jury is still out, as it is not clear that this board is capable of sustaining accurate time keeping without frequent NTP calls (which is a very bad thing).   It has been gaining about 80 seconds in an hours time (at which point a call is made to refresh the NTP time).  That’s about 3% accuracy.  Initial investigation reveals that Adafruit’s designers chose NOT to use a 32 KHz crystal (saved them about $0.40).  The Microchip specification is that the internal RC oscillator is only accurate to about 40 parts per thousand out of the box and improves only slightly to 30 parts per thousand when “software calibrated” by the user.  Clearly NOT adequate for timekeeping by any stretch of the imagination.

=============================================================

The other issue I ran into today when trying to load the graphical tide chart program, is that my unit kept resetting over and over again when attached to a Win10 machine.  I would see “Autoreload is on. Simply save files over USB to run them or enter REPL to disable.” endlessly on the PyPortal Screen.  Something was badong

I fixed the issue by clearing the PyPortal flash drive back to default value.  I did this by using the MU Environment, opening up the Serial Console and issuing typing <Ctrl><C> to stop the endless reload cycle.  At that point two lines of code were entered using the serial console:

Of course the above blows away the contents of the flash drive, so you will need to upload all the libraries, fonts, icons, and code (don’t forget the “secrets.py” file too).  When I did that the problem went away.

BTW: The board pulls about 160ma from a 5 VDC supply (MicroUSB cable).  That’s about 6.5 KWH per year.  I will explore power reduction options.  This is a “low power” device, of course, but it points out that even low power devices add up when running 24×7.

Posted in From the OM, Projects, Time | Leave a comment

Checking Out the Sat Gear for Field Day

As my wife was traveling, this was a perfect time to grab the satellite gear, setup the antenna in the driveway, and keep the radio gear in her side of the garage.  I envisioned making dozens of contacts out to the west coast (despite obvious tree coverage).  I spent an hour carefully assembling the antenna/rotor/tripod and attaching all the RF and control cables.  Battery, rig and computer were setup on the table.  But wait — where the heck was the Az/El controller?  It SHOULD have been in the same box that holds all the support gear (headset, keyer, USB cables, etc.).  RATS!  That was 10 AM Saturday.  I went through the garage without luck and started crawling through boxes in the basement.  By 7 PM I gave up.

The next day I started again at 7 AM, searching everywhere I could imagine.  I had already sent out a “Missing” email to my club members with a photo “Have you seen me?”.  I’d even emailed and called the vendor to check on a replacement.  With my wife coming home at 3 PM, I was running out of places to check, but finally found it around 2:30.  I am sure during Saturday and Sunday I spent at least 12 hours looking for it.  Still, WHEW!

Later this afternoon I hooked everything up and was happy to see that everything worked as expected:  Toughbook still talked to the Portable Rotation Az/El controller, and still controlled the uplink/downlink frequencies.  I was even able to track XW-2F through a pass, and the uplink was still centered in the downlink as I expected.  So my Field Day checkout is complete!

Portable Rotation Az/El controller on left, Icom IC-910H on right. Bioenno LiFePO4 battery in background

 

Toughbook running SatPC32 in foreground and tripod with rotors and antennas in background

Posted in Antennas, Contests, Satellite | Leave a comment

VUCC Satellite #435 Arrives!

I had applied for VUCC Satellite on May 4th, but I failed to check a box that would have resulted in the certificate being sent my way (Bad Bob, bad!).  I realized my error quickly when that auspicious “*” didn’t show up the next day in LotW indicating the award had been granted.  A few voicemails and emails later and Sharon, the ARRL Awards Manager, helped correct my mistake on May 9th, adding in a few more contacts in the process to bring me up to 106 confirmed grids.  The negative aura of my original mistake hung around a bit, until Sharon worked her magic again a few days ago. Certificate #435 arrived today in the mail.

While the ARRL maintains a updated list of VUCC members, including the satellite version, it only indicates the total grids confirmed, not the certificate number.  The lowest number I have been able to find on the internet was #65 by Charlie Ho, VS6XMT, issued in November of 1996 (so 23 years ago).  I hope to discover when certificate #1 was issued.  In any event, only 370 more have been issued since Charlie got his in the past 23 years — that’s about 16 a year.

I am surprised more satellite folks don’t strive for this award.  Even on FM birds, thanks to many Grid Roving stations, it will take far under a year to work 100 different grids and get them confirmed in LotW.  But it may be that the vast majority of satellite users are mostly weekend only operators.

Posted in Awards, Satellite, VUCC | 2 Comments

Now running PHP 7.3.5

Only tangentially related to ham radio, but it did have an impact on this blog, so I thought I would document things.

I had changed from Godaddy over to HostGator a year ago when it appeared the only options offered by the former for enabling HTTPS was going to cost me hundreds of dollars a month.  HostGator was ready to offer HTTPS for free (for those of us not doing eCommerce, which I wasn’t).

I have been fantastically happy with HostGator ever since I changed over.  They saved me a ton of money and I never have any strange quirks which I always used to have before (like doing an update of a plug-in would sometimes stick the site in maintenance mode, or backups would time out).

With the latest version of WordPress installed, WordPress itself started complaining of an out of date PHP version; a potential security flaw.  I went over to the cPanel and the PHP tools and discovered that HostGator was only allowing an update to version 7.1 of PHP, plus they called it “not stable”.  During a quick online service chat I was informed that HostGator had not updated to the latest version of CPanel yet, but they were happy to manually change me over to the latest PHP 7.3.x version.  I had called them on a Saturday and it was done on Tuesday.

So now WordPress is very happy, my site is much more responsive, and I continue to be impressed by HostGator.

Posted in Computers | 1 Comment

Application in for Volunteer Monitor Program

The ARRL and FCC have been wrangling over the Official Observer (OO) program for a bit, and the OO program was shut down.  In its place, a Volunteer Monitor program is in the process of being established.  Details here.

After a bit of poking around, I found the application, filled it out, and submitted it.  Given my interest in metrology, it seemed a natural fit.  We shall see.

(Edit 5/30/19: I received a confirmation that my application had been received by the program manager, who said “We are working though all this in the next several months”.  Sounds good)

Posted in Volunteer Monitor | Leave a comment

First FT4 QSO

I finally bit the bullet and installed WSJT-X version 2.1.0-rc5  I figured why let everyone else have all the fun!  (I can admit that debugging new software can be a huge time investment).

Anyway, installation went fine, but you must read the user’s manual in order to understand how to “Clone” your original settings into a new one that can be modified to add the frequencies required for FT4.  Just Read The FT4 Protocol Manual and you will be golden!

Within less than 2 minutes of starting I had my first FT4 QSO with W5I.  And the QSO, which included one retry on the “CQ”, took 42 seconds — 30 seconds if you take out that retry.

The waterfall does look different because the FT4 signals are significantly wider and the TX/RX cycle is MUCH shorter.  The image below illustrates this well.  The top 2/3 is FT4, while the lower 1/3 is FT8.

Since FT4 isn’t part of the official ADIF standard yet (a few more weeks to go), LotW isn’t accepting FT4 as a valid mode.  You need to have it force “DATA” in tQSL.  Also if you use HRD like I do you need to add the new mode into HRD.

In HRD:

In HRD Log, click on Tools/Configure/Modes then use the ADD button to add in FT4.

(Ed: Feb 4, 2020 — The comments below, concerning TQSL, were based on the ARRL recommendations prior to their adding support for FT4 in a version of TQSL that released a week after this post.  Things have been fine since then, and assuming you have a current version of TQSL, you shouldn’t have to do anything (so no need to add a new ADIF Mode and change it to DATA))

In TQSL:

File>display or modify preferences>ADIF Modes.  Then click on “Add” and enter FT4 in the “ADIF Mode” box.  Then highlight “DATA” in the list of “Resulting TQSL mode” entries, then click “OK”.  You are all set!

Posted in Digital Mode, FT4, FT8, LotW, WSJT-X | 4 Comments

… then one, and done!

With the help of Manuel EA5TT and a CW QSO on FO-29, plus a QSO with Frank WA2NDV on the next pass, I have received LotW confirmations for 100 different grid squares, which qualifies me for VUCC Satellite.

Many thanks — this has been a fun chase that took 45 years to complete — Satellite QSO #1 was via AO-7 back in 1974 (Using my New York call sign WB2ZIB).

Posted in Satellite, VUCC | Leave a comment

And then there were two…

A nice surprise this May Day, for my VUCC Satellite effort.  I am now up to 98 confirmed grids.  So five new grids were added in April.  Perhaps I will get two more in May!

Posted in Satellite, VUCC | Leave a comment