开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育
Date

Re: 80m band QRSS grabber

Chris Mac
 

开云体育

It's up there now 3500.00 to 3500.200 kHz. I'll leave it there for 24 hours. ?More if that helps. 73s Chris?

Sent from Chris Mac's iPhone
Amateur radio callsign: G?MQW

On 21 Oct 2012, at 18:48, "dd5cf_colin" <jobaco@...> wrote:

?

Hi Chris, thanks for your offer I could start whenever is most convenient for you. I will be using the single mode QRSS kit with a 3.500MHz Xtal.

Vy 73 de Colin DD5CF / G1ZOS

--- In QRPLabs@..., Chris Mac wrote:
>
> Hi there. I'm happy to tune to 80m for a few days if you want a European 80m grabber.
>
> When would you want it to start and what frequency?
>
> Chris.
>
> Sent from Chris Mac's iPhone
> Amateur radio callsign: G?MQW
>
>
> On 21 Oct 2012, at 15:32, "dd5cf_colin" wrote:
>
> > Hi to all members, does anyone know of a grabber for the 80m band?
> >
> > 73 de Colin DD5CF / G1ZOS
> >
> >
>


Re: 80m band QRSS grabber

"dd5cf_colin"
 

Hi Chris, thanks for your offer I could start whenever is most convenient for you. I will be using the single mode QRSS kit with a 3.500MHz Xtal.

Vy 73 de Colin DD5CF / G1ZOS

--- In QRPLabs@..., Chris Mac <chrismac@...> wrote:

Hi there. I'm happy to tune to 80m for a few days if you want a European 80m grabber.

When would you want it to start and what frequency?

Chris.

Sent from Chris Mac's iPhone
Amateur radio callsign: G??MQW


On 21 Oct 2012, at 15:32, "dd5cf_colin" <jobaco@...> wrote:

Hi to all members, does anyone know of a grabber for the 80m band?

73 de Colin DD5CF / G1ZOS


Re: 80m band QRSS grabber

Chris Mac
 

开云体育

Hi there. I'm happy to tune to 80m for a few days if you want a European 80m grabber. ?

?When would you want it to start and what frequency??

Chris.?

Sent from Chris Mac's iPhone
Amateur radio callsign: G?MQW

On 21 Oct 2012, at 15:32, "dd5cf_colin" <jobaco@...> wrote:

?

Hi to all members, does anyone know of a grabber for the 80m band?

73 de Colin DD5CF / G1ZOS


80m band QRSS grabber

"dd5cf_colin"
 

Hi to all members, does anyone know of a grabber for the 80m band?

73 de Colin DD5CF / G1ZOS


Re: Turning the original QRP Labs QRSS beacon into a WSPR beacon

"Yannick"
 

Hi Steve,

Thanks for your comments.
The truth is that I had this almost ready since may but I was busy working then...
As you announced your UQRSS kit with a really fair price I put my idea aside for a few months...
The fact is that I find your UQRSS kit as the others QRSS keyers lack the ability to be reprogrammed easily. I understand the compromise you made both from the cost point of view and because you master AVR assembler and C coding.
The only QRSS able keyer that can be easily modified is the K3NG keyer, however it does so much things that using it for real QRSS experiments is not that easy...
I then made the choice to include a full LaunchPad (or Arduino in certain projets I am working on) because it allows you to change the QRSS sending "on the fly".

Well, coming back to the kit, I think you should order the LaunchPad directly from TI. Given your skills and the fact you should already have all the parts, I am of no real added value.
Since I have to buy the LaunchPad abroad and send them back to Europe, my costs include the import taxes (customs are efficient here) and logistic...
My kit is more oriented toward people who prefer something ready to work and want a detailed manual with regular firmware updates or taylor-made programs...

Anyhow, once I have the current kit (the Arduino Audio spectrum scope) going well I will start to offer the WSPR beacon generator. For sure I will inform you about its availability.

About the DDS, you got it right. My provider in China told me he can get me 9851 for just a little more money. I am waiting for the samples. My first idea is to build a VFO / Signal generator kit available around january. The QRSS transmitter needs a stable PA and should be available later in february/march.

Chinese sellers on eBay have a lot of parts for cheap prices. However, digging a little bit you will find that things are not that simple... many sellers are in fact the same factory using different accounts in order to not to draw much attention.
Chinese are good sellers so when you order something you will have it fast and the product will fit the description.
If they have a problem on some parts quality and get bad feedbacks, what they will do is to close this account and open a new one. That's why you have so many times the same parts, they are just averaging the risk...

I have a friend who run a big electronic factory here manufacturing things for Europe. He goes once a month to Hong Kong to visit his suppliers. He can check the quality before buying and bring some samples for me, then if it is ok I can order by mail but the customs take their toll...

73,
Yan.
73,
Yan.
---
Yannick DEVOS - XV4Y

--- In QRPLabs@..., Stephen Farthing <squirrox@...> wrote:

Hi Yannick,

Well done! This is great work and I would be interested in a partial kit. I
am also interested in your idea for a 9850 based DDS. I have a back copy of
QEX somewhere with an article by an Italian ham who drives one with a PIC.
9850 development boards are available from china for 5 Euros in single
quantities e.g.


There are also other DDS modules available based on the AD9833 which are a
bit more expensive but go down to VLF.

73s Steve


Re: Slow running AVRs

"dd5cf_colin"
 

Hi Steve, no not yet.

I have received the V1.6 upgrade that I purchased a few weeks ago.

When I put it the 160m kit (with the cycling problem) the display stays blank, I tried it in the 30m kit and the display works but I could not set the locator as the first character is a #, I have tried the factory reset but it stays the same, I have given up on the 160m kit for the moment it is making my brain hurt, when the free upgrade arrives I will take another bash at it.

The 30m kit still work well with V1.3 even after destroying the PBC around the Xtal, my repairs to it are a right mess.

73 Colin

--- In QRPLabs@..., Stephen Farthing <squirrox@...> wrote:

Did your's arrive Colin?

On 19 October 2012 16:01, dd5cf_colin <jobaco@...> wrote:

**


Hi Steve, thanks for the reminder


--- In QRPLabs@..., Stephen Farthing <squirrox@> wrote:

Hi Guys,

I just wanted to make sure that there is no one left out there with a
slow
running AVR who has not yet contacted me for a replacement. I shipped
them
to everyone before I left for my holiday a couple of weeks back so you
should all have received them by now. If you have not and not told me
please get in touch by email quoting "Slow running AVR" in the message
header and the number of chips you need and where to send them to in the
text of the message and I'll ship them out tomorrow or Monday morning.

73s Steve G0XAR


Re: Turning the original QRP Labs QRSS beacon into a WSPR beacon

Stephen Farthing
 

Hi Yannick,

Well done! This is great work and I would be interested in a partial kit. I am also interested in your idea for a 9850 based DDS. I have a back copy of QEX somewhere with an article by an Italian ham who drives one with a PIC. 9850 development boards are available from china for 5 Euros in single quantities e.g. ??

There are also other DDS modules available based on the AD9833 which are a bit more expensive but go down to VLF.?

73s Steve


Re: Slow running AVRs

Stephen Farthing
 

Did your's arrive Colin?


On 19 October 2012 16:01, dd5cf_colin <jobaco@...> wrote:
?

Hi Steve, thanks for the reminder



--- In QRPLabs@..., Stephen Farthing wrote:
>
> Hi Guys,
>
> I just wanted to make sure that there is no one left out there with a slow
> running AVR who has not yet contacted me for a replacement. I shipped them
> to everyone before I left for my holiday a couple of weeks back so you
> should all have received them by now. If you have not and not told me
> please get in touch by email quoting "Slow running AVR" in the message
> header and the number of chips you need and where to send them to in the
> text of the message and I'll ship them out tomorrow or Monday morning.
>
> 73s Steve G0XAR
>



Re: Slow running AVRs

"dd5cf_colin"
 

Hi Steve, thanks for the reminder

--- In QRPLabs@..., Stephen Farthing <squirrox@...> wrote:

Hi Guys,

I just wanted to make sure that there is no one left out there with a slow
running AVR who has not yet contacted me for a replacement. I shipped them
to everyone before I left for my holiday a couple of weeks back so you
should all have received them by now. If you have not and not told me
please get in touch by email quoting "Slow running AVR" in the message
header and the number of chips you need and where to send them to in the
text of the message and I'll ship them out tomorrow or Monday morning.

73s Steve G0XAR


Slow running AVRs

Stephen Farthing
 

Hi Guys,

I just wanted to make sure that there is no one left out there with a slow running AVR who has not yet contacted me for a replacement. I shipped them to everyone before I left for my holiday a couple of weeks back so you should all have received them by now. If you have not and not told me please get in touch by email quoting "Slow running AVR" in the message header and the number of chips you need and where to send them to in the text of the message and I'll ship them out tomorrow or Monday morning.?

73s Steve G0XAR


Turning the original QRP Labs QRSS beacon into a WSPR beacon

"Yannick (XV4Y)"
 

Hi,

I finally published the code and details on how to modify the original QRSS kit by Hans and Steve into a WSPR beacon.
I had to chase a bug which is not directly related to my production code, so it was hard to solve it.
Everything is here on my blog, in french. The schematics and code comments are in english. The automatic translation will give you enough details to have the big picture on how to implement this mod and use the code.


All the parts are easy to find and buy and you have access to the full code for free.
However, if you are afraid of soldering I will soon offer a semi-kit for this, expected around 20USD (I hope less depending on shipping/taxes).
The kit will use a full LaunchPad board with USB port, so you will be able to reprogram it in order to generate any signal form you want.
Adding more resolution to the DAC (the R-2R ladder) will allow Hellschreiber or softer "keying form"...

Don't mind in asking through the blog comments if you need more details on how to implement it.

I am also waiting parts to build a prototype of a "Agile QRSS transmitter" based on a AD9850 DDS.
They are now cheap and easy to play with using an Arduino or a LaunchPad.
But more on this later on my blog...

73,
Yan.
---
Yannick DEVOS - XV4Y



Re: Inconsistent timing in WSPR mode - Further observations

Stephen Farthing
 

I'll be shipping the corrected chips plus a new version of the firmware this week. Sorry about the delay but as I previously posted I was away on holiday...

73s Steve

On 16 October 2012 21:38, Gary Kohtala <gary.k7ek@...> wrote:

?

Any idea when those of us waiting for the corrected chips will receive them (due to programming error causing x8 slow clock)?
?
Best regards,
?
Gary, K7EK
?



Re: Inconsistent timing in WSPR mode - Further observations

Gary Kohtala
 

Any idea when those of us waiting for the corrected chips will receive them (due to programming error causing x8 slow clock)?
?
Best regards,
?
Gary, K7EK
?


Re: Inconsistent timing in WSPR mode - Further observations

"cctbcn"
 

Hi Bob,

I was thinking of adding a heater crystal, too - mostly because I was considering mounting the entire unit (transmitter, GPS receiver, etc.) closer to the TX antenna and having a remote "TX Enable" switch because if I have a dedicated antenna for this, there's no real reason to bring the feedline into the shack. Of course, being outside, it's probably a good idea to keep the oscillator temperature stable.

Having used "logic gate" oscillators in the past, I've noted that they are often pretty terrible in terms of tempco so I may end up constructing an "outboard" (perhaps "ovenized") oscillator and feeding it via "C in", anyway - but I'll see...

* * *

As per the suggestion, I did disconnect the GPS and check the onboard clock's accuracy in "standalone" mode. It would appear that in that mode (with the program's frequency setting matching that of the crystal) that the clock was accurate - at least over the 5 minute period during which the test was run as in that time the WWV second occurred at the same relative time as the change-of-seconds on the LCD. This would seem to rule out there being a problem with the prescaler on this chip being improperly programmed.

I have yet to try "standalone" WSPR: That's the next thing on the list.

* * *

I did more testing with the unit to try to make it synchronize to GPS properly.

As noted before, the Axiom Sandpiper's 1pps output is a 100ms high pulse (rising edge coinciding with the beginning of the second) and it would oddly seem that capacitive coupling caused a double trigger - even though the "falling edge" through the cap was entirely below 0 volts, clamped by the input protection diode, so I wouldn't have expected a response: Again, I've seen other chips that do funny things on some inputs when their protection diodes conduct!

It took a series diode with a 22uF cap on the AVR side of the world (and a 10k across the diode to discharge it again after the falling edge of the pulse) to stretch the 1pps pulse comfortably longer than 100ms to avoid the apparent windowing issue.


Now, the unit will sync with the 1pps, but I still note that the time display will randomly jump around with respect to UTC - sometimes a second or two fast, other times a second or two slow - but at least it's now in sync with the second! When it loses sync I see that the seconds display will either pause, or it will simply jump ahead, the change now staying in lock-step with the 1pps.

In looking at the NMEA I note that the output of the GPS receiver isn't synchronous with the 1pps, but rather it wanders around a bit (e.g. the time between the emitting of the sentence and the beginning of the 1pps varies) so I suspect that, perhaps, the inconsistency in timing of the NMEA sentence is confusing the unit, so to this end I've ordered one of the "known working" GPS units on the web page (a UBLOX TIM) and will try that, instead.

Interestingly, I'll note that in power-up, that when it acquires the time from the NMEA, that the seconds will sometimes be off by 20-40 seconds. I have no idea how this happens - especially considering that there's a checksum involved, but after several minutes it will (eventually) correct itself - to +/- 1 or 2 seconds.

* * *

A question that came to mind was the calibration of the frequency offset using the TEST mode. To be sure, this needs to be done carefully in standalone mode, but when synchronized to GPS does the unit use already-available time/frequency information to calibrate itself and the amount of frequency offset achieved by the LED/Varactor or does it rely entirely on the entered PWM offset value?

* * *

Finally, I noticed that whether the unit was configured to use the GPS input or not and whether the 1pps was present or not, the TEST mode wouldn't work the "second time" it was entered.

What was happening was that when re-entering test mode via the menu, it would not only be on the wrong frequency (e.g. PWM/tuning voltage was different) but the FSK square wave for calibration (e.g. modulation of the PWM voltage) was completely missing - until I power-cycled again, where it would automatically re-enter the TEST mode and work properly.

It took a bit of head-scratching to figure out what was happening - especially since the frequency would sometimes shift out of view on Spectran and I'd have to relocate it, only to notice that it was CW instead of the FSK test pattern. Hmmm...

'Tis an interesting project!

73,

Clint
KA7OEI

--- In QRPLabs@..., "g8voip" <g8voi.reeves59@...> wrote:

Hi Clint,

Not sure if this is relevant or not, but I am still in the process of finishing off my board and noted a timing issue when running WSPR with the clock free running (v1.5 firmware).

I have fitted a simple positor type crystal heater and after the initial warm up period the frequency is very stable and within 1Hz of where I have set it.

Setting the real time clock manually compared to a MSF clock, I could decode the first couple of WSPR transmissions, but after a period of around 40 minutes the clock had gained 12 seconds, so the start timing was completely wrong and no decoding was possible. Checking the oscillator frequency, this was still the same as the stored frequency (within +/-1 Hz).

Hopefully once I hook up a GPS receiver this will not be a problem, but appears perhaps something is not quite right with the free running RTC.

73, Bob G8VOI

--- In QRPLabs@..., "cctbcn" <turner@> wrote:

Hi Hans,

Thanks for the thoughtful reply!

I'll disable the GPS mode and look to see if the clock accuracy works as it should when free-running: I've not tried that and in retrospect, it would have been a good diagnostic step.

As for the pulse duration, as I mentioned, I did change it to an R/C input - IIRC, a 0.05 uF in with a 10k to ground on the beacon side, this resulting in a much narrow pulse - and this didn't help, but now knowing that you actually look at both sides of the pulse, I can see how this might have an effect.

FWIW, the addition of this circuit did create two pulses - but only one was positive (rising edge) while the other was negative, clamped by the AVR's input protection diodes to about -0.6 volts and I would not expect it to trigger the input as no ringing was evident on the (100 MHz) scope. Nevertheless, I've seen some micros that do funny things on some inputs when they go beyond one rail or the other...

When I get the chance, I'll try lengthening the pulse a bit using the series diode plus cap/resistor. If that doesn't work, I'll tack an edge-triggered timer on the 1pps input so that I can vary the duration of the input pulse from very narrow to much longer than 100 ms.

What is the logic threshold on that input, anyway? I'm asking since the addition of a diode will put the "high" voltage down into the 2.5-2.7 volt area...

* * *

I was curious, however: I suppose that a software menu option could have been "+GPS" or "-GPS" to allow options edge triggering - and the fact that many GPS receivers output microsecond-wide pulses would make the selection generally irrelevant in these cases - assuming consistent pulse length, of course. Why the non-use of edge triggering, then? I've not looked at the data sheet for this chip, but I suppose that maybe it could be an IOC (Interrupt-On-Change) input, polling, or some other reason?

* * *

No problem with the Code Protection: I do that on chips that I sell, too!

Thanks and 73,

Clint



--- In QRPLabs@..., Hans Summers <hans.summers@> wrote:

Hi Clint

There's a lot of information there, I have some things to comment/suggest
etc.

Firstly, I think it would be wise to check that the clock divide-by-8 fuse
problem isn't applicable to your chip. If you switch off the GPS (set it to
Off in the menu), does the kit work Ok? When waiting for the time for a
transmit WSPR frame, the clock should show on the LCD - does it count
normally? If so, then clearly there is a problem only with your GPS unit
not suiting the kit very well, and we have to address that problem only.

- I was able to issue commands to the GPS receiver so that it outputs
ONLY $GPRMC strings. I've tried setting it for updating once per second,
or once every second - no difference.

Yes, I do no think that the problem is with too many sentences in the
serial data stream.

- I've tweaked the 1pps voltage so that it's comfortably within the CMOS
threshold of a device operating from a 5 volt rail - no difference.

3.3V should be Ok for an AVR directly.

- At some point, the seconds count will by synchronized to the 1 second
interval: It may be 1 or 2 seconds off, but the change occurs right on the
1 second interval.

- Over a period of 10-20 seconds, I can visually watch the LCD's
seconds-counter "walk" away from the UTC second, slowing down by about 1/2
second after that period.

- At some point, the LCD seconds will jump and re-synchronize.

Clearly, the "time" on the AVR isn't close enough to allow a free running
clock and it looks like it drifts away from the window rather quickly. I
let the unit run for several hours and not once was I able to get a valid
WSPR decode.

Probably if your clock was really free-running, i.e. if you completely turn
via the "Use GPS" setting, the unit should run for many days. The accuracy
of the clock is limited only by how accurately you were able to tune the
frequency - if it matches the value set in the "Frequency" configuration
parameter, then the timing will be very accurate.

However I have a suspicion about what is going on here. The GPS 1pps input
is not watching either the positive or the negative edge. It actually
triggers an interrupt on BOTH edges. How it decides which one to attend to:
it is looking for a change in signal level which arrives at the right time,
to lock onto. I think the problem here is that your GPS unit has a 100ms
pulse, which is exactly the threshold set in the code, for what is the
"right time". A very short pulse would be Ok, and so would a longer pulse.
But if the pulse length is exactly 100ms, then sometimes it will be
triggering on the rising edge, and sometimes the falling edge - depending
on whether it thinks it is more or less than 100ms long as timed by the kit.

Thinking that the 100ms long 1pps pulse (rising edge coincides with the
second)
I put a series capacitor (0.05uF) with a 10k to ground on the UQRSS side
to turn
it into a brief rising pulse, but this hasn't changed anything, either.
When you added this circuit, I don't think it helped because you
essentially created two brief pulses 100ms apart so the same problem was
there.

I'm not explaining this very well nor can I think of a better way to
explain it right now. But basically I think that your pulse is exactly the
right length for the kit to be getting confused by it and I suspect that
the symptoms you observe are consistent with my understanding of what would
happen if a pulse of 100ms was applied. Less or more is fine, but exactly
100ms is a problem. There has to be a threshold somewhere, and I chose
100ms!

This is suspicion only. I may be wrong. However I think we could prove it
easily enough. In order to test my theory, you should try lengthening the
pulse so it is more than 100ms. You could do it with a 74HC123 etc but I
think the easiest way would be: a diode from the GPS module 1pps signal to
the "Ultimate" kit input, with a small capacitor to ground, and a resistor
across the capacitor. Say 0.05uF and 100K. That should lengthen the pulse
by a few ms, enough to get it away from 100ms. I would be very interested
to see if this helps.

I don't get any ERROR message, so this doesn't exactly fit the "slow
clock" problem, but there's something amiss, here. I do have access to an
Atmel AVR Dragon programmer, so if there's a fuse that can be flipped
(assuming that it's not code-protected) I could try that?

Sorry, it is code-protected. Long story, I won't go over it again here. But
we felt it necessary :-(

73 Hans G0UPL


Re: Inconsistent timing in WSPR mode - Further observations

"g8voip"
 

Hi Clint,

Not sure if this is relevant or not, but I am still in the process of finishing off my board and noted a timing issue when running WSPR with the clock free running (v1.5 firmware).

I have fitted a simple positor type crystal heater and after the initial warm up period the frequency is very stable and within 1Hz of where I have set it.

Setting the real time clock manually compared to a MSF clock, I could decode the first couple of WSPR transmissions, but after a period of around 40 minutes the clock had gained 12 seconds, so the start timing was completely wrong and no decoding was possible. Checking the oscillator frequency, this was still the same as the stored frequency (within +/-1 Hz).

Hopefully once I hook up a GPS receiver this will not be a problem, but appears perhaps something is not quite right with the free running RTC.

73, Bob G8VOI

--- In QRPLabs@..., "cctbcn" <turner@...> wrote:

Hi Hans,

Thanks for the thoughtful reply!

I'll disable the GPS mode and look to see if the clock accuracy works as it should when free-running: I've not tried that and in retrospect, it would have been a good diagnostic step.

As for the pulse duration, as I mentioned, I did change it to an R/C input - IIRC, a 0.05 uF in with a 10k to ground on the beacon side, this resulting in a much narrow pulse - and this didn't help, but now knowing that you actually look at both sides of the pulse, I can see how this might have an effect.

FWIW, the addition of this circuit did create two pulses - but only one was positive (rising edge) while the other was negative, clamped by the AVR's input protection diodes to about -0.6 volts and I would not expect it to trigger the input as no ringing was evident on the (100 MHz) scope. Nevertheless, I've seen some micros that do funny things on some inputs when they go beyond one rail or the other...

When I get the chance, I'll try lengthening the pulse a bit using the series diode plus cap/resistor. If that doesn't work, I'll tack an edge-triggered timer on the 1pps input so that I can vary the duration of the input pulse from very narrow to much longer than 100 ms.

What is the logic threshold on that input, anyway? I'm asking since the addition of a diode will put the "high" voltage down into the 2.5-2.7 volt area...

* * *

I was curious, however: I suppose that a software menu option could have been "+GPS" or "-GPS" to allow options edge triggering - and the fact that many GPS receivers output microsecond-wide pulses would make the selection generally irrelevant in these cases - assuming consistent pulse length, of course. Why the non-use of edge triggering, then? I've not looked at the data sheet for this chip, but I suppose that maybe it could be an IOC (Interrupt-On-Change) input, polling, or some other reason?

* * *

No problem with the Code Protection: I do that on chips that I sell, too!

Thanks and 73,

Clint



--- In QRPLabs@..., Hans Summers <hans.summers@> wrote:

Hi Clint

There's a lot of information there, I have some things to comment/suggest
etc.

Firstly, I think it would be wise to check that the clock divide-by-8 fuse
problem isn't applicable to your chip. If you switch off the GPS (set it to
Off in the menu), does the kit work Ok? When waiting for the time for a
transmit WSPR frame, the clock should show on the LCD - does it count
normally? If so, then clearly there is a problem only with your GPS unit
not suiting the kit very well, and we have to address that problem only.

- I was able to issue commands to the GPS receiver so that it outputs
ONLY $GPRMC strings. I've tried setting it for updating once per second,
or once every second - no difference.

Yes, I do no think that the problem is with too many sentences in the
serial data stream.

- I've tweaked the 1pps voltage so that it's comfortably within the CMOS
threshold of a device operating from a 5 volt rail - no difference.

3.3V should be Ok for an AVR directly.

- At some point, the seconds count will by synchronized to the 1 second
interval: It may be 1 or 2 seconds off, but the change occurs right on the
1 second interval.

- Over a period of 10-20 seconds, I can visually watch the LCD's
seconds-counter "walk" away from the UTC second, slowing down by about 1/2
second after that period.

- At some point, the LCD seconds will jump and re-synchronize.

Clearly, the "time" on the AVR isn't close enough to allow a free running
clock and it looks like it drifts away from the window rather quickly. I
let the unit run for several hours and not once was I able to get a valid
WSPR decode.

Probably if your clock was really free-running, i.e. if you completely turn
via the "Use GPS" setting, the unit should run for many days. The accuracy
of the clock is limited only by how accurately you were able to tune the
frequency - if it matches the value set in the "Frequency" configuration
parameter, then the timing will be very accurate.

However I have a suspicion about what is going on here. The GPS 1pps input
is not watching either the positive or the negative edge. It actually
triggers an interrupt on BOTH edges. How it decides which one to attend to:
it is looking for a change in signal level which arrives at the right time,
to lock onto. I think the problem here is that your GPS unit has a 100ms
pulse, which is exactly the threshold set in the code, for what is the
"right time". A very short pulse would be Ok, and so would a longer pulse.
But if the pulse length is exactly 100ms, then sometimes it will be
triggering on the rising edge, and sometimes the falling edge - depending
on whether it thinks it is more or less than 100ms long as timed by the kit.

Thinking that the 100ms long 1pps pulse (rising edge coincides with the
second)
I put a series capacitor (0.05uF) with a 10k to ground on the UQRSS side
to turn
it into a brief rising pulse, but this hasn't changed anything, either.
When you added this circuit, I don't think it helped because you
essentially created two brief pulses 100ms apart so the same problem was
there.

I'm not explaining this very well nor can I think of a better way to
explain it right now. But basically I think that your pulse is exactly the
right length for the kit to be getting confused by it and I suspect that
the symptoms you observe are consistent with my understanding of what would
happen if a pulse of 100ms was applied. Less or more is fine, but exactly
100ms is a problem. There has to be a threshold somewhere, and I chose
100ms!

This is suspicion only. I may be wrong. However I think we could prove it
easily enough. In order to test my theory, you should try lengthening the
pulse so it is more than 100ms. You could do it with a 74HC123 etc but I
think the easiest way would be: a diode from the GPS module 1pps signal to
the "Ultimate" kit input, with a small capacitor to ground, and a resistor
across the capacitor. Say 0.05uF and 100K. That should lengthen the pulse
by a few ms, enough to get it away from 100ms. I would be very interested
to see if this helps.

I don't get any ERROR message, so this doesn't exactly fit the "slow
clock" problem, but there's something amiss, here. I do have access to an
Atmel AVR Dragon programmer, so if there's a fuse that can be flipped
(assuming that it's not code-protected) I could try that?

Sorry, it is code-protected. Long story, I won't go over it again here. But
we felt it necessary :-(

73 Hans G0UPL


Re: Inconsistent timing in WSPR mode - Further observations

"cctbcn"
 

Hi Hans,

Thanks for the thoughtful reply!

I'll disable the GPS mode and look to see if the clock accuracy works as it should when free-running: I've not tried that and in retrospect, it would have been a good diagnostic step.

As for the pulse duration, as I mentioned, I did change it to an R/C input - IIRC, a 0.05 uF in with a 10k to ground on the beacon side, this resulting in a much narrow pulse - and this didn't help, but now knowing that you actually look at both sides of the pulse, I can see how this might have an effect.

FWIW, the addition of this circuit did create two pulses - but only one was positive (rising edge) while the other was negative, clamped by the AVR's input protection diodes to about -0.6 volts and I would not expect it to trigger the input as no ringing was evident on the (100 MHz) scope. Nevertheless, I've seen some micros that do funny things on some inputs when they go beyond one rail or the other...

When I get the chance, I'll try lengthening the pulse a bit using the series diode plus cap/resistor. If that doesn't work, I'll tack an edge-triggered timer on the 1pps input so that I can vary the duration of the input pulse from very narrow to much longer than 100 ms.

What is the logic threshold on that input, anyway? I'm asking since the addition of a diode will put the "high" voltage down into the 2.5-2.7 volt area...

* * *

I was curious, however: I suppose that a software menu option could have been "+GPS" or "-GPS" to allow options edge triggering - and the fact that many GPS receivers output microsecond-wide pulses would make the selection generally irrelevant in these cases - assuming consistent pulse length, of course. Why the non-use of edge triggering, then? I've not looked at the data sheet for this chip, but I suppose that maybe it could be an IOC (Interrupt-On-Change) input, polling, or some other reason?

* * *

No problem with the Code Protection: I do that on chips that I sell, too!

Thanks and 73,

Clint

--- In QRPLabs@..., Hans Summers <hans.summers@...> wrote:

Hi Clint

There's a lot of information there, I have some things to comment/suggest
etc.

Firstly, I think it would be wise to check that the clock divide-by-8 fuse
problem isn't applicable to your chip. If you switch off the GPS (set it to
Off in the menu), does the kit work Ok? When waiting for the time for a
transmit WSPR frame, the clock should show on the LCD - does it count
normally? If so, then clearly there is a problem only with your GPS unit
not suiting the kit very well, and we have to address that problem only.

- I was able to issue commands to the GPS receiver so that it outputs
ONLY $GPRMC strings. I've tried setting it for updating once per second,
or once every second - no difference.

Yes, I do no think that the problem is with too many sentences in the
serial data stream.

- I've tweaked the 1pps voltage so that it's comfortably within the CMOS
threshold of a device operating from a 5 volt rail - no difference.

3.3V should be Ok for an AVR directly.

- At some point, the seconds count will by synchronized to the 1 second
interval: It may be 1 or 2 seconds off, but the change occurs right on the
1 second interval.

- Over a period of 10-20 seconds, I can visually watch the LCD's
seconds-counter "walk" away from the UTC second, slowing down by about 1/2
second after that period.

- At some point, the LCD seconds will jump and re-synchronize.

Clearly, the "time" on the AVR isn't close enough to allow a free running
clock and it looks like it drifts away from the window rather quickly. I
let the unit run for several hours and not once was I able to get a valid
WSPR decode.

Probably if your clock was really free-running, i.e. if you completely turn
via the "Use GPS" setting, the unit should run for many days. The accuracy
of the clock is limited only by how accurately you were able to tune the
frequency - if it matches the value set in the "Frequency" configuration
parameter, then the timing will be very accurate.

However I have a suspicion about what is going on here. The GPS 1pps input
is not watching either the positive or the negative edge. It actually
triggers an interrupt on BOTH edges. How it decides which one to attend to:
it is looking for a change in signal level which arrives at the right time,
to lock onto. I think the problem here is that your GPS unit has a 100ms
pulse, which is exactly the threshold set in the code, for what is the
"right time". A very short pulse would be Ok, and so would a longer pulse.
But if the pulse length is exactly 100ms, then sometimes it will be
triggering on the rising edge, and sometimes the falling edge - depending
on whether it thinks it is more or less than 100ms long as timed by the kit.

Thinking that the 100ms long 1pps pulse (rising edge coincides with the
second)
I put a series capacitor (0.05uF) with a 10k to ground on the UQRSS side
to turn
it into a brief rising pulse, but this hasn't changed anything, either.
When you added this circuit, I don't think it helped because you
essentially created two brief pulses 100ms apart so the same problem was
there.

I'm not explaining this very well nor can I think of a better way to
explain it right now. But basically I think that your pulse is exactly the
right length for the kit to be getting confused by it and I suspect that
the symptoms you observe are consistent with my understanding of what would
happen if a pulse of 100ms was applied. Less or more is fine, but exactly
100ms is a problem. There has to be a threshold somewhere, and I chose
100ms!

This is suspicion only. I may be wrong. However I think we could prove it
easily enough. In order to test my theory, you should try lengthening the
pulse so it is more than 100ms. You could do it with a 74HC123 etc but I
think the easiest way would be: a diode from the GPS module 1pps signal to
the "Ultimate" kit input, with a small capacitor to ground, and a resistor
across the capacitor. Say 0.05uF and 100K. That should lengthen the pulse
by a few ms, enough to get it away from 100ms. I would be very interested
to see if this helps.

I don't get any ERROR message, so this doesn't exactly fit the "slow
clock" problem, but there's something amiss, here. I do have access to an
Atmel AVR Dragon programmer, so if there's a fuse that can be flipped
(assuming that it's not code-protected) I could try that?

Sorry, it is code-protected. Long story, I won't go over it again here. But
we felt it necessary :-(

73 Hans G0UPL


Re: Inconsistent timing in WSPR mode - Further observations

Hans Summers
 


Hi Clint

There's a lot of information there, I have some things to comment/suggest etc.

Firstly, I think it would be wise to check that the clock divide-by-8 fuse problem isn't applicable to your chip. If you switch off the GPS (set it to Off in the menu), does the kit work Ok? When waiting for the time for a transmit WSPR frame, the clock should show on the LCD - does it count normally? If so, then clearly there is a problem only with your GPS unit not suiting the kit very well, and we have to address that problem only.

> - I was able to issue commands to the GPS receiver so that it outputs ONLY $GPRMC strings. ?I've tried setting it for updating once per second, or once every second - no difference.

Yes, I do no think that the problem is with too many sentences in the serial data stream.?

> - I've tweaked the 1pps voltage so that it's comfortably within the CMOS threshold of a device operating from a 5 volt rail - no difference.

3.3V should be Ok for an AVR directly.?

> - At some point, the seconds count will by synchronized to the 1 second interval: ?It may be 1 or 2 seconds off, but the change occurs right on the 1 second interval.
>?
> - Over a period of 10-20 seconds, I can visually watch the LCD's seconds-counter "walk" away from the UTC second, slowing down by about 1/2 second after that period.
>?
> - At some point, the LCD seconds will jump and re-synchronize.
>?
> Clearly, the "time" on the AVR isn't close enough to allow a free running clock and it looks like it drifts away from the window rather quickly. ?I let the unit run for several hours and not once was I able to get a valid WSPR decode.

Probably if your clock was really free-running, i.e. if you completely turn via the "Use GPS" setting, the unit should run for many days. The accuracy of the clock is limited only by how accurately you were able to tune the frequency - if it matches the value set in the "Frequency" configuration parameter, then the timing will be very accurate.

However I have a suspicion about what is going on here. The GPS 1pps input is not watching either the positive or the negative edge. It actually triggers an interrupt on BOTH edges. How it decides which one to attend to: it is looking for a change in signal level which arrives at the right time, to lock onto. I think the problem here is that your GPS unit has a 100ms pulse, which is exactly the threshold set in the code, for what is the "right time". A very short pulse would be Ok, and so would a longer pulse. But if the pulse length is exactly 100ms, then sometimes it will be triggering on the rising edge, and sometimes the falling edge - depending on whether it thinks it is more or less than 100ms long as timed by the kit.

> Thinking that the 100ms long 1pps pulse (rising edge coincides with the second)
> I put a series capacitor (0.05uF) with a 10k to ground on the UQRSS side to turn
> it into a brief rising pulse, but this hasn't changed anything, either.

When you added this circuit, I don't think it helped because you essentially created two brief pulses 100ms apart so the same problem was there.

I'm not explaining this very well nor can I think of a better way to explain it right now. But basically I think that your pulse is exactly the right length for the kit to be getting confused by it and I suspect that the symptoms you observe are consistent with my understanding of what would happen if a pulse of 100ms was applied. Less or more is fine, but exactly 100ms is a problem. There has to be a threshold somewhere, and I chose 100ms!

This is suspicion only. I may be wrong.?However I think we could prove it easily enough. In order to test my theory, you should try lengthening the pulse so it is more than 100ms. You could do it with a 74HC123 etc but I think the easiest way would be: a diode from the GPS module?1pps?signal to the "Ultimate" kit input, with a small capacitor to ground, and a resistor across the capacitor. Say 0.05uF and 100K. That should lengthen the pulse by a few ms, enough to get it away from 100ms. I would be very interested to see if this helps.

> I don't get any ERROR message, so this doesn't exactly fit the "slow clock" problem, but there's something amiss, here. ?I do have access to an Atmel AVR Dragon programmer, so if there's a fuse that can be flipped (assuming that it's not code-protected) I could try that?

Sorry, it is code-protected. Long story, I won't go over it again here. But we felt it necessary :-(

73 Hans G0UPL


Re: Constant carrier

"Alex"
 

That's good to know. I was trying very hard to think of something that I'd done wrong and I just couldn't think of anything.

I still have a small problem with the unit being a bit funny about powering up and I think the transistor is getting a little hot so there is some experimenting that need to be done there.

Many thanks for your help, apologies to the album owner I put it in by mistake. I had assumed it was a general use one.

Much appreciated.

Alex

--- In QRPLabs@..., Hans Summers <hans.summers@...> wrote:

Hi Alex,

There have been a number of firmware versions since v1.02, the full list is
here , but I do not think
that any of the bug fixes are applicable to your case.

I did find the photo you uploaded eventually, you put it in someone else's
folder I think ;-) In case anyone else couldn't find it, it's here in
woodiescbj's folder:



That photo shows message "TEST" in QRSS mode. I do not think there is a
problem here. You can see the strong line when the transmission is on. The
much weaker line when the keying is off, is just your sensitive receiver
picking up the signal from the oscillator, un-amplified. It's normal I
think, no problem. Receiving stations will not pick up the signal from your
crystal oscillator. It's just that you're right next to it.

In the Test mode you should see an FSK square wave as in the manual at
section 9. If you do not - then you need to check what settings you have in
the "FSK (Hz)" setting and the "FSK Adj." setting. Try 5 and 01,000
respectively. If you still see no shift in TEST mode, then I think some
checking of the circuit around the LED is needed.

73 Hans G0UPL



--- In QRPLabs@..., "g7kse" <g7kse@> wrote:



Thanks for the quick response Hans,

hope this helps better diagnose if there is a problem

The software version is 1.02
Kit bought in August
Receiver is connected to PC running Argo
Mode selected (nominally) CW
RF load on kit 20dBm
Rx RF Gain backed off

Powering up is a bit hit and miss - Occasionally it doesn't start up,
sometimes it'll start up with what I assume is a corrupted set of
characters on the LCD. Sometimes its fine. I can't find a fault with wiring
here although any pointers would be helpful

In test mode I was expecting to see the frequency shift every second
(Speed set to 01)with an output on Argo pretty much as per the build
instructions section 7. What I actually get is what looks and sounds like a
carrier without any frequency shift. Or nothing at all.

In CW mode I get a similar situation where I get a constant carrier heard
through the receiver speaker and shown on Argo. The output looks like the
carrier is on and keying produces the correct code but he carrier never
drops off. I'll put a capture from Argo into the photos folder.

Hope this is enough. I will keep on experimenting here and hopefully will
get it sorted out.

Alex, g7kse


--- In QRPLabs@..., Hans Summers <hans.summers@> wrote:

Hi Alex,

I'm sorry but it's not quite clear to me what you're seeing here, and
what
you're expecting to see.

Please can you confirm your version is v1.02? Versions before that had
an
on/off keying problem but that was fixed in v1.02. FYI the full version
history is here: .

You mention the "Test" mode - in this mode the signal should be constant
carrier, with a frequency shift every N seconds where N is the speed
setting you have entered.

How are you monitoring the signal and what load are you using at the RF
output of the kit? Are you using Argo to monitor, or just listening on
the
receiver audio?

I think more information is necessary, to help to either diagnose the
problem, or even if there IS an actual problem :-)

73 Hans G0UPL



--- In QRPLabs@..., "Alex" <g7kse@> wrote:

I've got a little problem that I think isn't a result of my mistake. I
get a constant carrier and can not see anything whilst in test mode. I
don't have sophisticated test gear just a reiver and dmm.

the kit powers up and if I use the cw mode for example there is a
constant carrier on just about the right frequency and the cw dit and
dahs
will go on nicely but the carrier doesn't drop off. Its making the PA
quite
hot and I'm sure (well fairly) it not something I've done. the software
version is 1.2

Any clues?

Alex, g7kse


Re: Inconsistent timing in WSPR mode - Further observations

"cctbcn"
 

I've had a few minutes to stare intently at the display and I have made a few observations.

First of all, here's what I've done to rule other things out:

- I was able to issue commands to the GPS receiver so that it outputs ONLY $GPRMC strings. I've tried setting it for updating once per second, or once every second - no difference.

- I've tweaked the 1pps voltage so that it's comfortably within the CMOS threshold of a device operating from a 5 volt rail - no difference.

In looking at the display I see this:

- At some point, the seconds count will by synchronized to the 1 second interval: It may be 1 or 2 seconds off, but the change occurs right on the 1 second interval.

- Over a period of 10-20 seconds, I can visually watch the LCD's seconds-counter "walk" away from the UTC second, slowing down by about 1/2 second after that period.

- At some point, the LCD seconds will jump and re-synchronize.

Clearly, the "time" on the AVR isn't close enough to allow a free running clock and it looks like it drifts away from the window rather quickly. I let the unit run for several hours and not once was I able to get a valid WSPR decode.

I don't get any ERROR message, so this doesn't exactly fit the "slow clock" problem, but there's something amiss, here. I do have access to an Atmel AVR Dragon programmer, so if there's a fuse that can be flipped (assuming that it's not code-protected) I could try that?

73,

Clint
KA7OEI

--- In QRPLabs@..., "cctbcn" <turner@...> wrote:

I've put my 30 meter UQRSS together and have been fiddling with it for a bit now and have noticed something that has me scratching my head.

I'm using a Axiom Sandpiper II GPS module that has a serial output (RS-232, which I have inverted to 5 volt logic) and a 1pps output that goes high (to +3.3 volts) for 100 milliseconds.

The GPS receiver outputs a number of sentences, namely the GGA, GLL, GSV, GSA, RMC and VTG strings: There doesn't appear to be any way to select which ones are emitted.

What I'm observing is that timing of the clock displayed in WSPR mode seems to vary randomly +/- 1 or 2 seconds from actual GPS time and WWV.

What is interesting is that the second displayed on the LCD *is* synchronized precisely with UTC - it's just that it's the wrong second.

I've tried baud rates from 4800 through 38400 and haven't been able to see any difference.

Thinking that the 100ms long 1pps pulse (rising edge coincides with the second) I put a series capacitor (0.05uF) with a 10k to ground on the UQRSS side to turn it into a brief rising pulse, but this hasn't changed anything, either.

One thing that I *do* see happening is that if I stare at the display long enough, I note that the seconds digits occasionally do not advance which explains it occasional lagging: Apparently, it will eventually re-check the time and, unseen by me thusfar, it will pop ahead again - by 1 or 2 seconds in advance of UTC.

So, several questions come to mind:

- Is the 1pps rising-edge sensitive? If so, this would make its duration irrelevant.
- Is the logic threshold on the 1PPS input safely within the range to accommodate 3.3 volt logic?
- Could too many NMEA sentences be doing something internally (e.g. too many recources/interrupts) that might cause the timing to wander excessively?

Since the 30 meter oscillator is on all of the time, I suppose that I could monitor the frequency during the "key up" period if I knew the amount of offset and if there is any repeated self calibration going on - this, to see if the FLL is functioning, or also being affected by the loss of 1pps pulses?

* * *

On an unrelated note, I have observed that occasionally, the CPU (or possibly the display) does not start up when power is applied, but a disconnecting and re-application of power has always been successful.

The recent thread about popped finals brings this to mind: If the oscillator doesn't start up for some reason - and neither does the CPU - then the FET could be turned fully on with no RF drive if the pin were to float high - or even if the CPU was running, but the oscillator outputting a logic state that, when keyed, turned on the FET. Years ago, I designed a LowFER/MedFER power amplifier that used a coupling cap, resistor and diode to protect the FET should a similar event occur!

73,

Clint
KA7OEI


Re: Inconsistent timing in WSPR mode

Gordon Kennedy
 

Interesting about the re-application of power to get the unit to start- I recently had a PIC based project that had the same start up problem and I discovered that I had to switch from a regular 7805 in the power supply?to a LDO version and never had an issue with the 30 units that?were built.
?
73, Gord
VE3GKN

From: cctbcn
To: QRPLabs@...
Sent: Wednesday, October 10, 2012 10:59:46 AM
Subject: [QRPLabs] Inconsistent timing in WSPR mode
?
I've put my 30 meter UQRSS together and have been fiddling with it for a bit now and have noticed something that has me scratching my head.

I'm using a Axiom Sandpiper II GPS module that has a serial output (RS-232, which I have inverted to 5 volt logic) and a 1pps output that goes high (to +3.3 volts) for 100 milliseconds.

The GPS receiver outputs a number of sentences, namely the GGA, GLL, GSV, GSA, RMC and VTG strings: There doesn't appear to be any way to select which ones are emitted.

What I'm observing is that timing of the clock displayed in WSPR mode seems to vary randomly +/- 1 or 2 seconds from actual GPS time and WWV.

What is interesting is that the second displayed on the LCD *is* synchronized precisely with UTC - it's just that it's the wrong second.

I've tried baud rates from 4800 through 38400 and haven't been able to see any difference.

Thinking that the 100ms long 1pps pulse (rising edge coincides with the second) I put a series capacitor (0.05uF) with a 10k to ground on the UQRSS side to turn it into a brief rising pulse, but this hasn't changed anything, either.

One thing that I *do* see happening is that if I stare at the display long enough, I note that the seconds digits occasionally do not advance which explains it occasional lagging: Apparently, it will eventually re-check the time and, unseen by me thusfar, it will pop ahead again - by 1 or 2 seconds in advance of UTC.

So, several questions come to mind:

- Is the 1pps rising-edge sensitive? If so, this would make its duration irrelevant.
- Is the logic threshold on the 1PPS input safely within the range to accommodate 3.3 volt logic?
- Could too many NMEA sentences be doing something internally (e.g. too many recources/interrupts) that might cause the timing to wander excessively?

Since the 30 meter oscillator is on all of the time, I suppose that I could monitor the frequency during the "key up" period if I knew the amount of offset and if there is any repeated self calibration going on - this, to see if the FLL is functioning, or also being affected by the loss of 1pps pulses?

* * *

On an unrelated note, I have observed that occasionally, the CPU (or possibly the display) does not start up when power is applied, but a disconnecting and re-application of power has always been successful.

The recent thread about popped finals brings this to mind: If the oscillator doesn't start up for some reason - and neither does the CPU - then the FET could be turned fully on with no RF drive if the pin were to float high - or even if the CPU was running, but the oscillator outputting a logic state that, when keyed, turned on the FET. Years ago, I designed a LowFER/MedFER power amplifier that used a coupling cap, resistor and diode to protect the FET should a similar event occur!

73,

Clint
KA7OEI