0% acharam este documento útil (0 voto)
547 visualizações152 páginas

10kHz To 225MHz VFO - RF Generator With Si5351 - Version 2 - Arduino Project Hub

Este projeto descreve um gerador de frequência variável (VFO) de 10kHz a 225MHz usando um módulo Si5351 controlado por Arduino. O VFO pode ser usado em receptores de rádio caseiros e transceptores QRP. Possui predefinições de banda, indicador de força de sinal e modo gerador/receptor.

Enviado por

Mauro Marafon
Direitos autorais
© © All Rights Reserved
Levamos muito a sério os direitos de conteúdo. Se você suspeita que este conteúdo é seu, reivindique-o aqui.
Formatos disponíveis
Baixe no formato PDF, TXT ou leia on-line no Scribd
0% acharam este documento útil (0 voto)
547 visualizações152 páginas

10kHz To 225MHz VFO - RF Generator With Si5351 - Version 2 - Arduino Project Hub

Este projeto descreve um gerador de frequência variável (VFO) de 10kHz a 225MHz usando um módulo Si5351 controlado por Arduino. O VFO pode ser usado em receptores de rádio caseiros e transceptores QRP. Possui predefinições de banda, indicador de força de sinal e modo gerador/receptor.

Enviado por

Mauro Marafon
Direitos autorais
© © All Rights Reserved
Levamos muito a sério os direitos de conteúdo. Se você suspeita que este conteúdo é seu, reivindique-o aqui.
Formatos disponíveis
Baixe no formato PDF, TXT ou leia on-line no Scribd

PROFISSIONAL EDUCAÇÃO LOJA Pesquise em Arduino.

cc ENTRAR

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

CesarSom
23 seguidores•6 projetos
Gerador VFO/RF de 10kHz a SEGUIR

225MHz com Si5351 - Versão


2 Índice

Para uso em equipamentos de rádio Introdução

homebrew DIY, como receptor de Componentes e suprimentos


conversão simples/dupla super-heteródino,
Aplicativos e plataformas
SDR, transceptores HAM QRP ou gerador
Descrição do Projeto
de RF.
Código
28 de fevereiro de 2021•100771 visualizações•62 respeitos

Arquivos para download

rádio si5351 ssb presunto cw ssd1306


62 328
QRP sdr
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Componentes e suprimentos

1 Capacitor 10 µF
1 Indutor 100 uH
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
2 Chave seletora, SPDT

JACK RCA PARA CONEXÃO DE


2
SAÍDA RF

3 Capacitor 100nF

DISPLAY OLED Adafruit SSD1306


1
128X64

2 Capacitor 10nF

1 Placa de ensaio (genérica)

MÓDULO GERADOR DE
1
RELÓGIO Adafruit SI5351
1 Resistor 1k ohm
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
1 Arduino Nano R3

1 Codificador Rotativo com Botão

Aplicativos e plataformas

1 IDE do Arduino

Descrição do Projeto

This is a project of a VFO (variable frequency oscillator)


for use in DIY homebrew radio equipement such as
PROFISSIONAL EDUCAÇÃO
Superheterodyne
LOJA
Single / Double Conversion Receivers, Pesquise em [Link] ENTRAR

DCR, SDR or Ham QRP Transceivers. It has a Bargraph


indicator for SignalC Strenght
AT E G O R I A(S-Meter)
S P E Rand
G U N20
TA SBand
FREQUENTES + NOVO PROJETO

presets. Can be used as RF/Clock generator too. This is


the new version (V.2), I updated the previous project and
it includes new features.

Features:

Operation range from 10kHz to 225MHz.

Tuning steps of 1Hz, 10Hz, 1kHz, 5kHz, 10kHz and


1MHz.

Intermediate Frequency (IF) offset (+ or -) adjustable.

20 Band Presets (shortcuts) to the BCB and HAM


frequencies.

Generator funcion mode.

RX / TX Mode Selector for use in Homebrew QRP


Transceivers.

Bargraph for Signal Meter through the analog input


(ADC).

For use as Local Oscillator on Homebrew radio


receivers such as Superheterodyne, SDR, Direct
Conversion and Homebrew QRP Transceivers.
PROFISSIONAL EDUCAÇÃO For
L O J Ause in Double Conversion / Air Band Superhet Pesquise em [Link] ENTRAR

Receivers in conjunction with Si4735 or Si4732 DSP


radio chip. C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

For use as a simple RF/Clock generator for calibration


reference or clock generation.

Works with Arduino Uno, Nano and Pro Mini.

Uses a common 128x64 I2C OLED SSD1306 display


and Si5351 module.

I2C data transfer, only 2 wires to connect the display


/ Si5351 and arduino.

High stability and precision for frequency generation.

Simple yet very efficient and free.

Update Jun, 2022: added an Alternative Version with


support to bigger OLED SH1106 1.3" display and CW
Keying input, see more details on text.

Setup:
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Schematics / wiring:
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Um antigo VFO da década de 1960. O Bisavô do VFO


DDS:
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Um antigo VFO da década de 1960

Vídeo em operação:
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Receptor de dupla conversão:

Para quem estiver interessado em fazer um receptor de


dupla conversão com o SI5351 e SI4735(32), este é o
diagrama de blocos dos blocos receptores que construí e
funciona muito bem. Usando VFO JCR 10kHz-225MHz. O
mixer é o popular NE602 / SA612 IC.
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Versão Alternativa (SH1106 - display maior 1,3"):

O Sr. Pablo Woiz (LU1AGP) fez algumas adaptações em


meu código para que o projeto original agora suporte o
display OLED 1.3" SH1106, entrada CW keying, possui
menos passos, e saídas CLK1 / CLK2 ativadas para 2
frequências intermediárias de USB/LSB. O Sr. Woiz
gentilmente me enviou sua versão e pediu para
compartilhá-la aqui. Para baixar esta versão
alternativa clique aqui.
Notas: nesta versão o PIN A6 do Nano é utilizado para
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
entrada CW Keying (liga/desliga a portadora RF) e é uma
entrada PULLUP, portanto
C AT E G O RéI Aativado
S Pquando
E R G U N TAconectado
S F R E Q U E Nao
TES + NOVO PROJETO

GND. Além disso, o CLK1 e o CLK2 emitem uma


frequência IF fixa (BFO) para aplicações SSB. A pasta
contém o esboço principal, o firmware do arquivo
hexadecimal e a biblioteca SH1106.

Instruções:

Abra o scketch no Arduino IDE, instale todas as


bibliotecas necessárias.

Escolha as preferências (ver nota) e compile o esboço


e depois carregue-o no Arduino Nano, Uno ou Pro
Mini.

Siga os esquemas para conectar o Arduino, Display,


módulo Si5351, codificador rotativo, etc.

Ligue o Arduino.

Gire o codificador rotativo para aumentar ou


diminuir a frequência.

Pressione o botão 1 para alterar a sintonia do passo


de frequência. As etapas disponíveis são 1Hz, 10Hz,
1kHz, 5kHz, 10kHz e 1MHz.
PROFISSIONAL EDUCAÇÃO Pressione
LOJA o botão 2 para navegar (selecionar) as Pesquise em [Link] ENTRAR

predefinições de 20 bandas ou entrar no modo


gerador. C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Ligue/desligue a chave SW 2 para mudar do modo RX


para TX. Modo RX = SW 2 Aberto e modo TX = SW 2
Fechado para GND. Quando no modo TX, o valor IF
não é adicionado/subtraído da saída RF. Isso é ideal
para uso em transceptores Homebrew QRP.

Connect the S-Meter output signal from your radio to


the X2 connector (S-Meter input). This input has
adjustable sensitivity, the gain must be adjusted in
Sketch, accepting signals from 500mV to 5V (max).

Known Issue: if it freezes in the initialization text,


comment (put a //) at the line 77 statup_text ();

Note about User Preferences:

-It is possible to change the followings items on sketch:

#define IF 455 //Enter your IF frequency, ex: 455 =


455kHz, 10700 = 10.7MHz, 0 = to direct convert receiver
or RF generator, + will add and - will subtract IF offfset.

#define BAND_INIT 7 //Enter your initial Band (1-21)


at startup, ex: 1 = Freq Generator, 2 = 800kHz (MW), 7 =
7.2MHz (40m), 11 = 14.1MHz (20m).
#define XT_CAL_F 33000 //Si5351 calibration factor,
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
adjust to get exatcly 10MHz. Increasing this value will
decreases the frequency
C AT E G Oand
R I A Svice versa.
P E R G U N TA S FREQUENTES + NOVO PROJETO

#define S_GAIN 303 //Adjust the sensitivity of Signal


Meter A/D input: 101 = 500mv; 202 = 1v; 303 = 1.5v; 404 =
2v; 505 = 2.5v; 1010 = 5v (max).

#define tunestep A0 //The pin used by tune step


push button.

#define band A1 //The pin used by band selector


push button.

#define rx_tx A2 //The pin used by RX / TX selector


switch, RX = switch open, TX = switch closed to GND.
When in TX, the IF is not considered.

#define adc A3 //The pin used by Signal Meter


A/D input.

The sale of this VFO already assembled:

I was recently informed by a friend that this project is


being sold on eBay and Aliexpress, already assembled
including internal rechargeable battery. In case anyone is
interested, this is the product link.
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Disclaimer: The author of this project has no connection


or any responsability with the sale of this assembled
product. This product is not a complete radio transceiver,
as described in the sales ad, it works only as a VFO /
Continuous RF Generator.
Important Notes:
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

The author of this project has no responsibility for


C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
the products (clones) being traded via China, as the
manufacture and sale of these products has no
connection with the author. This project is open
source and is not intended for commercial profit.

The author of this project reserves the right to


change, modify or do corrections to the hardware
and/or software at any time without notice or
obligation to persons who already assembled it.

Don't expect this project to perform as well or better


than professional and commercial equipments, this
is an amateur DIY home project that aims at the
personal satisfaction of setting up at home and
seeing it work beyond the learning that this activity
provides.

Julio Cesar - CesarSound - ver 2.0 - Feb/2021.

Code
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Sketch
c_cpp
SI5351_VFO_RF_GEN_OLED_JCR_V2
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Load it to Arduino.

1 /**********************************************
***********************************************
*************
2
3 10kHz to 225MHz VFO / RF Generator with
Si5351 and Arduino Nano, with Intermediate
4 Frequency (IF) offset
5 (+ or -), RX/TX Selector for QRP
Transceivers, Band Presets
6 and Bargraph S-Meter. See the schematics for
7 wiring and [Link] for details.
8 By J. CesarSound - ver 2.0 - Feb/2021.
9 ***********************************************
***********************************************
*************/
10
11 //Libraries

Sketch
c_cpp
SI5351_VFO_RF_GEN_OLED_JCR_V2
Load it to Arduino.

1 /**********************************************
***********************************************
*************
2 10kHz to 225MHz VFO / RF Generator with
Si5351 and Arduino Nano, with Intermediate
Frequency (IF) offset
PROFISSIONAL EDUCAÇÃO
3
LOJA
(+ or -), RX/TX Selector for QRP
Pesquise em [Link] ENTRAR

Transceivers, Band Presets and Bargraph S-


Meter. See the
C AT Eschematics
GORIAS for
P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
4 wiring and [Link] for details. By J.
CesarSound - ver 2.0 - Feb/2021.
5 ***********************************************
***********************************************
*************/
6
7 //Libraries
8 #i l d Wi h //IDE

Downloadable files

Schematics wiring
Wiring the circuit

Schematics wiring
18
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

19 C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

20

21

22

23

24

Comments
25
26
27

28
29
30 Only logged in users can leave comments
31
32
33 LOGIN
34
35
36
37
amienoel 9 days ago
38
39
40
PROFISSIONAL EDUCAÇÃO 41 L O JI Ahave finally gotten this done and it is working per my Pesquise em [Link] ENTRAR
42
needs, BUT is there a way to have the frequency read out to
43
44 match the actual
C AT Eradio,
GORIA I have
S a 5MHZ
P E R G Uvfo input,
N TA S F R EI Q
have
U E Nthe
TES + NOVO PROJETO
encoder direction correct, clock wise the frequency goes
45 down, which in turn the radio tunes up, but, I want to have
46
this little oled read out the actual real frequency and count
47
up as turn the encoder clockwise. everything else is pretty
48
much working how I want it to. Thanks. Amie N9OXO
49
50
51
52 nobcha48 14 days ago

Mant thanks. I finished to transfer your sketch on my PCB.


53
54 [Link]
55 6
And I'm wondering how to combine PU2CLR library with it.
56
Bye, NOB
57
58
59
60
nobcha48 2 months ago
61
62
Hi, thanks a lot for providing a valuable sketch. On the way
63
to make up the receiver I tried to assemble 5351a VFO PCB
64
65 and I diverted your sketch on that. It' s nice to work easily.
66 And to remodel your one there are issues of memory short
67 so estimated. You meamed startup MES command shall be
68
a comment when stalled.
69
70 I estimate that ADAFruits's library share so much memory
71 to interfare the other library starting up.
72 Are there any countermeasure for that. I reduced memory
73 usage by using F() and utilizing arrays, and I could recover
PROFISSIONAL EDUCAÇÃO 74 L O J A Pesquise em [Link] ENTRAR
75 STARTUP MES but serial would not work.
76 Bye, NOB
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

77
78
79 vk4abz 2 months ago

80 Hi, thanks for a fantastic sketch. I’m using it to modify a


27mHz SSB CB to a low power 10m radio by removing the
81 PLL and associated circuit and injecting the output of this
VFO. I have had excellent results so far. But have a question
82
83 (I’m new to Arduino so please bear with me) Would it be
84 possible to a a “Mode” type switch? IE to add 2.5kHz for USB
85 and subtract 2.5kHz for LSB? The system works great if I set
86
the VFO frequencies manually but it would be great to add
87
a switch. 73s, Paddy VK4ABZ
88
89
90
91
eferso 3 months ago
92
93
Excellent, but when I went to reinstall an error appeared on
94
95 the line " char result = [Link]();" featuring "'class Rotary'
96 has no member named 'process'". I've tried everything but
97 without any success. I even reinstalled Arduino and its
98
libraries, but I can't get rid of this error. What can it be?
99
100
101
102
103 wilbert61b 2 months ago
104
105
106
PROFISSIONAL EDUCAÇÃO 107 L O J A Pesquise em [Link] ENTRAR
I had the same problem. If you use the
108
109 libarymanager in the IDE you get the libary Rotary.h
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
110 from KAthiR. You can't use that one. You have to
111 download it from github. Link is in the sketch.
112
113
114
115
116 m0fmt 6 months ago
117
118 It worked.... brilliant ...... many thanks Cesar Sound
119
120
121
122
123
124 ddex 6 months ago
125
126 Dear Friend, Awesome project! Can you please make
127 version for ST7735 display? I'm interesting for using this
128
project in my transceiver, but kind of dumb in coding...
129
130
131
132 HectorHugo3h
8 months ago
133
134 GRACIAS, CESAR.. POR COMPARTIR, TODA ESTA INFO.. YA
135
TENGO LOS PROYECTOS FUNCIONANDO.. AL 100%..73&Dx.
136
137
138

139 Anonymous
140 8 months ago
141 user
142
PROFISSIONAL EDUCAÇÃO L O Jhello,
A ur job are really great and i'm grateful to have found
Pesquise em [Link] ENTRAR
143
144 this project, i have a question for u, now i'm on my project
145 to transmit vlf radio
C AT E G Osignal
R I A S approximately transmit
P E R G U N TA S F R E Q10kHz
UENTES + NOVO PROJETO
146
RF. After we generate RF are u have option how to transmit
147
the RF? thank u in advance
148
149
150
151

CesarSound8 months ago


152
153 Hello, thanks for using the project. 10kHz is not
154
proper to transmitt signals, usually a transmitter

155 uses high freq above 500kHz.


156
157
158

Anonymous
159 8 months ago
160 user
161
Hello,
162
163
164 I really like your project, but I have a problem loading the
165 code into the chip. I use Arduino Nano. Can you help me
166
with that? The Arduino IDE reports a compilation error.
167
168
169 In file included from C: \\ Users \\ Kugler \\ Documents \\
170 Arduino \\ sketch_sep03a \\ sketch_sep03a.ino: 5: 0:
171
C: \\ Users \\ Kugler \\ Documents \\ Arduino \\ libraries \\
172
Adafruit-GFX-Library-master / Adafruit_GrayOLED.h: 30: 10:
173
174 fatal error: Adafruit_I2CDevice.h: No such file or directory
175
176 #include <Adafruit_I2CDevice.h>
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
177 ^ ~~~~~~~~~~~~~~~~~~~~~~
178
compilation terminated.
179 C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
180 exit status 1
181 An error occurred while compiling on the Arduino Nano
182 board.
183
184
thank you very much for your help
185
186
187
188
189
CesarSound8 months ago
190
191 Hello, thanks for the comments! Maybe there are
192
conflicts with others libraries installed in your IDE. I
193
194 recommend installing the IDE and necessary libraries
195 on another computer and trying to compile again.
196
197
198
199 idealist 8 months ago
200
201 I had the same problem until downloaded "Adafruit
202 BusIO" library and installed it.....now the circuit works
203 fine
204
I hope it helps you and anyone else who has such a
205
problem
206
207
208
209
210
211
212
213 L O J A
PROFISSIONAL EDUCAÇÃO Pesquise em [Link] ENTRAR
214 Anonymous
8 months ago
215 user
216 C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
217 Ola Cesar,
218
219
Muito interessante o seu projeto. Uma pergunta: Seria
220
221 possivel escolher um frequencia diferente para TX? quero
usar um radio antigo a cristal com o seu seu VFO, as
frequencias de TX e RX sao diferentes. o radio usa cristais
222
de over tone.
Obrigado
223
224 Flavio VE2ZFP
225
226
227
228
229 sp9wfh 8 months ago
230
231 Exelente Cesar, I want to use this VFO on a 2m TRX.
232 How to additionally add 12.5kHz tuning step?
233
234
235
236
237 sp9wfh 8 months ago

238 Excellent Cesar! Chcę wykorzystać to VFO do TRX na


2m. Jak dodatkowo dodać krok przestrajania
239 12.5kHz?
240
241
242
243 CesarSound8 months ago
PROFISSIONAL EDUCAÇÃO 244 L O J A Pesquise em [Link] ENTRAR
245
Olá Flavio. obrigado pelos comentários. É possível
246
adicionar
C ATou
E G subtrair
O R I A S (off set)
P E R um
G U Nvalor
TA S em
F R E relação
QUENTES + NOVO PROJETO

frequência de TX. Por exemplo, se a frequência de TX


estiver em 7000kHz e definir o valor de IF (frequência
247
intermediária) no sketch para 455kHz, a frequência
de RX será de 7455kHz e RX 7000kHz. Se colocar
-455kHz a freq de RX será 6545kHz e a TX será de
248 7000kHz. Importante dizer que em RX a indicação no
display será de 7000kHz, porem a saída do VFO será
de 7455kHz, para possibilitar o uso em receptores

249 supeheterodinos. Espero ter ajudado. 73! Julio.

250 Anonymous
8 months ago
user

Ola Cesar,
251 Entendido quanto as frequencias de TX e RX. Só mais
252
uma coisa. Uma vez definidos RX e TX o que faço
para mudar o valor de frequência no LCD, nao quero
253
254 que ele mostre a frequência de oscilação do cristal e
255 sim a frequência final do radio.
256 Para adicionar um offset de repetidora
No display seria dificil?
257
258 Obrigado e desculpe me por perguntar tanta coisa
259 de uma vez.
260 Grende abraco
261 Flavio
262
263 Get Outlook for Android ([Link]
PROFISSIONAL EDUCAÇÃO 264 L O J A Pesquise em [Link] ENTRAR
-------------------------------
265
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
266

267
Anonymous
8 months ago
268 user

thilak 4s7ma
269

270
it is a very nice project , very versatile and user user friendly
271
one .

272 lots of thanks to you 73.

273

274
CesarSound8 months ago
275
Hello thilak, thank you!

276

277

278
Anonymous
279 8 months ago
user
280
One of the best dds projects I've played with i have changed
281
282 a few things to suit my needs but i have a problem .I'm
283 trying to add a rx only clarifier using a potentiometer but i
284 cant seem to figure how to do it in the code would anyone
PROFISSIONAL EDUCAÇÃO 285 L O J A Pesquise em [Link] ENTRAR
on here be able point me in the right direction . I'm kind of

286 new to Arduino stuff last time i did any code was on a bbc
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
master computer 30+ years ago im a little rusty
287

288

289 CesarSound8 months ago

Hello, thanks for the comments! One suggestion


290
(which I haven't tested) would be to use the analog
291 input A6 as follows:
Declare the new variable: int freq_pot;
292
Include the function below:

293 void pot_tune() {


freq_pot = analogRead(A6);
294 freq_pot = map(freq_pot, 0, 1010, -100, 100);
freq = freq + freq_pot;
295
}
296 Calling the function pot_tune(); inside the loop()
Connect a potentiometer of 10kOHMS between 5v
297 and GND and the central pin of the potentiometer is
connected to pin A6 of the arduino.
298
This way it would have a fine adjustment from -100
299 to +100Hz
300
301
302
303 Anonymous
8 months ago
user
304
305
306
PROFISSIONAL EDUCAÇÃO
307
LOJA Just got round to testing the code it sort of works but
Pesquise em [Link] ENTRAR

308 when it turn the pot from the center position it starts
counting
C ATup
E Gor
O Rdown
I A S frequency
P E R G Utill
N TAi return
S FREQit U
back
E N Tto
ES + NOVO PROJETO
center position . I will keep playing around to see if i
can make it work it may be something I'm doing
wrong .

Anonymous
8 months ago
user

Many thanks for your reply i will give that a test and
let you know how it goes

Anonymous
8 months ago
user

pot_tune(); inside the loop() esta linha tenho que


escrever tambem no codigo ou nao fiz desta forma
.int freq_pot;
void pot_tune() {
freq_pot = analogRead(A6);
freq_pot = map(freq_pot, 0, 1010, -100, 100);
freq = freq + freq_pot;
} obrigado att 73

G8INL 8 months ago


PROFISSIONAL EDUCAÇÃO L O JAA really well thought out and executed project, very Pesquise em [Link] ENTRAR

versatile and user friendly. Many Thanks.


C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

CesarSound8 months ago

Hi G8INL, thanks for the comments!

Anonymous
8 months ago
user

Great project, worked 1st time it was switched on! Cannot


find info on how to subtract IF on 20m, 15m, 10m - and add
IF on 40m, 80m & 160m. Do not understand the
description. HELP CesarSound!
I have also only included the Ham bands, and added a
100kHz step.
Look forward to your response. Bob.........ZS6RZ

CesarSound8 months ago

Hello Bob, thanks for the comments. To subtract the


IF, edit the sketch on line 17 #define IF and then save
it and then load it again to arduino. For example, if
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
you want do add to IF of 455kHz, just type 455. But if
you want to subtract to IF jut type -455 (minus 455)
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
on line 17 #define IF.

Anonymous
8 months ago
user

Hola julio cesar . La salida del Si5351 lleva alguna


atenuación para entrar en el NE 602 ? o va directo ?
Leí el datasheet pero no encuentro la información

CesarSound8 months ago

Use um atenuador assim mesmo, com uma


resistência de 470 OHMS para o GND e uma
resistência de 2,2kOHMS para a entrada NE602 (pino
6). Antes da resistência de 470 OHMS, a saída do
Si5351 deve ter um capacitor de desacoplamento de
100 nF. Pronto preparei o esquema e publiquei aqui.

Usuário
8 meses atrás
anônimo
PROFISSIONAL EDUCAÇÃO L O Jolá
A Júlio César. Faça seu vfo ser perfeito para fazer um Pesquise em [Link] ENTRAR

receptor de banda aérea com seu vfo.


Não é possível conectá-lo
C AT E G O R I A Sao oscilador
P E R G Ulocal
N TA SDe
F Rum
E Q TA
UEN2003
TES + NOVO PROJETO
ou de um TA7358
Também vi que sugerimos dsp Si4735 e Si4732. Esses dsp
solo atuarianos como demoduladores? sabendo que o Dsp
seleciona sua frequência por software e é apenas
transmissão ou presunto. você pode usar um dsp para
banda aérea. Saudações desde Argentina. 73

CesarSom 8 meses atrás

Obrigado!
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
CesarSom 8 meses atrás

Olá Herman, obrigado


C AT E G O RIAS porPcomentar.
E R G U N TA SÉ Fpossível
REQUEN fazer
TES + NOVO PROJETO
um receptor de dupla conversão com este VFO,
usando uma primeira conversão de 10.7MHz e a
segunda de 455kHz. Veja este diagrama de bolcos de
um receptor de dupla conversão com o SI4735 que
eu projetei:
[Link]
I4735_SI5351_DOUBLE_CONV_RECEIVER_BLOCK_DIA
[Link]?dl=0

Usuário
8 meses atrás
anônimo

Muchas gracias Júlio César. O vfo é melhor que


perfeito. Obrigado por compartilhar !!

babaksaedi 8 meses atrás

olá meu amigo e obrigado por este belo projeto. si 5351


tem 3 fora de sinal. você pode construir software para isso
?? 3 geradores de sinais com um módulo

CesarSom 8 meses atrás


PROFISSIONAL EDUCAÇÃO LOJA Olá amigo, poderia tentar incluir sua ideia na Pesquise em [Link] ENTRAR

próxima atualização. Obrigado!


C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Usuário
8 meses atrás
anônimo

Uau - Muito bem.


I particularly liked the attention paid to the design of the
display contents. A quick look through the code suggests
you may be re-drawing the entire screen each update - is
that correct? I wondered if there was any flicker but I didn't
see any in the video!

I know that this can be tricky as I made a similar project.


[Link]

Differences:
1) Range 10kHz up to 200MHz
2) Uses an ESP32 processor with integral colour display
(TTGO T-Display). Highly recommended.
3) Designed and 3D-printed a custom box. It also caters for
an in-built LiPoly battery that is served by an on-board
charger.
4) The software: I copied several ideas from across the
Internet and weaved them together via Arduino IDE. There
were initially some problems getting the standard 5351
libraries to work with the ESP32 - including a conflict with
both the Wire library and the Etherkit library that is used in
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
your design. For anyone else wanting to use the ESP32
processor, I would recommend the library that John Price
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
modified - it's on github (search for WA2FZW).
5) For my design I enjoyed going for a minimalist user
experience - i.e. as few controls as possible. I found a
button library (Brian Low / Ben Buxton) that allowed
reliable operation for short medium and long button
presses, so this plus a single encoder and software control
allowed removal of several switches in the earlier version.

My video reference above contains links to the ESP32c


microprocessor supplier, and to the 3D print file for the box
design, if anyone wants to have a go.

CesarSound8 months ago

Hi bob, thanks for the comments! And


congratulations on your project, it is very interesting!
I update the display only when there is a change in
some value, such as frequency and there is
absolutely no flickering on the display. Another
advantage of this method is the reduction of the
electromagnetic interference generated by the
arduino / display at the radio reception.
Cathprotech 8 months ago
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

Hi,
Not tried it yet but
C AT E Glooks
O R I Aa
S great P
project.
E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

I just wonder if there is a reason you are using A0 to A2 for


the pushbuttons rather than digital inputs?
I will post how I get on.
Thanks
Martin

CesarSound8 months ago

Hello, thanks for the comment! I used these pins for


my convenience, I usually use them in other projects
too and they were free on this project. Anyway they
can be changed freely. PS: Analog pins can be used
as digital input without any problem.

Anonymous
8 months ago
user

I have a compilation problem\\Arduino\\libraries\\Adafruit-


GFX-Library-master\\Adafruit_GrayOLED.h:30:10: fatal error:
Adafruit_I2CDevice.h: No such file or directory
please, give me an advice
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

idealist 8 months ago


C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Hi 1DWK.....
I had exactly the same problem until downloaded
"Adafruit BusIO" library and installed it...Now
everything is fine
I hope it works for you too.

Anonymous
8 months ago
user

buenos dias...y para obtener el audio?....GRACIAS!!!

Anonymous
8 months ago
user

Hello and thank you for an excellent project. I built one and
it works flawlessly. I am building a second one that I would
like to use for a 3 band vhf transceiver. I am new to arduino
and coding and would appreciate it a lot if you can possibly
assist. I need 3 bands, 50 - 54Mhz, 70 - 70.5Mhz and 144 -
146Mhz. Will it be possible to add digital outputs for each
band to use for filter selection? Regards Paul
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Anonymous
8 months ago
user
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
For me, this is very interesting and useful information.
[dordle]([Link] I enjoy reading your posts.
[word hurdle]([Link] Thanks

Anonymous
8 months ago
user

Hola arme el vfo pero cuando subo el programa no


enciende la pantalla oled alguno pudo corregir el software
para que funcione y me ko puede pasar gracias

Anonymous
8 months ago
user

Hola cesar feliz año nuevo luego de tanto provar


cometi un error y tuve que cargar el sketch de nuevo
y cuando lo prove no tiro error lo subi al arduino y
salio funcionando bien
Felicitaciones por el proyecto que funciona ahora a
probarlo en el equipo gracias por tu ayuda

Anonymous
8 months ago
user
PROFISSIONAL EDUCAÇÃO LOJA Hola cesar gracias por responderme es extraño la Pesquise em [Link] ENTRAR

pantalla es 0.96 oled ssd1306 azul iic llc revise la


linea 66 y esta
C AT E G O correcto
RIAS cuando
PERGUdoy verificar
N TA S FREQU noE N
hay
TES + NOVO PROJETO
errores pero lo cargo carga todo pero sigue la
pantalla sin prender con otro programa similar
prende o sea la pantalla no es

CesarSound8 months ago

Hola Jose, me alegro de saber que VFO funcionó y ¡te


gustó! Gracias por las palabras, les deseo un feliz año
nuevo con mucha salud y paz. ¡Un abrazo!

CesarSound8 months ago

Hola Jose, gracias por los comentarios. ¿Está


utilizando la pantalla OLED SSD1306? Recuerdo que
este proyecto no fue hecho para trabajar con OLED
SH1106. También puede verificar que la dirección I2C
de su pantalla OLED sea correcta y cambiarla en la
línea 66 ([Link] (SSD1306_SWITCHCAPVCC,
0x3C); ) si es necesario. Tenga en cuenta que utilizo
la dirección 0x3C para la pantalla.

Anonymous
8 months ago
user
PROFISSIONAL EDUCAÇÃO L O JAA beautiful and elegant piece of software. Pesquise em [Link] ENTRAR

Thanks for sharing.


C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

CesarSound8 months ago

Hi Shafik, thank you for kind words!

Anonymous
8 months ago
user

Hi Cesar Sound
Love your project I built a few of these, used one together
with a simple SWR bridge to measure antenna's, could you
give a little idea for creating a frequenty ofset during TX,
this is most handy for qrp CW mostly it is about -600 or -700
Hz.
Much gratefull!
Regards

Anonymous
8 months ago
user
PROFISSIONAL EDUCAÇÃO LOJA Hey Eddo! can you tell me wich swr bridge you used?
Pesquise em [Link] ENTRAR

I want to do the same... ;) Thanks!


C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Anonymous
8 months ago
user

Hi Cesar, your project has been copied by the Chinese and


is now being sold on eBay and Aliexpress!
[Link]
_trkparms=amclksrc%3DITM%26aid%3D111001%26algo%3
[Link]%26ao%3D1%26asc%3D20160908105057%26m
eid%3D92abb5aa253d4adcacf0d34459f005cb%26pid%3D10
0675%26rk%3D2%26rkt%3D15%26sd%3D124573392976%2
6itm%3D324937605544%26pmt%3D1%26noa%3D1%26pg%
3D2380057%26brand%3DUnbranded&_trksid=p2380057.c1
00675.m4236&_trkparms=pageci%3Ab893f559-7d51-11ec-
b5ab-
822b25259f4d%7Cparentrq%3A8db6669317e0a9f5db95db
13fff56e0c%7Ciid%3A1

Joel
N6ALT

CesarSound8 months ago


PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Hello Joel, wow, I didn't even know that, apparently
my idea is getting popular. Thank you for letting me
know! C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Cheers.
Julio.

Anonymous
8 months ago
user

Julio,

I ordered one of these, I will let you know what I


think when I get it. Thanks.

Joel
N6ALT

Anonymous
8 months ago
user

Julio,

I received the Chinese version of your project. It is packaged


very nicely but required a lot of help to make it usable. I
found the SMA connector for the ADC input not soldered at
all, and all buttons were mapped to the wrong pins on the
MCU for your Sketch making it necessary to change all the
pin assignments in the code. I was able to set the
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
calibration routine to get it right on frequency. I had to un-
solder the display to remove the protective film from the
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
screen and had to re-map the encoder pins to get the
tuning to go the right direction. Now that all of that is done
it is a very nice tool for my bench. Anyone who buys the
Chinese version be prepared to make some changes before
being able to use it. Thanks Julio for the project.

Joel
N6ALT

CesarSound8 months ago

Hello Joel, thanks for the review and for detailing the
problems found and the solution you adopted to
solve them. Unfortunately these clones currently lack
a lot of quality control and it is common to present
gross errors.
I take this opportunity to point out that I have no
connection with the manufacturers of these Chinese
clones.
I am happy to know that in the end the equipment is
working and is being useful to you.
Cheers,
Julio.
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Anonymous
8 months ago
user
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
How would I connect this to a Cobra LTD 29 Radio?

Thank in advance

CesarSound8 months ago

Hi George, I wouldn't know how to do it, but from


what I've seen on Youtube videos, it's possible to do
it, with some knowledge of electronics and RF.
Thanks.

Anonymous
8 months ago
user

Great project! I’m new to arduino , so pls bear with me. I


want to create 2 rf beacons for testing 2 antennas
simultaneously. I would like to have each signal shift 500hz
in frequency about once per second. I would think a several
stage band pass filter on each output would be necessary.
I’m ok doing the hardware part, but could you steer me in
the code. Also I’m guessing that a milliwatt would be
achievable without any amplification. Thanks for all your
ideas!
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

Anonymous
8 months ago
user C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Excelente Cesar, me funciona muy bien. Gracias por


compartir. LU1EG Alberto

CesarSound8 months ago

Hola Alberto, fico feliz de saber! Abraço.

Anonymous
9 months ago
user

congratulations for the really functional project. I wanted to


ask if it was possible to modify the project to modify the IF
value to use the system also to transmit on radio links with
different shifts.
Many thanks and congratulations again

Anonymous
9 months ago
user
PROFISSIONAL EDUCAÇÃO L O JHi
A sir Pesquise em [Link] ENTRAR

i'm from indonesia


do you have schematic
C AT E G O R I and
A S sketch
P E for
R G Ubitx
N TAor
S usdx
FREQUENTES + NOVO PROJETO
thanks
73

CesarSound9 months ago

Hello dedenz, thanks for comments. I do no know the


bitx, but it is not possible to use with the usdx. For
SI4735 double conversion receiver, follow this block
diagram to have an idea:
[Link]
I4735_SI5351_DOUBLE_CONV_RECEIVER_BLOCK_DIA
[Link]?dl=0

Anonymous
9 months ago
user

ok sir
and thanks

Anonymous
9 months ago
user
PROFISSIONAL EDUCAÇÃO L O JCesar:
A I can't find the Rotary library (encoder) for arduino Pesquise em [Link] ENTRAR

uno or nano. Please give me the link to download it ?. Thank


you C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Anonymous
9 months ago
user

Ho realizzato il progetto, senza nessun problema, ma


all'accensione mi rimane la schermata iniziale bloccata e
non da segni di vita, cosa può essere?

CesarSound9 months ago

Although this problem did not occur to me, a user


reported it. To solve it simply try to comment (//) the
line 77 statup_text (); I am investigating what may be
causing this on only a few platforms. Thanks.

Anonymous
9 months ago
user

Mam podobny problem, projekt uruchamia się i nie


daje się nic dalej z nim zrobić. Będę wdzięczny za
pomoc.
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Anonymous
9 months ago
user
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
ok adesso funziona , grazie.

Anonymous
9 months ago
user

Funziona molto bene , sarebbe perfetto se si potesse


modificare la IF da i tasti

CesarSound9 months ago

I am glad to know that it worked for you.

CesarSound9 months ago

Thanks for the comments!


PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Anonymous
9 months ago
user
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
i uncommented line 76 (startup test) now the display
is ok

Anonymous
9 months ago
user

I downloaded the sketch, it compiles but I only get


the start screen "Si5351 VFO/RF GEN"
"JCR RADIO - Ver 2.0" nothing else! I chekced the I2C
adresses twith a I2C checker, 0x60 for the SI5351 and
0x3C for the display . So what is wrong?

enrique-
9 months ago
10

Me too, I wish you could change the I.F. (430-460kHz)


to regulate old tube radios. Thanks for your effort
CesarSound !!!!

Anonymous
9 months ago
user

MOLTO BELLO , CREDO CHE LO REALIZZERò


PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
CesarSound9 months ago

Hi iw2knj, thanks for the comments!

Anonymous
9 months ago
user

Hi, I only saw your second version will ask here also ) Maybe
you can recommand simple radio transmitter for 27Mhz
want try OOK modulation or maybe for short range simple
wire will work.
Thanks

Anonymous
9 months ago
user

Hello everybody!
I'd need a help.
I build it the vfo from start to end three times, every time
everything runs flowelessly. So modified the step by
choosing a 100 Hz step, i set the gain on smeter port... it
was ok...
i connected it to my radio to a diode ring mixer and yet it
PROFISSIONAL EDUCAÇÃO L O Jwas
A ok. All the three building after a while, stop workin byPesquise em [Link] ENTRAR
switchin off the display, and after while si 5351 adafruit
board stop the same. Arduino nano stop as well and no
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
sign of life came in even by tring to upload sketch
again....chip was terribli hot. All three times with different
boards different vfo board and different display...I'm very
sad, because all three version worked wonderfully for 30
minutes or so....where am i wrong?
Thanks for your precious suggestions!
Antonio

CesarSound9 months ago

Hello antonio, thanks for the comments. The


electrical circuit of this project is very simple and it
does not have protections against over voltage or
against high levels of radio frequency. So you must
be careful with these points, you must not exceed 5
volts on the analog input of the Signal Meter, the
Arduino power supply (applied to the VIN pin) must
not exceed 9 volts (must be between 6.5 and 9 volts)
and the the entire VFO circuit must be shielded in a
grounded metallic case if used in a transmitter of
more than 30 Watts, as the RF can burn the Arduino
as well.
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Anonymous
9 months ago
user
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Hello Julio Cesar,
I've strange error:
expected unqualified-id before string constant and
point to line 42 of the code:
ISR(PCINT2_vect) {

can anyone help figure out where am I wrong?


thanks in advance

CesarSound9 months ago

Hello, thanks for using the project. This interruption


"ISR(PCINT2_vect) {" works only with Arduino, be sure
that you are using the Arduinio UNO/NANO with the
ATMEGA328P. Others kind of microcontrollers do not
support this kind of interruption.

CesarSound9 months ago

To avoid use the ISR:

void rotary_encoder() {
unsigned char result = [Link]();
if (result == DIR_CW) set_frequency(1);
else if (result == DIR_CCW) set_frequency(-1);
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
}

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
void setup() {
//Encoder Interrupt
pinMode(interruptPin, INPUT_PULLUP);
attachInterrupt(digitalPinToInterrupt(2),
rotary_encoder, CHANGE);
attachInterrupt(digitalPinToInterrupt(3),
rotary_encoder, CHANGE);
}

Anonymous
9 months ago
user

Nothing to do to me, isn't working. Is it possible to


change this command: "ISR(PCINT2_vect) {" with
another ?
Arduino IDE 1.8.13 blocks me already in the
verification phase.
In which version of IDE work for you?

Thanks to everyone who will help me

Anonymous
9 months ago
user
PROFISSIONAL EDUCAÇÃO LOJA I've Arduino Nano with Atmega328p and IDE [Link] em [Link] ENTRAR

However, the error is already present in the


verification phase
C AT E G O R I Abefore
S loading.
P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Thanks

Anonymous
9 months ago
user

Hola César , excelente projecto ,gracias por compartirlo ! lo


hice y me funcionó sin problemas , pero quisiera agregarle
la posibilidad de sumar o restar la IF para poder usarlo en
equipos SSB , LSB y USB , se podrá implementar ? y otra
cosa , lo probé con un Oled de 0,96 pulgadas y me anduvo
perfecto , pero lo pruebo con uno de 1,3 pulgadas y la
pantalla dibuja cualquier cosa , alguna idea al respecto?
Muchas gracias ! Saludos ! LU1JIS

CesarSound9 months ago

Hola Pablo, gracias por crear esta nueva opción para


usar la pantalla de 1.3" SSH1106. ¡Gracias 73!

CesarSound9 months ago


PROFISSIONAL EDUCAÇÃO LOJA Hola, gracias por los comentarios. Tengo la intención
Pesquise em [Link] ENTRAR

de lanzar una actualización de este proyecto e incluir


esta solicitud
C AT E G Otuya
R I A Sy algunas
PERotras, pero
G U N TA S Fno
REQséU E N T E S + NOVO PROJETO
exactamente cuándo podré hacerlo. En cuanto a la
pantalla de 1,3 pulgadas, esta pantalla utiliza el
controlador SSH1106 y requiere otra biblioteca
específica para ello. La que uso en este proyecto es
la biblioteca para SSD1306 y no es compatible con
SSH1106. Por el momento no tengo esta pantalla
aquí para probar. ¡Abrazo!

gerardolu5fe
9 months ago

bien Pablo muchas gracias voy a probar, saludos.

gerardolu5fe
9 months ago

Hola, estoy aprendiendo , y este comentario me


sirbio para darme cuenta donde tengo el problema,
la pantalla que tengo es la ssh1106, agradeseria
informacion pa ver si puedo conseguir hacer
funcionar este proyecto muy interesante, desde ya
muchas gracias.
saludos cordiales LU5FE Gerardo.
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Anonymous
9 months ago
user
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Hola Gerardo,
yo lo adapte a esa pantalla
proba con este sketch
To download this alternative version click here.
([Link]
351_VFO_RF_GEN_OLED_SH1106_V2_JCR_PW.zip?
dl=0)
un abrazo
Pablo
Pablo Woiz
pablowoi@[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
CQF

Anonymous
9 months ago
user

HOla!** hice una adaptacion para usarlo con


pantallas de 1,3 pulgadas con el chip ssh1106, y
funciona bien. Si quieres te la paso. Soy nuevo aqui y
no se donde meter los archivos.
Gracias por el proyecto!!!
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Saludos, Pablo
LU1AGH
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Anonymous
9 months ago
user

Hi Julio!
Thanks for the great construction!
I have a question: is it possible for IF to be a fractional
number, for example 9001.5 KHz.

CesarSound9 months ago

Hi George, Yes, I have plans to do an upgrade


including your request and maybe the
implementation of using the EEPROM memory to
retain the values when the arduino is turned off. But
it will depend on time availability. Thanks!

CesarSound9 months ago

Thank you!
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
CesarSound9 months ago

Hello George,
C AT E G Othanks
R I A S for the
P E Rcomment!
G U N TA S FMaybe
R E Q U Eyou
NTES + NOVO PROJETO
can do this:
On line 138: change to: void tunegen() {
si5351.set_freq((freq + (interfreq * 1000ULL + 500)) *
100ULL, SI5351_CLK0);
}
That is, adding +500 in the expression (interfreq *
1000ULL + 500)) and them set the IF = 9001
This is a suggestion, simplest way I imagined, to
avoid more complex code changes.

Anonymous
9 months ago
user

Thanks Julio!
I look forward to the V3 of your magnificent
construction.
I and many radio amateurs will be grateful to you.

Anonymous
9 months ago
user

Thanks Julio!
Indeed, this is the easiest way.
And let me ask one more thing: do you envisage V3,
in which CLK 1 (2) of si5351 will be used as a BFO in
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
order to be able to receive SSB signals?

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Anonymous
9 months ago
user

How can i add a push button to activate / deactivate the


vfo, like use it as cw key inputsl, for example? Thanks

CesarSound9 months ago

Hello Pablo, I am working in an update of code that


will include a new push button (or switch) to activate
/ deactivate output signal of the vfo. I should post the
updated version here soon. 73!

Anonymous
9 months ago
user

Hi, Thank you very much!


can you a little help me in order to make this without
"Adafruit SI5351 CLOCK GEN MODULE" and by onboard
16MHz clock of Arduino?

Regard
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

CesarSound9
C AT E G O R I A S
months ago
P E R G U N TA S FREQUENTES + NOVO PROJETO

Hi, this project works only with the Si5351 in order to


generate a frequency signal. To generate directly
from arduino maybe the Tone library can do it.

g3ba 9 months ago

I have built this project which works brilliantly, thank you!


However, I'm new to coding and want to just use this as a
VFO for a CW transmitter, not a transceiver. The
functionality I need is 'Tune' with the VFO on its own to net
onto the received signal on a separate receiver, and
'Transmit' with the VFO keyed and driving an external
amplifier. Can you suggest the simplest way to achieve this?
I have already set the VFO offset to 0kHz - that wasn't too
challenging!
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Anonymous
9 months ago
user
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Great Project! Thanks for sharing!!
Has anyone tried this unit (or the similar one available on
Ebay) with a tube type transmitter. I have recently
purchased a TX-62 and this looks like a great solution of
adding a VFO.

Anonymous
9 months ago
user

excelente iniciativa, parabéns César.

73

CesarSound9 months ago

Olá py4lmc, obrigado!

Anonymous
9 months ago
user
PROFISSIONAL EDUCAÇÃO L O JWhen
A I compile, it has error, can anyone tell me how to Pesquise em [Link] ENTRAR

solve it? I have installed all the library. the message as


below: C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Arduino: 1.8.19 (Windows 10), Board: "Arduino Nano,


ATmega328P (Old Bootloader)"
D:\\Downloads\\si5351 VFO\\VFO\\[Link]: In function 'void
__vector_5()':
VFO:42:19: error: 'class Rotary' has no member named
'process'
char result = [Link]();
^~~~~~~
VFO:43:17: error: 'DIR_CW' was not declared in this scope
if (result == DIR_CW) set_frequency(1);
^~~~~~
D:\\Downloads\\si5351 VFO\\VFO\\[Link]:17: note:
suggested alternative: 'DDRC'
if (result == DIR_CW) set_frequency(1);
^~~~~~
DDRC
VFO:44:22: error: 'DIR_CCW' was not declared in this scope
else if (result == DIR_CCW) set_frequency(-1);
^~~~~~~
exit status 1
'class Rotary' has no member named 'process'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

Anonymous
9 months ago
user
C AT E G O R I A S P E R G U N TA S FREQUENTES + NOVO PROJETO

I had problems when using (Old Bootloader)

CesarSound9 months ago

Please double check if the Rotary library Rotary.h is


correctly installed in your IDE. Try to run a sketch
example of Rotary library to see it it works.

Anonymous
9 months ago
user

I tried, still same error

Anonymous
9 months ago
user

I had download and unzip all the file from here //Ben
Buxton [Link] ......... it is
ok now,
thx
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Anonymous
9 months ago
user
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
you mean if i change not use Old Bootloader, it will
be solve the error?

Anonymous
9 months ago
user

Thanks, by the way, I managed to get the radio to work


100%, the problem with the LCD lines, the culprit was the
solder bridge behind the LCD, I hadn't put it together and
that's why when I powered it looked bad, for the rest 100%
project, I have to solder the ferrite bar with a 300uh coil
and that's it.

CesarSound9 months ago

Hi Miguel, I am glad to know that it worked. Thank


you!

Anonymous
9 months ago
user
PROFISSIONAL EDUCAÇÃO L O JHola
A Cesar. Pesquise em [Link] ENTRAR

Un proyecto realmente interesante y útil, así como muy


bien estructurado.
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Me gustaría contactar contigo. Me llamo Javier Solans, soy
radioaficionado EA3GCY, puedes encontrarme en google.
Muchas gracias.

CesarSound9 months ago

Hola ea3gcy, gracias por los comentarios. Puedes


contactarme aquí mismo o si lo prefieres
enviándome un mensaje privado aquí mismo a
través del hacksterio. Gracias - Julio,

pautax 9 months ago

Hi, good job!!!


I like to know if somebody has connect it to a spectrum
analyzer. What about spurios and phantom frequency?
Need to filter output of oscillator before use it on a receiver
?
Some info?

Anonymous
9 months ago
user
PROFISSIONAL EDUCAÇÃO L O JCiao,
A scusa se ti scrivo in italiano. Quando vado a compilare
Pesquise em [Link] ENTRAR

lo sketch mi da questo errore. Non sono molto pratico con


arduino, ma me
C ATla
E Gcavo.
ORIAS P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Grazie

Arduino:1.8.10 (Windows 10), Scheda:"Arduino Nano,


ATmega328P"

sketch_si5351_vfo_rf_gen_oled_jcr_v[Link] error: expected


unqualified-id before '/' token

/ *************************************************
**************************************************
*******

In file included from


C:\\Users\\Gianpietro\\Desktop\\SKETCH
ARDUINO\\sketch_si5351_vfo_rf_gen_oled_jcr_v2\\sketch_si
5351_vfo_rf_gen_oled_jcr_v2.ino:11:0:

C:\\Program Files
(x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\sr
c/Wire.h:82:8: error: 'TwoWire' does not name a type; did
you mean 'TwoWire_h'?

extern TwoWire Wire;


^~~~~~~
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

TwoWire_h
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

In file included from


C:\\Users\\Gianpietro\\Desktop\\SKETCH
ARDUINO\\sketch_si5351_vfo_rf_gen_oled_jcr_v2\\sketch_si
5351_vfo_rf_gen_oled_jcr_v2.ino:15:0:

C:\\Users\\Gianpietro\\Documents\\Arduino\\libraries\\Adaf
ruit_SSD1306-master/Adafruit_SSD1306.h:129:42: error:
'TwoWire' has not been declared

Adafruit_SSD1306(uint8_t w, uint8_t h, TwoWire *twi =


&Wire,

^~~~~~~

C:\\Users\\Gianpietro\\Documents\\Arduino\\libraries\\Adaf
ruit_SSD1306-master/Adafruit_SSD1306.h:171:3: error:
'TwoWire' does not name a type; did you mean
'TwoWire_h'?

TwoWire *wire;

^~~~~~~

TwoWire_h

C:\\Users\\Gianpietro\\Documents\\Arduino\\libraries\\Adaf
ruit_SSD1306-master/Adafruit_SSD1306.h:129:58: error:
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
'Wire' was not declared in this scope

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Adafruit_SSD1306(uint8_t w, uint8_t h, TwoWire *twi =
&Wire,

^~~~

sketch_si5351_vfo_rf_gen_oled_jcr_v[Link] error: 'Wire'


was not declared in this scope

Adafruit_SSD1306 display = Adafruit_SSD1306(128, 64,


&Wire);

^~~~

C:\\Users\\Gianpietro\\Desktop\\SKETCH
ARDUINO\\sketch_si5351_vfo_rf_gen_oled_jcr_v2\\sketch_si
5351_vfo_rf_gen_oled_jcr_v2.ino: In function 'void setup()':

sketch_si5351_vfo_rf_gen_oled_jcr_v[Link] error: 'Wire' was


not declared in this scope

[Link]();

^~~~

Più di una libreria trovata per "Adafruit_SSD1306.h"


Usata:
C:\\Users\\Gianpietro\\Documents\\Arduino\\libraries\\Adaf
ruit_SSD1306-master
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Più di una libreria trovata per "SPI.h"
Usata: C:\\Program
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Più di una libreria trovata per "Adafruit_I2CDevice.h"
Usata:
C:\\Users\\Gianpietro\\Documents\\Arduino\\libraries\\Adaf
ruit_BusIO
Più di una libreria trovata per "Rotary.h"
Usata:
C:\\Users\\Gianpietro\\Documents\\Arduino\\libraries\\Rota
ry-master
Più di una libreria trovata per "Wire.h"
Usata: C:\\Program
Più di una libreria trovata per "si5351.h"
Usata:
C:\\Users\\Gianpietro\\Documents\\Arduino\\libraries\\Si53
51Arduino-master
Più di una libreria trovata per "Adafruit_GFX.h"
Usata:
C:\\Users\\Gianpietro\\Documents\\Arduino\\libraries\\Adaf
ruit-GFX-Library-master
exit status 1
expected unqualified-id before '/' token

CesarSound9 months ago


PROFISSIONAL EDUCAÇÃO LOJA Olá Gianpietro, deve estar havendo conflito entre as
Pesquise em [Link] ENTRAR

bibliotecas que você tem instaladas. Experimente


instalar o Arduino
C AT E G O R I A IDE
S mais
P Erecente em
R G U N TA S Foutro
REQUENTES + NOVO PROJETO
computador e instale também apenas as bibliotecas
mencionadas no sketch deste projeto e faça a
compilação. Boa sorte!

Anonymous
9 months ago
user

Great realisation! Congratulations!


I have modified your code to use it with a color Oled display
ssd1331. It works fine as local oscillator for a direct
conversion receiver.
Thanks again for your work.
Dominique

CesarSound9 months ago

Hi Dominique, I am glad to know, thanks!


PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Anonymous
9 months ago
user
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Hi. I need a help. I'm trying to generate the second clock
output (clk2 pinout RF Si5351a) and generate 4(four) preset
frequencies, like this: on an analog input (A7) of the Arduino
nano board I put a voltage divider... when it is
approximately 1Volts in A7 frequency is clk2=14MHz, and
when it is approximately 2 Volts in A7 frequency is
clk2=28MHz, when voltage is at 3V then clk2=32MHz and at
4V is clk2=48MHZ. In other words, it is the frequency preset
in clk2 selected through voltages from 1 to 4 Volts applied
to A7 input. If you can help me with this code and post I will
be immensely grateful. Thank you very much in advance.

Anonymous
9 months ago
user

Bel progetto, ma potresti spiegarmi come risolvere questo


problema?

In file included from


C:\\Users\\Alessando\\Documents\\Arduino\\libraries\\Adaf
ruit-GFX-Library-master\\Adafruit_GrayOLED.cpp:20:0:

C:\\Users\\Alessando\\Documents\\Arduino\\libraries\\Adaf
ruit-GFX-Library-master\\Adafruit_GrayOLED.h:30:10: fatal
error: Adafruit_I2CDevice.h: No such file or directory
#include <Adafruit_I2CDevice.h>
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
^vvvvvvvvvvvvvvvvvvvv

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

lw9dbu-
9 months ago
fer

Hi Giacomo. Mucho gusto. Te cuento que me ha


pasado el mismo problema y lo he resuelto de esta
manera.
He entrado a este link:
[Link]
He bajado ese ZIP. Y luego desde el IDE lo he
incorporado a la libreria.
El proyecto a partir de ahi, lo he podido compilar y
me ha funcionado correctamente.
Que tengas suerte!!
Un cordial saludo
Fernando-
Argentina

Anonymous
9 months ago
user

Hello Buddy Julio! I did all your generator designs and they
all worked ok. Now I did the version with Jun / 2022,
Colleague Pablo LU1AGH.
I have a problem. I know my question is not for you, but I
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
have no contact with Pablo. I cannot start PTT Rx / Tx. A2
and A6 do not work.
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Maybe you can help me with this problem?
Thank you Maciek sp9wfh

Anonymous
9 months ago
user

Hola Cesar!
Exelent project. Me gustaría incluir un teclado 4x3 en su
proyecto para poder seleccionar la frecuencia de él. ¿Es
posible en este proyecto?

Anonymous
9 months ago
user

Greetings. My first time playing with SI5351 and oled


display. Pleasing and functional implementation. I have
been trying to modify to add RIT feature but my C++ skills is
zero. It would be a bonus to have that and maybe a BFO
from the other CLK output. Looking forward to more of
your projects. 73. DU7ZIP.
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

Anonymous
9 months ago
user
C AT E G O R I A S P E R G U N TA S FREQUENTES + NOVO PROJETO

Hello, Cesar,
I was able to enable the other CLKs from your
instructions to Gustav. I am trying Rob Engberts
PA0RWE sketch for RIT. It’s working now but I still like
your layout. I have managed to mimic your layout
except for the SMeter. I have added #define S_GAIN
and #define adc. and the bargraph. I’ll keep working
on it and I would appreciate any suggestions. Thanks,
again. Nez

CesarSound9 months ago

Hello friend, I could try to include your ideas on next


update. Thank you!
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Anonymous
9 months ago
user
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Hello,
is possible to use CLK1 with CLK0, where the signal on CLK1
would be shifted by 90° ? I think it would be better for use
with sdr, or not ? How I can make it? Can we help me with
code?

Anonymous
9 months ago
user

I'm glad I found this. I ordered a completed unit from


AliExpress. I'm restoring an old Drake novice ham radio
station (2-NT / 2-C) and I want to learn about VFOs to
replace the crystal. I've been planning to get into Arduino
too, so here goes.

Anonymous
9 months ago
user

Incidentally, there's an error on line 249.


if (count == 14) [Link]("**13m**"); _should be
"15m"_
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Anonymous
9 months ago
user
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Perfect! Now grounding A2 puts it in receive and
opening it puts it in transmit. Thank you! I also got rid
of all the bands except the five my vintage radio
supports, and saved the presets to go to the CW
portion of each band. Now it's time to dig in and
learn how to set up the multipliers. I will report back.

Anonymous
9 months ago
user

The clone version arrived and seems to put out a


decent signal. I connected it to the crystal socket of
my Drake 2-NT novice transmitter and was pleasantly
surprised that the signal was sufficient to drive the
transmit on the transmitter. I may still need a buffer
amp in higher bands, but that will not be difficult.

The clone comes with a momentary T/R switch, so I


need to add a connection to the back panel to
facilitate external switching from the transmitter. I'm
hopeful that the keying will not lag or get chirpy. I
also need to isolate the VFO Key circuit on my 2-NT,
which may have significant voltage from the vacuum
tube.
This transmitter requires 3.5 MHz for the 80 meter
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
band and 7.0 MHz for 40 meters and up. It doubles
the crystal for 20 meters, triples it for 15 meters, and
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
quadruples it for 10 meters. I'm curious if I could
program the VFO to display the x2, x3, and x4
frequencies when sending the 7 MHz signal to the
rig.

This is a fun project. Thanks for making it available!

Anonymous
9 months ago
user

I went ahead and built one on a breadboard and


after struggling with elementary Arduino issues I
have it running! I wonder if it's possible to reverse
the rx_tx so it does the opposite. If not, I will try an
inverter. My Drake radio has a connection that is
grounded in receive and open during transmit. I
would also appreciate guidance or advice on the
changes I will need to do the previously mentioned
x1 on 80M and 40M plus the x2,x3, and x4 for the
other bands. I have some work to do!

CesarSound9 months ago

Thanks for details of your clone and usage. With


some trial and error tantative It is possible to change
the code to do the indications you want (x2, x3, and
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
x4 frequencies when sending the 7 MHz). The code is
flexible. 73!
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

CesarSound9 months ago

I am happy to know that it worked! keep reporting


the results.

CesarSound9 months ago

Hello, thanks for the comments and use of this


project, good luck!

CesarSound9 months ago

Hi, try the followings changes:


Line 38:
bool sts = 1; //was 0

Line 126
if (digitalRead(rx_tx) == LOW) {
time_now = (millis() + 300);
sts = 0; //was 1
} else sts = 1; //was 0
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Anonymous
9 months ago
user
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Hello.
Congratulations to the author!
Could the lcd ili9341 be added?
best regards

Anonymous
9 months ago
user

Hi Julio, I really love this project, i have it running as a RF


generator for the moment, modified the code for 10 bands
only but i would like to use it on my YAESU FT-301 radio and
cannot figure out how to set it up for 5-5.5Mhz bandwidth
on all bands, as i have close to no knowledge of C++ maybe
you can point me in the right direction. Thank you very
much for this great project.

Anonymous
9 months ago
user

Hello Julio, thank you very much for your support.


The vfo is for 10 bands, my goal is to be able to select
the band in my FT-301 and use the 500 khz segment
to tune the radio with a stable device (FT-301 drifts
really bad).
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
The external vfo VF-301
([Link]
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
m) apparently is no big improvement and is almost
impossible to find.
PH2LB has the perfect example
([Link] but
unfortunately i cannot get it running, In an email the
author recommended using components from a US
company which i don't have in my goodies box.
Thank you in advance.

Anonymous
9 months ago
user

Hi, Julio, No problem Sir, thank you very much for


looking into it.
I will try to work with Lex PH2LB to solve the
problem.
The positive side is i will continue to use your project
as
a universal RF generator in my radioshack :-)

CesarSound9 months ago

Hi Martin, I took a look at the links but I couldn't


understand how this VFO should operate. I am not
radio amateur and have never operated such
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
equipment. I don't know how to help you.

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

CesarSound9 months ago

Hi Martin, thanks for the comments and testing the


project. Do you want that a band has a limit of 5 to
5.5MHz? Or all bands? Give me an example. Tks.

Anonymous
9 months ago
user

This was really easy to duplicate project. Thank you for


sharing such simple but well designed project. I made it on
a breadboard and it worked in just first attempt. I have one
small request. I am planning to use this in direct conversion
receiver and i set IF to 0. Now I need some way to
implement the Full-break-In or there should be some
option to shift the RX LO frequency few hundred Hz above
or below the TX frequency. This should happen when i
release the CW Key. Can you give me some tips on this.
What changes in code required to achieve this ?

CesarSound9 months ago

Hello vu3kfk, thanks for your comments! 73!


PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Anonymous
9 months ago
user

Or rather should I say is it possible to set IF frequency


between 100 Hz and 1000 Hz ?

CesarSound9 months ago

Hello vu3kfk, thanks for the comment! Maybe you


can do this:
On line 138: change to: void tunegen() {
si5351.set_freq((freq + (interfreq * 1000ULL + 100)) *
100ULL, SI5351_CLK0);
}
That is, adding +100 in the expression (interfreq *
1000ULL + 100)) and them offset the IF by +100Hz,
for exemple.
This is a suggestion, simplest way I imagined, to
avoid more complex code changes.

Anonymous
9 months ago
user
PROFISSIONAL EDUCAÇÃO L O JHi
A Julio Pesquise em [Link] ENTRAR

I have been using your code for some time now in


homemade ham
C AT Etransciever
G O R I A S andPvery
ERGU impressed
N TA S F R Eby
Q Uit.
EN Look
TES + NOVO PROJETO
forward to v3 particularly to add cw ofsett c700Hz between
tx and rx frequency and memory store, both of which have I
think already been suggested.

Many thanks
G3VAJ

CesarSound9 months ago

Olá Miguel, saludo, gracias!, é possível sim,


basicamente teria que fazer as ligações conforme
este diagrama de blocos:
[Link]
I4735_SI5351_DOUBLE_CONV_RECEIVER_BLOCK_DIA
[Link]?dl=0

CesarSound9 months ago

Hi G3VAJ, thank you for using the VFO and


comments! I am taking notes of your ideas for future
upgrade in this code. 73!
Cheers,
Julio.
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Anonymous
9 months ago
user
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
julio,seria posible conectar este proyecto a la radio
multibanda de tu otro post y como se conectaria?.un
saludo.

Anonymous
9 months ago
user

hi CesarSound
please add shematic and scatch for Double Conversion
Receiver
I am interested in trying this project
thanks

Anonymous
9 months ago
user

thanks

CesarSound9 months ago

Hello, I don't have the schematic ready to share at


the moment, as I was putting it together in parts and
a lot is in my head. I intend to document everything
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
so I can share it soon. Thanks.

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Anonymous
9 months ago
user

Hola Cesar!
Será posible habilitar 3 de los pines que quedan libres en el
arduino para que presenten 1 lógicos en dependencia de la
frecuencia del display? La idea es poder activar filtros
pasabanda.

Anonymous
10 months ago
user

I have a thought of giving different frequencies to products


in a warehouse and using receiver for every single product.
I want to find the desired product with my variable
frequency control device. Is it possible with this project?

Anonymous
10 months ago
user

hi folks
put all together with an UNO-board.
dds works only when keyed.
no rx shift when IF is defined...
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
so whats happens?

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Anonymous
10 months ago
user

Hello, I cannot compile because I have an error from line 41


to line 45

message error:
exit state 1
'class Rotary' has no member named 'process'

41 ISR(PCINT2_vect) {
42 characters result = [Link]();
43 if (result == DIR_CW) set_frequency(1);
44 else if (result == DIR_CCW) set_frequency(-1);
45 }

my libraries seem to be good.

if every line from 41 to 45 i start with "//" i get to a compiler,


assembly works but no rotary.

Can you help me, I am not a programming expert.

can these lines be replaced?


PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Thank you Best regards

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Anonymous
a year ago
user

Formerly i did ask whether somebody knows on how to


reprogram the chinese clone versions. Meanwhile this
successfully has been done by using settings like needed
for NANO. At least with my version now tunestep selection
was via #9 and RX/TX control via #10. Correct port for band
selection still has to be found out. Amazingly the calibration
factor had to be set to quite low value ( -1000);

Anonymous
a year ago
user

Hi CesarSound!
Great work. I use it to build a RX converter for using old
police radio. But the frequency is up 15 kHz against Display
in TX mode. I tried to change the correction value but it has
no effekt to the output. for example: I tuned to 86,415
MHz.....Output is about 86,430 Mhz. How can i resolve it?
Jochen DH1BDU
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

Anonymous
8 months ago
user
C AT E G O R I A S P E R G U N TA S FREQUENTES + NOVO PROJETO

Jochen, change value after "#define XT_CAL_F" in


"User preferences". Higher values will give lower
frequencies and vice versa. You simply must try out.
73 Klaus

salvo51 a year ago

Congratulazioni per il tuo progetto, è molto interessante e


vorrei costruire questo VFO, ho acquistato tutti i pezzi, ho
scaricato lo sketch, e non riesco a compilarlo, mi da errore
'class Rotary' has no member named 'process'.

ISR(PCINT2_vect) {
char result = [Link]();
if (result == DIR_CW) set_frequency(1);
else if (result == DIR_CCW) set_frequency(-1);
}

L'errore si verifica nella riga: char result = [Link]();

Non so se il problema è in qualche libreria.

Grazie
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Paalb a year ago

Thank you forC AT


sharing
E G O Ryour
I A S work.P This
ERGU isNthe
TA Sone
F R EI've
Q Ubeen
ENTES + NOVO PROJETO
looking for.

jackmar a year ago

This is a very good design, I think.


The screen is pretty busy and it would be useful to use
OLED libraries that support the 1.3 inch OLED. There are a
few that support both the SS1306 and the SH11??

I use a VFO that does this. A 1.3 inch OLED is much easier to
use.

Anonymous
a year ago
user

thilak 4s7ma

it is a very nice project , very versatile and user user friendly


one .
lots of thanks to you 73.

sp9wfh a year ago


PROFISSIONAL EDUCAÇÃO L O JHello
A Buddy Julio! I did all your generator designs and they
Pesquise em [Link] ENTRAR

all worked ok. Now I did the version with Jun / 2022,
Colleague Pablo
C ATLU1AGH.
EGORIAS P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
I have a problem. I know my question is not for you, but I
have no contact with Pablo. I cannot start PTT Rx / Tx. A2
and A6 do not work.
Maybe you can help me with this problem?
Thank you Maciek sp9wfh

pautax a year ago

Hi, good job!!!


I like to know if somebody has connect it to a spectrum
analyzer. What about spurios and phantom frequency?
Need to filter output of oscillator before use it on a receiver
?
Some info?

Anonymous
a year ago
user

When I compile, it has error, can anyone tell me how to


solve it? I have installed all the library. the message as
below:

Arduino: 1.8.19 (Windows 10), Board: "Arduino Nano,


ATmega328P (Old Bootloader)"
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
D:\\Downloads\\si5351 VFO\\VFO\\[Link]: In function 'void
__vector_5()':
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
VFO:42:19: error: 'class Rotary' has no member named
'process'
char result = [Link]();
^~~~~~~
VFO:43:17: error: 'DIR_CW' was not declared in this scope
if (result == DIR_CW) set_frequency(1);
^~~~~~
D:\\Downloads\\si5351 VFO\\VFO\\[Link]:17: note:
suggested alternative: 'DDRC'
if (result == DIR_CW) set_frequency(1);
^~~~~~
DDRC
VFO:44:22: error: 'DIR_CCW' was not declared in this scope
else if (result == DIR_CCW) set_frequency(-1);
^~~~~~~
exit status 1
'class Rotary' has no member named 'process'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Anonymous
8 months ago
user

I had problems when using (Old Bootloader)


PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

Anonymous
C AT E G O R I A S P E R G U N TA S FREQUENTES + NOVO PROJETO
8 months ago
user

you mean if i change not use Old Bootloader, it will


be solve the error?

Anonymous
8 months ago
user

I tried, still same error

Anonymous
8 months ago
user

I had download and unzip all the file from here //Ben
Buxton [Link] ......... it is
ok now,
thx

CesarSound8 months ago

Please double check if the Rotary library Rotary.h is


correctly installed in your IDE. Try to run a sketch
example of Rotary library to see it it works.
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

Anonymous
C AT E G O RaI Ayear
S ago
P E R G U N TA S FREQUENTES + NOVO PROJETO
user

hi CesarSound
please add shematic and scatch for Double Conversion
Receiver
I am interested in trying this project
thanks

Anonymous
8 months ago
user

thanks

CesarSound8 months ago

Hello, I don't have the schematic ready to share at


the moment, as I was putting it together in parts and
a lot is in my head. I intend to document everything
so I can share it soon. Thanks.

Anonymous
a year ago
user
PROFISSIONAL EDUCAÇÃO L O JHello
A and thank you for an excellent project. I built one and
Pesquise em [Link] ENTRAR

it works flawlessly. I am building a second one that I would


like to use forC a
AT3Eband
G O R I vhf
A S transceiver.
P E R G U INam
TA Snew
F R Eto
Q Uarduino
ENTES + NOVO PROJETO
and coding and would appreciate it a lot if you can possibly
assist. I need 3 bands, 50 - 54Mhz, 70 - 70.5Mhz and 144 -
146Mhz. Will it be possible to add digital outputs for each
band to use for filter selection? Regards Paul

Anonymous
a year ago
user

I'm glad I found this. I ordered a completed unit from


AliExpress. I'm restoring an old Drake novice ham radio
station (2-NT / 2-C) and I want to learn about VFOs to
replace the crystal. I've been planning to get into Arduino
too, so here goes.

Anonymous
8 months ago
user

The clone version arrived and seems to put out a


decent signal. I connected it to the crystal socket of
my Drake 2-NT novice transmitter and was pleasantly
surprised that the signal was sufficient to drive the
transmit on the transmitter. I may still need a buffer
amp in higher bands, but that will not be difficult.
The clone comes with a momentary T/R switch, so I
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
need to add a connection to the back panel to
facilitate external switching from the transmitter. I'm
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
hopeful that the keying will not lag or get chirpy. I
also need to isolate the VFO Key circuit on my 2-NT,
which may have significant voltage from the vacuum
tube.

This transmitter requires 3.5 MHz for the 80 meter


band and 7.0 MHz for 40 meters and up. It doubles
the crystal for 20 meters, triples it for 15 meters, and
quadruples it for 10 meters. I'm curious if I could
program the VFO to display the x2, x3, and x4
frequencies when sending the 7 MHz signal to the
rig.

This is a fun project. Thanks for making it available!

Anonymous
8 months ago
user

Incidentally, there's an error on line 249.


if (count == 14) [Link]("**13m**"); _should be
"15m"_

Anonymous
8 months ago
user
PROFISSIONAL EDUCAÇÃO LOJA I went ahead and built one on a breadboard and Pesquise em [Link] ENTRAR

after struggling with elementary Arduino issues I


have itCrunning!
AT E G O R II Awonder
S if
P Eit's
R Gpossible
U N TA S Fto
R Ereverse
QUENTES + NOVO PROJETO
the rx_tx so it does the opposite. If not, I will try an
inverter. My Drake radio has a connection that is
grounded in receive and open during transmit. I
would also appreciate guidance or advice on the
changes I will need to do the previously mentioned
x1 on 80M and 40M plus the x2,x3, and x4 for the
other bands. I have some work to do!

Anonymous
8 months ago
user

Perfect! Now grounding A2 puts it in receive and


opening it puts it in transmit. Thank you! I also got rid
of all the bands except the five my vintage radio
supports, and saved the presets to go to the CW
portion of each band. Now it's time to dig in and
learn how to set up the multipliers. I will report back.
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Anonymous
8 months ago
user
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Hello.
Congratulations to the author!
Could the lcd ili9341 be added?
best regards

CesarSound8 months ago

I am happy to know that it worked! keep reporting


the results.

CesarSound8 months ago

Hello, thanks for the comments and use of this


project, good luck!

CesarSound8 months ago

Thanks for details of your clone and usage. With


some trial and error tantative It is possible to change
the code to do the indications you want (x2, x3, and
x4 frequencies when sending the 7 MHz). The code is
flexible. 73!
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
CesarSound8 months ago

Hi, try Cthe followings


AT E G O R I A S changes:
P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Line 38:
bool sts = 1; //was 0

Line 126
if (digitalRead(rx_tx) == LOW) {
time_now = (millis() + 300);
sts = 0; //was 1
} else sts = 1; //was 0

Anonymous
a year ago
user

Hello Julio Cesar,


I've strange error:
expected unqualified-id before string constant and
point to line 42 of the code:
ISR(PCINT2_vect) {

can anyone help figure out where am I wrong?


thanks in advance

CesarSound8 months ago


PROFISSIONAL EDUCAÇÃO LOJA Hello, thanks for using the project. This interruption
Pesquise em [Link] ENTRAR

"ISR(PCINT2_vect) {" works only with Arduino, be sure


that you are
C AT E Gusing
O R I A Sthe Arduinio
PERGU UNO/NANO
N TA S F R E Qwith
U E Nthe
TES + NOVO PROJETO
ATMEGA328P. Others kind of microcontrollers do not
support this kind of interruption.

CesarSound8 months ago

To avoid use the ISR:

void rotary_encoder() {
unsigned char result = [Link]();
if (result == DIR_CW) set_frequency(1);
else if (result == DIR_CCW) set_frequency(-1);
}

void setup() {
//Encoder Interrupt
pinMode(interruptPin, INPUT_PULLUP);
attachInterrupt(digitalPinToInterrupt(2),
rotary_encoder, CHANGE);
attachInterrupt(digitalPinToInterrupt(3),
rotary_encoder, CHANGE);
}

Anonymous
8 months ago
user
PROFISSIONAL EDUCAÇÃO LOJA Nothing to do to me, isn't working. Is it possible to Pesquise em [Link] ENTRAR

change this command: "ISR(PCINT2_vect) {" with


another ? EGORIAS
C AT P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Arduino IDE 1.8.13 blocks me already in the
verification phase.
In which version of IDE work for you?

Thanks to everyone who will help me

Anonymous
8 months ago
user

I've Arduino Nano with Atmega328p and IDE 1.8.13.


However, the error is already present in the
verification phase before loading.
Thanks

Anonymous
a year ago
user

hello, ur job are really great and i'm grateful to have found
this project, i have a question for u, now i'm on my project
to transmit vlf radio signal approximately transmit 10kHz
RF. After we generate RF are u have option how to transmit
the RF? thank u in advance
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

CesarSound9 months ago


C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Hello, thanks for using the project. 10kHz is not
proper to transmitt signals, usually a transmitter
uses high freq above 500kHz.

Anonymous
a year ago
user

How can i add a push button to activate / deactivate the


vfo, like use it as cw key inputsl, for example? Thanks

CesarSound8 months ago

Hello Pablo, I am working in an update of code that


will include a new push button (or switch) to activate
/ deactivate output signal of the vfo. I should post the
updated version here soon. 73!

Anonymous
a year ago
user

For me, this is very interesting and useful information.


[dordle]([Link] I enjoy reading your posts.
[word hurdle]([Link] Thanks
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Anonymous
a year ago
user

Ola Cesar,

Muito interessante o seu projeto. Uma pergunta: Seria


possivel escolher um frequencia diferente para TX? quero
usar um radio antigo a cristal com o seu seu VFO, as
frequencias de TX e RX sao diferentes. o radio usa cristais
de over tone.
Obrigado

Flavio VE2ZFP

CesarSound9 months ago

Olá Flavio. obrigado pelos comentários. É possível


adicionar ou subtrair (off set) um valor em relação
frequência de TX. Por exemplo, se a frequência de TX
estiver em 7000kHz e definir o valor de IF (frequência
intermediária) no sketch para 455kHz, a frequência
de RX será de 7455kHz e RX 7000kHz. Se colocar
-455kHz a freq de RX será 6545kHz e a TX será de
7000kHz. Importante dizer que em RX a indicação no
display será de 7000kHz, porem a saída do VFO será
de 7455kHz, para possibilitar o uso em receptores
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
supeheterodinos. Espero ter ajudado. 73! Julio.

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Anonymous
9 months ago
user

Exelente Cesar, I want to use this VFO on a 2m TRX.


How to additionally add 12.5kHz tuning step?

Anonymous
9 months ago
user

Excellent Cesar! Chcę wykorzystać to VFO do TRX na


2m. Jak dodatkowo dodać krok przestrajania
12.5kHz?

Anonymous
9 months ago
user

Ola Cesar,
Entendido quanto as frequencias de TX e RX. Só mais
uma coisa. Uma vez definidos RX e TX o que faço
para mudar o valor de frequência no LCD, nao quero
que ele mostre a frequência de oscilação do cristal e
sim a frequência final do radio.
Para adicionar um offset de repetidora
No display seria dificil?
Obrigado e desculpe me por perguntar tanta coisa
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
de uma vez.
Grende abraco
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Flavio
Get Outlook for Android ([Link]
-------------------------------

sp9wfh a year ago

Hola Cesar!
Exelent project. Me gustaría incluir un teclado 4x3 en su
proyecto para poder seleccionar la frecuencia de él. ¿Es
posible en este proyecto?

urbantech a year ago

Hola César , excelente projecto ,gracias por compartirlo ! lo


hice y me funcionó sin problemas , pero quisiera agregarle
la posibilidad de sumar o restar la IF para poder usarlo en
equipos SSB , LSB y USB , se podrá implementar ? y otra
cosa , lo probé con un Oled de 0,96 pulgadas y me anduvo
perfecto , pero lo pruebo con uno de 1,3 pulgadas y la
pantalla dibuja cualquier cosa , alguna idea al respecto?
Muchas gracias ! Saludos ! LU1JIS
CesarSound8 months ago
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

Hola Pablo, gracias por crear esta nueva opción para


usar laCpantalla
AT E G O Rde
I A S1.3" SSH1106.
PERGUN ¡Gracias
TA S F R E73!
QUENTES + NOVO PROJETO

Anonymous
8 months ago
user

Hola Gerardo,
yo lo adapte a esa pantalla
proba con este sketch
To download this alternative version click here.
([Link]
351_VFO_RF_GEN_OLED_SH1106_V2_JCR_PW.zip?
dl=0)
un abrazo
Pablo
Pablo Woiz
pablowoi@[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
CQF

Anonymous
8 months ago
user
PROFISSIONAL EDUCAÇÃO LOJA HOla!** hice una adaptacion para usarlo con Pesquise em [Link] ENTRAR

pantallas de 1,3 pulgadas con el chip ssh1106, y


funciona
C ATbien.
EGOR SiI A
quieres
S te
P Ela
RGpaso. Soy
U N TA S Fnuevo
R E Q U Eaqui
N T E Sy + NOVO PROJETO
no se donde meter los archivos.
Gracias por el proyecto!!!
Saludos, Pablo
LU1AGH

gerardolu5fe
8 months ago

Hola, estoy aprendiendo , y este comentario me


sirbio para darme cuenta donde tengo el problema,
la pantalla que tengo es la ssh1106, agradeseria
informacion pa ver si puedo conseguir hacer
funcionar este proyecto muy interesante, desde ya
muchas gracias.
saludos cordiales LU5FE Gerardo.

gerardolu5fe
8 months ago

bien Pablo muchas gracias voy a probar, saludos.

CesarSound8 months ago


PROFISSIONAL EDUCAÇÃO LOJA Hola, gracias por los comentarios. Tengo la intención
Pesquise em [Link] ENTRAR

de lanzar una actualización de este proyecto e incluir


esta solicitud
C AT E G Otuya
R I A Sy algunas
PERotras, pero
G U N TA S Fno
REQséU E N T E S + NOVO PROJETO
exactamente cuándo podré hacerlo. En cuanto a la
pantalla de 1,3 pulgadas, esta pantalla utiliza el
controlador SSH1106 y requiere otra biblioteca
específica para ello. La que uso en este proyecto es
la biblioteca para SSD1306 y no es compatible con
SSH1106. Por el momento no tengo esta pantalla
aquí para probar. ¡Abrazo!

fredribt a year ago

Great Project! Thanks for sharing!!


Has anyone tried this unit (or the similar one available on
Ebay) with a tube type transmitter. I have recently
purchased a TX-62 and this looks like a great solution of
adding a VFO.

Anonymous
a year ago
user

Great project! I’m new to arduino , so pls bear with me. I


want to create 2 rf beacons for testing 2 antennas
simultaneously. I would like to have each signal shift 500hz
in frequency about once per second. I would think a several
stage band pass filter on each output would be necessary.
I’m ok doing the hardware part, but could you steer me in
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
the code. Also I’m guessing that a milliwatt would be
achievable without any amplification. Thanks for all your
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
ideas!

Anonymous
a year ago
user

Hola julio cesar . La salida del Si5351 lleva alguna


atenuación para entrar en el NE 602 ? o va directo ?
Leí el datasheet pero no encuentro la información

CesarSound9 months ago

Usé un atenuador eso sí, con una resistencia de 470


OHMS para el GND y una resistencia de 2.2kOHMS
para la entrada NE602 (pin 6). Antes de la resistencia
de 470 OHMS, la salida del Si5351 debe tener un
condensador de desacoplamiento de 100 nF. Pronto
prepararé el esquema y lo publicaré aquí.

Anonymous
2 years ago
user

Thanks, by the way, I managed to get the radio to work


100%, the problem with the LCD lines, the culprit was the
solder bridge behind the LCD, I hadn't put it together and
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
that's why when I powered it looked bad, for the rest 100%
project, I have to solder the ferrite bar with a 300uh coil
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
and that's it.

CesarSound8 months ago

Hi Miguel, I am glad to know that it worked. Thank


you!

dedenz 2 years ago

Hi sir
i'm from indonesia
do you have schematic and sketch for bitx or usdx
thanks
73

dedenz 8 months ago

ok sir
and thanks
CesarSound8 months ago
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

Hello dedenz, thanks for comments. I do no know the


C AT
bitx, but it EisGnot
O R Ipossible
AS P E use
to R G Uwith
N TA S F Rusdx.
the E Q U EFor
NTES + NOVO PROJETO

SI4735 double conversion receiver, follow this block


diagram to have an idea:
[Link]
I4735_SI5351_DOUBLE_CONV_RECEIVER_BLOCK_DIA
[Link]?dl=0

Anonymous
2 years ago
user

hola Julio cesar . Hice tu vfo es perfecto deseo hacer un


Receptor banda aerea con tu vfo .
No se como conectarlo al oscilador local De un TA 2003 o
un TA7358
También vi que sugerís dos dsp Si4735 y Si4732 . Estos dsp
solo actuarian como demoduladores ? entiendo que el Dsp
seleciona su frecuencia por softwarte y son solo
broadcasting o ham . se puede usar un dsp para banda
aerea . Saludos desde Argentina . 73´s

Anonymous
9 months ago
user
PROFISSIONAL EDUCAÇÃO LOJA Muchas gracias julio cesar. El vfo es mejor que Pesquise em [Link] ENTRAR

perfecto. Gracias por compartirlo !!


C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

CesarSound9 months ago

Hola Herman, gracias por comentar. É possivel fazer


um receptor de dupla conversão com este VFO,
usando uma primeira conversão de 10.7MHz e a
segunda de 455kHz. Veja este diagrama de bolcos de
um receptor de dupla conversão com o SI4735 que
eu projetei:
[Link]
I4735_SI5351_DOUBLE_CONV_RECEIVER_BLOCK_DIA
[Link]?dl=0

CesarSound9 months ago

Gracias!

g3ba 2 years ago

I have built this project which works brilliantly, thank you!


However, I'm new to coding and want to just use this as a
VFO for a CW transmitter, not a transceiver. The
PROFISSIONAL EDUCAÇÃO L O Jfunctionality
A I need is 'Tune' with the VFO on its own to net
Pesquise em [Link] ENTRAR

onto the received signal on a separate receiver, and


'Transmit' with the VFO keyed and
C AT E G O R I A S
driving an external
P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
amplifier. Can you suggest the simplest way to achieve this?
I have already set the VFO offset to 0kHz - that wasn't too
challenging!

Anonymous
2 years ago
user

Hi Julio
I have been using your code for some time now in
homemade ham transciever and very impressed by it. Look
forward to v3 particularly to add cw ofsett c700Hz between
tx and rx frequency and memory store, both of which have I
think already been suggested.

Many thanks
G3VAJ

Anonymous
8 months ago
user

julio,seria posible conectar este proyecto a la radio


multibanda de tu otro post y como se conectaria?.un
saludo.
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
CesarSound8 months ago

Olá Miguel, saludo,


C AT E G O R I A S gracias!,
PER é Gpossível
U N TA S sim,
FREQUENTES + NOVO PROJETO
basicamente teria que fazer as ligações conforme
este diagrama de blocos:
[Link]
I4735_SI5351_DOUBLE_CONV_RECEIVER_BLOCK_DIA
[Link]?dl=0

CesarSound8 months ago

Hi G3VAJ, thank you for using the VFO and


comments! I am taking notes of your ideas for future
upgrade in this code. 73!
Cheers,
Julio.

Anonymous
2 years ago
user

Julio,

I received the Chinese version of your project. It is packaged


very nicely but required a lot of help to make it usable. I
found the SMA connector for the ADC input not soldered at
all, and all buttons were mapped to the wrong pins on the
MCU for your Sketch making it necessary to change all the
PROFISSIONAL EDUCAÇÃO LOJA
pin assignments in the code. I was able to set the Pesquise em [Link] ENTRAR

calibration routine to get it right on frequency. I had to un-


C AT E G
solder the display toOremove
RIAS thePprotective
E R G U N TA film
S F Rfrom
E Q U Ethe
NTES + NOVO PROJETO

screen and had to re-map the encoder pins to get the


tuning to go the right direction. Now that all of that is done
it is a very nice tool for my bench. Anyone who buys the
Chinese version be prepared to make some changes before
being able to use it. Thanks Julio for the project.

Joel
N6ALT

CesarSound9 months ago

Hello Joel, thanks for the review and for detailing the
problems found and the solution you adopted to
solve them. Unfortunately these clones currently lack
a lot of quality control and it is common to present
gross errors.
I take this opportunity to point out that I have no
connection with the manufacturers of these Chinese
clones.
I am happy to know that in the end the equipment is
working and is being useful to you.
Cheers,
Julio.
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Anonymous
2 years ago
user
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Hi Julio, I really love this project, i have it running as a RF
generator for the moment, modified the code for 10 bands
only but i would like to use it on my YAESU FT-301 radio and
cannot figure out how to set it up for 5-5.5Mhz bandwidth
on all bands, as i have close to no knowledge of C++ maybe
you can point me in the right direction. Thank you very
much for this great project.

CesarSound8 months ago

Hi Martin, thanks for the comments and testing the


project. Do you want that a band has a limit of 5 to
5.5MHz? Or all bands? Give me an example. Tks.

CesarSound8 months ago

Hi Martin, I took a look at the links but I couldn't


understand how this VFO should operate. I am not
radio amateur and have never operated such
equipment. I don't know how to help you.

Anonymous
8 months ago
user
PROFISSIONAL EDUCAÇÃO LOJA Hi, Julio, No problem Sir, thank you very much for Pesquise em [Link] ENTRAR

looking into it.


I will try toEwork
C AT G O R Iwith
A S Lex PH2LB
P E R G Uto solve
N TA S F Rthe
EQUENTES + NOVO PROJETO
problem.
The positive side is i will continue to use your project
as
a universal RF generator in my radioshack :-)

Anonymous
8 months ago
user

Hello Julio, thank you very much for your support.


The vfo is for 10 bands, my goal is to be able to select
the band in my FT-301 and use the 500 khz segment
to tune the radio with a stable device (FT-301 drifts
really bad).
The external vfo VF-301
([Link]
m) apparently is no big improvement and is almost
impossible to find.
PH2LB has the perfect example
([Link] but
unfortunately i cannot get it running, In an email the
author recommended using components from a US
company which i don't have in my goodies box.
Thank you in advance.
PROFISSIONAL EDUCAÇÃO LOJA
ea3gcy 2 years ago Pesquise em [Link] ENTRAR

Hola Cesar.
Un proyecto realmente interesante
C AT E G O R I A S P E RyGútil,
U N TAasíS como
F R E Q muy
UENTES + NOVO PROJETO

bien estructurado.
Me gustaría contactar contigo. Me llamo Javier Solans, soy
radioaficionado EA3GCY, puedes encontrarme en google.
Muchas gracias.

CesarSound8 months ago

Hola ea3gcy, gracias por los comentarios. Puedes


contactarme aquí mismo o si lo prefieres
enviándome un mensaje privado aquí mismo a
través del hacksterio. Gracias - Julio,

Anonymous
2 years ago
user

Hi Cesar, your project has been copied by the Chinese and


is now being sold on eBay and Aliexpress!
[Link]
_trkparms=amclksrc%3DITM%26aid%3D111001%26algo%3
[Link]%26ao%3D1%26asc%3D20160908105057%26m
eid%3D92abb5aa253d4adcacf0d34459f005cb%26pid%3D10
0675%26rk%3D2%26rkt%3D15%26sd%3D124573392976%2
6itm%3D324937605544%26pmt%3D1%26noa%3D1%26pg%
3D2380057%26brand%3DUnbranded&_trksid=p2380057.c1
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
00675.m4236&_trkparms=pageci%3Ab893f559-7d51-11ec-
b5ab-
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
822b25259f4d%7Cparentrq%3A8db6669317e0a9f5db95db
13fff56e0c%7Ciid%3A1

Joel
N6ALT

CesarSound9 months ago

Hello Joel, wow, I didn't even know that, apparently


my idea is getting popular. Thank you for letting me
know!
Cheers.
Julio.

Anonymous
9 months ago
user

Julio,

I ordered one of these, I will let you know what I


think when I get it. Thanks.

Joel
N6ALT
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

Anonymous
C AT E G O R2I Ayears
S ago
P E R G U N TA S FREQUENTES + NOVO PROJETO
user

buenos dias...y para obtener el audio?....GRACIAS!!!

mauriciounb 2 years ago

Hi. I need a help. I'm trying to generate the second clock


output (clk2 pinout RF Si5351a) and generate 4(four) preset
frequencies, like this: on an analog input (A7) of the Arduino
nano board I put a voltage divider... when it is
approximately 1Volts in A7 frequency is clk2=14MHz, and
when it is approximately 2 Volts in A7 frequency is
clk2=28MHz, when voltage is at 3V then clk2=32MHz and at
4V is clk2=48MHZ. In other words, it is the frequency preset
in clk2 selected through voltages from 1 to 4 Volts applied
to A7 input. If you can help me with this code and post I will
be immensely grateful. Thank you very much in advance.

Anonymous
2 years ago
user

Hola arme el vfo pero cuando subo el programa no


enciende la pantalla oled alguno pudo corregir el software
para que funcione y me ko puede pasar gracias
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

CesarSound9 months ago


C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Hola Jose, gracias por los comentarios. ¿Está
utilizando la pantalla OLED SSD1306? Recuerdo que
este proyecto no fue hecho para trabajar con OLED
SH1106. También puede verificar que la dirección I2C
de su pantalla OLED sea correcta y cambiarla en la
línea 66 ([Link] (SSD1306_SWITCHCAPVCC,
0x3C); ) si es necesario. Tenga en cuenta que utilizo
la dirección 0x3C para la pantalla.

CesarSound9 months ago

Hola Jose, me alegro de saber que VFO funcionó y ¡te


gustó! Gracias por las palabras, les deseo un feliz año
nuevo con mucha salud y paz. ¡Un abrazo!

Anonymous
9 months ago
user

Hola cesar feliz año nuevo luego de tanto provar


cometi un error y tuve que cargar el sketch de nuevo
y cuando lo prove no tiro error lo subi al arduino y
salio funcionando bien
Felicitaciones por el proyecto que funciona ahora a
probarlo en el equipo gracias por tu ayuda
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Anonymous
9 months ago
user
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Hola cesar gracias por responderme es extraño la
pantalla es 0.96 oled ssd1306 azul iic llc revise la
linea 66 y esta correcto cuando doy verificar no hay
errores pero lo cargo carga todo pero sigue la
pantalla sin prender con otro programa similar
prende o sea la pantalla no es

antoniobertezzolo
2 years ago

Hello everybody!
I'd need a help.
I build it the vfo from start to end three times, every time
everything runs flowelessly. So modified the step by
choosing a 100 Hz step, i set the gain on smeter port... it
was ok...
i connected it to my radio to a diode ring mixer and yet it
was ok. All the three building after a while, stop workin by
switchin off the display, and after while si 5351 adafruit
board stop the same. Arduino nano stop as well and no
sign of life came in even by tring to upload sketch
again....chip was terribli hot. All three times with different
boards different vfo board and different display...I'm very
sad, because all three version worked wonderfully for 30
minutes or so....where am i wrong?
Thanks for your precious suggestions!
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Antonio

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

CesarSound8 months ago

Hello antonio, thanks for the comments. The


electrical circuit of this project is very simple and it
does not have protections against over voltage or
against high levels of radio frequency. So you must
be careful with these points, you must not exceed 5
volts on the analog input of the Signal Meter, the
Arduino power supply (applied to the VIN pin) must
not exceed 9 volts (must be between 6.5 and 9 volts)
and the the entire VFO circuit must be shielded in a
grounded metallic case if used in a transmitter of
more than 30 Watts, as the RF can burn the Arduino
as well.

Anonymous
2 years ago
user

Great project, worked 1st time it was switched on! Cannot


find info on how to subtract IF on 20m, 15m, 10m - and add
IF on 40m, 80m & 160m. Do not understand the
description. HELP CesarSound!
I have also only included the Ham bands, and added a
100kHz step.
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Look forward to your response. Bob.........ZS6RZ

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

CesarSound9 months ago

Hello Bob, thanks for the comments. To subtract the


IF, edit the sketch on line 17 #define IF and then save
it and then load it again to arduino. For example, if
you want do add to IF of 455kHz, just type 455. But if
you want to subtract to IF jut type -455 (minus 455)
on line 17 #define IF.

Anonymous
2 years ago
user

I have a compilation problem\\Arduino\\libraries\\Adafruit-


GFX-Library-master\\Adafruit_GrayOLED.h:30:10: fatal error:
Adafruit_I2CDevice.h: No such file or directory
please, give me an advice

idealist 9 months ago

Hi 1DWK.....
I had exactly the same problem until downloaded
"Adafruit BusIO" library and installed it...Now
everything is fine
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
I hope it works for you too.

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Anonymous
2 years ago
user

Hi Cesar Sound
Love your project I built a few of these, used one together
with a simple SWR bridge to measure antenna's, could you
give a little idea for creating a frequenty ofset during TX,
this is most handy for qrp CW mostly it is about -600 or -700
Hz.
Much gratefull!
Regards

Anonymous
9 months ago
user

Hey Eddo! can you tell me wich swr bridge you used?
I want to do the same... ;) Thanks!

vu3kfk 2 years ago

Or rather should I say is it possible to set IF frequency


between 100 Hz and 1000 Hz ?
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
CesarSound8 months ago

Hello vu3kfk, thanks for the comment! Maybe you


can do this:
On line 138: change to: void tunegen() {
si5351.set_freq((freq + (interfreq * 1000ULL + 100)) *
100ULL, SI5351_CLK0);
}
That is, adding +100 in the expression (interfreq *
1000ULL + 100)) and them offset the IF by +100Hz,
for exemple.
This is a suggestion, simplest way I imagined, to
avoid more complex code changes.
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
vu3kfk 2 years ago

This was really easy


C AT EGOtoR Iduplicate
AS Pproject.
E R G U NThank
TA S F Ryou
E Q Ufor
ENTES + NOVO PROJETO
sharing such simple but well designed project. I made it on
a breadboard and it worked in just first attempt. I have one
small request. I am planning to use this in direct conversion
receiver and i set IF to 0. Now I need some way to
implement the Full-break-In or there should be some
option to shift the RX LO frequency few hundred Hz above
or below the TX frequency. This should happen when i
release the CW Key. Can you give me some tips on this.
What changes in code required to achieve this ?

CesarSound8 months ago

Hello vu3kfk, thanks for your comments! 73!


PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Anonymous
2 years ago
user
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Hello,
is possible to use CLK1 with CLK0, where the signal on CLK1
would be shifted by 90° ? I think it would be better for use
with sdr, or not ? How I can make it? Can we help me with
code?

Anonymous
2 years ago
user

Cesar: I can't find the Rotary library (encoder) for arduino


uno or nano. Please give me the link to download it ?. Thank
you

Anonymous
2 years ago
user

How would I connect this to a Cobra LTD 29 Radio?

Thank in advance

CesarSound9 months ago


PROFISSIONAL EDUCAÇÃO LOJA Hi George, I wouldn't know how to do it, but from Pesquise em [Link] ENTRAR

what I've seen on Youtube videos, it's possible to do


it, withCsome knowledge
AT E G O RIAS ofP Eelectronics
R G U N TA S and
FREQRF.
UENTES + NOVO PROJETO
Thanks.

Anonymous
2 years ago
user

Hi Julio!
Thanks for the great construction!
I have a question: is it possible for IF to be a fractional
number, for example 9001.5 KHz.

Anonymous
8 months ago
user

Thanks Julio!
I look forward to the V3 of your magnificent
construction.
I and many radio amateurs will be grateful to you.

Anonymous
8 months ago
user
PROFISSIONAL EDUCAÇÃO LOJA Thanks Julio! Pesquise em [Link] ENTRAR

Indeed, this is the easiest way.


And letC me
AT Eask
G O Rone
I A S more thing:
P E R G Udo you
N TA S Fenvisage
R E Q U E NV3,
TES + NOVO PROJETO
in which CLK 1 (2) of si5351 will be used as a BFO in
order to be able to receive SSB signals?

CesarSound8 months ago

Hello George, thanks for the comment! Maybe you


can do this:
On line 138: change to: void tunegen() {
si5351.set_freq((freq + (interfreq * 1000ULL + 500)) *
100ULL, SI5351_CLK0);
}
That is, adding +500 in the expression (interfreq *
1000ULL + 500)) and them set the IF = 9001
This is a suggestion, simplest way I imagined, to
avoid more complex code changes.

CesarSound8 months ago

Thank you!

CesarSound8 months ago


PROFISSIONAL EDUCAÇÃO LOJA Hi George, Yes, I have plans to do an upgrade Pesquise em [Link] ENTRAR

including your request and maybe the


implementation
C AT E G O R Iof
A Susing the
P E REEPROM
G U N TA Smemory
F R E Q U Eto
NTES + NOVO PROJETO
retain the values when the arduino is turned off. But
it will depend on time availability. Thanks!

Cathprotech 2 years ago

Hi,
Not tried it yet but looks a great project.
I just wonder if there is a reason you are using A0 to A2 for
the pushbuttons rather than digital inputs?
I will post how I get on.
Thanks
Martin

CesarSound9 months ago

Hello, thanks for the comment! I used these pins for


my convenience, I usually use them in other projects
too and they were free on this project. Anyway they
can be changed freely. PS: Analog pins can be used
as digital input without any problem.
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Anonymous
2 years ago
user
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
One of the best dds projects I've played with i have changed
a few things to suit my needs but i have a problem .I'm
trying to add a rx only clarifier using a potentiometer but i
cant seem to figure how to do it in the code would anyone
on here be able point me in the right direction . I'm kind of
new to Arduino stuff last time i did any code was on a bbc
master computer 30+ years ago im a little rusty

CesarSound9 months ago

Hello, thanks for the comments! One suggestion


(which I haven't tested) would be to use the analog
input A6 as follows:
Declare the new variable: int freq_pot;
Include the function below:
void pot_tune() {
freq_pot = analogRead(A6);
freq_pot = map(freq_pot, 0, 1010, -100, 100);
freq = freq + freq_pot;
}
Calling the function pot_tune(); inside the loop()
Connect a potentiometer of 10kOHMS between 5v
and GND and the central pin of the potentiometer is
connected to pin A6 of the arduino.
This way it would have a fine adjustment from -100
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
to +100Hz

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Anonymous
9 months ago
user

pot_tune(); inside the loop() esta linha tenho que


escrever tambem no codigo ou nao fiz desta forma
.int freq_pot;
void pot_tune() {
freq_pot = analogRead(A6);
freq_pot = map(freq_pot, 0, 1010, -100, 100);
freq = freq + freq_pot;
} obrigado att 73

Anonymous
9 months ago
user

Just got round to testing the code it sort of works but


when it turn the pot from the center position it starts
counting up or down frequency till i return it back to
center position . I will keep playing around to see if i
can make it work it may be something I'm doing
wrong .

Anonymous
9 months ago
user
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
Many thanks for your reply i will give that a test and
let you know how it goes
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Anonymous
2 years ago
user

Hello,

I really like your project, but I have a problem loading the


code into the chip. I use Arduino Nano. Can you help me
with that? The Arduino IDE reports a compilation error.

In file included from C: \\ Users \\ Kugler \\ Documents \\


Arduino \\ sketch_sep03a \\ sketch_sep03a.ino: 5: 0:
C: \\ Users \\ Kugler \\ Documents \\ Arduino \\ libraries \\
Adafruit-GFX-Library-master / Adafruit_GrayOLED.h: 30: 10:
fatal error: Adafruit_I2CDevice.h: No such file or directory
#include <Adafruit_I2CDevice.h>
^ ~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
An error occurred while compiling on the Arduino Nano
board.

thank you very much for your help


CesarSound9 months ago
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

Hello, thanks for the comments! Maybe there are


conflicts with
C AT E G Oothers
R I A S libraries
P E Rinstalled
G U N TA S in
F Ryour
E Q U IDE.
E N T EI S + NOVO PROJETO

recommend installing the IDE and necessary libraries


on another computer and trying to compile again.

idealist 9 months ago

I had the same problem until downloaded "Adafruit


BusIO" library and installed it.....now the circuit works
fine
I hope it helps you and anyone else who has such a
problem

Anonymous
2 years ago
user

A beautiful and elegant piece of software.

Thanks for sharing.


PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

CesarSound9 months ago


C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Hi Shafik, thank you for kind words!

pagkaogok 2 years ago

Greetings. My first time playing with SI5351 and oled


display. Pleasing and functional implementation. I have
been trying to modify to add RIT feature but my C++ skills is
zero. It would be a bonus to have that and maybe a BFO
from the other CLK output. Looking forward to more of
your projects. 73. DU7ZIP.
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

pagkaogok 8 months ago


C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Hello, Cesar,
I was able to enable the other CLKs from your
instructions to Gustav. I am trying Rob Engberts
PA0RWE sketch for RIT. It’s working now but I still like
your layout. I have managed to mimic your layout
except for the SMeter. I have added #define S_GAIN
and #define adc. and the bargraph. I’ll keep working
on it and I would appreciate any suggestions. Thanks,
again. Nez

CesarSound8 months ago

Hello friend, I could try to include your ideas on next


update. Thank you!

babaksaeedi 2 years ago

hello my friend and thanks for this nice project . si 5351


have 3 out of signal . can you build software for that ?? 3
signal generator with one module

CesarSound9 months ago


PROFISSIONAL EDUCAÇÃO LOJA Hello friend, I could try to include your idea on nextPesquise em [Link] ENTRAR

update. Thank you!


C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Anonymous
2 years ago
user

Funciona pero no logra bajjar de frecuencia. El encoder solo


sube de frecuencia .que podra ser.

Anonymous
8 months ago
user

Muchas gracias por responder probare esto y le


aviso gracias.

Anonymous
8 months ago
user

Cesar gracias por compartir , Funciona muy bien .Me


gustaría agregar un BFO por la salida (SI5351_CLK1)
..con una frecuencia para LSB y otra para USB , ud
podria ayudarme con esto.
Exelente trabajo , Gracias LU4AET Gustavo
CesarSound8 months ago
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

Gracias, pode ser o rotary encoder, experimente


C AT Etipo
usar outro G O Rde
I A Sencoder,
P Ede
R Gpreferencia
U N TA S F R E Q UENTES
aquele + NOVO PROJETO

modelo genérico chines comum, como este:


[Link]
spm=[Link].0.0.3923567ck6SCIU&algo_pvi
d=957d6312-75d6-4c4c-b9ef-
422a052d8cde&algo_expid=957d6312-75d6-4c4c-
b9ef-422a052d8cde-
1&btsid=0bb0624316233647971415050e75d5&ws_a
b_test=searchweb0_0,searchweb201602_,searchweb
201603_

CesarSound8 months ago

Hello Gustavo, thanks for the interest and for the


comments. Do the following:
Let's activate the CLK1 (the CLK is count 0, 1 and 2,
the CLK0 is used by VFO) to generate 455kHz:
Inside the void setup():
Line 83 change it to:
si5351.output_enable(SI5351_CLK1, 1);
and add this line: si5351.drive_strength(SI5351_CLK1,
SI5351_DRIVE_2MA);
In the line 138 void tunegen() add:
si5351.set_freq((455 * 1000ULL) * 100ULL,
SI5351_CLK1);
The value 455 corresponds to 455kHz, but you can
change it to other frequency of your choice. Note
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
that the CLK1 will output a fixed signal of 455kHz.
Good luck!
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Anonymous
2 years ago
user

excelente iniciativa, parabéns César.

73

CesarSound8 months ago

Olá py4lmc, obrigado!

f4fei 2 years ago

Great realisation! Congratulations!


I have modified your code to use it with a color Oled display
ssd1331. It works fine as local oscillator for a direct
conversion receiver.
Thanks again for your work.
Dominique
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

CesarSound8 months ago


C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Hi Dominique, I am glad to know, thanks!

Anonymous
2 years ago
user

Hi, I only saw your second version will ask here also ) Maybe
you can recommand simple radio transmitter for 27Mhz
want try OOK modulation or maybe for short range simple
wire will work.
Thanks

Anonymous
2 years ago
user

Excelente Cesar, me funciona muy bien. Gracias por


compartir. LU1EG Alberto

CesarSound9 months ago

Hola Alberto, fico feliz de saber! Abraço.


PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Anonymous
2 years ago
user

Ciao, scusa se ti scrivo in italiano. Quando vado a compilare


lo sketch mi da questo errore. Non sono molto pratico con
arduino, ma me la cavo.
Grazie

Arduino:1.8.10 (Windows 10), Scheda:"Arduino Nano,


ATmega328P"

sketch_si5351_vfo_rf_gen_oled_jcr_v[Link] error: expected


unqualified-id before '/' token

/ *************************************************
**************************************************
*******

In file included from


C:\\Users\\Gianpietro\\Desktop\\SKETCH
ARDUINO\\sketch_si5351_vfo_rf_gen_oled_jcr_v2\\sketch_si
5351_vfo_rf_gen_oled_jcr_v2.ino:11:0:

C:\\Program Files
(x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\sr
c/Wire.h:82:8: error: 'TwoWire' does not name a type; did
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
you mean 'TwoWire_h'?

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
extern TwoWire Wire;

^~~~~~~

TwoWire_h

In file included from


C:\\Users\\Gianpietro\\Desktop\\SKETCH
ARDUINO\\sketch_si5351_vfo_rf_gen_oled_jcr_v2\\sketch_si
5351_vfo_rf_gen_oled_jcr_v2.ino:15:0:

C:\\Users\\Gianpietro\\Documents\\Arduino\\libraries\\Adaf
ruit_SSD1306-master/Adafruit_SSD1306.h:129:42: error:
'TwoWire' has not been declared

Adafruit_SSD1306(uint8_t w, uint8_t h, TwoWire *twi =


&Wire,

^~~~~~~

C:\\Users\\Gianpietro\\Documents\\Arduino\\libraries\\Adaf
ruit_SSD1306-master/Adafruit_SSD1306.h:171:3: error:
'TwoWire' does not name a type; did you mean
'TwoWire_h'?

TwoWire *wire;
^~~~~~~
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

TwoWire_h
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

C:\\Users\\Gianpietro\\Documents\\Arduino\\libraries\\Adaf
ruit_SSD1306-master/Adafruit_SSD1306.h:129:58: error:
'Wire' was not declared in this scope

Adafruit_SSD1306(uint8_t w, uint8_t h, TwoWire *twi =


&Wire,

^~~~

sketch_si5351_vfo_rf_gen_oled_jcr_v[Link] error: 'Wire'


was not declared in this scope

Adafruit_SSD1306 display = Adafruit_SSD1306(128, 64,


&Wire);

^~~~

C:\\Users\\Gianpietro\\Desktop\\SKETCH
ARDUINO\\sketch_si5351_vfo_rf_gen_oled_jcr_v2\\sketch_si
5351_vfo_rf_gen_oled_jcr_v2.ino: In function 'void setup()':

sketch_si5351_vfo_rf_gen_oled_jcr_v[Link] error: 'Wire' was


not declared in this scope

[Link]();
^~~~
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

Più di una libreria trovata per "Adafruit_SSD1306.h"


C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Usata:
C:\\Users\\Gianpietro\\Documents\\Arduino\\libraries\\Adaf
ruit_SSD1306-master
Più di una libreria trovata per "SPI.h"
Usata: C:\\Program
Più di una libreria trovata per "Adafruit_I2CDevice.h"
Usata:
C:\\Users\\Gianpietro\\Documents\\Arduino\\libraries\\Adaf
ruit_BusIO
Più di una libreria trovata per "Rotary.h"
Usata:
C:\\Users\\Gianpietro\\Documents\\Arduino\\libraries\\Rota
ry-master
Più di una libreria trovata per "Wire.h"
Usata: C:\\Program
Più di una libreria trovata per "si5351.h"
Usata:
C:\\Users\\Gianpietro\\Documents\\Arduino\\libraries\\Si53
51Arduino-master
Più di una libreria trovata per "Adafruit_GFX.h"
Usata:
C:\\Users\\Gianpietro\\Documents\\Arduino\\libraries\\Adaf
ruit-GFX-Library-master
exit status 1
expected unqualified-id before '/' token
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

CesarSound8 months ago


C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Olá Gianpietro, deve estar havendo conflito entre as
bibliotecas que você tem instaladas. Experimente
instalar o Arduino IDE mais recente em outro
computador e instale também apenas as bibliotecas
mencionadas no sketch deste projeto e faça a
compilação. Boa sorte!

giacomomarinelli
2 years ago

Bel progetto, ma potresti spiegarmi come risolvere questo


problema?

In file included from


C:\\Users\\Alessando\\Documents\\Arduino\\libraries\\Adaf
ruit-GFX-Library-master\\Adafruit_GrayOLED.cpp:20:0:

C:\\Users\\Alessando\\Documents\\Arduino\\libraries\\Adaf
ruit-GFX-Library-master\\Adafruit_GrayOLED.h:30:10: fatal
error: Adafruit_I2CDevice.h: No such file or directory
#include <Adafruit_I2CDevice.h>
^vvvvvvvvvvvvvvvvvvvv
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

lw9dbu-
8 months ago
fer
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Hi Giacomo. Mucho gusto. Te cuento que me ha


pasado el mismo problema y lo he resuelto de esta
manera.
He entrado a este link:
[Link]
He bajado ese ZIP. Y luego desde el IDE lo he
incorporado a la libreria.
El proyecto a partir de ahi, lo he podido compilar y
me ha funcionado correctamente.
Que tengas suerte!!
Un cordial saludo
Fernando-
Argentina

alibagherii 3 years ago

Hi, Thank you very much!


can you a little help me in order to make this without
"Adafruit SI5351 CLOCK GEN MODULE" and by onboard
16MHz clock of Arduino?

Regard
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

CesarSound8 months ago


C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
Hi, this project works only with the Si5351 in order to
generate a frequency signal. To generate directly
from arduino maybe the Tone library can do it.

iw2knj 3 years ago

Funziona molto bene , sarebbe perfetto se si potesse


modificare la IF da i tasti

enrique-
8 months ago
10

Me too, I wish you could change the I.F. (430-460kHz)


to regulate old tube radios. Thanks for your effort
CesarSound !!!!

CesarSound8 months ago

I am glad to know that it worked for you.


PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
CesarSound8 months ago

ThanksC for
AT Ethe
GORcomments!
IAS P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

Anonymous
8 months ago
user

I downloaded the sketch, it compiles but I only get


the start screen "Si5351 VFO/RF GEN"
"JCR RADIO - Ver 2.0" nothing else! I chekced the I2C
adresses twith a I2C checker, 0x60 for the SI5351 and
0x3C for the display . So what is wrong?

Anonymous
8 months ago
user

i uncommented line 76 (startup test) now the display


is ok

iw2knj 3 years ago

Ho realizzato il progetto, senza nessun problema, ma


all'accensione mi rimane la schermata iniziale bloccata e
non da segni di vita, cosa può essere?
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

iw2knj 8 months ago


C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

ok adesso funziona , grazie.

CesarSound8 months ago

Although this problem did not occur to me, a user


reported it. To solve it simply try to comment (//) the
line 77 statup_text (); I am investigating what may be
causing this on only a few platforms. Thanks.

Anonymous
8 months ago
user

Mam podobny problem, projekt uruchamia się i nie


daje się nic dalej z nim zrobić. Będę wdzięczny za
pomoc.

Anonymous
3 years ago
user

Wow - Well done.


I particularly liked the attention paid to the design of the
display contents. A quick look through the code suggests
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
you may be re-drawing the entire screen each update - is
that correct? I wondered if there was any flicker but I didn't
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
see any in the video!

I know that this can be tricky as I made a similar project.


[Link]

Differences:
1) Range 10kHz up to 200MHz
2) Uses an ESP32 processor with integral colour display
(TTGO T-Display). Highly recommended.
3) Designed and 3D-printed a custom box. It also caters for
an in-built LiPoly battery that is served by an on-board
charger.
4) The software: I copied several ideas from across the
Internet and weaved them together via Arduino IDE. There
were initially some problems getting the standard 5351
libraries to work with the ESP32 - including a conflict with
both the Wire library and the Etherkit library that is used in
your design. For anyone else wanting to use the ESP32
processor, I would recommend the library that John Price
modified - it's on github (search for WA2FZW).
5) For my design I enjoyed going for a minimalist user
experience - i.e. as few controls as possible. I found a
button library (Brian Low / Ben Buxton) that allowed
reliable operation for short medium and long button
presses, so this plus a single encoder and software control
allowed removal of several switches in the earlier version.
Minha referência de vídeo acima contém links para o
PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR
fornecedor do microprocessador ESP32c e para o arquivo
de impressão 3D do design da caixa, se alguém quiser
C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO
experimentar.

CesarSom 9 meses atrás

Olá Bob, obrigado pelos comentários! E parabéns


pelo seu projeto, é muito interessante! Eu atualizo o
display somente quando há uma alteração em algum
valor, como frequência, e não há absolutamente
nenhuma oscilação no display. Outra vantagem
deste método é a redução da interferência
eletromagnética gerada pelo arduino/display na
recepção do rádio.

iw2knj 3 anos atrás

MOLTO BELLO, CREDO CHE LO REALIZZERò

CesarSom 8 meses atrás

Olá iw2knj, obrigado pelos comentários!


PROFISSIONAL EDUCAÇÃO LOJA Pesquise em [Link] ENTRAR

C AT E G O R I A S P E R G U N TA S F R E Q U E N T E S + NOVO PROJETO

G8INL 3 anos atrás

Um projeto muito bem pensado e executado, muito versátil


e fácil de usar. Muito obrigado.

CesarSom 9 meses atrás

Olá G8INL, obrigado pelos comentários!

© 2023 Arduino Termos de serviço política de Privacidade Segurança Configurações de cookies

Você também pode gostar