Arduino VFO
Arduino VFO
Arduino VFO
Arduino
Part I
Objectives
• Introduction to Arduino
• Breadboard, wires
• LED, 220R
• Si5351 module
• Connecting wires
(male to male)
Arduino UNO
Setup your PC
• Club Wifi: BARS_AP
• Password: 1234567890
• Go to
Preferences,
select Arduino
Sketchbook
location
Re-start
Arduino IDE
Plug in your UNO
• Connect your UNO to your
PC by the USB Cable
• Create an LCD object for your display, which has an I2C address of 0x3F,
16 columns and 2 rows
LiquidCrystal_I2C lcd(0x3F, 16, 2);
pinMode(10, OUTPUT);
digitalWrite(10, HIGH); Use Arduino functions
Take a look at the
Arduino Library
arduino.cc > Learning > Reference
Part II
Let’s continue our activities
LiquidCrystal_I2C corruption
problem has been solved
New USB Stick
1st: Delete all stuff in
Documents/Arduino/
Result?
Documents/Arduino/
Test sketch
• Plug in your Arduino UNO using the USB cable
• Open
File > Sketchbook > My_Blink
// My_Blink
// flashes a LED on pin 13
// pin number
#define LED 13
Upload
Your hardware
and it’s interface
LCD, Rotary Encoder
Synthesiser
Two kinds of Synthesiser
We
• There are two kinds will start
with
this one
• Digital output, Si5351
Good for mixers, SDR
• Frequency 10kHz to
> 200MHz
• Arduino library
AD9850 Synthesiser
• AD9850 has sine wave and
digital outputs
• 5V operation
• Arduino library
LCD
• The display is 16
characters by 2 lines
A4
A5
Arduino is a “Master”
Devices are “Slaves”
Every slave has an address (0x60, 0x3F…)
The I2C bus
Arduino Pinout
• A plan for pin usage
• Interfaces for
• SIG/FWD, REV
• RETURN LOSS
• RFMETER
• I2C
• RX/TX SEQ
• AD9850 BUS
• BAND SELN
• PTT
• ENCODER
Using your
LCD
Build a display
• Connect up
SCL = A5
SDA = A4
VCC = 5V
GND = GND
• Open
My_LCD_Test-Basic
Upload
Press Reset to run again
Using your
Si5351
Build a VFO
• Connect up
SCL = A5
SDA = A4
VCC = 5V
GND = GND
• Open
Use a four
My_VFO_KB-Basic wire cable
3 Enter Frequency in Hz
Open
Use a four
My_VFO_Basic wire cable
Remember
Si5351 - Mixers, SDRs, digital apps
AD9850 - Antenna analysers, low harmonic apps