Use OLED for screen. #8

Closed
W1CDN wants to merge 2 commits from oled into main
Owner
No description provided.
W1CDN added 1 commit 2024-01-25 21:14:35 -06:00
Author
Owner

Already running into issues.

  • max serial baud is 9600, but in other code I can run 115200. Why?
    • Might be a function of these other errors.
  • something in loop() is breaking OLED display in setup().
  • If I comment everything out in loop(), the screen seems to work (but shows noise instead of what I want).

Here's how to set the I2C address for the Si5351: https://github.com/etherkit/Si5351Arduino#alternate-i2c-addresses
Si5351 si5351(0x61);

Already running into issues. - [ ] max serial baud is 9600, but in other code I can run 115200. Why? - Might be a function of these other errors. - [ ] something in loop() is breaking OLED display in setup(). - I assume it's trying and failing to read something and getting stuck. I should wait until I have the encoder and the Si5351. - Could even be confusing the OLED for the Si5351 since those are both I2C devices. - https://arduinogetstarted.com/faq/how-to-connect-multiple-i2c-sensors-devices-with-arduino - SI5351 board is 0x60 or 0x61 (https://learn.adafruit.com/i2c-addresses/the-list) - OLED is likely 0x3C or 0x3D (ibid.). 0x3C is used in my example code that works. - [ ] If I comment everything out in loop(), the screen seems to work (but shows noise instead of what I want). Here's how to set the I2C address for the Si5351: https://github.com/etherkit/Si5351Arduino#alternate-i2c-addresses `Si5351 si5351(0x61);`
Author
Owner

If I can't get the current code to work, there is this project which seems to do everything except the Polyakov mode: https://projecthub.arduino.cc/CesarSound/10khz-to-225mhz-vforf-generator-with-si5351-version-2-acdc25

Polyakov mode would "just" mean displaying a frequency that is twice what is actually being used in the receiver circuit.

If I can't get the current code to work, there is this project which seems to do everything except the Polyakov mode: https://projecthub.arduino.cc/CesarSound/10khz-to-225mhz-vforf-generator-with-si5351-version-2-acdc25 Polyakov mode would "just" mean displaying a frequency that is twice what is actually being used in the receiver circuit.
W1CDN added 1 commit 2024-01-26 08:59:46 -06:00
Author
Owner

(but shows noise instead of what I want).

Was missing a following call to display.display(); to write it to the display.

> (but shows noise instead of what I want). Was missing a following call to `display.display();` to write it to the display.
Author
Owner

Trying out another way in #9.

Trying out another way in #9.
W1CDN closed this pull request 2024-02-10 12:07:28 -06:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: W1CDN/vfo_oled#8
No description provided.