An alternative processor to replace the nano

Gary AG5TX  observes in a post to the BITX20 list that Protoneer has a NANO-ARM board offering for $10 + $5 (US) shipping.  This may be a viable low cost pin compatible upgrade to the nano board on the Radunio with a direct board swap out.  This will give more headroom for coding +more features and still work in the Arduino IDE environment.

https://wiki.protoneer.co.nz/NANO-ARM

The NANO-ARM has the following features:

  • Runs at 48MHz (Atmel SAMD21)
  • 256KB FLASH Memory
  • 32KB RAM
  • Pin compatible with Arduino Nano but runs at 3.3V
  • SAMD21 micro-controller same as used on a Arduino Zero’s.
  • Built in USB
  • Arduino Zero bootloader pre-loaded.
  • 20 I/O pins with 5 extra pins that can be used for I2C/SPI or I/O
  • 6 Analog Pins(ADC) with 12-bit resolution (4096 resolution point vs Arduino Uno’s 1024)
  • 1 Digital to Analog(DAC) pin with 10-bit resolution.
  • Designed and Manufactured in New Zealand

Why the Protoneer?

Gary’s selection criteria were:

  1. More Flash, so people don’t have to choose which options from the already developed software they could load, and more headroom for further development.
  2. More SRAM.
  3. Supported by the familiar Arduino IDE, where the software work is being done.

The Protoneer is:

  1. Pin compatible with the Nano for direct replacement on the Raduino board without the need to spin an adapter board (cost with shipping adder)
  2. Reasonable total cost of the complete upgrade, so it is an option more aligned to Farhan’s goal of a $100 radio.
  3. Can be changed over in a timely manner.

Gary has ordered a board, but has not yet received it or even begun to look at the software changes that will be necessary.  I do know that there will be small changes needed on which serial object is called. There may be other quirks.

The board is 3.3V so the impact of that will need to be vetted. (I see 3.3V as being beneficial).   There’s also a Real Time Clock, but he didn’t spot the familiar Vbat for a coin cell.

Adafruit seems to be doing a lot of development with the SAMD21, there could be trickle down from that, or at least re-assuring of the SAMD21 core.

Reference

GPS and digital modes

Many digital modes (such as WSPR and FT8) require reasonably price clocks which may be assisted by GPS technology.

Hans G0UPL  observes that WSPR does not require GPS. However:

1) WSPR requires precise frequency, the transmission must be within the 200Hz WSPR sub-band.

2) WSPR requires precise timing: transmissions start on the 2nd second of even minutes, +/- a few seconds. An ordinary crystal or worse still, the ceramic resonator on some Arduinos, will not provide sufficient timing accuracy to run WSPR for long.

A GPS is a very convenient and easy way to achieve both of these objectives. On the Ultimate3S kit http://qrp-labs.com/ultimate/u3s the latitude and longitude are also converted to Maidenhead Locator which is encoded live, into each WSPR transmission. Something that is necessary if you want to use WSPR for tracking something (ship, balloon) for example the Canadian C3 expedition http://qrp-labs.com/c3

Speaking of which: Jim N2NXZ’s U3S-22 balloon (running modified Ultimate3S firmware) reached Kazakhstan today. For the second time! It’s already been flying for 23 days, at a little over 9,000m altitude, and completed one world circumnavigation! See http://qrp-labs.com/flights/u3s22 for details and live tracking (using WSPR) during daytime. Big congratulations to Jim!

Reference

W0EB build

Jim Sheldon W0EB says, “Finally I have this one where it will get it’s top cover put on and the radio goes into the ‘go box’.

“With the addition of one of our RadI2Cino cards, an I2C 4 line by 20 character display, a Teensy 3.6 adapted to plug in place of the NANO, this one is on the air in what will be it’s final configuration except for software updates when we release them. (External USB connector in place so the cover need not be removed for remote control or Teensy 3.6 programming. One nice thing about using the Teensy is the built-in Real Time Clock! UTC time displayed on the screen and with a backup coin cell battery, the clock stays active even when no +12V is applied to the radio.Also, I added Don, ND6T’s neat little AGC mod and boy does that work nicely.”

Here are a few pix of Jim’s radio as it now stands.

The panel showing the real time clock & voltage monitor on the screen — that V308b is a beta version of software and even though it was compiled on 04/01, it isn’t an April Fool’s Day joke.     This radio has a Teensy 3.6 processor, not the NANO.  RadI2Cino is available for sale in kit form, but the Teensy adapter is still prototype (and may never be offered) and without the Teensy you won’t see all the info on that display.

V is on/off for the input voltage (+12 rail) monitor, R is either N or R and indicates paddle interface normal (Tip=dot) or reverse (Tip=dash) and B indicates Iambic Keyer, mode B (A or B is selectable. T800 = CW side tone frequency – adjustable from 400Hz to 1KHz and S25 = built in Iambic keyer speed adjustable from 5 to 50 WPM. FUN=Function (same as encoder switch) the other one is the A/B VFO select and a hold gives you “Split”.

And inside … The filter on standoffs is a broadcast band interference filter. Jim has a 500 watt AM station less than a mile from the house and also KFDI’s AM station (10KW) 3.5 miles from the house. This filter is very necessary to keep them out or no ham signals could be heard.

And a close up of the interface to the 2004 display:

Reference

Microphones galore

Constructors have been uploading their microphones.  These are included in a single gallery called “microphones” and will be separated out into their own group with a separate link shortly.

 

uBITx is a performer from Day 1

Dave K0MBT says “I wasn’t really trying but this is still only the 4th day that I have had my µBITx.

“Using phone I was able to work stations from coast to coast of the United states. I did it on the 80 meter band using a homemade trap 80/40 dipole. My radio put out about 25 watts PEP. My power source is a 10 amp linear 13.8v Tripp-Lite. I am using the stock electret microphone.

“I logged stations in Maryland, Florida, New York, Montana, Utah, California and states in between. Most gave me signal reports of 5/4 to 5/9.  I got a couple of 4s and a 3/3 I got a 2/1 when working a Missouri station, but then I am located in Missouri. The longest contact was 1500 miles in Northern California.

“Have also done some CQ ing on 7277. I did find two Hams with bitx radios: One that had his radio out of the box but had not put it together. The other was N3GO Gary in Raleigh NC. He has a BITx40 that was modified. I talked to him on both my µbitx and my Bitx40. He said that there was not much difference in signal. I definitely hear better on the µBITx.”

Reference

VK2ETA automatic L-match using separate arduino nano

John VK2ETA has uploaded an updated folder to the BITX20 IO Group list files section.   This adds new schematics for his Antenna Tuning Unit (ATU).

ATU Design objective

1. Fits in the limited space of my Jameco case (Jaycar case here in Oz), on my second level board.

2. Tunes long wire and EFHW (worst case with the help of a 9:1 balun).

3. Works 80m to 10M.

4. Memory tune to save power and time.

5. Negligible power consumption when not tuning.

6. Must integrate with the extra (planned) features like SWR measurements, Finals’ current limiting, and power supply monitoring, and more

Design

John settled on using a second Arduino and an L-Tuner network despite some limitations when compared to T or Z-match networks that seem to require three adjustable elements for 80 to 10M coverage.

The 2nd Arduino has the following advantages: at around US$3-5 it is much cheaper than extra I2C analogue and digital I/Os, plus it gives another 30K of programming space and 1K of EEPROM for memory tuning. It can be put in low power mode when not tuning,  as John uses the Mini Pro version (no USB port), and communication is via the I2C bus to the Raduino.

John needed an SWR meter.  He chose the Don Cantrell (ND6T) circuit as a perfect match.  He made it on a daughter board that plugs directly into the connector after the LPFs.

Browsing the internet and looking at previous solutions like the SLT+ and the Altoid Long Wire Tuner, I settled on 6 inductance values.

Switching the inductance could be done with relays, but that means 5 bi-stable relays and ten digital outputs. Same issue with the variable capacitors.

I decided to use an RC servo controlling a mylar variable capacitor and another one controlling a rotary switch for the coils.

The first challenge was to have a way of switching the capacitor from the antenna side to the transceiver side to match both high and low impedance antenna loads.  One option was a bi-stable relay.   The solution John settled on was to use a double wafer rotary switch with 12 positions and dedicated 6 of them to the capacitor on the input and 6 on the output.

He needed two digital outputs for the PWM generation for the servos and one for cutting the power off to the servos (using a common positive supply).

His main concern was the possibility of the servos not handling RFI. But in the end they were easy to tame.

The next challenge was to find a servo that could do 360 degree rotation (or at least 345 degrees) to cover all 12 contacts on the rotary switch.  There are quite a few servos that manage 180 degrees, but he was unable to find one that did a full 360 degrees. Please note there are many so-called “360 degree” servos available but they are “continuous rotation” servos and do not move to a position, just rotate at a certain speed, with no position feedback.

The first solution he tried was to use a 2:1 gearing and a 180 degree servo. It worked but was not very reliable due to the additional backlash, even with a larger servo to compensate for the power loss in the gears.

Luckily there are now “Sail Winch Servos” available in 1, 1.5, 2 and more turns, but that retain a position control. John chose the 1 turn version, which worked successfully.  It is a “GWS S125 1Turn 2BB Sail Winch Servo”.

The key challenge he faced was to ensure that the servo would settle pretty much centred on the rotary switch contacts. The angular resolution of the servo is sufficient for this but he needed repeatability. Otherwise he would destroy the contacts through arcing.

Since John controls the supply of RF power to the antenna, he can cut the power off when he changes contacts on the rotary switch.   He used a digital input on the Arduino to measure whether the contacts had been established or not, and thereby form a map of the location of the contacts relative to the angular position of the servo. When the contact is established you should get a short to ground through the coils. A pair of 1 M Ohm resistors to feed the 5V and connect to the Arduino pin,  worked very well.

He  builds the contact map once, at first tune, and uses it thereafter until the rig is powered down. It may be possible to store the map in EEPROM, but stability over time and with temperature changes hasn’t been checked.

When the servo is moved from one contact to the next you can again check at what angle the contact is established or lost to compensate exactly for the backlash. A bit of software does this, and it works quite reliably.

John has shielded the ATU with sides made from PCU board to prevent stray RF.  Apart from the capacitor servo, which occasionally displayed small jitters, the rest did not really need shielding and worked quite well without additional effort.

The main components are:

  • Arduino mini pro or nano
  • Variable capacitor and micro servo’
  • Rotary switch 12 positions with two wafers (it could be one wafer and less positions and a bi-stable relay)
  • A “one turn sail servo”
  • a P-Channel Mosfet for servo supply
  • a 5V regulator dedicated to the servos’ power,
  • the components for the ND6T SWR and Power bridge.
John uses the following I/Os on the 2nd Arduino:
  • 4 digital I/Os of which 2 are PWM
  • two analogue inputs
  • the I2C (A4/A5) lines.

John found he had enough I/Os left for the other functions that he wanted to implement on the second arduino.

Performance: With a 21m (69′) long wire and a 10m (33′) counterpoise on the ground John found he coul  tune all bands ( 60M wasn’t tested, as VK still doesn’t have access to this band), with an SWR of under 2 at all times.

A full tune sequence takes 32 seconds if the matching coil is in position 12, and a memory tune is around 3 seconds. At first tune after power-up, there is an additional delay of 15 seconds for the rotary switch contact mapping process to complete.

Total parts cost is around AU$130 (US$100 approx.), but a lot cheaper in the USA and other countries I am sure and quite a few items could already be in the junk box.

Pictures

1. A complete view of the unit with the shields in place. Also the Android hands free headset (with modified software for push-on/push-off PTT).

2. Second Board (double sided fibreglass as a ground plane, plus sections of vero board) with the MAX9814 AGC, the SSM2167 mic compressor, the ATU circuit and Arduino.

3. The back of the unit with the ATU toroids, variable capacitor (the angling is to align it with the servo’s angular range), the SWR/Power bridge. Note that three toroids are used to minimise losses and prevent high voltages since the unused turns are not shorted out as in some designs.

4. A top view of the coupling of the micro servo and mylar variable capacitor.

5. A top view of the rotary switch, toroids and the contact detection circuit.

6. The SWR bridge daughter board’s back with it’s female header to provide solid ground connection and mechanical rigidity.

7. Tuning completed . P = forward power, R = SWR …. front panel labels to come!

A critique  

John provides his own crritique of the design, now that is is completed:

  • the winch servo adds 50g plus coupling of around 30g, which is a fair amount of weight, but the total build is still under 2Kg at 1.25Kg or 2.8 Pounds.
  • a single bi-stable relay instead of the second wafer for switching the capacitor over may be a simpler solution, and leave more steps for the inductance.

Schematic

John has now also provided the two parts of the schematic. Part 1, the L-Network:

And the Control part:

The software can be found separately.

Reference #1
Reference #2

VK2ETA variation updated (based on KD8CEC firmware)

John VK2ETA has uploaded two updates of his Raduino firmware and ATU firmware in the folder: Variations on KD8CEC Software (by VK2ETA) + ATU sketch .

This firmware is targeted at portable and /PM operations. John doesn’t plan to add much in the way of further features unless they are of value to portable operations.

If you want to use sections of code in your projects, follow the #ifdef/#endif segments that mostly enclose the sections of code of interest. John is happy to help with extraction of code if requested.

The software is organised in options that can be enabled/disabled (mostly) independently.

The key features added in this version are:
1. Reduction in libraries size by 1K byte (this allows for more features to be added in the limited memory of the Arduino).
2. Added a “Stock Standard” option for unmodified rigs wired as per HF Signals instructions.
3. Added a two adjustable levels supply voltage monitor with visual and audio indication. Level two will disable TX to protect the battery.
4. Added the WSPR beacon option from KD8CEC software version 1.061.
5. Changed logic for CW modes: frequency displayed is carrier frequency, with Rx frequency shifted up or down (CWL / CWU).
6. In split modes, the VFO A/B label and frequency change when going from Rx to Tx.
7. RIT display:  frequency is kept fixed, RIT is now shown as +/- frequency difference.
8. Added ALC levels for MAX level too. Used to be no attenuation.

The second update is part of his approach to continuously look for program size reduction to have as many features as possible concurrently in the Nano’s memory.   Inspired by Ian Lee’s KD8CEC version 1.701, he has included a modified version of his TinyLCD library.  Compared to the complete default LiquidCrystal library this cut down version saves 452 bytes of program flash memory.  He has made this code into an object oriented class so it can be easily retrofitted into other projects as there were only two lines of code to change.

Reference

Evening up power output on high bands

Howard WB2VXW received his µBitx, assembled it, and started testing.  He performed a number of modifications to the µBITx in his lab before moving it to its permanent home in the shack.

In particular, he modified the transmitter to improve output power at the higher frequencies. The power out in the original state is about 3 watts at 28 MHz.  His modification brings the power at 28 MHz up to 7 watts on both the 15 and 10 meter bands. On his board, there was not enough range in VR1 to increase the power to anywhere near this level without modification. The other bands remain unchanged in output, at around 11 watts.  The output stage could be modified as others have done by changing the FETs and transformer to improve this further, but Howard was happy with the improvement for now.  He plans on adding a power amplifier later, something between 50 and 100 watts.

Howard’s fix involves adding 3 passive parts:

  • 33 uH inductor in series with R86. I lifted the resistor mounting it on one pad standing up, and teepeeing the inductor between the top of the resistor and the other pad.
  • Adding a 270 pF capacitor across both R87 and R88.

The values are not very critical, I calculated that I needed 27 uH and 220 pF, but the values I tried were in the lab.

The theory is very simple. The closed loop gain of Q911 and Q912 is set by the ratio of R86/R85, or a gain of 10. Adding an inductor into the path in the feedback loop increases the effective impedance at higher frequencies, adding “peaking” to the circuit, thus making the closed loop gain higher.

I think the poor frequency response is in the transformer as well as the transistors Hfe falling to under 25 typically at 30 MHz.  The open loop gain is also increased by bypassing the emitter resistors for higher frequencies.

The transformer is a 2 to 1 step down, (it looks like a trifilar winding) so the theoretical gain of the stage is 5.

Offer of parts

Howard also made a generous offer to  anyone wanting to try the fix and needs the parts.  He has a full reel of each of the parts (2x 270pF capacitor and 33µH inductor), so just Howard a stamped self addressed envelope, and he will send it to you by return mail. The offer is good until he runs out of parts.

Others try it on

Joel N6ALT completed the mod not long after it appeared on the BITX20 IO Groups list with spectacular results. Before the mod he had only 300mw at 13V on 28.500.  After the mod he had 3.8 watts, and after increasing the drive slightly, he now has 4.5 watts. All of the other bands also benefited from the mod.

Tim AB0WR also tried the mod, winding an FT37-43 ferrite to get 33uh. Not as neat as an smd inductor but he didn’t have any in the shack!

Reference

Version 4.00R latest W0EB/W2CTX I2C firmware release

Jim W0EB and Ron W2CTX have released Version 4.00R.   This is the I2C release firmware for modified hardware on the display.  The W0EB/W2CTX firmware also requires a minor CW keying control mod.

This is a FOUR line display version designed to work with a 4 line by 20 character LCD display that has an I2C “backpack” or, one with the I2C interface built in. As long as you know the I2C address for your display and can properly set that in the .ino source file, it should compile and run on an I2C modified Raduino card as well as on our RadI2Cino card which can be purchased by contacting W0EB (email address on QRZ). Jim Sheldon, W0EB

You can access this file at the URL:
https://groups.io/g/BITX20/files/ubitx_I2C4L_V4_00R.zip

David  N8DAH who is using the well regarded SOTAbeams LaserBeam Dual variable kit. He didn’t like the limited mounting options or the point-to-point wiring of the filter kit so he designed a board for his own projects and let the list loose on the remainder (which all went quickly).

Reference