Attenuating input s…
 
Notifications
Clear all

Attenuating input signal to a homebrew frequency counter

 
Mandelstam
(@mandelstam)
Eminent Member

I’m building this pretty simple little frequency counter using a pic chip. Chip can take max 5 volt input. I’m mostly going to be under that but in case I want to measure a stronger signal I’m thinking I need to have some way of attenuating the signal. A simple voltage divider with a pair of resistors? I guess I could have a rotary switch and choose different levels of attenuation or something like that. 

Is there some other smart way of achieving this circuit protection? A way to “cap” the signal? A pair of zener diodes as shown below?

I’m showing my ignorance here but hoping for some help! 🙂 


Quote
Topic starter Posted : 21/02/2024 3:30 am
Larry_N7LUF reacted
Ovi4
 Ovi4
(@ovi4)
Honorable Member

One solution could probably be the use of a buffer/amp stage before the input (something like one or two transistors) and let that take the abuse. After all, it is far cheaper and easier to replace a failed transistor that an MCU


ReplyQuote
Posted : 21/02/2024 5:00 am
Larry_N7LUF reacted
Mandelstam
(@mandelstam)
Eminent Member

Posted by: @ovi4

One solution could probably be the use of a buffer/amp stage before the input (something like one or two transistors) and let that take the abuse. After all, it is far cheaper and easier to replace a failed transistor that an MCU

I’ll read up on that, thanks for the tip! 

 


ReplyQuote
Topic starter Posted : 21/02/2024 5:03 am
Larry_N7LUF and Ovi4 reacted
RadTekMan
(@radtekman)
Reputable Member

Just a thought, I feel like using Zeners in that arrangement would cause the waveform to square off? In addition, you would have the forward of one diode and the reverse of the other (5.6 volts for example above) contributing to the limiting voltage. I don’t have any practice in that area, but those are thing that come to mind for me.


Radios + Tubes + Scopes + Cars= Nothing better!

ReplyQuote
Posted : 27/02/2024 9:53 pm
dtidrow and Larry_N7LUF reacted
(@dtidrow)
Eminent Member

@radtekman Pretty much what I was thinking, so maybe using a 4V to 4.5V zener would be better.

Note that you’d be clamping the output and thus injecting harmonics into the output, which might confuse the frequency counter.  Most likely though it’ll latch onto the fundamental frequency, but it’s something to be aware of if you get some weird results from the counter.


ReplyQuote
Posted : 29/02/2024 10:18 am
RadTekMan reacted
Share: