Coder Social home page Coder Social logo

pavelmc / instrument Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 1.24 MB

RF multi-instrument, RF generator, Meter, Sweep & Spectrum monitor, and...

License: GNU General Public License v3.0

C++ 72.25% Python 27.75%
arduino rf hamradio amateur radio instrument sweep superdetector spiflash

instrument's Introduction

RF multi-instrument

This is my very cheap try to make a RF multi-instrument with as much uses I can pack on it.

I insist: this is as cheap & accurate as I can get from parts in my junk box; yet its a quite usable instrument, no NIST precision but quite ball park values that is enough for ham tech.

Features

So far I can do all of this things with it:

  • Very accurate signal generator (down to a couple of Hz if your calibration source is accurate enough)
  • Sweep analyzer to measure filters (low-pass, high-pass, band-pass, stop-band, notch), crystals filters, cristals and many others.
  • Spectrum analyzer to check mixers symmetry, and other things.
  • Power meter for levels between about a few mV to about ~5.0v pep. (readings in mV, dBm, and power in mW)
  • Very low inductance meter at work frequency (as low as 5 nH, theoretically down to 1nH)
  • Computer control via USB serial, with a custom Python & pyQT5 program.
  • Settings for tune and adjust the instrument.

As usual, imagination and clever ideas can expand the use of this instrument. For example in sweep analyzer mode you can put a SWR bridge with a proper balum and measure the SWR sweet spot of an antenna.

Technical details

  • Freq range from 100 KHz to ~200 Mhz in 1Hz steps.
  • Receiver and detector has a limited dynamic range of about ~40 dB below maximum signal (no signal is fixed at about -39 to -41 dBm, max signal is taken to 0 dBm or a close value)
  • Receiver is made of discrete parts, and it has a 1st IF of ~27 MHz and 2nd If of about 5 kHz (yes, audio IF)
  • First IF uses a two 27 Mhz crystals matched with the instrument itself as a narrow (~1 kHz) filter.
  • Detector is made of a very efficient AD-DC full wave rectifier with OpAmps (aka: a super detector, that's why the 2nd IF in audio)
  • Sweep in the hardware is made with 320 points on each range (the width of the TFT screen) in the PC mode you can use up to 10k points
  • This circuit uses a negative power source to feed the OpAmps to get them work lineally near or in the zero range.
  • The sketch uses a cheap SPI flash of 4MBytes as a RAM buffer (W25Q32) to store readings before the display can show them, some tricks are implemented to fight wear out of the SPI and to use them as RAM.

No schematics so far as it evolves continually, I plan to switch from the 2 If and super detector model to a model with just one IF and a AD8307, in the future.

Arduino sketch

You will need the following libs to compile it properly

Check again later for updates

instrument's People

Contributors

stdevpavelmc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.