Difference between revisions of "VFO-004"

From Land Boards Wiki
Jump to navigation Jump to search
Line 38: Line 38:
  
 
[[File:OLED128x32.PNG]]
 
[[File:OLED128x32.PNG]]
 
=== Arduino Library for OLED ===
 
 
* [https://github.com/olikraus/u8g2 U8g2: Library for monochrome displays, version 2]
 
** [https://github.com/olikraus/u8g2/wiki/u8g2reference Reference library]
 
** Constructor
 
<pre>
 
U8G2_SSD1306_128X32_UNIVISION_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE);  // STM32, Ebay OLED
 
</pre>
 
* [https://github.com/olikraus/u8g2/wiki/fntlistall List of Fonts]
 
<pre>
 
  u8g2.setFont(u8g2_font_ncenB14_tr);
 
</pre>
 
 
===== Hello World Code =====
 
 
<pre>
 
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); 
 
}
 
</pre>
 
  
 
=== Breadboard Power Supply ===
 
=== Breadboard Power Supply ===
  
 
[[File:BrBdPS-IMG_4809-720px.jpg]]
 
[[File:BrBdPS-IMG_4809-720px.jpg]]

Revision as of 21:59, 29 October 2020

Breadboard VFO Features

Parts

Si5351 Board

Si5351 Breakout Schematic.PNG

Si5351 Breakout Pinout.PNG Si5351 Breakout Pins.PNG

Si5351 Board.jpg

Rotary Encoder/Breakout Board

RotaryEncoderCAD.PNG

Si5351 004 720px.jpg

128x32 OLED

OLED128x32.PNG

Breadboard Power Supply

BrBdPS-IMG 4809-720px.jpg