Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Re: Like to test a S-meter and soon an AGC/Tx-monitor for your bitx40?
Pavel Milanes Costa
¿ªÔÆÌåÓýHi Jerry, read inline. El 23/06/17 a las 00:08, Jerry Gaffke
via Groups.Io escribi¨®:
Pavel, I'm working with Allard to make a folk of it with the exact interface of the mainstream Si5351 that is in use now, to make them interchangeable by just changing the declaration (include), not the entire code; that will help the transition a lot. The main goal is KISS, that's why the name: tuned to MCU size & needs. It operates the VCO at the highest acceptable frequency (near 900 mhz max) that is an even multiple of the desired output frequency, The even multiple of two allows the output multisynth divider to always operate in integer mode, which reduces phase noise and simplifies programming those output multisynth registers. And give the "2 of 3" effect commented on the Readme.md file... Given the vco frequency fvco and the 25mhz crystal oscillator frequency int_xtal, all that remains is to find non-negative integers a, b and c with b less than c such that ? fvco/int_xtal == (a + b/c)? Good point, I must confess, the main library idea was not mine, I borrowed ideas all over the Internet from several GPL libs out there for PIC, AVR and others about the Si5351 (see the lib headers) My contribution was to get it able to drive all the outputs, control the power an pack it on the form of a lib for the Arduino, so improvements like this may happen in the future, I'm going to try your code and get back soon. Thanks! (Note, I have not tried either your code or my integer only code on Si5351 hardware, Exaclty: there is no point into looking extreme "software" accuracy when a cheap 25.000 Mhz xtal can't keep up, so any firmware space spend on that is wasted firmware space. Any reference to Jason lib here is intentional, at least for our use case it's true. I know that there must be applications where that lever of accuracy is needed/desired, and a lib like that must exist, but that's not our case.
No, if you use integer mode and use a schema as simple as this lib uses you can't use the third output, as the PLL is recalculated every time for any output that is using it. That's the "2 of 3" idea in the Readme.md, I have tried it and making all the 3 outputs working will require more code space (bigger lib) and my main goal is KISS (Simple/Small). There is no such thing as "Free lunch"...
Ha!!!! It's true, they are show in reverse, that the late hours spent on it playing back... sorry. My mistake, I will correct it ASAP. [Github repo updated with the correct diode direction] Does your circuit improve on what Don Cantrell posted here?? Yes, for the diodes any germanium/schottky diodes will make it more sensitive in the low levels. (BAT54 will work better) I don't have any BAT/Germanium at hand when making the hack, so the ubiquitous 1N4148 took place. Don's circuit is a simple detector, mine is a doubler detector; mine will give ~twice as voltage as Don's circuit in the same conditions. In my test a simple detector will give ~3 volts in presence of a 100W signal at 1km from my house, the doubler gives ~6 volts for the same signal. With the doubler we has more dynamic range, and the series resistor is to limit the over-voltage beyond 5.0 volts (the input pin has a diode and will make the pin sink current beyond the 5.2 V to the +Vcc rail, so it's there to make it safe for strong signals) Also, be aware that one S unit is a difference of 6 dB in signal strength, an S meter ideally has a logarithmic response. A really good (but relatively expensive) way to implement this would be to use an AD8307 or AD8310. Sure the S-meter will show "relative" output power, not accurate in the sense of one S per 6dB, but some meter is better than none. Maybe some people in the list has the proper equipment to make a table of ADC values (input volts) vs. dBuV at the antenna input, with that info making a software mapping to match one unit per 6dB will be trivial... (and also will help in the AGC control) And a AD8307 or AD8310 will be a hammer to break an egg, but hey: it's a valid solution.
Thanks for your ideas and mistake findings, that's an example that Together Everyone Achieves More: TEAM 73 de Pavel CO7WT. |
to navigate to use esc to dismiss