Difference between revisions of "VFO-001"

From Land Boards Wiki
Jump to navigation Jump to search
Line 109: Line 109:
  
 
== Libraries/Example Code ==
 
== Libraries/Example Code ==
 +
 +
=== Land Boards Code ===
  
 
* [https://github.com/land-boards/lb-Arduino-Code/tree/master/STM32/VFO_Si5351 Land Boards Application]
 
* [https://github.com/land-boards/lb-Arduino-Code/tree/master/STM32/VFO_Si5351 Land Boards Application]
  
=== Others ===
+
=== Used in this app ===
  
* [https://github.com/pu2clr/VFO_BFO_OLED_ARDUINO VFO and BFO with Si5351A, OLED and Arduino]
 
 
* [https://github.com/olikraus/u8g2 U8g2: Library for monochrome displays, version 2]
 
* [https://github.com/olikraus/u8g2 U8g2: Library for monochrome displays, version 2]
 
* [https://github.com/etherkit/Si5351Arduino Si5351 Library for Arduino]
 
* [https://github.com/etherkit/Si5351Arduino Si5351 Library for Arduino]
 +
 +
=== Others ===
 +
 
* [https://github.com/andrey-belokon/Syntez_Si5351_Si570 Universal Digital VFO Si570/Si5351]
 
* [https://github.com/andrey-belokon/Syntez_Si5351_Si570 Universal Digital VFO Si570/Si5351]
 
* [https://github.com/adafruit/Adafruit_Si5351_Library Adafruit_Si5351]
 
* [https://github.com/adafruit/Adafruit_Si5351_Library Adafruit_Si5351]
Line 122: Line 126:
 
* [https://github.com/prt459/Arduino_si5351_VFO_Controller_Keyer vk3hn_VFO_controller]
 
* [https://github.com/prt459/Arduino_si5351_VFO_Controller_Keyer vk3hn_VFO_controller]
 
* [https://github.com/pu2clr/BFO Simple BFO with si5351 controlled by Arduino]
 
* [https://github.com/pu2clr/BFO Simple BFO with si5351 controlled by Arduino]
 +
* [https://github.com/pu2clr/VFO_BFO_OLED_ARDUINO VFO and BFO with Si5351A, OLED and Arduino]
  
 
== Videos ==
 
== Videos ==

Revision as of 16:02, 24 October 2020

VFO-001 P132-720px.jpg

Features

Schematic

VFO-001-SCHEMATIC.PNG

Parts

Blue Pill Card

STM32F103C8T6-Blue-Pill-Pin-Layout.gif

  • 3.3V operation works without level shifters for I2C
    • OLED runs from 3.3V
    • Si5351 can only run from 3.3V
  • Used right angle headers and Dupont cables for low profile
  • Replaced BOOT 0,1 jumpers
    • Wire jumper on BOOT1
    • Switch on BOOT0 - easier to download code
  • Download via serial
  • Programmed via Arduino IDE

128x32 OLED

Si5351 003 720px.jpg

OLED128x32.PNG

Arduino Library for OLED

U8G2_SSD1306_128X32_UNIVISION_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE);   // STM32, Ebay OLED
  u8g2.setFont(u8g2_font_ncenB14_tr);
Hello World Code
U8G2_SSD1306_128X32_UNIVISION_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE);   // STM32, Ebay OLED

void setup(void) {
  u8g2.begin();
}

void loop(void) {
  u8g2.clearBuffer();			// clear the internal memory
  u8g2.setFont(u8g2_font_ncenB08_tr);	// choose a suitable font
  u8g2.drawStr(0,10,"Hello World!");	// write something to the internal memory
  u8g2.sendBuffer();			// transfer internal memory to the display
  delay(1000);  
}

Rotary Encoder/Breakout Board

RotaryEncoderCAD.PNG


Si5351 004 720px.jpg

Si5351 Frequency Generator

Si5351 001 720px.jpg

VFO3.PNG

  • I2C Daisy-chain connector
  • 3 outputs
  • Heat shrinked assembly with cables

Measurements

  • 10 MHz FFT
    • Square wave has high odd harmonic content

10MHz VFO FFT-01.png

Libraries/Example Code

Land Boards Code

Used in this app

Others

Videos