• @9point6@lemmy.world
    link
    fedilink
    5
    edit-2
    10 months ago

    A stepper motor with a controller attached to a roller which goes the whole length of the tapes but only just not making contact. Then per-tape you’d need a piano hammer like object attached to a lever on the front side, with something ferrous attached to the other end. Finally a little electromagnet near the ferrous end hooked up to a set of multiplexers that are then hooked up to your Pi.

    Then you’d basically have the Pi run the roller and enable the magnets on any of the tapes that you’d want to move. That way you could in theory run between 1 and all of them in any given direction at the same time

    Bonus points if you attach different note bells or something on the levers so they each make a different sound when they actuate.

    You might need something like a ball bearing on the tip of the hammers, but maybe just a smooth enough surface would do it.

    (This is entirely not practical, but I still kinda want to build it)

    • @KyuubiNoKitsune
      link
      310 months ago

      Lol, pretty much what I suggested :D

      Only difference is that I’d use an ESP, way too simple an application for a Pi. Also ESPHome makes it super simple to integrate with Home Assistant and only requires a fairly simple yaml file. Also ESPs are like $10 max

      https://lemmy.blahaj.zone/comment/2674743

      • @9point6@lemmy.world
        link
        fedilink
        310 months ago

        Oh lmao, I don’t think I saw your post before I started writing mine! Clearly the best solution then!

        ESP is a good call yeah, I think I just think Pi by default because I’ve got so many of the things lying around

        • @KyuubiNoKitsune
          link
          210 months ago

          Great minds think alike :P

          You’re very lucky then, they’re super difficult to source nowadays and are so expensive.