June 10th, 2009

DIY 2.5GHz Counter with AVR

DIY 2.5Ghz counter with AVR

Counters that can go into gigahertz range can be pretty expensive so you might want to consider DIY solution if your measurements are not critical. Of course since we are dealing with extremely high frequency the quality of the build depends highly on your skills. Care must be taken with PCB manufacturing, component placement, screening and shielding, noise sources, etc.

This is a project of a counter built around AT90S8535 microcontroller and it measures both the frequency of the input signal and it’s strength. The values are display on a LCD, the signal strength is shown dBm units and as a bar-graph. Also you can use it with an external 10Mhz clock, in this mode on LCD will be displayed the letter “E”   in the left upper corner and “I” when internal clock is used.

Since AVR microcontrollers have synchronous counter input, the law says the maximum input frequency should not exceed half the clock frequency. Even so 2.5Ghz is way too high for the microcontroller to handle, so a prescaler that divides that frequency to a measurable one is needed. The input impedance of the prescaler is set to 50 ohms, the signal is amplified by 20dB and then fed into a two way splitter. One way goes to the Analog Devices AD8314 log-detector for signal strength measurement.

The other way goes to the first divider, MC12095, set to divide by 2. Putting pin 6 (SW) to ground would set the dividing factor to 4. MC12095 can accept 2.5Ghz input frequency. The output resistor increases output power and keeps impedance at 50 ohms, the parallel 2pF capacitor is for impedance matching. The next divider, SAB6456 can be set to divide by 64 or 256, in our case 64 is used by leaving pin 5 (MC) unconnected.

The divider’s output is then gated with nand gates and reaches a 4020 counter. AVR counter works on 16 bits and with 14 bits from the 4020 we get a 30 bits counter. The source code for the microcontroller is writen in Bascom and you can find it in the link for download. A test is presented with a 500Mhz signal but i was  curious if it can really go far up to 2.5Ghz. Let me know if you build it and test it.

DIY 2.5GHz Counter with AVR: [Link]

June 19th, 2008

3-Digit Frequency Meter

3-Digit Frequency Meter

This schematic is ment to digitally display the output of an electronic Swissflow SF800 flow sensor. This sensor puts out an open collector square wave signal (like a fan RPM monitoring signal) between 50Hz (=0.5 liter/minute) and 2000Hz (=20 liter/minute).

By dividing the measured frequency by 10 and putting the decimal point at the right place you get directly a display in liter/minute. I don’t use the first digit output (output D) from the 74C925 to obtain a display of 10 to 9990Hz or xx.x liter/minute.

3-Digit Frequency Meter: [Link]

Mobile infrared electronic transmitter

 2.5 GHz Frequency counter Board

A frequency counter is one of the most important measuring tool you need as hobbyist of RF electronics. This frequency counter has very high performance and still is very easy to build and to use. The counter is based around 6 LED displays which will present the frequency with 1kHz resolution. The frequency will be presented on the LED display and at the same time also sent on the RS232 line.

2.5 GHz Frequency counter: [Link]

 AT90S2313 Based Frequency Counter

Jesper writes: This is another project which fullfills a need. I once built a frequency counter using plain TTL chips. That was long before the CMOS HC versions, even before LS was available. It could measure up to 50 MHz and worked quite okay, but the TTL chips was extremely power hungry. I think there was about 20-25 TTL chips on that monster. Well, but the old counter is now somewhere in the shed, and as I now again needed a counter, I did a bit more modern design.

It uses only 4 chips – 3 HC TTL’s and an Atmel At90S2313 microcontroller. It has a 5 digit LED display plus one used as a band indicator. Even with the LED display, the current consumption is less than 50 mA. It counts up to at least 52 MHz. I couldn’t find any signal source in the lab that could supply more than 52 MHz, so it may go a bit higher, but the fClock(typ) for the HC590 is about 35-40 MHz, so you shouldn’t really count (no pun intended) on more.

AT90S2313 Based Frequency Counter: [Link]



© 2007-2011 YourITronics | Any logo, trademark and project represented here are property of their respective owners | Wordpress | Privacy Policy    RSS