Raspberry Pi Pico VFO

Discussion in 'Homebrew and Kit Projects' started by VK3ZYZ, Mar 31, 2021.

ad: L-HROutlet
ad: l-rl
ad: Left-3
ad: Left-2
ad: L-MFJ
ad: Subscribe
ad: abrind-2
  1. VK3ZYZ

    VK3ZYZ Ham Member QRZ Page

    As an upgrade? to my VFO designs, I wanted to have a go at using the new Raspberry Pi Pico, but not using Python.
    I've managed to get the Raspberry Pi Pico running under the Arduino IDE by following the steps here...
    https://www.tomshardware.com/uk/how-to/program-raspberry-pi-pico-with-arduino-ide
    It may need the latest Arduino installed first as I had an old Arduino installed and some things did not work.

    This is the Pico running the Si5351 frequency generator board.
    PiPico_1.825Mhz.jpg

    So far, this is just a test, but I have 2 fixed frequencies running and one variable.

    If anyone is interested, here is the test code.
    And a short movie if it running.
    The LCD has an I2C board to drive it, and here is a good link on converting the 5V LCD to 3.3V....
    https://www.codrey.com/electronic-circuits/hack-your-16x2-lcd/

    Still to be done, the encoder interface.
    And maybe I'll have a go at the really nice VFO with the animated dial..


    Here is my ESP32 version....
    http://www.sadarc.org/xenforo/uploa...th-adaptive-step-rate-and-vernier-display.11/
     

    Attached Files:

    KC3PBI and VK4HAT like this.
  2. VK3ZYZ

    VK3ZYZ Ham Member QRZ Page

    pipico.png
    Here is a rough circuit. The I2C LCD board pin outs vary with the brand, as does the address and port pin allocations for the I2C chip.

    I2C_LCD_MH.png
    This is the I2C LCD in use, and the mods to the left convert it to 3.3V.
    The address is 0x3f
     
    VK4HAT likes this.
  3. VK4HAT

    VK4HAT Ham Member QRZ Page

    Nice work.
     
  4. W0CHL

    W0CHL XML Subscriber QRZ Page

    Where is the shaft encoder on the schematic?
    Thanks,
    W0CHL
     
  5. VK3ZYZ

    VK3ZYZ Ham Member QRZ Page

    So far I have not found the Pico encoder or display code, so this is a work in progress.
    Any help greatly appreciated!

    But elsewhere is an Arduino version and another better one, an ESP32 version.
    Arduino versions..
    http://www.sadarc.org/xenforo/upload/index.php?threads/pcm-hawk-arduino-vfo.36/
    http://www.sadarc.org/xenforo/upload/index.php?threads/basic-arduino-vfo-for-crystal-replacement.25/

    My ESP32 VFO is an up and running one but not all the code ports across to the Pico as yet.
    The ESP32 Si5351 code is not quite the same as the Pico or Arduino but my son did a port to fix some problems.
    http://www.sadarc.org/xenforo/uploa...th-adaptive-step-rate-and-vernier-display.11/
    I made a couple of errors on the PCB as explained in the text.
    Bill's has this extra small post... http://www.sadarc.org/xenforo/upload/index.php?threads/bills-vfo.77/
    His code has an added full coverage range.

    I do hope to have a "VFO Delux" version running on the Pico some time.
     

    Attached Files:

Share This Page