开云体育

Si5351/A Utility Console


 

This has been very useful to me so I'll share it in case it is useful to others.

I have written an Arduino sketch that provides a simple command-line console (serial) to control most features of an Si5351/A.? This provides a very generic tool that can be used during the early phases of home-brew rig development when you just want to get the RF/IF chain up and running in a minimal way without fooling around with displays, encoders, Arduino coding, etc.? Just load up this sketch, connect the I2C pins to the Si5351/A, open he Serial Monitor (or other terminal program) and you're ready to start tuning.

There are some handy features that make it easy to deal with superhet math and filter pass-band tweaking. The details are here:?.

I'm doing a scratch-build of the BITX-40 with some modifications so I've been using this sketch a lot.? For my BITX I use CLK0 for the VFO, CLK2 for the BFO, and CLK1 as an RF signal injector/tester.? Here is a video of the receive side up and running:?

Happy New Year and 73s,

Bruce KC1FSZ?


Ken KM4NFQ
 

Wow. Thanks. I just got a couple of Si5351As from so I'm looking forward to trying your console, hopefully sometime in the near future. 73 Ken, KM4NFQ

On Mon, Jan 1, 2018 at 9:32 PM, Bruce MacKinnon KC1FSZ <bruce@...> wrote:
This has been very useful to me so I'll share it in case it is useful to others.

I have written an Arduino sketch that provides a simple command-line console (serial) to control most features of an Si5351/A.? This provides a very generic tool that can be used during the early phases of home-brew rig development when you just want to get the RF/IF chain up and running in a minimal way without fooling around with displays, encoders, Arduino coding, etc.? Just load up this sketch, connect the I2C pins to the Si5351/A, open he Serial Monitor (or other terminal program) and you're ready to start tuning.

There are some handy features that make it easy to deal with superhet math and filter pass-band tweaking. The details are here:?.

I'm doing a scratch-build of the BITX-40 with some modifications so I've been using this sketch a lot.? For my BITX I use CLK0 for the VFO, CLK2 for the BFO, and CLK1 as an RF signal injector/tester.? Here is a video of the receive side up and running:?

Happy New Year and 73s,

Bruce KC1FSZ?



 

Bruce

Thanks for sharing.? I am working on a piece of test equipment that uses Si5351a and
found your command interpreter interesting and informative.?

Arv? K7HKL
_._


On Mon, Jan 1, 2018 at 7:32 PM, Bruce MacKinnon KC1FSZ <bruce@...> wrote:
This has been very useful to me so I'll share it in case it is useful to others.

I have written an Arduino sketch that provides a simple command-line console (serial) to control most features of an Si5351/A.? This provides a very generic tool that can be used during the early phases of home-brew rig development when you just want to get the RF/IF chain up and running in a minimal way without fooling around with displays, encoders, Arduino coding, etc.? Just load up this sketch, connect the I2C pins to the Si5351/A, open he Serial Monitor (or other terminal program) and you're ready to start tuning.

There are some handy features that make it easy to deal with superhet math and filter pass-band tweaking. The details are here:?.

I'm doing a scratch-build of the BITX-40 with some modifications so I've been using this sketch a lot.? For my BITX I use CLK0 for the VFO, CLK2 for the BFO, and CLK1 as an RF signal injector/tester.? Here is a video of the receive side up and running:?

Happy New Year and 73s,

Bruce KC1FSZ?



 

开云体育

Hi Bruce,

I would like to try your SI5351 Command Console.


I have 2 stand alone PCBs with the SI5351 on board.?? The larger PCB has the 20 Pin part.? This board is called Lotsa Clocks, 8 clocks.? I have jumpers for I2C address spread spectrum. 2 8 pin connectors for the 8 clocks and I2C connector.

On board is 3.3V regulator and level shifting, so it runs from the 5V and ground on the I2C connector.

I have adapted the new Raduino internal routines written by Jerry, KE7ER!? They work great.? I added and changed some functions to get both 0x60 and 61 addresses and more clocks.



Trying to put this in a Nano I get these errors compiling?


C:\Users\Michael Hagen\Documents\Arduino\MikeSketch\SI5351Cmd1\SI5351Cmd1.ino: In function 'void configSi5351()':

SI5351Cmd1:44: error: no matching function for call to 'Si5351::set_correction(long int&, si5351_pll_input)'

?? si5351.set_correction(state.cor,SI5351_PLL_INPUT_XO);

?

What did I miss?

What I2C address do you write to?

Thanks,

Mike, WA6ISP

?

-- 
Mike Hagen, WA6ISP
10917 Bryant Street
Yucaipa, Ca. 92399
(909) 918-0058
PayPal ID  "MotDog@..."
Mike@...


 

开云体育

Hi again,

I bet I renamed something I should not of?

I just saw that.? I will try re-installing your download.

Happy New Year!

Mike, WA6ISP


?


 

开云体育

I still get compile errors.

73's

Mike, WA6ISP


On 1/2/2018 9:27 AM, Michael Hagen wrote:

Hi again,

I bet I renamed something I should not of?

I just saw that.? I will try re-installing your download.

Happy New Year!

Mike, WA6ISP


?

-- 
Mike Hagen, WA6ISP
10917 Bryant Street
Yucaipa, Ca. 92399
(909) 918-0058
PayPal ID  "MotDog@..."
Mike@...


 

Hi Bruce,

Thank you VERY much for making this available.? Exactly what I need to mess around with a couple of projects I have in mind!

73, Bob, WB4SON


On Mon, Jan 1, 2018 at 9:32 PM, Bruce MacKinnon KC1FSZ <bruce@...> wrote:
This has been very useful to me so I'll share it in case it is useful to others.

I have written an Arduino sketch that provides a simple command-line console (serial) to control most features of an Si5351/A.? This provides a very generic tool that can be used during the early phases of home-brew rig development when you just want to get the RF/IF chain up and running in a minimal way without fooling around with displays, encoders, Arduino coding, etc.? Just load up this sketch, connect the I2C pins to the Si5351/A, open he Serial Monitor (or other terminal program) and you're ready to start tuning.

There are some handy features that make it easy to deal with superhet math and filter pass-band tweaking. The details are here:?.

I'm doing a scratch-build of the BITX-40 with some modifications so I've been using this sketch a lot.? For my BITX I use CLK0 for the VFO, CLK2 for the BFO, and CLK1 as an RF signal injector/tester.? Here is a video of the receive side up and running:?

Happy New Year and 73s,

Bruce KC1FSZ?



 

Mike,?

I just cloned the GIT project, and it compiles without errors in Arduino 1.8.5. Do you have a recent version of?the EtherKit Si5351 library??
--
Karl Heinz - K5KHK


 

开云体育

Yea, I had to reload the EtherKit Library.? Once I got an example to compile, I got the Utility Console to compile.

Thanks!!

Mike, WA6ISP


On 1/2/2018 11:10 AM, Karl Heinz Kremer, K5KHK wrote:
Mike,?

I just cloned the GIT project, and it compiles without errors in Arduino 1.8.5. Do you have a recent version of?the EtherKit Si5351 library??
--
Karl Heinz - K5KHK

-- 
Mike Hagen, WA6ISP
10917 Bryant Street
Yucaipa, Ca. 92399
(909) 918-0058
PayPal ID  "MotDog@..."
Mike@...


 

Hi:

I had a sweep feature on a different branch that I've merged in for general use.? Documentation is updated as well.? Basically, it's a simple way to sweep any of the clocks through a range, reading an analog pin at each step.? I've used this feature in several testing scenarios, particularly when trying to characterize a crystal band-pass filter or LC low-pass filter.??

There's also a trigger output at the start of each sweep that could be used to hook up an oscilloscope to get one of those old-school phosphor traces of your device.? Dim the lights, so cool looking ...?

The N2CQR blog included a write-up that I did when the feature was first created.? This gives you an idea of how it might be used:



The digital read at each step in the sweep would be a power level or something useful like that.? Poor-man's Sweeperino I guess. But these methods yielded a fully working receiver, and I'm certainly no RF expert.

73s,

Bruce KC1FSZ