Showing posts with label homebrew. Show all posts
Showing posts with label homebrew. Show all posts

Saturday, 5 October 2013

Spectrum Analyzer v1.0

This is version 1 of a spectrum analyzer I built based on Wes Haywards W7ZOI and Terry White's KZTAU architecture. I have made design changes mainly because some of the parts are way to pricey for me to purchase. Further refinements and features are are added as the problems or need presents itself. Most of the simulations and initial calculations are done on EMRFD Ladpac tools.

Calibration oscillator is connected to the SA

Architecture


I chose a 2nd IF of 25Mhz there are disadvantages in using this frequency.1. The chosen log amplifier AD8037 has better linearity at 10Mhz
2. Narrow band 10.7Mhz IF filter are readily available.


Other things that are highly recommended when building an SA.
1. Signal Generator with frequency range that can cover the BPF filters
2. Highly sensitive RF Power meter.
3. Lots of BNC connectors
4. A copy of EMRFD


People that helped me a lot.
1. Wes Hayward- http://w7zoi.net
2. Todd Gale -http://http://www.qrp.pops.net

Here are a few more pictures.

I am using a 100Mhz clock IC for my 2nd LO. To remove the harmonics a low pass is used. The latest version is using a 9th order filter.
5th Order low pass filter.

The 2nd LO is being tested for proper output levels.

Tuesday, 7 May 2013

Sending Morsecode via an Atmega

A few weeks ago I wrote an openBSD client to connect to CWCOM servers and called it irmc. 

A new version of the client was implemented using an Atmel microcontroller. I decided to use an arduino board that was gathering dust on my work bench. I was initially planning to use the arduino as a testbed only and build an actual board later, But I usually only have time to do weekend projects and the coding already took me the entire weekend. So I decided to put building a standalone hardware for later or maybe never.

The source is available here http://fernan.bitbucket.org/irmc-avr.tgz. The code is written in C compiled using the avr-gcc tools. Orginally it was a port of the original irmc, but the limited memory of the atmega required a considerable rewrite. In addition to the limitation of the original irmc, here are few things to note.
1. Only 12 presets are programmed, instead being able to connect to an arbitrary frequency/wire.
2. PD6 is a GPIO that generates a ~650Hz square wave tone.
3. Some clock jitter results in 4ms variation in timming was observed.
4. I have it configured to interface to a separate sidetone generator for keying so the key input is expecting a 5V pulse.
5. I did not like the way I implemented the MorseKOB latch function in the original irmc, so I did not add that function into the avr version. (maybe someday)

BUGS?: Probably a few.

The final version was placed into an enclosure. The green LED blinks to indicate that it is connected to the cwcom servers.






Sunday, 22 April 2012

Multiband VFO ver 1.2

New Multiband VFO



Some changes on the VFO
1. Replaced the SA612 with a hombrewed diode ring mixer
2. Replaced the Dual tuned 1.0 Mhz bandpass filters with a Triple tuned 2.0 Mhz band pass filters
3. Diode switched crystal oscillators to change band.
4. Change from 2 stage to 3 Stage RF amplification to provide 13 to 19dbm output.

Some notes
The construction on a single Copper clad board instead of multiple modules. a purely manhattan construction was change to a mix of manhattan and ugly construction.  The original plan was for the crystals to provide 7dbm to 9dbm output this was adjusted to 10 to 13dbm. The intention was to allow adding a 3db attenuator and still have enough power to drive the mixer.




Frequency Coverage Plan

VFO HFO IF Coverage Band Target
3.500 4.005 11 0 7.4997 6.995 40m 7.300 7.000
3.500 4.005 18 0 14.4997 13.995 20m 14.350 14.000
3.500 4.005 25 0 21.4997 20.995 15m 21.450 21.000

Power levels between stages (roughly measured during construction)
1. VFO = -8dbm this is further reduced by a 3db pad.
2. Crystal oscillators/buffer = +9 to +10dbm originally a 3db pad was planned
3. Mixer output = -26dbm This is after a 6db pad.
4. First 2 stages RF amplifier = +6db to +7dbm
5. 3rd stage RF amplification = +13 to +19dbm - I did not have any other transistor available so I maybe loading the 2n3904 more than it can handle.


Diode switched crystal oscillators


VFO, Mixer and crystal oscillators. Some leveling
of +/- 1db was sacrificed to get 9 to 10dbm output


Nice textbook waveform from the new mixer.

Unofficial measurement of RF leak of -46dbm
Upper band has a lot more noise

The output of the new mixer is a lot nicer than the old SA612, but whether it is better I will not know until I do some measurements. Most of the measurements right now are quick check as I build the mixer.