element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum What are some random uses for a RPI Pico?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 27 replies
  • Subscribers 658 subscribers
  • Views 3806 views
  • Users 0 members are here
Related

What are some random uses for a RPI Pico?

scottiebabe
scottiebabe over 1 year ago

Everyone Heart's the RPI Pico!

What are some random uses for a RPI Pico?

-Power Supply (The pico has a buck-boost DCDC converter outputting 3.3V @ 1A)

-USB Serial Adapter (use the https://github.com/raspberrypi/picoprobe firmware for a USB-Uart Converter, no more FTDI breakout boards!)

-Logic analyzer https://github.com/pico-coder/sigrok-pico 

-Oscilloscope https://github.com/fhdm-dev/scoppy 

-Microphone 

Jan's USBTMC DAQ

What's your favorite random use for a Pico

  • Sign in to reply
  • Cancel
Parents
  • scottiebabe
    scottiebabe over 1 year ago

    A totally random use case I am trying is to use a Pico like a programable oscillator like the Si5351

    image

    We will see if it works out...

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • Cancel
  • scottiebabe
    scottiebabe over 1 year ago in reply to scottiebabe

    Its a start (totally random use for a pico...)

    image

    image image

    Hopping between two feedback divider values.

    Its too bad the PLLs don't have fractional feedback dividers 

    image

    There is still a lot of register combinations to arrive at many different discrete output frequencies.

    I'll keep tinkering away...

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • scottiebabe
    scottiebabe over 1 year ago in reply to scottiebabe

    Its a start (totally random use for a pico...)

    image

    image image

    Hopping between two feedback divider values.

    Its too bad the PLLs don't have fractional feedback dividers 

    image

    There is still a lot of register combinations to arrive at many different discrete output frequencies.

    I'll keep tinkering away...

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • Cancel
Children
  • dang74
    dang74 over 1 year ago in reply to scottiebabe

    When I first saw the spectrum plot I was really excited because I thought someone used an RPI Pico to make a spectrum analyzer.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • beacon_dave
    beacon_dave over 1 year ago in reply to dang74

    Getting there... ?

    Realtime audio FFT to VGA display with Raspberry Pi Pico (RP2040)
    https://www.youtube.com/watch?v=8aibPy4yzCk&list=PLDqMkB5cbBA4W8_FkjXW4WdzXWH0-Xyny&index=5

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • dang74
    dang74 over 1 year ago in reply to beacon_dave

    Thanks for the link.  Very cool indeed.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • scottiebabe
    scottiebabe over 1 year ago in reply to scottiebabe

    Using RPI Python Calculator for now: *snip* https://github.com/raspberrypi/pico-sdk/blob/master/src/rp2_common/hardware_clocks/scripts/vcocalc.py 

    @micropython.native
    def calc(output,input=12,ref_min=5,vco_max=1600,vco_min=750,low_vco=False):
        # Fixed hardware parameters
        fbdiv_range = range(16, 320 + 1)
        postdiv_range = range(1, 7 + 1)
        ref_min = 2#5
        refdiv_min = 1
        refdiv_max = 63
    
        refdiv_range = range(refdiv_min, max(refdiv_min, min(refdiv_max, int(input / ref_min))) + 1)
    
        best = (0, 0, 0, 0, 0)
        best_margin = output
    
        for refdiv in refdiv_range:
            for fbdiv in (fbdiv_range if low_vco else reversed(fbdiv_range)):
                vco = input / refdiv * fbdiv
                if vco < vco_min or vco > vco_max:
                    continue
                # pd1 is inner loop so that we prefer higher ratios of pd1:pd2
                for pd2 in postdiv_range:
                    for pd1 in postdiv_range:
                        out = vco / pd1 / pd2
                        margin = abs(out - output)
                        if margin < best_margin:
                            best = (out, fbdiv, pd1, pd2, refdiv)
                            best_margin = margin
    
        print("Requested: {} MHz".format(output))
        print("Achieved: {} MHz".format(best[0]))
        print("Error: {} MHz".format(best[0]-output))
        print("REFDIV: {}".format(best[4]))
        print("FBDIV: {} (VCO = {} MHz)".format(best[1], input / best[4] * best[1]))
        print("PD1: {}".format(best[2]))
        print("PD2: {}".format(best[3]))
    
        return {'REFDIV':best[4], 'FBDIV':best[1], 'PD1':best[2], 'PD2':best[3]}
    

    image

    image

    And 200 MHz

    imageimage

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube