16 November 2022

Arduino based AVR ATmega fuse doctor

Given the ongoing semiconductors shortage and needing urgently a bare ATmega168/P/328/P chip, I had to reset two 168's unresponsive to the usual avrdude programmer command.

Actually I could have spent about 10€ to buy an ATmega328P rather than spend two hours assembling the fuse doctor.

According to my own blog posts, back in 2010/2011/2012 I had already built a fuse doctor, but the link doesn't work anymore. Well, I found this Fuse Reset by Thuta Kyaw on Instructables. It uses an Arduino Nano, which I still had at home. This time I decided to do a permanent build, in case I will need it again 10 years from now.

My build of Thuta Kyaw's Fuse Reset.
My build of Thuta Kyaw's Fuse Reset.

Building it with wires requires patience and a steady hand. There is no radiofrequency involved, so there's no need to do careful planning of the layout.

Operation is easy. Fit the ATmega patient in the socket, apply 12V, wait few seconds for the LED to switch off. Enjoy.

07 November 2022

OpenSCAD for 3D printing

If you are a software programmer/developer of some sort in any high-level language and you need to design an object for 3D printing, I think that OpenSCAD is for you.

I am designing a case around a PCB I have ordered. It's a cylinder with a diagonal cut, three supports for the PCB and two holes for the buttons. In OpenSCAD the final object is described as sum/difference of basic shapes (cylinder, cube, ...) in a simple programming language.

The GUI provides both auto-completion and 3D preview.

The following code makes an empty cylinder with a diagonal.Try reading it through:

module cylcut()
            cylinder(h=80, r=39);
                cylinder(h=82, r=37);


There is a long way to go and learn before I get to the STL file for the printer, but I like it!

18 October 2022

HP 3734A Electronic Counter

I really enjoyed Mombarone HAM Fest (near Asti, Italy), October 2022. The visitors flow was relaxed and I could spend time looking above and below stands.

In a corner I spotted a device that supposedly contained Nixie tubes. The seller, who had a stand of regular wristwatches, said: "it's for the Nixies". It was wrapped in plastic, I could see it had physical damage. He asked 15€ but had no change, so I raised the swap to 20€, which is closer to the current ZM1022 quotation (2022AD). That's 4€ per tube, plus the transformer and .... a true HP device!

So I got an "HP 3734A Electronic Counter". The Nixies tested OK for gas but one side of the case has heavy damage with broken aluminium brackets! The plastic display bezel is broken as well as a corner of the protective glass (it is composed of an orange plastic sheet over a clear glass).

As looked from above it is also not square but a bit rhombic. Nothing a light hammer and a 3D printer cannot fix, right?

Since I had nothing to loose, I powered it up (with the right "163" cable). This was the pass mark to decide on fixing or scrapping the whole device (minus the Nixies).Well, the verdict is "fixing" since it did power up! Without smoke.

I haven't found a free PDF manual online, but it's not that hard to understand how it works, showing either a frequency or its period. Unfortunately it doesn't work even if the internal 100 kHz oscillator is runnng.

There is also a pulse counter function controlled with start/stop/reset buttons which obviously bypasses all signal conditioning and averaging circuitry. It counts either an EXTernal or and INTernal source. Well, selecting "INT" on the front knob combined with "INT" on the backside switch makes the counter use its own 100 kHz clock as source. Et voilĂ , Nixies were running as soon as I hit "START".

If the case can be re-aligned and rebuilt, there is enough working electronics to make a five digit clock. A big plus is that input/start/stop controls are available on the back panel too so everything can be hidden inside or behind. Nice!

HP 5512A-4A display boards

Each Nixie is mounted on a removable board. The concept of this 3734A is similar to HP 5212A, 5512A, 5232A, 5532A counters from the same lustrum (1960-1965) as they share the display architecture. Earlier 5512A had the option to install a board with 10 neon lamps or with the "inline" indicator (a Nixie).

I will look for a manual of these other devices to grab an idea of the circuit diagram.



HP 5512A-4A insideEach display board uses a mix of transistors and a rudimentary integrated circuit as visible in the last picture (click to enlarge as usual).

Next step is to remove all boards and try to straighten the case.


26 September 2022

Almost working circuit with 6LO1 CRT

A square little 6LO1 CRT and associated circuit.
A square little 6LO1 CRT and associated circuit.

The are a few reasons why I bought this homemade circuit originally meant to display the two ellipses when tuning an RTTY signal:

  • it has a small CRT, probably 6LO1
  • it has a proper transformer with filament and HV
  • it might not work right out-of-the-box 

I was three times right! The CRT lights up and responds to both X-Y inputs but

  • it is out of focus
  • the beam doesn't reach display ends
  • something overheats

At closer inspection I saw that a resistor has suffered some form of heat shock. One resistor is floating and the wiring is close to a nightmare, let alone the routing and crossing of high voltage lines.

I do have the schematic diagram which matches the PCB (oh, BTW, it is double sided but the magazine showed only the bottom side). But schematic and component placement (not shown here) differ with values especially in the CRT bias network.

The schematic diagram: it's a starting point!
The schematic diagram: it's a starting point!

Well, it is not a complex circuit and with some extra parts I should be able to get it running... one day. I should also add a Z-axis control if this is going to become a clock.



17 September 2022

A simple way to 77 GHz

The Italian government has approved a new frequency allocation document, so I checked which changes would impact the amateur radio world. I also looked at "our" bands in the GHz range and I saw we share 77 GHz with many other users.

Since I was "lucky" with 24 GHz radars, I hopped to the usual Chinese online marketplaces to see what they sell on 77 GHz.

It turns out that 77 GHz are currently used in automotive radar sensing and of course there are modules for sale.

Looking at pictures I identified a product name: Continental ARS-408-21 Radar. There is documentation on the Continental Engineering website (they also have other 77 GHz radars), so it could be adapted for a simple HAM RTX without too much "guessing". They claim to be able to detect objects at 1200 meters, much more than my 24 GHz radars.

So, probably simple but not cheap, though! These modules are currently (2022/09) selling at 80€ each, so I will just observe how the market evolves and prepare in case their price drops.


11 September 2022

Italian RAI has stopped medium wave service.

As of today, Sunday September 11th, 2022, the Italian national broadcast RAI has stopped all its medium wave transmissions. 567, 657 and 999 kHz have gone silent.

In most of the Italian territory there are no signals to be received in MW during the day with a domestic receiver.

Time to put into service those 1.000 MHz canned oscillators?

28 August 2022

Summer 2022 PCB Collection

In order to reduce the impact of returning home from holidays, this year I prepared a small present that would make me want to get back: not one, but three PCBs!

In July I designed the PCB for a secret project (it will be a birthday present). Then I added a board to simulate the spin of the WE6167 dekatron. And at the last minute I designed a board that would modulate either an HB100 or a CDM324 radar transceiver.

Each design is packed separately.
Each design is packed separately.

All the design was done in KiCAD 6 and each board had some challenges to learn something new: proper Net spacings for HV, new component footprint that includes a large "hole", adding an ICSP connector.

I chose JLCPCB as fabhouse, but I needed to slow them down so that the packet would arrive once I am already back at home, not before.

First of all, I chose three different colors for the three designs, and these colors take two extra days for production.

I submitted the order on a European Saturday afternoon and it went in production almost immediately: I didn't check that JLCPCB respects business hours, but they are open 7 days a week! Little mistake on my side, I lost one day, but otherwise I would be tempted to make more changes to the boards.

Then I paid for the slowest shipping option.

Why all this trouble? I didn't bring a computer with me on holidays, so I had to submit my order before departing.

Who came home first? PCBs, of course! They beat me for 2 days, shipping was too fast.

The secret project has passed the hardware smoke test and is now in the hands of the firmware development team (it's always me).

Three designs, three colors.
Three designs, three colors.