¿ªÔÆÌåÓý

Date

Re: Frequency display refresh (or lack thereof)

G4NQX
 

As long as it works now, all is well.

No double posts on the groups.io
--
Rob G4NQX


Re: Frequency display refresh (or lack thereof)

 

Rob,
You might be right, there may be some library version issues going on. I know the Si5351 library got updated at some point and I had to change some things around to accommodate that as well. I knew there was something little I was missing, I just wasn't sure where it was. I knew you all would know!

Is anyone else seeing duplicates when I post or is it just my email being funny?

73 de KB1VNA
Eric

On Sat, Feb 4, 2017 at 11:45 AM, G4NQX <tasmod@...> wrote:
Now that is interesting.? It runs fine here as is.? I suspect there is something I did to make it work but don't know what !!!
--
Rob G4NQX



Re: Frequency display refresh (or lack thereof)

Jack Purdum
 

That can be a problem and I've run into this before. As I recall, one had "Rotary.h" and the other was "rotary.h". I can remember the details. (Hell, I can't remember what I had for breakfast!)

Jack, W8TEE



From: G4NQX <tasmod@...>
To: [email protected]
Sent: Saturday, February 4, 2017 11:40 AM
Subject: Re: [BITX20] Frequency display refresh (or lack thereof)

I just run the code on a quick setup and it works fine.
Are you using the mentioned library, there are at least two I know of with the same name. Do you have another Rotary library on your computer by any chance?
--
Rob G4NQX



Re: Frequency display refresh (or lack thereof)

G4NQX
 

Now that is interesting.? It runs fine here as is.? I suspect there is something I did to make it work but don't know what !!!
--
Rob G4NQX


Re: BitX40 Tips and Mods doc

Jack Purdum
 

Thanks from everyone, Rob...Herculean service for us all!

Jack, W8TEE



From: G4NQX <tasmod@...>
To: [email protected]
Sent: Saturday, February 4, 2017 7:33 AM
Subject: [BITX20] BitX40 Tips and Mods doc

Well,? I've trawled through over 2000 posts and gleaned as much useful information as I can.? This version is dated and contains lots more useful info.
At this point since early January there has been around 1500 posts to Groups.io BitX20 !
That's some going for a group, just shows how popular the BitX is.
--
Rob G4NQX



Re: Frequency display refresh (or lack thereof)

 

Jack! That did it!

I suspect that the simple addition of the display_frequency?was what did the trick, and I intend to experiment a bit, but what does the interrupt service routine do?

Thanks again all!

73 de KB1VNA

On Sat, Feb 4, 2017 at 11:24 AM, Jack Purdum via Groups.Io <econjack@...> wrote:
I don't know if this fixes it, but give this a try (make a backup of your current code...just in case!). Change the current interrupt service routine to:

ISR(PCINT2_vect) {
? unsigned char result = r.process();
? if (result == 0) ? ? ? ? ? ? ? ?// New lines. No reason to check if 0
return;
? if (result == DIR_CW)
? ? set_frequency(1);
? else ? ? ? ? ? ? ? ? ? ? ? ? ? ? // No reason for else since it is not 0
? ? set_frequency(-1);
}

Then make this change:

void set_frequency(short dir)
{
? if (dir == 1)
? ? vfo += radix;
? if (dir == -1)
? ? vfo -= radix;

? // ? ?if(vfo > F_MAX)
? // ? ? ?vfo = F_MAX;
? // ? ?if(vfo < F_MIN)
? // ? ? ?vfo = F_MIN;

? display_frequency();
? changed_f = 1;
}

I can't test this so you'll have to let us know what happened.

Jack, W8TEE

From: Eric Torraca <eric.torraca@...>
To: [email protected]
Sent: Saturday, February 4, 2017 10:26 AM
Subject: [BITX20] Frequency display refresh (or lack thereof)

Good morning all,
I'm having a problem with an Si5351/Arduino nano kit that I'm hoping to add to my pre-Raduino BITX40. I'm using the code site.?
The trouble is that the LCD only refreshes with the current frequency when the button is pressed to change the frequency step. Once I do that everything updates, but you can turn the encoder all day long and nothing will change on the LCD until you push the button to change the step. I've looked over the sketch and am just not seeing the problem. Can anyone else see where I'm going wrong? I'm using AK2B's sketch as-is with only the pins changed to match my setup. (Let me know if I should post the sketch. I wasn't sure what the etiquette was in this case.)
Any advice would be greatly appreciated!
73 de KB1VNA
Eric




Re: Frequency display refresh (or lack thereof)

G4NQX
 

I just run the code on a quick setup and it works fine.

Are you using the mentioned library, there are at least two I know of with the same name. Do you have another Rotary library on your computer by any chance?
--
Rob G4NQX


Re: Using STM32 board with Arduino IDE

Jack Purdum
 

Interesting and I don't know much about these. I do like the Teensy 3.5 and 3.6 because the have at least 512Kb of flash and 192K of SRAM and are clocked at 120MHz or higher. So far, however, I haven't needed that much horsepower.

Jack, W8TEE



From: G4NQX <tasmod@...>
To: [email protected]
Sent: Saturday, February 4, 2017 7:39 AM
Subject: [BITX20] Using STM32 board with Arduino IDE

One for Jack W8TEE really ut it may interest others, this webpage details some boards and using them with the Arduino IDE.
Very interesting.

--
Rob G4NQX



Re: Frequency display refresh (or lack thereof)

Jack Purdum
 

I don't know if this fixes it, but give this a try (make a backup of your current code...just in case!). Change the current interrupt service routine to:

ISR(PCINT2_vect) {
? unsigned char result = r.process();
? if (result == 0) ? ? ? ? ? ? ? ?// New lines. No reason to check if 0
return;
? if (result == DIR_CW)
? ? set_frequency(1);
? else ? ? ? ? ? ? ? ? ? ? ? ? ? ? // No reason for else since it is not 0
? ? set_frequency(-1);
}

Then make this change:

void set_frequency(short dir)
{
? if (dir == 1)
? ? vfo += radix;
? if (dir == -1)
? ? vfo -= radix;

? // ? ?if(vfo > F_MAX)
? // ? ? ?vfo = F_MAX;
? // ? ?if(vfo < F_MIN)
? // ? ? ?vfo = F_MIN;

? display_frequency();
? changed_f = 1;
}

I can't test this so you'll have to let us know what happened.

Jack, W8TEE


From: Eric Torraca <eric.torraca@...>
To: [email protected]
Sent: Saturday, February 4, 2017 10:26 AM
Subject: [BITX20] Frequency display refresh (or lack thereof)

Good morning all,
I'm having a problem with an Si5351/Arduino nano kit that I'm hoping to add to my pre-Raduino BITX40. I'm using the code site.?
The trouble is that the LCD only refreshes with the current frequency when the button is pressed to change the frequency step. Once I do that everything updates, but you can turn the encoder all day long and nothing will change on the LCD until you push the button to change the step. I've looked over the sketch and am just not seeing the problem. Can anyone else see where I'm going wrong? I'm using AK2B's sketch as-is with only the pins changed to match my setup. (Let me know if I should post the sketch. I wasn't sure what the etiquette was in this case.)
Any advice would be greatly appreciated!
73 de KB1VNA
Eric



Re: Frequency display refresh (or lack thereof)

 

Hey Rob.

Yes, it's on a nano. Sorry I meant to mention that.

73 de KB1VNA

On Sat, Feb 4, 2017 at 11:22 AM, eric torraca <eric.torraca@...> wrote:
Hello Gents.

Thanks for the replies.
I'll attach the sketch, here are the pin-outs as physically attached:

Arduino pins:?
D2 - R encoder
D3 - R encoder
D4 - not connected (NC)
D5 - LCD RS
D6 - LCD E
D7 - LCD D4
D8 - LCD D5
D9 - LCD D6
D10 - LCD D7
D11 - R encoder button
D12 - NC

A4 - Si5351 SDA
A5 - Si5351 SCL


73 de KB1VNA



On Sat, Feb 4, 2017 at 11:09 AM, M Garza <mgarza896@...> wrote:
And I should learn to read....

I would attach the sketch you are using, since it has been modified for your needs.

Marco - KG5PRT?

On Feb 4, 2017 10:07 AM, "M Garza" <mgarza896@...> wrote:
Hello Eric,
I would recommend at least a link to the sketch.? You could also include it as an attachment.

Marco - KG5PRT?

On Feb 4, 2017 9:26 AM, "Eric Torraca" <eric.torraca@...> wrote:

Good morning all,

I'm having a problem with an Si5351/Arduino nano kit that I'm hoping to add to my pre-Raduino BITX40. I'm using the code site.?

The trouble is that the LCD only refreshes with the current frequency when the button is pressed to change the frequency step. Once I do that everything updates, but you can turn the encoder all day long and nothing will change on the LCD until you push the button to change the step. I've looked over the sketch and am just not seeing the problem. Can anyone else see where I'm going wrong? I'm using AK2B's sketch as-is with only the pins changed to match my setup. (Let me know if I should post the sketch. I wasn't sure what the etiquette was in this case.)

Any advice would be greatly appreciated!

73 de KB1VNA

Eric




Re: Frequency display refresh (or lack thereof)

 

Hello Gents.

Thanks for the replies.
I'll attach the sketch, here are the pin-outs as physically attached:

Arduino pins:?
D2 - R encoder
D3 - R encoder
D4 - not connected (NC)
D5 - LCD RS
D6 - LCD E
D7 - LCD D4
D8 - LCD D5
D9 - LCD D6
D10 - LCD D7
D11 - R encoder button
D12 - NC

A4 - Si5351 SDA
A5 - Si5351 SCL


73 de KB1VNA



On Sat, Feb 4, 2017 at 11:09 AM, M Garza <mgarza896@...> wrote:
And I should learn to read....

I would attach the sketch you are using, since it has been modified for your needs.

Marco - KG5PRT?

On Feb 4, 2017 10:07 AM, "M Garza" <mgarza896@...> wrote:
Hello Eric,
I would recommend at least a link to the sketch.? You could also include it as an attachment.

Marco - KG5PRT?

On Feb 4, 2017 9:26 AM, "Eric Torraca" <eric.torraca@...> wrote:

Good morning all,

I'm having a problem with an Si5351/Arduino nano kit that I'm hoping to add to my pre-Raduino BITX40. I'm using the code site.?

The trouble is that the LCD only refreshes with the current frequency when the button is pressed to change the frequency step. Once I do that everything updates, but you can turn the encoder all day long and nothing will change on the LCD until you push the button to change the step. I've looked over the sketch and am just not seeing the problem. Can anyone else see where I'm going wrong? I'm using AK2B's sketch as-is with only the pins changed to match my setup. (Let me know if I should post the sketch. I wasn't sure what the etiquette was in this case.)

Any advice would be greatly appreciated!

73 de KB1VNA

Eric



Re: Frequency display refresh (or lack thereof)

G4NQX
 

As it mentions on the site, only pins 2 and 3 on an Uno are for the encoder as it is interrupt driven.? Are yours still on 2 and 3 ?

I'm assuming you are using an Uno ?? If it's a Nano then the encoder needs to be on pins D2 D3
--
Rob G4NQX


Re: Frequency display refresh (or lack thereof)

M Garza
 

And I should learn to read....

I would attach the sketch you are using, since it has been modified for your needs.

Marco - KG5PRT?

On Feb 4, 2017 10:07 AM, "M Garza" <mgarza896@...> wrote:
Hello Eric,
I would recommend at least a link to the sketch.? You could also include it as an attachment.

Marco - KG5PRT?

On Feb 4, 2017 9:26 AM, "Eric Torraca" <eric.torraca@...> wrote:

Good morning all,

I'm having a problem with an Si5351/Arduino nano kit that I'm hoping to add to my pre-Raduino BITX40. I'm using the code site.?

The trouble is that the LCD only refreshes with the current frequency when the button is pressed to change the frequency step. Once I do that everything updates, but you can turn the encoder all day long and nothing will change on the LCD until you push the button to change the step. I've looked over the sketch and am just not seeing the problem. Can anyone else see where I'm going wrong? I'm using AK2B's sketch as-is with only the pins changed to match my setup. (Let me know if I should post the sketch. I wasn't sure what the etiquette was in this case.)

Any advice would be greatly appreciated!

73 de KB1VNA

Eric


Re: Frequency display refresh (or lack thereof)

G4NQX
 

That sounds more like a wiring problem rather than a code problem.

Can you post your connections as you have them.
--
Rob G4NQX


Re: Frequency display refresh (or lack thereof)

M Garza
 

Hello Eric,
I would recommend at least a link to the sketch.? You could also include it as an attachment.

Marco - KG5PRT?

On Feb 4, 2017 9:26 AM, "Eric Torraca" <eric.torraca@...> wrote:

Good morning all,

I'm having a problem with an Si5351/Arduino nano kit that I'm hoping to add to my pre-Raduino BITX40. I'm using the code site.?

The trouble is that the LCD only refreshes with the current frequency when the button is pressed to change the frequency step. Once I do that everything updates, but you can turn the encoder all day long and nothing will change on the LCD until you push the button to change the step. I've looked over the sketch and am just not seeing the problem. Can anyone else see where I'm going wrong? I'm using AK2B's sketch as-is with only the pins changed to match my setup. (Let me know if I should post the sketch. I wasn't sure what the etiquette was in this case.)

Any advice would be greatly appreciated!

73 de KB1VNA

Eric


Frequency display refresh (or lack thereof)

 

Good morning all,

I'm having a problem with an Si5351/Arduino nano kit that I'm hoping to add to my pre-Raduino BITX40. I'm using the code site.?

The trouble is that the LCD only refreshes with the current frequency when the button is pressed to change the frequency step. Once I do that everything updates, but you can turn the encoder all day long and nothing will change on the LCD until you push the button to change the step. I've looked over the sketch and am just not seeing the problem. Can anyone else see where I'm going wrong? I'm using AK2B's sketch as-is with only the pins changed to match my setup. (Let me know if I should post the sketch. I wasn't sure what the etiquette was in this case.)

Any advice would be greatly appreciated!

73 de KB1VNA

Eric


Re: BitX40 Tips and Mods doc

G4NQX
 

Amended version.


--
Rob G4NQX


Re: USPS Tracking

 

¿ªÔÆÌåÓý

Try:

?

If I remember correctly showed most details on the package where it is.

?

Ron ¨C PA3FAT

?


Re: Possible PA low output problem.

 

So you could barely hear that third one, and he was 7.6 miles away? ?And not the other two? ?But your receiver is otherwise working OK? ?If they are running at the same power level as you, thats a pretty good indication of what your rig would sound like at their end.

For a guy who used to run WWII surplus Arc5 gear, your complaint that the display was off by 100hz sounds kind of funny. ?I've never owned a rig that was accurate enough to just dial in a number and have the SSB audio come through clearly.

If you have any power at all going into a dummy load, that receiver in the same room should be plenty loud. ?Perhaps the receiver is way overloaded, and is pretty much shutting down. ?Or your audio level is way down (bad microphone?) so you don't have enough drive into the final. ?A low audio level would suggest the final has not much to do though, and thus the current into the IRF510 would be stuck around 100ma. ? Hard to debug from here, anybody in the club have a scope?

Jerry


On Fri, Feb 3, 2017 at 08:13 pm, John Smith wrote:

Just three people so far. First at 19 miles, second at 12.5 miles, and third at 7.6 miles. And I could hear the third one weakly but audible.?

I mentioned before on the bad tx audio thread that the sound of my ssb signal is not as loud and clear on the SW receiver as I expected. And this multimeter reading seems to be half of the 1 amp expected. On the receiver I have to turn it up louder to hear my self with headphones than the volume the level for listening to other stations.

?


Re: USPS Tracking

 

Good day, I bought the DDS $ 14.00 on December 24, 2016 on January 7, 2017, was despatched, with the Nr Track & Tracer. Supposedly with route to Argentina. To this day he has not arrived in Argentina. In which part of the world will the package be lost ????
Greetings to the group.
Julio cx4ol / cx3cc