Difference between revisions of "VFO-001"

From Land Boards Wiki
Jump to navigation Jump to search
Line 30: Line 30:
 
[[File:VFO-001-SCHEMATIC.PNG]]
 
[[File:VFO-001-SCHEMATIC.PNG]]
  
== Parts ==
+
== Parts for Reference ==
  
 
=== Blue Pill Card ===
 
=== Blue Pill Card ===

Revision as of 12:49, 30 October 2020

VFO-001 P132-720px.jpg

Features

Schematic

VFO-001-SCHEMATIC.PNG

Parts for Reference

Blue Pill Card

STM32F103C8T6-Blue-Pill-Pin-Layout.gif

128x32 OLED

Si5351 003 720px.jpg

OLED128x32.PNG

Libraries/Example Code

Land Boards Code

Libraries used in this app

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);  
}

Others

Videos