Well,
Been fiddling a little more this morning, and have dug out an Arduino Mega2560 board - this doesn't contain the processor utilised in the Minima but Arduino allows you to compile for the target board that you have so I am going to use this for the time being.
The first thing I did was to attached a 16x2 LCD display and test that it was working OK using a very simple piece of code that uses the same pin assignments as the Minima software:
The only change I made to the Minima LCD wiring was to include a 10R resistor in the +ve line to the display backlight (LCD pin 15).
But once I was confident I would be able to "see" if the Minima code was running I compiled and loaded that into the Mega2560 board, and hey presto:
So I know that the software has loaded and is running OK, I can now convert the pin assignments from the target processor to my Mega2560 board and wire up the various external bits and pieces. There is also a 3.3V line I can hook into on the board to power the Si570 thingamabob.
I then thought I would take a look at the BFO and carrier adjustment - more as an initial experiment with my Spectrum Analyser to see if I could do what I thought I could do....
So, the first thing I did was do a sweep of the crystal filter using the tracking generator (as previously), then I froze that trace (which appears in purple below) and coupled up the crystal filter into the circuit. I then adjusted the USB BFO so that the carrier appears just down the left hand side (because I want to maintain the Upper Sideband which is higher in frequency) of the crystal filter skirt:
Now, I am pushing the capabilities of the instrument a little as the bandwidth is at it's absolute limit, however, you can clearly see the carrier inside the crystal filter and inside the left hand side slope. If I now add an audio signal into the mic amplifier, you can see that the upper sideband is now well within the passband of the filter, and will be from about 300Hz up to about 3000Hz, the lower sideband doesn't feature as that has been supressed by the filter as it is as far to the left of the carrier as the USB is to the right:
It does look like the instrument is struggling with bandwidth a little and I **think** that's why there is a pile of stuff between the carrier and the USB, but visually you can really see what's going on - which is great!
So, for the LSB BFO setting, I need to do the same thing but putting the carrier on the right hand side of the crystal filter skirt so that we maintain the Lower Sideband and then I suspect Bob will indeed be my Uncle.
Interesting, egh?
** UPDATE **
NOTE: Because the second mixer mixes with a Local Oscillator that is HIGHER than IF, the sidebands become inverted. If we start with a 20MHz BFO with a 1KHz audio frequency the output of the 1st mixer will have the USB at 20.001 and the LSB at 19.999. Once this is then mixed for a second time with the LO at 34MHz we will have the previous USB at 20.001 moved to 34-20.001 = 13.999 and the previous LSB at 19.999 will now be at 34-19.999 = 14.001. The sidebands have swapped places!!!!
So the carrier adjustment above needs to be the other way round and the illustration above showing the USB above the carrier will be the LSB after the final mixer stage.
I definitely need to get out more.....
So here are my final adjustments (I hope), I have stored the sweep of the Crystal Filter, this time in yellow in the images below; also in each image the marker is on the carrier and the frequency displayed.
This is the image with the relay engaged so we will eventually have LSB out of the TX:
and here with the relay disengaged so we will eventually have USB out of the TX,, here the adjustment has pushed the carrier to its maximum available frequency which is not quite high enough as ideally the carrier needs to be further down the right hand filter skirt:
Been fiddling a little more this morning, and have dug out an Arduino Mega2560 board - this doesn't contain the processor utilised in the Minima but Arduino allows you to compile for the target board that you have so I am going to use this for the time being.
The first thing I did was to attached a 16x2 LCD display and test that it was working OK using a very simple piece of code that uses the same pin assignments as the Minima software:
The only change I made to the Minima LCD wiring was to include a 10R resistor in the +ve line to the display backlight (LCD pin 15).
But once I was confident I would be able to "see" if the Minima code was running I compiled and loaded that into the Mega2560 board, and hey presto:
So I know that the software has loaded and is running OK, I can now convert the pin assignments from the target processor to my Mega2560 board and wire up the various external bits and pieces. There is also a 3.3V line I can hook into on the board to power the Si570 thingamabob.
I then thought I would take a look at the BFO and carrier adjustment - more as an initial experiment with my Spectrum Analyser to see if I could do what I thought I could do....
So, the first thing I did was do a sweep of the crystal filter using the tracking generator (as previously), then I froze that trace (which appears in purple below) and coupled up the crystal filter into the circuit. I then adjusted the USB BFO so that the carrier appears just down the left hand side (because I want to maintain the Upper Sideband which is higher in frequency) of the crystal filter skirt:
Now, I am pushing the capabilities of the instrument a little as the bandwidth is at it's absolute limit, however, you can clearly see the carrier inside the crystal filter and inside the left hand side slope. If I now add an audio signal into the mic amplifier, you can see that the upper sideband is now well within the passband of the filter, and will be from about 300Hz up to about 3000Hz, the lower sideband doesn't feature as that has been supressed by the filter as it is as far to the left of the carrier as the USB is to the right:
It does look like the instrument is struggling with bandwidth a little and I **think** that's why there is a pile of stuff between the carrier and the USB, but visually you can really see what's going on - which is great!
So, for the LSB BFO setting, I need to do the same thing but putting the carrier on the right hand side of the crystal filter skirt so that we maintain the Lower Sideband and then I suspect Bob will indeed be my Uncle.
Interesting, egh?
** UPDATE **
NOTE: Because the second mixer mixes with a Local Oscillator that is HIGHER than IF, the sidebands become inverted. If we start with a 20MHz BFO with a 1KHz audio frequency the output of the 1st mixer will have the USB at 20.001 and the LSB at 19.999. Once this is then mixed for a second time with the LO at 34MHz we will have the previous USB at 20.001 moved to 34-20.001 = 13.999 and the previous LSB at 19.999 will now be at 34-19.999 = 14.001. The sidebands have swapped places!!!!
So the carrier adjustment above needs to be the other way round and the illustration above showing the USB above the carrier will be the LSB after the final mixer stage.
I definitely need to get out more.....
So here are my final adjustments (I hope), I have stored the sweep of the Crystal Filter, this time in yellow in the images below; also in each image the marker is on the carrier and the frequency displayed.
This is the image with the relay engaged so we will eventually have LSB out of the TX:
and here with the relay disengaged so we will eventually have USB out of the TX,, here the adjustment has pushed the carrier to its maximum available frequency which is not quite high enough as ideally the carrier needs to be further down the right hand filter skirt:
and here I've labelled the various bits and bobs:
No comments:
Post a Comment