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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • 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
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • 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
element14 presents
  • Challenges & Projects
  • More
element14 presents
Files Episode 573: Using a Pi Pico to Convert Keyboard Input to Morse Code Supplemental File
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join element14 presents to participate - click to join for free!
Actions
  • Next
  • Previous
  • Share
  • More
  • Cancel
  • Author Author: cstanton
  • Views 1817 views
  • Downloads 77 downloads
  • Likes 0 likes
  • Comments 11 comments
Related
Recommended

Episode 573: Using a Pi Pico to Convert Keyboard Input to Morse Code Supplemental File

As used in Episode 573: Using a Pi Pico to Convert Keyboard Input to Morse Code.

Please create an account and/or login to see the ability to download this file if you do not see the Download button.

  • episode 573
  • supplemental content
cstanton
cstanton
  • 14 Oct 2022
  • 77 Downloads
  • Share
  • More
  • Cancel
  • Sign in to reply
  • Jan Cumps
    Jan Cumps over 1 year ago in reply to stefanT64

    I have used usb type of ''hello world'' after compiling this, not sure this uses tinyusb though. I could read message both with putty and serial port in VSC.
    Pls confirm if this is a good sign that this example work regarding tinyusb.

    Try this one:

    image

    The morse code project is an adapted version of that one.
    If you can make this one build, you should be able to start from there, and retrofit the morse code into it.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • stefanT64
    stefanT64 over 1 year ago

    I have used usb type of ''hello world'' after compiling this, not sure this uses tinyusb though. I could read message both with putty and serial port in VSC.
    Pls confirm if this is a good sign that this example work regarding tinyusb.

    Compiling other examples in usb example folder also works without errors but have not really tried if they behave as expected, only loaded UF2 file.
    This by using Windows SDK.

    Yesterday I cleaned and updated RPI4B with new Raspian and also SDK for pico and plan to try this also for programming the pico, but not tested yet. This to make sure my setup in Windows is not the root cause.

    The picoprobe for debug/load that I would like to use has not arrived yet.And will continue fight with this cw keyboard when available, hopefully later this week.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 1 year ago in reply to stefanT64

    Are you able to build any of the tinyusb examples in VSCode and run them successfully on a Pico?

    If that works for you, we can focus on getting the morse project running...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • stefanT64
    stefanT64 over 1 year ago

    Thanks for the support and I understand the proposals. I have tested both the 2nd exercise and to try to use old tusb
    Both proposals did fail for me unfortunate.

    Old tusb.
    I dont have knowledge about what the old sdk was used. I used a old tusb and compile went ok with that.
    But could unfortunate not get the project to work as expected.
    Do You have the old SDK that was used at initial development?

    Update main.c and msc_app.c with SDK v1.5.1
    I tried to update but were not able to get the code error free I believe.

    Seems not possible for me to get these code to work, hope others have more luck with this code.
    Most likely I need to try other solution to code CW from the keyboard using pico w.
    Any proposals, let me know.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 1 year ago in reply to stefanT64

    The TinyUSB version used in the SDK has changed. You could either build it with the SDK version of the original post, or check what changes in the TinyUSB, and adapt the code.

    If you do the second exercise, check Example TinyUSB Host CDC MSC HID Example. The morse project code is based on that.

    Search where the TinyUSB calls in main.c and msc_app.c are different than Pico's example, and adapt the morse example in the same way.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • 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 © 2026 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