Date   
Re: uBITX Firmware (CEC) 0.30 released (Test version). #ubitx

matjaz
 

hello Ian
I have problem too use software 0.27 for uBitx.
To load in arduino nano use Xloader and your hex file.
But when conect power , first have on display mesage about version and then
CW 7.15000.
Encoder dont work and all button nothing.
What i was made wrong.
The conection on indidds.  pdf file
best regards and 73
Matjaz
my call S56ZVD
 

From: Ian Lee
Sent: Friday, February 02, 2018 12:45 AM
Subject: Re: [BITX20] uBITX Firmware (CEC) 0.30 released (Test version). #ubitx
 
Thanks for your information.
 
i fixed you found bug now, and 1 more fixed. thanks again.
If you have any oddities, please email me anytime.
 
Ian KD8CEC
 
2018-02-02 8:27 GMT+09:00 K2ZSD - L. Ince <K2ZSD@...>:
Tested newest manager and observe display problem with CW speed after changing.  Using stand alone Nano loaded with newest code. Still awaiting my uBITX, soon I hope.
 
Larry, K2ZSD
 
Sent from my Verizon 4G LTE Droid
On Feb 1, 2018 5:01 PM, Ian Lee <kd8cec@...> wrote:
Thanks for your effort.
The Band frequency input of uBITX Manager is my mistake. I set the maximum input value too small.
I will fix it in the next version and upload it.
And I thought about two of them. The problem with step is to use 1 byte of eeprom.
In other words, when the maximum value is 255 and 500 is input, 500% is 256 = 254. I am thinking of a way to increase the value.
 
We will add an option to prevent the top line from appearing.
If you check the option, the call-out will appear as before.
I think you used uBITX Manager a lot. I think you have probably checked the Scroll display option.
The scroll display was created to show a lot of information in a small LCD of unmodified uBITX.
When other VFO frequency is scroll displayed, I am thinking of putting in the way of the previous call sign.
 
The next version will fix all issues.
 
Ian KD8CEC
 
2018-02-02 2:33 GMT+09:00 David S via Groups.Io <dcsuk10@...>:
Ian

I'm a late comer to your party, amazing code functionality, takes the radio to another lever with the CAT, especially for digital.   No issues with uploading to the radio, I figured out how to use Xloader, a really simple way of getting the right code into the radio. 

I've also more or less got to grips with the uBitx manager and have a few comments, I entered my callsign and set it to display (permanently) on the previous manager software, the latest version has the alternate VFO frequency displayed in the callsign position and wipes it out.  I can't see any way of stopping either the 2nd VFO frequency or the Step from displaying, it could do with a settings flag.

There's also an anomaly in the code step function, probably I didn't read about the it correctly.  It works as expected, a little fiddly getting the correct function press time, however  when I entered 500Hz, it's accepted by the manager, it saves and recovers from disc correctly but is implemented as 244Hz by the radio.

A quick question about the band frequencies, the maximum frequency I can enter is 99999 (Hz), sometimes a read from the radio gives a sensible frequency 554970912 (Hz) & mode 1.  Sorry I just can't figure this at all.

The other oddie is that I would expect to be ably to read a configuration file from disc both with or without the radio being connected.  I find that I have to read from the radio to allow a backup to be read from the disc.

I can see that you've got the bit well and truly between your teeth, are there any plans to add functionality for a 4 line or any other display.

Best regards & many thanks for the sharing the huge increase in functionality.

David  G8DJM
 

--
Best 73
KD8CEC / Ph.D ian lee
kd8cec@...
www.hamskey.com (my blog)
 

--
Best 73
KD8CEC / Ph.D ian lee
kd8cec@...
www.hamskey.com (my blog)

Re: BITX QSO Afternoon/Night, Sunday, February 4, 3PM/7PM Local Time, 7277 kHz in North America, 7177 kHz elsewhere

John P
 

Just a reminder!

I'm probably not going to make it on for either session today. The flu shot apparently didn't work! Have fun!
--
John - WA2FZW

Re: uBITX Firmware (CEC) 0.30 released (Test version). #ubitx

Ian Lee
 

Matjaz

Thanks for interresting.

I saw the schematic you attached. It seems to have only an encoder and a function key. 
I do not test it, but I guess. so My guess might be wrong.
My guess is that the CW key is malfunctioning. The CW key (A6?)  must with pullup resistor.
If you connect any resistor around A6 and VCC, it will work normally.
(This is similar to the original source.)

And I released 0.34. The latest version adds more fun features.

Ian KD8CEC

2018-02-04 20:05 GMT+09:00 matjaz via Groups.Io <matjaz_zejn@...>:

hello Ian
I have problem too use software 0.27 for uBitx.
To load in arduino nano use Xloader and your hex file.
But when conect power , first have on display mesage about version and then
CW 7.15000.
Encoder dont work and all button nothing.
What i was made wrong.
The conection on indidds.  pdf file
best regards and 73
Matjaz
my call S56ZVD
 
From: Ian Lee
Sent: Friday, February 02, 2018 12:45 AM
Subject: Re: [BITX20] uBITX Firmware (CEC) 0.30 released (Test version). #ubitx
 
Thanks for your information.
 
i fixed you found bug now, and 1 more fixed. thanks again.
If you have any oddities, please email me anytime.
 
Ian KD8CEC
 
2018-02-02 8:27 GMT+09:00 K2ZSD - L. Ince <K2ZSD@...>:
Tested newest manager and observe display problem with CW speed after changing.  Using stand alone Nano loaded with newest code. Still awaiting my uBITX, soon I hope.
 
Larry, K2ZSD
 
Sent from my Verizon 4G LTE Droid
On Feb 1, 2018 5:01 PM, Ian Lee <kd8cec@...> wrote:
Thanks for your effort.
The Band frequency input of uBITX Manager is my mistake. I set the maximum input value too small.
I will fix it in the next version and upload it.
And I thought about two of them. The problem with step is to use 1 byte of eeprom.
In other words, when the maximum value is 255 and 500 is input, 500% is 256 = 254. I am thinking of a way to increase the value.
 
We will add an option to prevent the top line from appearing.
If you check the option, the call-out will appear as before.
I think you used uBITX Manager a lot. I think you have probably checked the Scroll display option.
The scroll display was created to show a lot of information in a small LCD of unmodified uBITX.
When other VFO frequency is scroll displayed, I am thinking of putting in the way of the previous call sign.
 
The next version will fix all issues.
 
Ian KD8CEC
 
2018-02-02 2:33 GMT+09:00 David S via Groups.Io <dcsuk10@...>:
Ian

I'm a late comer to your party, amazing code functionality, takes the radio to another lever with the CAT, especially for digital.   No issues with uploading to the radio, I figured out how to use Xloader, a really simple way of getting the right code into the radio. 

I've also more or less got to grips with the uBitx manager and have a few comments, I entered my callsign and set it to display (permanently) on the previous manager software, the latest version has the alternate VFO frequency displayed in the callsign position and wipes it out.  I can't see any way of stopping either the 2nd VFO frequency or the Step from displaying, it could do with a settings flag.

There's also an anomaly in the code step function, probably I didn't read about the it correctly.  It works as expected, a little fiddly getting the correct function press time, however  when I entered 500Hz, it's accepted by the manager, it saves and recovers from disc correctly but is implemented as 244Hz by the radio.

A quick question about the band frequencies, the maximum frequency I can enter is 99999 (Hz), sometimes a read from the radio gives a sensible frequency 554970912 (Hz) & mode 1.  Sorry I just can't figure this at all.

The other oddie is that I would expect to be ably to read a configuration file from disc both with or without the radio being connected.  I find that I have to read from the radio to allow a backup to be read from the disc.

I can see that you've got the bit well and truly between your teeth, are there any plans to add functionality for a 4 line or any other display.

Best regards & many thanks for the sharing the huge increase in functionality.

David  G8DJM
 

--
Best 73
KD8CEC / Ph.D ian lee
kd8cec@...
www.hamskey.com (my blog)
 

--
Best 73
KD8CEC / Ph.D ian lee
kd8cec@...
www.hamskey.com (my blog)



--
Best 73
KD8CEC / Ph.D ian lee
kd8cec@...
www.hamskey.com (my blog)

Re: uBITX Firmware (CEC) 0.30 released (Test version). #ubitx

Ian Lee
 

Philip
I am going to put uBITX into the case finally this week.Until now it was open for testing.
I will cut off the power line of USB like you. And to fix the Arduino Nano reset problem, i will also attach one capacitor.

Thanks for information.

Ian KD8CEC




2018-02-03 7:30 GMT+09:00 Philip <philip.g7jur@...>:

I am going to try disconnecting the 5 Volts on the USB, as it is power up the display via the USB lead.

Ian thanks for the great firmware



--
Best 73
KD8CEC / Ph.D ian lee
kd8cec@...
www.hamskey.com (my blog)

Re: uBITX Firmware (CEC) 0.30 released (Test version). #ubitx

Ian Lee
 

Bill

Thanks for using this firmware.
At first I wanted to make uBITX a real radio, so I started to put only the most basic functions.
As I worked on it, I got a lot more fun with the opinions of the users. 
uBITX Manager is more fun if you use it together.

Thank you.

Ian KD8CEC

2018-02-02 12:26 GMT+09:00 bill richardson <ng1p.bill@...>:

Loaded this tonight on my newly build uBitx.. Wow what a great firmware. It’s fantastic!

Thank you


On Feb 1, 2018, at 12:33 PM, David S via Groups.Io <dcsuk10@...> wrote:

Ian

 I'm a late comer to your party, amazing code functionality, takes the radio to another lever with the CAT, especially for digital.   No issues with uploading to the radio, I figured out how to use Xloader, a really simple way of getting the right code into the radio. 

I've also more or less got to grips with the uBitx manager and have a few comments, I entered my callsign and set it to display (permanently) on the previous manager software, the latest version has the alternate VFO frequency displayed in the callsign position and wipes it out.  I can't see any way of stopping either the 2nd VFO frequency or the Step from displaying, it could do with a settings flag. 

There's also an anomaly in the code step function, probably I didn't read about the it correctly.  It works as expected, a little fiddly getting the correct function press time, however  when I entered 500Hz, it's accepted by the manager, it saves and recovers from disc correctly but is implemented as 244Hz by the radio.

A quick question about the band frequencies, the maximum frequency I can enter is 99999 (Hz), sometimes a read from the radio gives a sensible frequency 554970912 (Hz) & mode 1.  Sorry I just can't figure this at all.

The other oddie is that I would expect to be ably to read a configuration file from disc both with or without the radio being connected.  I find that I have to read from the radio to allow a backup to be read from the disc.

I can see that you've got the bit well and truly between your teeth, are there any plans to add functionality for a 4 line or any other display.

Best regards & many thanks for the sharing the huge increase in functionality. 

David  G8DJM



--
Best 73
KD8CEC / Ph.D ian lee
kd8cec@...
www.hamskey.com (my blog)

Re: uBITX Firmware (CEC) 0.30 released (Test version). #ubitx

Ian Lee
 

joe

i saw your posted message on my blog. and Thank you very much for youer suggestion.
Most of the wsjt-x portable work is done. It was a little late because i had to work with uBITX firmware.
Working on this, I found some things that make wsjt-x even more usable for uBITX. i will propose to the wsjt-x team after the work is done. 

Now i develop a launcher program to control raspberry pi simply with wsjtx portable.
This would be possible without a keyboard or mouse, assuming a 3.5-inch LCD is attached to uBITX.

I want to create an disk image of raspberry pi 2 and 3, respectively. With this image, users will not need complex RPI setups, libraries and wsjtx installations, wsjt-x portable settings.
Just copy the image file to the sdcard with a utility like win32diskimager.

Your suggestion will help people who want to use wsjt-x in raspberry pi.

Thanks again.

Ian KD8CEC


2018-02-02 9:17 GMT+09:00 Joe <joeman2116@...>:

Excellent!


I like the idea of using a pi as a secondary controller..
Since your cat control in the ubitx emulates ft817 - Using raspi Pi as a touch control by using your modified WSJT-x  should work ..

I am not aware of any other radio software which will fit on a small 3.5 or 5 inch touch display and work on the raspi


Great stuff..

Joe 
VE1BWV

On Thu, Feb 1, 2018 at 8:08 PM, Ian Lee <kd8cec@...> wrote:
Joe

Thanks for your interesting.

It will be very interesting. What I am doing right now is not just to control uBITX. Maybe it will be connected to most Transceiver.
This is not my effort, because it is supported by hamlib used by wsjt-x.

So uBITX only protocol is not used.
For example, when switching between VFOA and VFOB,  do not switch uBITX's vfoA / vfoB, I just made it look like this by using the memory stored in the raspberry pi.
Implementation in this way allows you to control most of the communicating radios, but uBITX's merits are gone.
I had a notice from a few weeks ago and I had a little publicity last week.

본문 이미지 1


The above picture is the screen that I am working on now. Perhaps the disk image will be released within a day or two.
In fact, that screen is only a joke compared to the greatness of wsjt-x. I am only making very little changes to my favorite program.
It will be distributed as an SD card image. It will be easier to use.

Thanks agian.

Ian KD8CEC

2018-02-02 8:46 GMT+09:00 Joe <joeman2116@...>:
Ian,

Great work and very much appreciated for sharing your skills...

I have loaded your ubitx software and it is work very well.
It sure is nice to have cat control...

I just received a raspi p3 and a 3.5 and 5 inch touch display 
I am also looking forward to applying your Raspi pi touch interfacing with the ubitx and digital software WSJT-X. 

Would be nice to have a Pi as the touch control for the Ubitx?

73
Joe
VE1BWV

On Thu, Feb 1, 2018 at 7:11 PM, Ian Lee <kd8cec@...> wrote:
Looks great!!!

I am now making fun with raspberry pi.
As soon as I first received uBITX, Wow! I thought I could make something fun with this. 
To do this, the first was to put the basic functions in uBITX. Like a regular radio.
And now I try to do some fun with Raspberry Pi.
I will notify you when it is released.

Ian KD8CEC


2018-02-02 6:35 GMT+09:00 Dave Bottom <ars.kd6az@...>:
Ian,

I'm enjoying the v0.33 and I now have my Raspbery Pi and TFT Touch Screen so I hope to give it a go this weekend to run FT8 with the uBITX!
This will be a new mode for me so an initially steep learning curve all the way around.


Dave WI6R



On Thu, Feb 1, 2018 at 7:40 AM, Ian Lee <kd8cec@...> wrote:
Kari

Thanks for using this firmware.

I worked on uBITX firmware yesterday and customize wsjtx from today. I will introduce something interesting in a few days. If you are using digital mode, it will probably be interesting.

I also love FT8 and JT65

Ian KD8CEC

2018. 2. 1. 오후 5:19에 "Kari Syrjänen" <beaconhunter@...>님이 작성:
Ian's firmwares working great! I have been using then since version 0.25

Now running 0.33 and working 7MHz FT8-mode. Over 350 QSO.s in my logbook

TNX!

Kari OH5YW


--
Best 73
KD8CEC / Ph.D ian lee
kd8cec@...
www.hamskey.com (my blog)




--
73 Dave WI6R



--
Best 73
KD8CEC / Ph.D ian lee
kd8cec@...
www.hamskey.com (my blog)




--
Best 73
KD8CEC / Ph.D ian lee
kd8cec@...
www.hamskey.com (my blog)




--
Best 73
KD8CEC / Ph.D ian lee
kd8cec@...
www.hamskey.com (my blog)

Bitx40

Michael Davis <maddmd818@...>
 

Are T1 and T2 identical in the Bitx40? Any others? I have a spare board and my original board has a mechanically intermittent T2. I am practicing desoldering and removing these devices and will replace the intermittent one, if my recent re-soldering efforts proved unsuccessful. 

ubitx receive audio troubleshooting

radiodoc43
 

I am still trying to identify the cause of an audio "squeal" which makes receiver unusable.

Audio is ok at lowest volume setting. As I turn up volume, a "squeal" begins and gets louder obliterating any other signals. The TPA2016 chip gets extremely hot if left in this state for any length of time. I suspect that something is causing the audio stage to oscillate at higher volume levels.

I have tried "cleaner" power supplies, created a ground plane for my front panel, and substituted shielded cable for the volume control leads, all without any improvement.

Any suggestions as to getting to the bottom of this problem?

Btw, the radio is able to receive strong signals at the lowest setting.

Craig
KC2LFI

Re: uBITX drive level.. #ubitx

Tilman D Thulesius
 

Jerry

My uBITX has proper 10W output on 80 and 40 meters keydown CW. So I assume the BIAS is set ok.

When trying to get some serious output power (10W) running phone I have to wistle in my mike a lot. I have put RV1 all the way up. 
So Im considering moving up the micgain in the mic-amp. How much would be a good starting point on R63. 100ohm ?
/ Tilman SM0JZT

Re: uBITX Firmware (CEC) 0.30 released (Test version). #ubitx

Karl Heinz Kremer, K5KHK
 

Please keep in mind that some of us don’t want a disk image and prefer a simple package to install. This way, i can just add it to a disk that is already set up the way I want my Pi to be.

Thanks for the work you are doing! 

--
Karl Heinz - K5KHK

Re: #ubitx-help Strong Audio Tones in and outside audio receive passband #ubitx-help

Jerry Gaffke
 

Not familiar with the ATMega328P, but table 9.3 on p300 of the datasheet says the Low Power Crystal Oscillator
can take a crystal anywhere from 0.4mhz to 16mhz, and that we must load bits CLKSEL[3-1] to inform
the chip what the crystal frequency is.  The top range with CLKSEL=111 is for 8 to 16mhz, so I assume
we could have a crystal anywhere in there without having to burn fuse bits.
My datasheet has the unfortunate name of:  
    Atmel-8271-8-bit-AVR-Microcontroller-ATmega48A-48PA-88A-88PA-168A-168PA-328-328P_datasheet_Complete.pdf

The primary reason not to swap out the 16mhz crystal is that the one they have is so blasted small.
Take a look, it's visible on your Raduino's Nano, just above the Nano pin labeled "D5".
Not all of us would want to deal with it.

If we disable or remove the USB-to-UART chip from the Nano (and make sure we have some sort of 3.3v regulator),
we can still program the Nano via the TX/RX Uart lines at D0,D1 of the Nano board edge using an external
FTDI USB-to-UART cable or similar.  Unfortunately this probably means separating the Nano from the Raduino
to work on the bottom of the Nano, so probably not an option.  Thus far, it seems the 12mhz USB crystal
is not an issue though, since reports of tones come with the news that the tones change when
a finger is placed on the 16mhz crystal.  Could be the 12mhz crystal is involved here too though.

Jerry, KE7ER


On Sat, Feb 3, 2018 at 10:15 pm, James Lawrie wrote:
I know I'm late to this party but you cannot swap crystals on nano board without first using a atmel programmer to burn the fuse bits that tell what freq it will be using or you will brick your nano.... also if the ftdi or whatever usb chip is using 12mhz, you could get the sparkfunPro 16mhz/8mhz board that does not use usb but instead uses usb to serial cable to upload. Be warned 16mhz board is 5 volt and 8 mhz is 3.3 volt.
 

Re: uBITX Firmware (CEC) 0.30 released (Test version). #ubitx

matjaz
 

Thanks for fast ansver, it is working.
In next days try to conect to pc. if it working with n1mm.
And with mmvari. This program using for digital and for contest.
Use this interface
In contest working only 2 or 3 times.
I am too old for contest.
Best regards and 73 from Slovenia
Matjaz
 

From: Ian Lee
Sent: Sunday, February 04, 2018 2:48 PM
Subject: Re: [BITX20] uBITX Firmware (CEC) 0.30 released (Test version). #ubitx
 
Matjaz
 
Thanks for interresting.
 
I saw the schematic you attached. It seems to have only an encoder and a function key.
I do not test it, but I guess. so My guess might be wrong.
My guess is that the CW key is malfunctioning. The CW key (A6?)  must with pullup resistor.
If you connect any resistor around A6 and VCC, it will work normally.
(This is similar to the original source.)
 
And I released 0.34. The latest version adds more fun features.
 
Ian KD8CEC
 
2018-02-04 20:05 GMT+09:00 matjaz via Groups.Io <matjaz_zejn@...>:
hello Ian
I have problem too use software 0.27 for uBitx.
To load in arduino nano use Xloader and your hex file.
But when conect power , first have on display mesage about version and then
CW 7.15000.
Encoder dont work and all button nothing.
What i was made wrong.
The conection on indidds.  pdf file
best regards and 73
Matjaz
my call S56ZVD
 
From: Ian Lee
Sent: Friday, February 02, 2018 12:45 AM
Subject: Re: [BITX20] uBITX Firmware (CEC) 0.30 released (Test version). #ubitx
 
Thanks for your information.
 
i fixed you found bug now, and 1 more fixed. thanks again.
If you have any oddities, please email me anytime.
 
Ian KD8CEC
 
2018-02-02 8:27 GMT+09:00 K2ZSD - L. Ince <K2ZSD@...>:
Tested newest manager and observe display problem with CW speed after changing.  Using stand alone Nano loaded with newest code. Still awaiting my uBITX, soon I hope.
 
Larry, K2ZSD
 
Sent from my Verizon 4G LTE Droid
On Feb 1, 2018 5:01 PM, Ian Lee <kd8cec@...> wrote:
Thanks for your effort.
The Band frequency input of uBITX Manager is my mistake. I set the maximum input value too small.
I will fix it in the next version and upload it.
And I thought about two of them. The problem with step is to use 1 byte of eeprom.
In other words, when the maximum value is 255 and 500 is input, 500% is 256 = 254. I am thinking of a way to increase the value.
 
We will add an option to prevent the top line from appearing.
If you check the option, the call-out will appear as before.
I think you used uBITX Manager a lot. I think you have probably checked the Scroll display option.
The scroll display was created to show a lot of information in a small LCD of unmodified uBITX.
When other VFO frequency is scroll displayed, I am thinking of putting in the way of the previous call sign.
 
The next version will fix all issues.
 
Ian KD8CEC
 
2018-02-02 2:33 GMT+09:00 David S via Groups.Io <dcsuk10@...>:
Ian

I'm a late comer to your party, amazing code functionality, takes the radio to another lever with the CAT, especially for digital.   No issues with uploading to the radio, I figured out how to use Xloader, a really simple way of getting the right code into the radio. 

I've also more or less got to grips with the uBitx manager and have a few comments, I entered my callsign and set it to display (permanently) on the previous manager software, the latest version has the alternate VFO frequency displayed in the callsign position and wipes it out.  I can't see any way of stopping either the 2nd VFO frequency or the Step from displaying, it could do with a settings flag.

There's also an anomaly in the code step function, probably I didn't read about the it correctly.  It works as expected, a little fiddly getting the correct function press time, however  when I entered 500Hz, it's accepted by the manager, it saves and recovers from disc correctly but is implemented as 244Hz by the radio.

A quick question about the band frequencies, the maximum frequency I can enter is 99999 (Hz), sometimes a read from the radio gives a sensible frequency 554970912 (Hz) & mode 1.  Sorry I just can't figure this at all.

The other oddie is that I would expect to be ably to read a configuration file from disc both with or without the radio being connected.  I find that I have to read from the radio to allow a backup to be read from the disc.

I can see that you've got the bit well and truly between your teeth, are there any plans to add functionality for a 4 line or any other display.

Best regards & many thanks for the sharing the huge increase in functionality.

David  G8DJM
 

--
Best 73
KD8CEC / Ph.D ian lee
kd8cec@...
www.hamskey.com (my blog)
 

--
Best 73
KD8CEC / Ph.D ian lee
kd8cec@...
www.hamskey.com (my blog)
 

--
Best 73
KD8CEC / Ph.D ian lee
kd8cec@...
www.hamskey.com (my blog)

Re: uBITX drive level.. #ubitx

Rod Davis
 

Tilman and all,

Per, I think, Raj's suggestion, I change R63 to 11 ohms, and that seems to work well.

0805 parts fit on 1206 pads, and power dissipation is not an issue with an 0805 11ohm.

YMMV

Rod KM6SN


On 02/04/2018 08:18 AM, Tilman D Thulesius wrote:
Jerry

My uBITX has proper 10W output on 80 and 40 meters keydown CW. So I assume the BIAS is set ok.

When trying to get some serious output power (10W) running phone I have to wistle in my mike a lot. I have put RV1 all the way up. 
So Im considering moving up the micgain in the mic-amp. How much would be a good starting point on R63. 100ohm ?
/ Tilman SM0JZT

Re: #ubitx-help Strong Audio Tones in and outside audio receive passband #ubitx-help

Arv Evans
 

Not 100% sure but popular thinking indicates the "crystals" on smaller Arduino boards are actually ceramic resonators.  If this is true then it should be possible to use capacitence to pull them further than would be possible with a real crystal.  This also lends credibility to the caution about possibile need to change AVR internal oscilator capacitence if changing resonator or crystal device.

Recently i purchased some Arduino Pro-mini units that have a standard crystal for the CPU clock.  These are for a frequency counter project where the stability of a crystal is needed.  Search Ebay for "arduino pro mini crystal" for these units.  

The Pro-minii Arduino are also interesting because they do not include built-in USB and thus there is no 12 MHz crystal to interfere with the BITX 12 MHz IF.

Arv. K7HKL
_-_


Sent from my Verizon, Samsung Galaxy smartphone

-------- Original message --------
From: James Lawrie <lawriejk@...>
Date: 2/3/18 11:15 PM (GMT-07:00)
To: BITX20@groups.io
Subject: Re: [BITX20] #ubitx-help Strong Audio Tones in and outside audio receive passband

I know I'm late to this party but you cannot swap crystals on nano board without first using a atmel programmer to burn the fuse bits that tell what freq it will be using or you will brick your nano.... also if the ftdi or whatever usb chip is using 12mhz, you could get the sparkfunPro 16mhz/8mhz board that does not use usb but instead uses usb to serial cable to upload. Be warned 16mhz board is 5 volt and 8 mhz is 3.3 volt.

I only use the Sparkfun Pro 16 for my projects. Another note if you go with the ATMega32U4 boards they have built in usb....

Maybe this will help someone or maybe not....

James Lawrie

Sent from my Galaxy Tab A

-------- Original message --------
From: Arv Evans <arvid.evans@...>
Date: 2/3/18 09:38 (GMT-06:00)
To: BITX20@groups.io
Subject: Re: [BITX20] #ubitx-help Strong Audio Tones in and outside audio receive passband

Jerry

Interesting observation that the 12 MHz USB clock oscillator is on nearly the same frequency
as the uBITX IF and BFO.  If the BFO is offset to the high side of the IF passband it could well
be within audio range of the USB clock frequency.  If this is the problem then it might be possible
to pull the USB clock crystal down with a small parallel capacitor.  That should not make a
significant change in USB clock timing but could take it out of range of the receiver IF and BFO
frequencies.  Some experimenting is probably necessary to tell how far to pull the crystal.  It
would not be good to accidentally put it within the IF filter passband.

Arv  K7HKL
_._


On Sat, Feb 3, 2018 at 1:47 AM, Jerry Gaffke via Groups.Io <jgaffke@...> wrote:
I assume you mean changing the Arduino crystal, not cap.

The 16mhz ATMega328P crystal is about 3mm x 1.5mm, goes to  ATMega328p pins 7 and 8.
It is on the top of the Nano, just above the silk for edge pin D5.
Seeing the actual crystal now, and not just looking at datasheets and schematics, I see that it is
extremely small.   I doubt most of those with uBitx in hand will want to mess with it.

I bought some spare Nano clones, I believe they're identical to what's on the Raduino.
Mine have a CH340G chip on the back of the Nano for the USB interface.
This chip has another 3mm x 1.5mm crystal nearby, this one happens to be 12mhz.
    http://www.datasheet5.com/pdf-local-2195953

Quite possibly it is the 12mhz oscillator for the USB interface that is causing the trouble in at least some cases.
Though in post 40432 it was reported that a finger on the Nano's crystal caused the tones to vary,
which suggests that case was due to the 16mhz crystal since the 12mhz crystal is not usually accessible.

None of this was ever a problem on the Bitx40v3, far as I know.
I'd like to think there will be a simple fix, perhaps soldering in a bit of copper tape somewhere for shielding,
or adding a few caps.    Moving the IF would be pretty disruptive.

Jerry



On Fri, Feb 2, 2018 at 11:55 pm, Ashhar Farhan wrote:
changing the arudino cap is going to be a challenge as the arduino is soldered and you need to access it from the underside to desolder it. we had to resort to solder it in as keep it on a socket was leading to bulge and an additional failure point on the board.
 


Re: #ubitx-help Strong Audio Tones in and outside audio receive passband #ubitx-help

Jerry Gaffke
 

Ah, very nice that you were able to do all of this, and document it so well.
See my comments inline with your original text below
 
On Sat, Feb 3, 2018 at 09:50 pm, John wrote:
Further tests and head scratching.
 
Since I replaced the Arduino and mounted it on female headers I decided to do more tests to try to answer some of the leads and questions in the thread.
 
I used some 20cm (8 inch) female-male connectors and connected the Arduino remotely from the Radiuno so that I had access to the 12Mhz crystal next to the CH340G chip underneath the Arduino board.
 
The radio has been re-calibrated and shows a difference of less than 10Hz on a 10M beacon and on an 80m CW training transmission from our WIA here in Sydney, so I suspect it is pretty accurate in frequency. 
 
I then re-did a BFO adjustment both on the factory side (low side) of the 12Mhz filter and on the other side. By observing the audio spectrum I adjusted the BFO so that the passband was as close as I could tell 500Hz to 2400Hz.
 
I then in each case moved the first and 2nd VFO to shift the alignment of the two crystal filters and noted the change in signal strength between the factory default and the peak.
 
Results:
 
1. Factory side of BFO adjustment results in a BFO frequency of 11,996.6Khz while the opposite side of the pass band results in a BFO of 11,999.5Khz. So as expected there is a difference of around 3KHz between a low side and high side BFO. And the centre of the filter appears to be at around 11,998Khz which I suspect is pretty normal. Please comment if you think it is not.
The exact frequencies you report seem reasonable, others may find their rig to 
be using 12mhz crystals that are a khz or two off from what you report.
Crystals are sorted by frequency at hfsignals, different rigs get slightly different freq crystals.
 
 
2. The tuning clicks and tones within the pass band have definitely disappeared as mentioned in a previous post.
So by moving the Raduino 8 inches away from the uBitx, the radio no longer hears these interfering signals
on either low or high side BFO settings.  Suggests we could deal with it using shielding. 
 
 
3. The tones outside of the passband are still there for some values of the BFO and shift by 550Hz for each change of 100Hz of the BFO. Note that the receiver is usable as the tone free BFO values result in a passband that is more or less 500-2400Hz.
Our assumption has been that it is the 4x harmonic of the BFO (4*12=48mhz) beating with the 3x harmonic of the Nano (3*16=48mhz).
Any chance the tones shift by 400hz per 100hz of BFO, not 550hz?   550hz would be difficult to explain, that's a very funny number.

 
 
4. Going with the BFO on the high side of the filter produces similar results. I just noted that the passband seems less steep on the low audio frequencies when in this configuration. Of course in that case LSB becomes USB and vice-versa.
Typical of a crystal ladder filter that one side is less steep, the skirts are not symmetrical.
 
 
5. Now the part I can't understand: while listening to a fixed signal (the CW training transmission on 80M) AND positioning the BFO frequency so that strong tones would be heard and seen on the spectrum at 13,379Hz, I touched the three crystals in turn: the 16Mhz Arduino one, the 12Mhz CH340G one, and the 25Mhz VFO one. 
 
The first two did not produce any difference in Rx signal or tones. Touching the 25Mhz one produced a shift in the received signal audio frequency BUT NOT in the tones frequency. 
 
This does not make sense to me as if the si5351a clock was to shift, any beat of harmonics should produce a shift in frequency.
 
And yet if I adjust either the BFO frequency OR the 1st and 2nd oscillators frequencies I get a shift in tones frequency.
 
So if the tones were geneated after the filter or in the audio circuit I can't see how they would shift in frequency when I change some oscillators frequencies. And if they were generated before the 12Mhz filter they should shift and the 25Mhz crystal shifts!
 
Any idea why that is?
Indeed, this is unexpected.
Perhaps the 12mhz and 16mhz crystals are insensitive enough to not vary much when interfered with.
(But wasn't there a previous report of tones changing when a finger was near the 16mhz crystal?)
And perhaps the 12mhz and 16mhz crystals are somehow beating against each other?
Or there is some totally different source for these tones, apparently coming from the Raduino?

Once you tune the radio and can observe these tones, see if you can disable the 12mhz and 16mhz crystals
by shorting one end to ground.  See if shutting down one or the other somehow gets rid of the tones.
The 12mhz crystal is only needed when downloading new firmware.
The 16mhz crystal is needed to tune the rig, but once the si5351 is programmed the 16mhz can go to sleep.
You may need to reset the Nano to get it back on the rails after re-enabling the 16mhz crystal.

 
 
6. I used the code below to shift the alignment of the first xtal filter and the 12Mhz xtal filter. I noted improvements in signal level (I assume the Rx amplification chain is more or less linear) of 3 to 6dB. So less that the 8dB I reported before but still not negligible.
 
I'm not sure I totally understand all of this.
Some change in signal strength is expected if as you use different parts of the 45mhz crystal,
the passband isn't all that flat.


 
The peak seems with a first and second VFO about 2 to 3Khz above their default values.
 
The shift is reset to zero each time the Arduino is reset and is not saved in EEPROM at present.
 
It would be interesting to see if some other units show the same changes in signal strength.

I noted that some shifts would produce tones and these tones would shift in frequency too, and by 4,000Hz for each change of 1,000Hz of first and second VFO
frequencies. (as opposed to 550Hz for each 100Hz of the BFO). 
The four to one ratio (4000 to 1000) here is consistent with our assumption that it is the 4'th harmonic of the 12mhz BFO involved, at 48mhz.
But I would think the BFO is not moving when you hear these tones move, is that the case?
If the BFO is not moving, this is quite puzzling, and perhaps the tones are due to some fourth harmonic of either the first or second oscillator.
I assume that as you move one, you also move the other by an equal amount, you might try only moving one of the two
local oscillators, see which one causes the tones to vary.  I haven't totally grok'd your new code yet.

Jerry, KE7ER 

Re: BitX40 v1.27.7 SPOT mode

Vic WA4THR
 

OK, great! One other question...what is the relationship between the "PPM" calibration value and the "CAL VALUE" in line 43?

=Vic=

Re: #ubitx-help Strong Audio Tones in and outside audio receive passband #ubitx-help

Jerry Gaffke
 

So, moving the Nano 8" away did away with tones in the crystal filter passband, 
which would be the ones of most concern to folks here in the forum
But you still see tones coming through the demodulator, up around 13khz. 

Can you give some idea of how strong these 13khz tones are?
I assume they are relatively weak.

You said that a finger on the 16mhz crystal does not affect these tones.
Did a finger on the 16mhz crystal affect the the tones you heard within the passband
back before the 8" move?

There's all sorts of weird things that can happen around mixers.
Always have some unwanted products that come out the IF port.
We have a filter there (45mhz or 12mhz) to only select the signal of interest,
those other signals are not getting terminated and so reflect back into the mixer
to mix again, creating all sorts of unexpected havoc.
Could be this 13khz stuff has nothing to do with the Nano.

Jerry


On Sun, Feb 4, 2018 at 09:19 am, Jerry Gaffke wrote:
Ah, very nice that you were able to do all of this, and document it so well.
See my comments inline with your original text below
 

Re: #ubitx-help Strong Audio Tones in and outside audio receive passband #ubitx-help

Jerry Gaffke
 

Bingo!
See this ceramic resonator on Mouser:  pnum  81-CSTCE16M0VH3L99R0
Same physical size as what's on the Nano, I didn't see any quartz crystals that small.
Tolerance of those Murata parts is 0.07%, so could be off by as much as plus or minus 16mhz*0.0007=11.2khz 
Whatever they stuff on a $2 Nano is probably not Murata, unless they are Murata rejects.

This internal oscillator capacitance thing, is though only in the interest of accuracy?
Or is it a matter of the oscillator not working at all?

Regardless, anybody with tones, I suggest you pack some capacitance across pins 7 and 8 
of the ATMega328P chip (hard to get at those signals on the very small ceramic resonator).
I have no idea how much, perhaps hundreds of pF, if the Raduino display no longer works then that's too much.
This might be something best done at hfsignals on new units, as those 328P pins are pretty small

And if that doesn't help, try shorting out one end of the 12mhz resonator to ground.
Found on the back of the Nano, unfortunately.



On Sun, Feb 4, 2018 at 09:15 am, Arv Evans wrote:
Not 100% sure but popular thinking indicates the "crystals" on smaller Arduino boards are actually ceramic resonators.  If this is true then it should be possible to use capacitence to pull them further than would be possible with a real crystal.  This also lends credibility to the caution about possibile need to change AVR internal oscilator capacitence if changing resonator or crystal device.
 

Re: ubitx receive audio troubleshooting

Gordon Gibby
 

Where do you have a TPA 2016 chip?
The uBitx does not use that.

image1.png


On Feb 4, 2018, at 11:12, radiodoc43 <Monsen.Craig@...> wrote:

I am still trying to identify the cause of an audio "squeal" which makes receiver unusable.

Audio is ok at lowest volume setting. As I turn up volume, a "squeal" begins and gets louder obliterating any other signals. The TPA2016 chip gets extremely hot if left in this state for any length of time. I suspect that something is causing the audio stage to oscillate at higher volume levels.

I have tried "cleaner" power supplies, created a ground plane for my front panel, and substituted shielded cable for the volume control leads, all without any improvement.

Any suggestions as to getting to the bottom of this problem?

Btw, the radio is able to receive strong signals at the lowest setting.

Craig
KC2LFI

Re: ubitx receive audio troubleshooting

radiodoc43
 

My mistake. I meant TDA2822 chip.

Craig
KC2LFI