This all sounds like a good plan to me. I have a radio in my kitchen that uses digital tuning and scans every 10kHz between stations. I guess ours in America are that far apart and their individual bandwidths are less than that but greater than 5kHz, I think.Connect it to the AGC like they were in old radios
They have been used for VU meters in old tape recorders and in modern times,
and also in the past they were part of some test equipment.
A resistor/capacitor tolerance tester for example, you'd connect your component and
select a range, and then turn a dial that would open the magic eye when the dial was
indicating the % tolerance of the component under test... assuming the components in
the actual test instrument were the best tolerance that could be produced I suppose.
I was thinking about the AGC connection, it could be handled with a new micro since
it doesn't need to interact with the first. So long as the scanning thing can be turned
on or off with a "scan' button, the other part of the circuit can be used to store channels
when the first part pauses at a station.
Also, I was informed that every AM broadcast channel in my country are spaced 9kHz apart.
So the freq counter could just search 9kHz intervals and test the AGC at every 9kHz interval.
You appear to know what you're doing and I admire your work, but here's the way I would do it if I had your setup. The information about a valid station's presence would be a matter of its position with respect to the stepper motor shaft. I don't know enough about stepper motors offhand but I'm pretty sure you could make the motor go to a particular position by counting the number of steps it takes to get somewhere. This would mean the program driving the motor would always know the tuner position. So if someone wanted to go to the station at 1480 and it was presently sitting at station 1260 the number of steps to get there could be found by simple arithmetic. But for display purposes determine an algorithm that determines a frequency for a corresponding shaft position and display that. Conversely, when you enter a frequency in kHz that algorithm will translate it into a motor shaft position. In addition, when you find a station you want the radio to remember using the AGC just push a memory button and the shaft position will be recorded in EEPROM.Thanks for the compliments
With the frequency counter as feedback from the radio
the 9kHz intervals should be exactly where the frequency counter says.
I don't have to count steps, I'm only stepping in the right direction relative to the
current frequency to move in the direction of the desired frequency.
When I do look at the AGC, and find that it's strongest,
I expect that to be where the frequency counter is displaying a number divisible by the 9kHz,
Then it should be just a matter of checking the AGC each 9 kHz increment
to see if there's either a station at that interval or not.
Made a new video
https://www.youtube.com/watch?v=XnErlKFDMmo
Got two motor speeds now too.. the slower one kicking in when within 20kHz of the desired frequency).
As you just said, you will use the memory of the shaft position only as a rough guestimate, then you use that AGC thing to fine tune via strongest signal. In programming terms, this is a subroutine that drives the stepper one way and the other until the maximum voltage is determined.If you just assumed the frequency was always on the same spot on the dial,
that doesn't account for drift unless you also keep checking the ACG once you get there.
The program could easily know the shaft position, etc. but that is actually less accurate
than looking at the tuned frequency.
The numbers on the display aren't made up.. it is the actual radio's local oscillator frequency
minus the 455 kHz intermediate frequency that is being displayed.
It knows the tuned frequency that is on the display to a decimal place more than is being displayed.
That's much more precise than one step of the stepper motor.
In fact, the decimal is not displayed because it is always changing.
Your welcome. You might just put a VOM at that point now and see what happens with no signal, weak signal and strong signal. If there's no variation you've got nothing to work with.Ok thanks, it's easy to get to from the top, as it's one of the terminals sticking out the top
of the double tuning gang, and I've already looked at it on a scope, and it didn't appear useable,
but the scope was AC coupled, that might make a difference then, thanks again![]()
Thanks for the commentEnjoyed reading this thread.![]()
Nice creation there . . . I too like the "steampunk" vibe it gives off.