¿ªÔÆÌåÓý

raduino 1.27 upgrade


 

I?want to confirm how to upgrade for raduino??v1.27.
I will not operate cw mode but only ssb mode.
I wired ?function buttom to? raduino A3(orange wire)? and grand(earth).
after that all I need is install V1.27 to arduino nano.??
?I think it is ok.But I am not sure.
Please give me a answer or suggestion !!


 

Yes that should be sufficient.
However I strongly recommend to also do the PTTsense mod.
This simple mod requires only one 10K resistor:

but?it will add a lot of functionality and other improvements.

73 Allard PE1NWL


 

Thanks Allard for information.
Please let me know how to use? PTT sense and merrit.
In my case I use toggle switch ?for PTT.
Anyway I will appreciate ?V1.27 included many function.

de Hiro JH1OJY


 

Hi Hiro-san,

Please look in the instructions at


The PTTsense is needed so that the Arduino "knows" that the radio is in RX
or TX mode. This is needed for RIT, SPLIT, CW, etc.
The PTTsense is also used to keep the frequency stable during TX and for
suppressing the spurious RF burst when you switch from RX to TX.

73, Allard PE1NWL

On Tue, December 19, 2017 01:22, aidahappy@... wrote:
Thanks Allard for information.
Please let me know how to use?? PTT sense and merrit.
In my case I use toggle switch ??for PTT.
Anyway I will appreciate ??V1.27 included many function.

de Hiro JH1OJY


 

Hi Allard san
I will wire PTT sense ( A0 black wire)
I am a?beginer for Arduino.
I do not understand?what? mean??"This sketch version requires the library for interrupt handling. Use your IDE to install it before compiling this sketch".
Could you give me your help for my understanding?
?


 

Hi Hiro san,

The PinChangeInterrupt library is normally not installed by default. You
have to add it to your IDE by yourself. You only have to install the
library one time, once it is installed it will be kept on your pc.

in your IDE menu, go to 'sketch' => 'include library' => 'manage libraries'.
The Library Manager will be opened.
Wait for some time to collect all library information.
When it is ready: In the search box, enter "PinChangeInterrupt"
The Library Manager will show some libraries.
One of them is named "PinChangeInterrupt by Nico Hood".
Click on this library, and press the "install" button.
It takes only few seconds to install the library.
When installation is finished, press the "close" button.

After this you should be able to compile the Raduino sketch without error.

73, Allard PE1NWL

On Thu, December 21, 2017 03:08, aidahappy@... wrote:
Hi Allard san
I will wire PTT sense ( A0 black wire)
I am a??beginer for Arduino.
I do not understand??what?? mean????"This sketch version requires the
library "PinChangeInterrupt" (
) for interrupt
handling. Use your IDE to install it before compiling this sketch".
Could you give me your help for my understanding?


 

Hi Allard san,

I could install PinChangeInterrupt to the library.
I could compile Raduino V1.27.3 without error.
But I do not wire PTTsense,install sketch to Raduino yet.
I will install latest?V2.
Do you have any advice,if you have?
Anyway thanks for info.

73,Hiro JH1OJY


 

Hi Hiro san,

OK, very good!
I recommend to first install v1.27.3 and wire PTTsense.
(Just to make sure that everything is working OK in v1.27.3)
When everything works correctly, then move to v2 as next step.

Sayonara, 73 Allard PE1NWL

On Sat, December 23, 2017 02:07, aidahappy@... wrote:
Hi Allard san,

I could install PinChangeInterrupt to the library.
I could compile Raduino V1.27.3 without error.
But I do not wire PTTsense,install sketch to Raduino yet.
I will install latest??V2.
Do you have any advice,if you have?
Anyway thanks for info.

73,Hiro JH1OJY


 

Hi Allard san

I installed V1.27.3 to Raduino without error.
I confirmed all function without CW mode.
I calibrated ?frequency?in?LSB and USB?mode.
I changed some parameter for my use.
I am enjoying ?V1.27.3 which is very useful?and nice sketch.
I will modify for CW mode .
Anyway I apreciate your help and advice.

Hiro JH1OJY??


 

Hi Hiro san,
So now you successfully installed v1.27.3, congratulations!

Perhaps you want to install v2.02 as next step?

In Europe we sometimes have a lot of interference (especially in the evenings) from some shortwave broadcast stations that are operating in 41m band. The strong signals can mix with some harmonics of the BFO frequency. As a result the mixer products (image signals) are appearing in the 40m amateur band.
But it happens only in LSB mode.? If we switch to USB mode, then the interference is disappeared.
The reason is that in LSB mode, the VFO is set to 5 MHz, in USB it is at 19 MHz (other side of IF).

Do you have this problem also in Japan?
If you have this problem then v2.02 software could fix it.
Because in v2 software we set the VFO always to 19 MHz (for both LSB and USB mode).
When the VFO is at the high side of the IF then the mixer products will be outside the 40m band.
For v2 an extra small modification (digital BFO mod) is required:

You will have less interference from broadcast stations and also less "birdies".

73 Allard PE1NWL


Bob Gass
 

Allard,

Would it be possible to add a 10 khz tuning step delay setting in the Settings-Tuning menu of 1.27.x? I prefer to have mine tune at a slower rate (1000 ms) than the default 300 ms.?

73,
Bob N4FV


 

Thanks Bob, for this suggestion.

Is an extra option in the SETTINGS menu really required for this? It is
doable but it would some extra program space.

Or would an additional user parameter somewhere at the top of the code
also be acceptable? (in that case the user would have to edit the
parameter value and recompile/upload the code to change the setting)

Another idea is to use the scan_delay parameter that we already use for
scan mode. In that case the same delay would be applied for frequency scan
mode as well as for fast tune when the pot is at either end of the range.

Let me know what you think is the best solution.

73 Allard PE1NWL

On Fri, January 5, 2018 16:29, Bob Gass via Groups.Io wrote:
Allard,

Would it be possible to add a 10 khz tuning step delay setting in the
Settings-Tuning menu of 1.27.x? I prefer to have mine tune at a slower
rate (1000 ms) than the default 300 ms.??

73,
Bob N4FV


Bob Gass
 

If it was placed up at the top where someone could edit it easily that would be great! The scan step delay option should be left as is.

73,
Bob N4FV


 

OK got it.
I just released a new version v1.27.5 that has this extra parameter (line 33).
Download from

Thanks for your useful suggestion!

73 Allard PE1NWL


 

Hi Allard san
?
In my case I have no problem interfere 41m broadcasting station.
I will be glad that? signal strength is displayed ?in second line on LCD.
Thanks nice info and nice sketch.


Bob Gass
 

Thank you!? Downloading it now.

73,
Bob N4FV


 

I didn't change the delay but did modify the increments to make the tuning smoother. Especially for CW the 10Hz?
increments makes it easier to tune to the correct frequency and avoid the sudden jumps in the wilderness:

void doTuning(){
? int s;
? unsigned long prev_freq;
?
? s = enc_read();
? if (s){
? ? prev_freq = frequency;
? ??
? ? if (s > 10)
? ? ? frequency += 20000l; //!!200000
? ? if (s > 7)
? ? ? frequency += 1000l; //!!10000
? ? else if (s > 4)
? ? ? frequency += 500l; //!!1000
? ? else if (s > 2)
? ? ? frequency += 100l; //!!500
? ? else if (s > 0)
? ? ? frequency += ?10l; //!!50
? ? else if (s > -2)
? ? ? frequency -= 10l; //!!50
? ? else if (s > -4)
? ? ? frequency -= 100l;
? ? else if (s > -7)
? ? ? frequency -= 500l;
? ? else if (s > -9)
? ? ? frequency -= 1000l;
? ? else
? ? ? frequency -= 20000l;
? ? ??
? ? if (prev_freq < 10000000l && frequency > 10000000l)
? ? ? isUSB = true;
? ? ??
? ? if (prev_freq > 10000000l && frequency < 10000000l)
? ? ? isUSB = false;
?
? ? setFrequency(frequency);
? ? updateDisplay();
? }
--
73, Yvon NU6I


 

Hello Allard,
I am a CW-only ham, so your 1.27.7 sketch made me love the BITX40.
Today I tried to upload the 1.28 upgrade but, surprisingly, it does not sense the key and transmit CW any more.
Moreover, the command-driven menus are not working as before.
I came back to the 1.27.7 version and now all is working as it should.
Did I miss something?
Thank you so much, best 72
Joe, IZ0WIT


 

The PTTsense mod is required for CW operation. During start up, the firmware tests whether the PTTsense mod is installed.
It was found that the PTTsense mod is not reliably detected on some radios, possibly due to small variations in the hardware environment.
Inserting a small delay in the setup() routine fixes the issue. The extra delay gives the voltages on the Arduino inputs some time to settle at power on.
Improved sketch version v1.28.1 will be released shortly via Github.

73 Allard PE1NWL