Monthly Archives: May 2014

FPGA NTSC Generator

Hello

Lately I’ve got my hands on this little toy:
tube

It’s a 1981 vintage CRT camera viewfinder that has a huge resolution even if it’s very small. I had to modify it to make it work without the camera: I’ve added a voltage regulator for the 6V rail that was provided by the camera, and created a constant current sync for the CRT heater – oddly enough it seem to be also in the camera body.
the current limit is simple : a NMOS pass transistor , a 10K pull-up resistor from gate to VCC, a sense resistor from source to gnd and a BJT with collector to mosfet gate, emitter to ground and base to the sense resistor -> the entire think tries to keep 0.6V across the sense resistor. The filament current is at ~ 80mA – enough to make the CRT tube work with a very faint glow from the heater. The entire thing work from 9V and uses ~ 300mA

Continue reading →

Category: Electronica | Tags: , , ,

RF power meter (part 1)

Lately I’ve been interested in some RF stuff.

The “goal” is to build an entire RF spectrum analyzer with a range of about 50-100MHz.

For this I have to learn basic stuff like filters, oscillators, amplifiers, etc.
This implies having some basic tools like an oscilloscope, RF power meter, signal generator, etc.

The oscilloscope was already present so I’ve build a simple RF power meter using an Analog Devices log amplifier: AD8307
AD8307 datasheet

The device uses the basic connection – figure 32 from the data sheet. The INP signal is connected to a 50 ohm terminated BNC input via 100nF capacitor.
The INM pin is connected to ground via another 100nF capacitor.

The output signal is fed to a LM358 op-amp connected as a buffer. The op-amp output goes via a RC filter to the output.
The entire RF section is build dead-bug style in a small enclosure made from FR4 pieces. I’ve run out of space on the base plate, so I had to build it in a “3d” fashion.
Here are some pictures:

IMG_0217
IMG_0220

The read-out is based on an 4×20 lines LCD display driven by a STM32F0 board. The detector’s output is connected to one of the ADC’s input.
The microcontroller code samples the ADC, creates a buffer containing 256 values from witch it extracts the Min / Max and medium values. The displayed values are updated around 2 times / second.

I’m still working on the code. For now i’ve created a simple calibration table in 50Mhz steps, from 50 to 500MHz.