Skip to main content
Corrected SI units, deleted irrelevant tag
Source Link
Joe Hass
  • 8.5k
  • 1
  • 30
  • 41

I'm going kind of crazy trying to solve what I thought would be a very simple problem. I'm not massively experienced but will try my best to spell out what I'm trying to do and what's happening.

I'm trying to build a frequency counter using an Arduino MEGAMega to hook in to a homebrew HF radio receiver I'm working on. The library I'm using on the Arduino (http://interface.khm.de/index.php/lab/experiments/arduino-frequency-counter-library/) requires logic (5v5V) level signals to sample to calculate the frequency of the input signal. The signal I'm trying to measure comes from an LC tank attached to a SA602AN and in the current configuration runs from ~3 mhzMHz to ~5 mhzMHz, and on my 'scope it measures 180mV peak to peak. I taking signal via a 10pf10pF ceramic cap to avoid effecting the tank.

No problem I thought, I'll rattle a little 2n39042N3904 common emitter amplifier, nice and simple and we've all built a few I'm sure, but I didn't seem to be able to squeeze any gain out of the circuit - output was 180mv180mV peak to peak. Next idea, use a LM385, signal to (+) via a 100nf100nF cap, a 25k pot between output and - to adjust gain, and a 1k resistor between - and ground, which I've seen many times online for similar applications. I had exactly the same problem - in fact wherever I set the pot, the output signal of the circuit was < the input.

Now I'm perfectly happy to accept the idea that I don't know a) what I'm doing or b) what I'm talking about, since this should really be an easy problem to solve but I'm just going round and round in circles. I have other similar 358-based op-amp circuits in my radio (audio preamp and to drive an RSSI indicator LED), the main receiver circuit has 5 2n3904s2N3904s slopping around (and a couple of 2n2222s2N2222s) so I kind of thought I knew what I was doing, but obviously not! Would anyone be able to point me in a useful direction, toward either what I could be doing wrong or a circuit which would serve the purpose? Thanks for your time!

I'm going kind of crazy trying to solve what I thought would be a very simple problem. I'm not massively experienced but will try my best to spell out what I'm trying to do and what's happening.

I'm trying to build a frequency counter using an Arduino MEGA to hook in to a homebrew HF radio receiver I'm working on. The library I'm using on the Arduino (http://interface.khm.de/index.php/lab/experiments/arduino-frequency-counter-library/) requires logic (5v) level signals to sample to calculate the frequency of the input signal. The signal I'm trying to measure comes from an LC tank attached to a SA602AN and in the current configuration runs from ~3 mhz to ~5 mhz, and on my 'scope it measures 180mV peak to peak. I taking signal via a 10pf ceramic cap to avoid effecting the tank.

No problem I thought, I'll rattle a little 2n3904 common emitter amplifier, nice and simple and we've all built a few I'm sure, but I didn't seem to be able to squeeze any gain out of the circuit - output was 180mv peak to peak. Next idea, use a LM385, signal to (+) via a 100nf cap, a 25k pot between output and - to adjust gain, and a 1k resistor between - and ground, which I've seen many times online for similar applications. I had exactly the same problem - in fact wherever I set the pot, the output signal of the circuit was < the input.

Now I'm perfectly happy to accept the idea that I don't know a) what I'm doing or b) what I'm talking about, since this should really be an easy problem to solve but I'm just going round and round in circles. I have other similar 358-based op-amp circuits in my radio (audio preamp and to drive an RSSI indicator LED), the main receiver circuit has 5 2n3904s slopping around (and a couple of 2n2222s) so I kind of thought I knew what I was doing, but obviously not! Would anyone be able to point me in a useful direction, toward either what I could be doing wrong or a circuit which would serve the purpose? Thanks for your time!

I'm going kind of crazy trying to solve what I thought would be a very simple problem. I'm not massively experienced but will try my best to spell out what I'm trying to do and what's happening.

I'm trying to build a frequency counter using an Arduino Mega to hook in to a homebrew HF radio receiver I'm working on. The library I'm using on the Arduino (http://interface.khm.de/index.php/lab/experiments/arduino-frequency-counter-library/) requires logic (5V) level signals to sample to calculate the frequency of the input signal. The signal I'm trying to measure comes from an LC tank attached to a SA602AN and in the current configuration runs from ~3 MHz to ~5 MHz, and on my 'scope it measures 180mV peak to peak. I taking signal via a 10pF ceramic cap to avoid effecting the tank.

No problem I thought, I'll rattle a little 2N3904 common emitter amplifier, nice and simple and we've all built a few I'm sure, but I didn't seem to be able to squeeze any gain out of the circuit - output was 180mV peak to peak. Next idea, use a LM385, signal to (+) via a 100nF cap, a 25k pot between output and - to adjust gain, and a 1k resistor between - and ground, which I've seen many times online for similar applications. I had exactly the same problem - in fact wherever I set the pot, the output signal of the circuit was < the input.

Now I'm perfectly happy to accept the idea that I don't know a) what I'm doing or b) what I'm talking about, since this should really be an easy problem to solve but I'm just going round and round in circles. I have other similar 358-based op-amp circuits in my radio (audio preamp and to drive an RSSI indicator LED), the main receiver circuit has 5 2N3904s slopping around (and a couple of 2N2222s) so I kind of thought I knew what I was doing, but obviously not! Would anyone be able to point me in a useful direction, toward either what I could be doing wrong or a circuit which would serve the purpose? Thanks for your time!

Source Link

high frequency op amp for Arduino frequency counter

I'm going kind of crazy trying to solve what I thought would be a very simple problem. I'm not massively experienced but will try my best to spell out what I'm trying to do and what's happening.

I'm trying to build a frequency counter using an Arduino MEGA to hook in to a homebrew HF radio receiver I'm working on. The library I'm using on the Arduino (http://interface.khm.de/index.php/lab/experiments/arduino-frequency-counter-library/) requires logic (5v) level signals to sample to calculate the frequency of the input signal. The signal I'm trying to measure comes from an LC tank attached to a SA602AN and in the current configuration runs from ~3 mhz to ~5 mhz, and on my 'scope it measures 180mV peak to peak. I taking signal via a 10pf ceramic cap to avoid effecting the tank.

No problem I thought, I'll rattle a little 2n3904 common emitter amplifier, nice and simple and we've all built a few I'm sure, but I didn't seem to be able to squeeze any gain out of the circuit - output was 180mv peak to peak. Next idea, use a LM385, signal to (+) via a 100nf cap, a 25k pot between output and - to adjust gain, and a 1k resistor between - and ground, which I've seen many times online for similar applications. I had exactly the same problem - in fact wherever I set the pot, the output signal of the circuit was < the input.

Now I'm perfectly happy to accept the idea that I don't know a) what I'm doing or b) what I'm talking about, since this should really be an easy problem to solve but I'm just going round and round in circles. I have other similar 358-based op-amp circuits in my radio (audio preamp and to drive an RSSI indicator LED), the main receiver circuit has 5 2n3904s slopping around (and a couple of 2n2222s) so I kind of thought I knew what I was doing, but obviously not! Would anyone be able to point me in a useful direction, toward either what I could be doing wrong or a circuit which would serve the purpose? Thanks for your time!