Difference between revisions of "VFO-004"

From Land Boards Wiki
Jump to navigation Jump to search
 
(37 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Breadboard VFO ==
+
[[fILE:VFO-004_P7137-720px.jpg]]
  
* Si5351 qrp-labs Breakout board
+
== Breadboard VFO Features ==
 +
 
 +
* [http://www.qrp-labs.com/synth Si5351 qrp-labs Breakout board]
 
** [http://www.qrp-labs.com/images/synth/synth_assembly4.pdf Assembly instructions]
 
** [http://www.qrp-labs.com/images/synth/synth_assembly4.pdf Assembly instructions]
* Arduino Mini
+
** 5V operation w/ level shifters
 +
* [[Arduino Pro Mini]] - 5V
 
* Rotary Encoder Breakout Board
 
* Rotary Encoder Breakout Board
 +
* Breadboard Power Supply - 5V
 +
* 830 pin breadboard
  
 
== Parts ==
 
== Parts ==
Line 11: Line 16:
  
 
* [http://www.qrp-labs.com/synth Si5351 qrp-labs Breakout board]
 
* [http://www.qrp-labs.com/synth Si5351 qrp-labs Breakout board]
** [http://www.qrp-labs.com/images/synth/synth_assembly4.pdf Assembly instructions][[File:Si5351_Board.jpg]]
+
** [http://www.qrp-labs.com/images/synth/synth_assembly4.pdf Assembly instructions]
 +
* '''Replaced R1, R2 with 3.3K'''
 +
* SMA connectors
 +
 
 +
[[File:Si5351_Breakout_Schematic.PNG]]
 +
 
 +
[[File:Si5351_Breakout_Pinout.PNG]]  [[File:Si5351_Breakout_Pins.PNG]]
 +
 
 +
[[File:SI5351_P17149-720PX.jpg]]
  
[[File:Si5351_Breakout_Pinout.PNG]]
+
=== Arduino Pro Mini ===
 +
 
 +
[[File:ArduinoProMini_P17147_720px.jpg]]
 +
 
 +
[[File:2014-05-14T23_52_48.894Z-2-720px.jpg]]
  
 
=== Rotary Encoder/Breakout Board ===
 
=== Rotary Encoder/Breakout Board ===
Line 27: Line 44:
 
* [https://github.com/mprograms/SimpleRotary Simple Rotary Encoder Arduino library]
 
* [https://github.com/mprograms/SimpleRotary Simple Rotary Encoder Arduino library]
 
* [http://www.mathertel.de/Arduino/RotaryEncoderLibrary.aspx Library for the Arduino environment for using a rotary encoder as an input]
 
* [http://www.mathertel.de/Arduino/RotaryEncoderLibrary.aspx Library for the Arduino environment for using a rotary encoder as an input]
 +
 +
=== 128x32 OLED ===
 +
 +
* [https://www.ebay.com/itm/2pcs-0-91-128x32-IIC-I2C-White-OLED-LCD-Display-DIY-Module-For-Arduino/293688288048?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649 Ebay]
 +
* 5V/3.3V operation
 +
 +
[[File:VRO-004_P17146-720PX.jpg]]
 +
 +
=== Breadboard Power Supply ===
 +
 +
[[File:BrBdPS-IMG_4809-720px.jpg]]
 +
 +
== 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>

Latest revision as of 16:26, 10 March 2021

VFO-004 P7137-720px.jpg

Breadboard VFO Features

Parts

Si5351 Board

Si5351 Breakout Schematic.PNG

Si5351 Breakout Pinout.PNG Si5351 Breakout Pins.PNG

SI5351 P17149-720PX.jpg

Arduino Pro Mini

ArduinoProMini P17147 720px.jpg

2014-05-14T23 52 48.894Z-2-720px.jpg

Rotary Encoder/Breakout Board

RotaryEncoderCAD.PNG

Si5351 004 720px.jpg

128x32 OLED

  • Ebay
  • 5V/3.3V operation

VRO-004 P17146-720PX.jpg

Breadboard Power Supply

BrBdPS-IMG 4809-720px.jpg

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