<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Chamodh Nethsara</title>
    <description>The latest articles on DEV Community by Chamodh Nethsara (@chamodhk).</description>
    <link>https://dev.to/chamodhk</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3745709%2F02db000c-9132-42f3-b92f-28d23082db3a.png</url>
      <title>DEV Community: Chamodh Nethsara</title>
      <link>https://dev.to/chamodhk</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chamodhk"/>
    <language>en</language>
    <item>
      <title>I turned my old broken piano into a USB MIDI keyboard using a $4 Pi Pico</title>
      <dc:creator>Chamodh Nethsara</dc:creator>
      <pubDate>Tue, 24 Feb 2026 06:06:15 +0000</pubDate>
      <link>https://dev.to/chamodhk/i-turned-my-old-broken-piano-into-a-usb-midi-keyboard-using-a-4-pi-pico-mai</link>
      <guid>https://dev.to/chamodhk/i-turned-my-old-broken-piano-into-a-usb-midi-keyboard-using-a-4-pi-pico-mai</guid>
      <description>&lt;p&gt;Hello everyone, I had a broken Casio digital piano and I always wanted to convert it to a MIDI keyboard ever since I got to know about the existence of MIDI keyboard. After a little research with ChatGPT I found out that I can use a Raspberry Pi Pico to make a MIDI keyboard which can be used as a plug and play USB device and it worked!!&lt;/p&gt;

&lt;p&gt;I wrote the code with C and used the TinyUSB library to communicate via USB and it's a really amazing library to work with because it allows you to do wonders with a very high level abstraction. With TinyUSB and Pi Pico you can literally make any kind of USB devices including keyboards, game consoles and even USB flash drives. Pretty amazing right?&lt;/p&gt;

&lt;p&gt;However, the learning resources for TinyUSB are still really low specially  when it comes to TinyUSB + Pi Pico. So I wrote an article series on medium about this project and they are first-page ranked on Google Search too.&lt;/p&gt;

&lt;p&gt;If you like to read the articles, please follow the links below.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;(1) Setup, Build and Flash Your First Raspberry Pi Pico Program with C/C++&lt;/strong&gt;: &lt;a href="https://medium.com/cooking-with-raspberries/setup-build-and-flash-your-first-raspberry-pi-pico-program-with-c-c-730373c01eca" rel="noopener noreferrer"&gt;https://medium.com/cooking-with-raspberries/setup-build-and-flash-your-first-raspberry-pi-pico-program-with-c-c-730373c01eca&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;(2) Getting Started with Raspberry Pi Pico and TinyUSB.&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://medium.com/cooking-with-raspberries/getting-started-with-raspberry-pi-pico-and-tinyusb-b45e0ab53783" rel="noopener noreferrer"&gt;https://medium.com/cooking-with-raspberries/getting-started-with-raspberry-pi-pico-and-tinyusb-b45e0ab53783&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;(3) Turn your old digital keyboard into a USB MIDI keyboard with RPI Pico and TinyUSB.&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://medium.com/cooking-with-raspberries/turn-your-old-digital-keyboard-into-a-usb-midi-keyboard-with-rpi-pico-and-tinyusb-28d4bfbae39e" rel="noopener noreferrer"&gt;https://medium.com/cooking-with-raspberries/turn-your-old-digital-keyboard-into-a-usb-midi-keyboard-with-rpi-pico-and-tinyusb-28d4bfbae39e&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also I made a simple video as a demo. As I am not very good at playing the keyboard it doesn't sound good but the keyboard works so well :) &lt;/p&gt;

&lt;p&gt;

  &lt;iframe src="https://www.youtube.com/embed/txL9yLeklfU"&gt;
  &lt;/iframe&gt;


&lt;/p&gt;

&lt;p&gt;This is my very first post in this amazing community and hope you guys will like my project. &lt;/p&gt;

&lt;p&gt;Thank you so much for reading.&lt;/p&gt;

&lt;p&gt;Happy Building.&lt;br&gt;
Chamodh&lt;/p&gt;

</description>
      <category>raspberrypi</category>
      <category>usb</category>
    </item>
  </channel>
</rss>
