I turned this touchscreen RP2040 into a touchpad. - eviltoast

I took a WaveShare RP2040-Touch-LCD-1.28and made a program to use it as a touchscreen. This is still very much in the beta phase but the proof of concept works. Here’s my GitHub repo for it.

I’m planning on integrating it into my next split near the thumb cluster.

  • tubbytwins@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    Very cool indeed! I’d like to see the keyboard integration, once it’s ready. Are there enough free pins on this module to handle the GPIOs for a keyboard matrix?

    • LazaroFilm@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 year ago

      There are 6 GPIO available. So maybe a macro Pad… but my idea is do embed it in The case but still have a separate usb cable to it. You can also display things on the screen if you’d like. It has a RTC and a battery management circuit so you could make it into a clock, or use the GPIO to speak with your keyboard to send keystrokes data via serial…

        • LazaroFilm@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          5
          ·
          edit-2
          1 year ago

          Yes. It does I2C. It’s also a pi Pico core so dual core. So you could use a separate core to drive the screen independently from the keyboard to keep them fast.

          Edit: actually the i2C is not exposed on the pins, but you should be able to use the BitBang_I2C library to expose them on any pair of GPIO pins. I’ll try it out and report back.

          Edit2: actually, no need for that library you can set virtual I2C to any pins I tried it with another project on the same board.