In the first post in the series, we looked at the Garmin 18x LVC “puck”. We talked about a particularly insidious issue that affected [Andrew] – both of his GPS units. And we saw that Oscilloclock owners really need to be able to update the firmware in these units.
In Part 2, we went through the design of an Oscilloclock Garmin 18x USB Adapter, that would allow the GPS to connect to a PC where the Garmin software runs to upgrade the firmware.
Now we conclude the series, with a treatise on the construction of the Adapter. Enjoy!
The final design
Here’s the design we arrived at in the last post. Let’s go through the steps to build it!
Fish out Fake Chips
The key component required is a decent TTL serial to USB adapter with programmable inversion on the signal lines. But here we have to careful: many low-cost adapters out there are built around fake FTDI chips!
As mentioned before, we at Oscilloclock are pacifists. But if we were to wage war against anything, it would be fake components. They are unsafe, unreliable, unworkable, and entirely unethical. You get what you pay for, if you pay the right people. The people who design, manufacture, and support the real McCoy.
Besides ethics and reliability, there is also a practical reason we must avoid adapters based on fake FTDI chips – often the fake chips are not programmable. A true no-no. So watch out.
Program the inversion
FTDI provide a nifty utility called FT_Prog. Below shows the utility running on a PC with the adapter connected, and configuring to invert the transmit (TXD) and receive (RXD) signals.
Dividing the input signal
We need to figure out the most elegant way to install the voltage divider – the two resistors we described earlier that reduce the impact of noise.
The cleanest way seemed to be to install the 1.2k shunt resistor directly across the receive and ground pins in the adapter itself, as below.
What about the 270 ohm series resistor on the RXD line? Well, installing this inside the adapter unit itself would require cutting tracks on the PCB. And that would compromise our effort, reliability, and aesthetics goals! So instead, we’ll insert this into the cable later on.
Cable Connector Conundrum
Recall that [Andrew] has two Garmin 18x units – one fitted with a small GPS connector and the other with a large connector. Wiring up two independent cables would have been natural. However, the TTL Serial to USB adapter came with only one cable pre-fitted with the necessary “DuPont” (a.k.a. Qi or 2550) connector.
What’s the big deal? Surely we can just attach a Qi connector to another cable?
Ha! Connector tech is never that easy! It turns out that to make a perfect connection with Qi connectors, you need a special crimping tool. The Oscilloclock Lab does not have this tool. And we do NOT compromise on perfection! Given that this adapter is not the best reason to invest in an incredibly expensive tool, we decided to use the single pre-fitted cable and split out to two GPS connectors, with the larger one serving as the split point.
(In hindsight, we could have separately purchased another quality cable that was pre-fitted with the connector. Next time, folks!)
Wire up the cable
Our beloved ultra-quality Hirose connectors are a joy to look at, and a joy to use. But wiring the tiny smaller units up with high precision doesn’t exactly “spark joy”. Still, we persevere…
Now we need to install the 270 ohm series resistor. We simply cut the wire and splice it in.
A bit more heatshrink applied, and we’re done!
Closure at last
Using the 18x USB adapter, [Andrew] is at last able to upgrade his pucks and enjoy his clocks in their full glory with GPS-synchronized time and date once again!
Instructions for how to upgrade the software are posted on the Support – Garmin 18x page.
Did you enjoy this series? Stay tuned for more, as Oscillolife returns to nor….. Okay, not quite normal, but at least it returns!
In the previous post, we looked at the Garmin 18x LVC “puck”. We talked about a particularly insidious issue that affected [Andrew] – both of his GPS units. And we saw that Oscilloclock owners really need to be able to update the firmware in these units.
We introduced the Oscilloclock Garmin 18x USB Adapter, that allows an Oscilloclock owner to connect their puck to a PC to enable the firmware upgrade.
In this post, we’ll take a look at the design of the Oscilloclock Garmin 18x USB Adapter. It wasn’t GPS satellite launcher (a.k.a. ‘rocket’) science, but it certainly wasn’t as straightforward as it might seem!
The Garmin 18x LVC electrical interface
Referencing the manual, the Garmin 18x series comes in 3 basic interface variations:
USB – USB 1.x interface, with a USB(-A) connector to plug into a PC
PC – RS-232 serial interface*, with a DB9 connector to plug into a PC, and a massive cigarette lighter adapter plug to obtain power
LVC – RS-232 serial interface*, with no connector – for wiring into a device
18x USB18x PC18x LVC
For our Oscilloclocks, we use the LVC variation and fit an attractive custom connector solution, avoiding the PC variation with its venerable, utilitarian, and aesthetically unpleasant DB-9 connector and cigarette lighter plug combo. (We may buck the trend one day and intentionally fit such sockets into that special retro clock build – who knows?!)
* Astute readers noticed the earlier asterisks. PC and LVC units are not quite true RS-232; their output voltage swings between 0V and +5V. Not so with devices having true RS-232 interfaces! A swing from -25V to +25V is legal and also lethal for any unsuspecting microcontroller. In the Oscilloclock design, we take advantage of Garmin’s voltage range cap to avoid having additional circuitry to adjust voltage levels.
Interfacing the 18x LVC to a PC
To upgrade the GPS firmware, the 18x LVC needs to connect nicely to a PC. But [Andrew] is an Oscilloclock Owner. He deserves more than just a good electrical connection. The interface also must be elegant and aesthetically pleasing, lightweight (for shipping), and easy to build. And – most of all – it has to be interesting enough to write a blog series about!
We can start with Figure 1 in the manual, which describes the most basic interface hook-up possible.
This interconnection option assumes two things: the PC has a DB-9 serial port, and there is a power source.
If we extend this option slightly, to take power from the PC’s USB port, we arrive at this:
A few months ago, [Andrew] – of Metropolis Clock fame – reached out for help. He had just pulled his lovely Oscilloclocks out of storage to put on display, when he observed odd behaviour in both units: the time was accurate, but the date was stuck – to some random date back in 2003!
What on earth was going on?
What’s going on was not “on Earth” after all! [Andrew]’s clocks synchronise time and date against satellites, using an external Garmin GPS unit. And this unit happened to have a serious flaw. In this series of three articles, we’ll look closer at this accessory, identify this issue, and see how we were able to resolve it. Enjoy!
Our longevity dream
We want your Oscilloclock up and running as long as you are – and even beyond! Our dream is to see these beloved devices inherited by loved ones, and even available on the second-hand market as antiques one day.
In an era of throw-away technology, we flaunt an unthinkable target: Decades of trouble-free* operation.
* Excluding the CRT itself – although we really try hard with that as well, as this post explains!
To maximise usable lifetime (and safety!), we construct Oscilloclock units from the finest materials and components available. As part of this, we also select manufacturers that guarantee their components and provide decent after-sales support.
And Garmin is one such manufacturer…
Welcome to the Garmin GPS ‘Puck’
All Oscilloclock models that synchronise time using an external GPS unit have so far been supplied with a Garmin 18x LVC GPS unit, colloquially known as a ‘puck‘. (Note: to extend the lifetime of the pucks, we do not recommend using them on the hockey court.)
Now, this is not the smallest external GPS unit on the market today. But it has been available from Garmin since 2007, and is even being manufactured today! It is one of the most sensitive, robust, and well-supported units out there.
(Of course, for every new Oscilloclock delivered we evaluate afresh based on the latest devices available.)
This puck has a special connector …
How many times have you relegated an expensive laptop, phone, or other random device to the trash just because the power socket or headphone jack failed? Some of the weakest components of any electrical device are its connectors – plugs and sockets.
To combat such failures, your puck is wired with an exceptionally high quality connector from Hirose. This connectivity solution is not only robust, it even feels good! There’s a lovely audible and tactile ‘click’ when you engage the plug, and it locks securely in place. And unlike cheap chrome-plated connectors, we’ve proven that these babies do NOT corrode, even after a decade.
Recent worldly events have taken a huge toll on the crafts and maker community globally. Sadly, the Oscilloclock Lab has not been immune.
It is with a heavy heart that I announce that Oscilloclock will be on official hiatus until further notice, at very least until the end of 2022. We won’t be accepting any further orders or enquiries, but any repair work for existing Oscilloclock patrons will continue to be handled with great passion and gusto.
This was a painful decision to make, but we are battling a perfect storm: extreme parts shortages, high shipping costs and long delays, a suddenly weakened yen (we are Japan-based), and an immediate need for your devoted cathode-ray engineer to focus on his day job and skills training as he reorganizes to go “back to office”.
I’m hopeful that in the coming 6-12 months, many of these factors will go back to ‘normal’, and we can formally resume our beloved cathode-ray activities! Stay subscribed to the site for future updates.
Whether directly or indirectly, the pandemic seems to have slowed everything down: chip production; the global economy; and even Oscilloclock blog post publishing!
But perhaps most impacted of all is transport logistics. [Dante] in Brazil discovered this to his dismay in July 2020, when he purchased an Oscilloclock Bare unit. The P.O. had stopped all air service to Brazil just 3 weeks earlier – well after our discussions had started. Oh no!
[Dante]’s crisp new Oscilloclock Bare, ready to go, but unable to ship!
[Dante] waited patiently for 6 months for the post office to resume accepting airmail service to Brazil. But they never did. And FedEx and DHL came at too hefty a price. In desperation, he authorized shipment by sea – and at last, in December 2020, his package was off!
Absence (of air mail service) makes the heart grow fonder...
After an agonizingly long wait, [Dante] finally received his unit 6 months later – in July 2021. He then spent the next 5 months completing his dream project!
[Dante]’s Dream: A Hewlett Packard retrofit
The Oscilloclock Bare is designed to be a no-frills controller assembly that highly knowledgeable folks can install into their own displays. [Dante]’s dream was to use this to convert his beloved HP 182T / HP 8755C unit into a living, breathing scope clock.
And convert he did!
Question: How do you add ambience to a home?
Answer: Instill new life into a device from yesteryear!
Clearly, [Dante]’s 18 month end-to-end was worth the wait.
The Build
[Dante] was kind enough to supply a write-up of his project, including some clever solutions for pitfalls along the way. Let’s hear from him in (mostly) his own words!
Motivation
The model HP 182T is an oscilloscope featuring a large CRT with a graticule of 8 x 10 major divisions and a display area of 133 cm2, coated with a P39 aluminized phosphor for high brightness and long persistence.
The HP 182T works as a display mainframe supporting other HP plug-in test equipment, such as the HP 8755C, a swept amplitude analyzer.
Both items are nowadays considered “vintage” test equipment. But with the Oscilloclock board installed, they have been transformed into a unique appliance with a natural appeal for practical use. Far better than the regular surplus market destinations, or — even worse — destructive disposal!
HP 182T + HP 8755C. Can you spot the Oscilloclock control board?
Control board installed!
HP 8755C in short
This plug-in unit works primarily as a signal conditioner and a multiplexer for “almost dc levels” from three RF detector probes attached to three input independent channels. There are front panel adjustments for the scaling, gain and multiplexing controls that provide the appropriate Y-Axis composite signal for displaying by the HP 182T mainframe.
The Oscilloclock control board was elected to be installed inside this plug-in unit.
HP 182T in short
This oscilloscope is built around the CRT with its high voltage power supply.
The X-Axis signal from the Oscilloclock board is fed to the HP 182T’s chain of the horizontal pre-amp plus output amplifier, which drives the CRT horizontal deflection plates.
The internal wiring of the HP 182T connects the CRT’s vertical deflection plates directly to the plug-in cabinet of the display mainframe, so the Y-Axis signal from the Oscilloclock board is routed inside the HP 8755C itself.
The Z-Axis signal from the Oscilloclock board is fed to the HP 182T’s gate amplifier.
Wires, wires…. What goes where?
Drawbacks
Contrary to any standard X-Y scope where the two input channels are always supposed to have electrically similar (if not identical) characteristics, the correct operation of the Oscilloclock board for the application here was shown to be not as seamless as first imagined. You have to face some details of these integrated “host” equipment (HP 182T + HP 8755C) to see why…
As described, there are distinct amplification chains accepting the Oscilloclock output signals. This presents specific challenges regarding (a) the differential gain for the X and Y signals, and (b) the differential time delay between any combination of the three X, Y, and Z signal outputs of the Oscilloclock board.
First Approach
Before having the board at hand and expecting to make it work as soon it arrived (the shipping took longer than expected due to COVID restrictions), I first planned the signal flow and did the wiring. I had one eye on achieving a ‘clean packaging’ of the board inside the HP 8755C, and the other on ensuring compatibility between the Oscilloclock’s X-Y-Z output signals and their respective chains planned in the host equipment, considering signal amplitude and required frequency response.
The adaptations made at this time considered a minimally-invasive approach, where the criteria was to “make it simple”. This was limited to just opening or re-using connections and keeping the existing routing, in order to use the Oscilloclock’s X-Y-Z output signals in the most simplistic way possible.
Another necessary one-time adaptation was for the board’s power supply, and integration of its PSON output signal with the equipment’s hardware. This part of the design was successfully kept to the end of the project without any further modification.
First time installation of the oscilloclock board
Upon arrival and a bench test of the Oscilloclock board with a scope, I immediately figured out that the amplitude levels for the X and Y output signals were lower than expected (maybe due to my misinterpretation of the specs). I did the gain compensation corrections again and went thru the complete installation of the board inside the host equipment, anxious to see it working.
What a disappointment when instead, up came a completely distorted and elliptically shaped image, blurred with noise, and what looked like un-blanked retrace lines. Worse yet, mainly when alphabetic characters were displayed on the screen, none of the shapes were correctly formed.
Of course, that was time for a break — and a complete review of the job and the work done so far!
Chasing the problems
The Lissajous figures generated by the Oscilloclock board use an approximately 40 KHz sinusoidal signal, so I started to play with an external generator at the same frequency and amplitude for the X and Y signals (at about 1 Vpp) and trace it inside the HP 8755C and HP 182T.
At this time, I’d already exercised the Z-axis waveform from the Oscilloclock board and the expected processing through the HP 182T. There was no evidence of problems with this Z-axis signal chain, and I achieved a measured propagation delay of around 50 nS.
The minimalist approach mentioned earlier showed its consequences, when a propagation delay of an impressive 8 uS was measured at the vertical deflection plates, and around 1.5 uS at the horizontal deflection plates! It was time again for another break, to elaborate a new routing scheme for the X and Y signals.
Final Approach
From the previous analysis, I ended up with two different and both very large propagation delays for each of the X and Y signals (as compared with the measured 50 nS for the Z-axis). How to solve this? It did not seem to be only a routing problem.
I decided to investigate X-Y-Z signal propagation delays in the two units separately. After a thorough measurement of propagation delays inside the HP 182T itself, comparing with the HP 8755C plug-in itself (where the Oscilloclock board was installed), I concluded on two countermeasures:
1. The complete removal of the Processor board XA-6 from the HP 8755C. (This is where the Y-axis signal from the Oscilloclock board had initially been connected.) Instead, this routing was transferred directly into the Normalizer Interface board XA-11 (which interfaces with the HP 182T).
2. Also at the Normalizer Interface board XA-11 inside the HP 8755C, the substitution of two original op amps U9A and U9B (HP #1826-0092) by TL072 op amps, which are faster and have a higher slew rate.
These solutions were enough to align the signal propagation and complete my project!
Dante JS Conti, 8 November 2021
Like what you see?
We do! We love to hear back from Oscilloclock owners, to hear their stories.
Check out our previous posts and the Gallery for info on other unique creations!