logo elektroda
logo elektroda
X
logo elektroda

UART configurable frequency generator by piotr_go

piotr_go  Cool? (+33)
Frequency generator module with visible connections and integrated circuits.

Hello
Sometimes a man needs some unusual generator or quartz. You have to wait 2 days or 2 months for an order, and I am too stingy to buy a proprietary generator, so what? You have to do something yourself.
For a long time I had an idea ... Something small, I set the frequencies and I forget.
So I present the generator module project based on the Si5351A chip and the HK32F030MJ4M6 microcontroller.
The generator has 3 outputs with a frequency range of 4kHz ... 112.5MHz and is configurable via the UART interface and the settings are stored in the built-in EEPROM in HK32F030MJ4M6.
Own Soft, written in C.
Power supply 3.3V.





Menu:
Screenshot showing settings of the Si5351A programmable generator.
'F1', 'F2', 'F3' - frequency configuration
'c' - calibration
'w' - save settings
Baudrate: 115200

Diagram:
Schematic of a frequency generator using Si5351A and HK32F030MJ4M6 microcontroller.
When using the newer version HK32F030MJ4M6, the SDA / SCL pins must be switched.
As there was little space on the board, I used a pull-up built into the microcontroller for the SDA ("kids, don't do it at home" :D ).
SCL is push / pull controlled.

About Author
piotr_go
piotr_go wrote 2845 posts with rating 3195 , helped 91 times. Been with us since 2003 year.

Comments

ArturAVS 11 Aug 2021 17:17

Why did you cut the bandwidth so much? According to the manufacturer, it works from 2.5kHz to 200MHz, I managed to chase it to about 180MHz in Bascom, I didn't need more. [Read more]

piotr_go 11 Aug 2021 17:40

Somewhere I read that the minimum divisor is 8 for some versions of Si5351. I don't think I would even have anything to check if it works at higher frequencies; besides - I don't need any more,... [Read more]

djbpm 11 Aug 2021 22:56

Si5351 is used in NanoVNA and reaches even 300MHz there, although with some copies there are problems above 290, but up to 290 is probably every piece. [Read more]

piotr_go 11 Aug 2021 23:16

200MHz works, but at higher frequencies like 112.5MHz you can only use 2 channels. I will leave Soft as is for now. https://obrazki.elektroda.pl/1473496000_1628716132_thumb.jpg The screen shows... [Read more]

ArturAVS 12 Aug 2021 09:16

You see. This method of control will facilitate the work on SDR construction based on, for example, YU1LM. A suitable driver has been developed for the Si570 generator that enables CAT control from a PC.... [Read more]

_lazor_ 12 Aug 2021 09:17

As for me, it is not enough to say what the quality of this generator is. The equipment for verifying such equipment is not cheap, but such a frequency meter is ... well, definitely too low for you, Piotr. ... [Read more]

piotr_go 12 Aug 2021 14:39

Heh, they couldn't call it worse. Take it here find it by typing "cat" in google. :D I found something: I do not have access to the appropriate equipment. If I don't buy something myself,... [Read more]

ArturAVS 12 Aug 2021 16:17

I just checked on my generator; @ 14MHz ~ 3Vpp for @ 100MHz ~ 450mV. Unfortunately, the soft for Arduino Nano from RS-HFIQ blocks the generator's output for frequencies outside the amateur bands. The... [Read more]

_lazor_ 12 Aug 2021 20:37

@arturavs SDR requires much better hardware. The mismatched path and lack of termination lead to the oscilloscope measurements to be incorrect (in the sense what you see on the oscilloscope is not the... [Read more]

piotr_go 12 Aug 2021 22:09

Maybe in v2, if it does. It would be better to change the slinger to one that is more accessible. Today I found an old damaged kit for a 1.2Ghz meter from the lumber. It must have been lying for 20 years.... [Read more]

ArturAVS 13 Aug 2021 07:46

No offense to your knowledge, but it doesn't necessarily have to be better equipment (organoleptically tested). After all, Si5351 does not participate directly in the signal processing for SDR but... [Read more]

_lazor_ 13 Aug 2021 08:06

It depends on what modulation (FM, AM, QPSK, QAM?) And I don't mean directly about Si5351 but about PCB design. Because a good scalak is also followed by the need to know how to design a PCB for such... [Read more]

ArturAVS 13 Aug 2021 08:57

You're right here. Piotr made the board as he did, ignoring all the rules for RF, and at least it would fit to output the signals from Si to the SMA sockets through appropriately designed signal paths.... [Read more]

piotr_go 13 Aug 2021 11:01

There is (photo from the menu) Exactly. This 112.5MHz is mainly a curiosity so that you can check on the radio if it works. [Read more]

ArturAVS 13 Aug 2021 11:19

In fact, it somehow escaped my attention :D [Read more]

_lazor_ 13 Aug 2021 11:30

It should only be noted that the generator output is low Z (50 ohms) and with impedance mismatch we have cases where RLC or RC filters are formed, so you have to assume that if something does not work,... [Read more]

piotr_go 13 Aug 2021 12:23

I didn't connect it to the radio. I have attached a piece of wire and you can easily pick it up within a dozen or so meters. [Read more]

_lazor_ 13 Aug 2021 12:39

What do you receive? also a piece of wire? [Read more]

piotr_go 13 Aug 2021 12:54

The yellow one in the film. Possibly an antenna that the radio has. A simple test. Everyone probably has an FM radio at home, phone or car. [Read more]

%}