Giter VIP home page Giter VIP logo

Comments (4)

tobiasbp avatar tobiasbp commented on May 28, 2024

Hello @pizzacatz

I'm currently working on a board for that exact purpose (Piezo input to digital) for games like Taiko no Tatsujin and Rock Band etc. The 1st project you linked to constantly polls the pins with the piezos attached. That is a problem, since lag would be introduced (To some degree).

What I am working on, is a board that would convert the signal from the piezos (Like commercial e-drums) to a digital signal. Having done that, the controller software (Like GP2040) would be able to trigger on interrupts, so lag can be minimized.

What kind of drums were you thinking of as using for inputs? I have Yamaha e-drums that I would like to use, but I'm also playing around with a design for a Taiko no Tatsujin controller.

Let me know if you would like to be involved (In any way). It would be much more fun, if I was not doing it alone without feedback.

Regards,
Tobias

from gp2040.

pizzacatz avatar pizzacatz commented on May 28, 2024

Hello @tobiasbp,

Thank you for sharing your findings with me. I didn't know that the first project would introduce lag, so I will have to continue my research. My current idea is to use 4 separate Arduinos that each simulate a pushbutton using a transistor. I do not have electrical engineering or circuitry experience, so I will continue my research.

Currently, I am thinking of a segmented design like this that would use a piezo on each segment. I believe this is how the commercially available Tatacons are designed.

I do not have a programming background, but I would love to be involved in your project!

Best,
pizzacatz

from gp2040.

tobiasbp avatar tobiasbp commented on May 28, 2024

My current idea is to use 4 separate Arduinos that each simulate a pushbutton using a transistor.

You don't need that at all. You just need Pi Pico loaded with GP2040 (Or an Arduino set up as a USB device), and some circuitry to create a digital signal from the piezos (The project I'm working on).

Currently, I am thinking of a segmented design like this that would use a piezo on each segment. I believe this is how the commercially available Tatacons are designed.

I don't think they use piezos. I'm pretty sure the use a sandwiched design like the soft DDR pads. You can see the tatacon being modded here.

I do not have a programming background, but I would love to be involved in your project!

Sounds good. It would be nice with some moral support. I'll create a repository for the project, and we can continue creating a board that could be used to feed RP2040 (Or any other controller) with digital inputs from piezos.

from gp2040.

guyman70718 avatar guyman70718 commented on May 28, 2024

You don't need that at all. You just need Pi Pico loaded with GP2040 (Or an Arduino set up as a USB device), and some circuitry to create a digital signal from the piezos (The project I'm working on).

I am trying to do something similar to OP, but I am using an existing PS2 taiko drum. The PS2 taiko drum uses a resistive array. I currently have each section of the drum connected to a resistor divider, and the middle going into the pi pico analog input. Using the pi, I can read the analog inputs and detect the hits of the drum. I was planning to use circuitpython and the adafruit keyboard library for sending the hits to the computer, but it seems the library is not fast enough because although I can print a message when the drum is hit, the keystrokes aren't sent fast enough and only about a quarter of the hits are actually sent as keyboard messages.

Would your project be required for this too? I'm ok with some input lag sacrificed for similicity as long as its under about 10ms

from gp2040.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.