Ted's Projects
Ted's Projects
  • Видео 6
  • Просмотров 14 746
Think You Know the CORRECT Way to Handle Multiple Inputs?
In this video I'm explaining the basic ideas behind different methods of connecting multiple inputs to an Arduino. Enjoy!
#arduino
#diy
Music by: Bensound.com/royalty-free-music
License code: JZX4QI9TJN08CUC9
Music by Yurii Semchyshyn from Pixabay
Music I Use: Bensound.com/free-music-for-videos
License code: OGXCW1HSMUHI4CT9
Sound Effect by Pixabay
Sound Effect from Pixabay
Просмотров: 155

Видео

I Made A Working 88 Key MIDI Piano Keyboard (Digital Piano Build: Part 4)
Просмотров 4,3 тыс.Год назад
Fourth part of my attempt to build a fully functional standalone digital #piano. In this part I'm building an 88 key #MIDI piano keyboard using a keyboard from an acoustic piano, #teensy 4.1 (#arduino alternative) board and a bunch of SN74HC166N shift registers . No velocity sensitivity yet, but it's playable! I hope you enjoy it. Don't forget to subscribe! ruclips.net/channel/UC60IQPUeq-2FVVU6...
How I'm Not Making A Piano Keyboard For DIY Digital Piano. (Digital Piano Build: Part 3)
Просмотров 1,9 тыс.2 года назад
Third part of my attempt to build a fully functional standalone digital piano. In this part I'm... Watch it and you'll see :). I hope you enjoy it. Don't forget to subscribe! Music from Uppbeat (free for Creators!): uppbeat.io/t/hartzmann/good-feelings License code: M5H3CLQQNCOR88AY uppbeat.io/t/yeti-music/turning-pages License code: 1ZEFD5PLJDT9SITF
How To Build A Simple Velocity Sensitive MIDI Controller. (Digital Piano Build: Part 2)
Просмотров 6 тыс.2 года назад
Second part of my attempt to build a fully functional standalone digital piano. In this part I'm building a simple #MIDI controller based on #teensy 4.1 (#Arduino alternative) board with a double velocity sensitive sensor. I hope you enjoy it. Don't forget to subscribe! ruclips.net/channel/UC60IQPUeq-2FVVU6P9hNKXA Download link for *.ino file: drive.google.com/file/d/1Ri73r6c4Sr_0N152T6uIs0fzui...
I'm Going To Buiild A Digital Piano!!! (Digital Piano Build: Part 1 - Introduction)
Просмотров 8482 года назад
Introduction to my attempt to build a fully functional standalone digital piano based on MIDI, teensy 4.1 board and a raspberry pi running fluidsynth with free soundfonts. I really hope you enjoy it. #diy #arduino #midi Don't forget to subscribe!

Комментарии

  • @tutorialesdewindows7869
    @tutorialesdewindows7869 8 дней назад

    hello, whats the difference between 74hc595 and 74hc166?, and i can remplace 166 for166?. Also great project.

    • @TedsProjects
      @TedsProjects 8 дней назад

      Hi, 595 is for outputs - you send a digital signal to shift registers to set specific shift register's pins to high or low, and 166 is for inputs - shift registers are sending digital signal to microcontroller so you can read the states of shift registers' pins. What do you mean by replacing 166 for 166? Thank you for your appreciation.

    • @tutorialesdewindows7869
      @tutorialesdewindows7869 7 дней назад

      @@TedsProjects i meant remplace 166 by 595. Im learning about shift register. About a keyboard, what would be the drawbacks of adding sensitivity using long fsr(force sensitive resistor)? Thanks for taking your time to replying me.

    • @TedsProjects
      @TedsProjects 7 дней назад

      @@tutorialesdewindows7869 You can't simply replace 166 by 595. They're two different things. As for long fsr, it depends on how you want to use it. Long fsr is still one resistor so it won't detect which key is pressed. You would have to add at least one any type of sensor for every key. Using only one sensor for velocity sensitivity you risk confusing which reading corresponds to which key.

    • @tutorialesdewindows7869
      @tutorialesdewindows7869 6 дней назад

      @@TedsProjects the logic ill use is folowing. When i press a key, key will hit fsr first, quickly matrix button. And arduino will read the fsr value and map it to 0-127. If when I press a key hard (and continue to apply pressure), and then another lightly, there was a problem with the sensitivity of the 2nd key? Well in case this happens I have an idea, After pressing hard on the 1st key, the force will be stored, and if the sensor continues to receive the same pressure, it will be subtracted from the next key pressed.

    • @TedsProjects
      @TedsProjects 6 дней назад

      Very tricky. When some keys are pressed, pressing other keys might take some pressure off. Also what if you hit two keys at exactly the same time? Too many issues in my opinion.

  • @MatteoPaspuelOnate
    @MatteoPaspuelOnate 26 дней назад

    Hello, I am a student in an engineering program, and I found this video very useful. I am planning on making a velocity sensitive midi keyboard similar to the one you have made in your previous videos. Would this system be enough to read 176 buttons?

    • @TedsProjects
      @TedsProjects 23 дня назад

      I'm glad to hear that. Any of the methods mentioned in the video can be used for unlimited number of inputs, at least theoretically. If you're planning to use the first method - daisy chain of 74HS166, I'd go for two chains with common clock and latch, but separate data. Please remember, that animation in the video shows only concepts of methods of connecting multiple inputs, not the exact way of connecting shift registers. Depending on method, you need to connect power supply, resistors, capacitors, diodes etc. where needed.

  • @rty65tt40
    @rty65tt40 29 дней назад

    I wonder if anyone has ever made a midi keyboard using the Hall effect? I didn't find it. Perhaps it was perfect for keyboard instruments. If you already have a piano, maybe you should try it. You'll be the first.

    • @TedsProjects
      @TedsProjects 29 дней назад

      If I were starting this project with the knowledge I have now, it’s very likely I would have gone in that direction. No physical contact means fewer things that can break, and you only need one sensor per key. But now I’ve already bought components like the shift registers. I’d need to buy multiplexers, Hall effect sensors, and magnets, and the original goal was to keep the costs as low as possible. But who knows-I’ll think about it. The idea is definitely worth considering. If it turns out I have issues with the contacts corroding, I’ll definitely rework the project and use analog key position tracking with Hall effect sensors or possibly optical sensors.

  • @rty65tt40
    @rty65tt40 Месяц назад

    This is NKRO? What about use multiplexer? What best on practice?

    • @TedsProjects
      @TedsProjects Месяц назад

      The first example (74HC166 shift registers in series) is NKRO. For a matrix setup to be NKRO, you’d need to connect a diode in series with each switch. Multiplexers are used for more complex tasks, like when you need to select a specific input at any given time or for handling analog inputs. The method you choose really depends on your project’s needs and your personal preferences.

    • @rty65tt40
      @rty65tt40 Месяц назад

      @@TedsProjects Okay, thanks.

    • @rty65tt40
      @rty65tt40 Месяц назад

      @@TedsProjects that's why mechanical keyboards actually have a backlight.

    • @TedsProjects
      @TedsProjects Месяц назад

      @@rty65tt40 Haha. Not really :)

  • @paratozor
    @paratozor Месяц назад

    Я на основе механического пианино сделал полноценный гибрид с динамческой клавиатурой и оптическими датчиками ruclips.net/video/GowdAV0eRtw/видео.htmlsi=QAvZSUaybjfc0Wx_

    • @TedsProjects
      @TedsProjects Месяц назад

      Очень круто. Жаль, что ты не записал больше материала о том, как это сделал. Было бы здорово увидеть как оно работает внутри. Я тоже думал об оптических датчиках, но они дорогие, а одной из моих главных задач было сделать это как можно дешевле.

    • @paratozor
      @paratozor Месяц назад

      @@TedsProjects у меня в видео можно посмотреть историю создания двух аппаратов. Не очень много, но есть

  • @lookatpart3232
    @lookatpart3232 Месяц назад

    Please update the download link again.

    • @TedsProjects
      @TedsProjects Месяц назад

      Link updated. Thank you for pointing that out.

  • @lookatpart3232
    @lookatpart3232 Месяц назад

    I'm looking forward to your future. I got a great hint from the previous video.

  • @DaBroetchen
    @DaBroetchen 7 месяцев назад

    hey great project! Im working on something similar atm and it would be very interesting to me how exactly you connected all the ICs to the controller. also is there a limit to the number of ICs that can be used? say if i wanted 152 inputs (76 keys, 2 inputs for each key to achieve velocity sensitivity), would it be viable to use that many ICs? I have an arduino nano btw 🙂

    • @TedsProjects
      @TedsProjects 7 месяцев назад

      You can find connection diagram for SN74HC166N shift register on the Internet. E.g.: https:/t14-presents/thelearningcircuit/w/documents/5013/how-to-add-multiple-inputs-to-an-arduino-using-a-shift-register----the-learning-circuit-78 Theoretically you can connect unlimited number of SN74HC166N shift registers to one input, but I highly recommend using separate inputs for every set of sensors. In your case this means using two arduino inputs - one for first set of sensors and one for the second one. This way you can read both inputs of single key in one clock switch. Hope it helps. Good luck.

    • @DaBroetchen
      @DaBroetchen 7 месяцев назад

      @@TedsProjects thank you, I will look into this!

  • @lookatpart3232
    @lookatpart3232 7 месяцев назад

    Wonderful ! I wanted this idea.

  • @richardgolonka7585
    @richardgolonka7585 9 месяцев назад

    why did you remove the action? That is the part that matters. Without the action it wont feel like a real piano. Remove the string and have it hit something inert at the same place instead. strip of rubber. And then headphone jackm speakers not required.

  • @BusyElectrons
    @BusyElectrons 9 месяцев назад

    I found the physical design of the velocity sensor to be very interesting. And thank you for doing a detailed code walk-through. I do hope you continue this series beyond the 4 videos posted so far. Subscribed.

  • @plus1584
    @plus1584 Год назад

    Hi, sir you did a great job but I have a question regarding the SN74HC166N can I use the SN74HC595N

    • @TedsProjects
      @TedsProjects Год назад

      Thank you! No, you can't use SN74HC595N instead of SN74HC166N because SN74HC595N is for outputs. E.g. it can be used to control multiple LEDs using one output.

    • @plus1584
      @plus1584 Год назад

      thanks bro @@TedsProjects

  • @satyajit77
    @satyajit77 Год назад

    Sir Please provide the Diagram of the IC of "SN74HC166N". Input Output pin Details.

  • @edipranoto1199
    @edipranoto1199 Год назад

    Code . Was not declared in this scope

    • @TedsProjects
      @TedsProjects Год назад

      Could you please be more specific about your problem?

  • @francoisBonin-phils
    @francoisBonin-phils Год назад

    I could say that you are very patient and determined.Actually i bought a Yamaha YDP131 , for $50 , and the midi out is not working , so i am planning to rebuild the controler , but i am stuck at the scanning algorithm with velocity , any idea?Without velocity , no problem , its already working.

  • @steliosklidis7657
    @steliosklidis7657 Год назад

    Could you please update the link to the code? "This site can't be reached" error message. Thank you in advance!

    • @TedsProjects
      @TedsProjects Год назад

      Fixed. Thanks for noticing.

    • @sepic5407
      @sepic5407 4 месяца назад

      @@TedsProjects Link death again... Help !

  • @NoOne.--_.--..._--_..l--l
    @NoOne.--_.--..._--_..l--l Год назад

    The copper you put at the end is it just copper

  • @NoOne.--_.--..._--_..l--l
    @NoOne.--_.--..._--_..l--l Год назад

    Can I do this with an arduino

    • @TedsProjects
      @TedsProjects Год назад

      Yes you can. However arduino is much slower than teensy and it might be less accurate.

  • @fortunateson1543
    @fortunateson1543 Год назад

    RIP piano, my heart was crying when i saw this, but you ll probably give it a new life)

    • @TedsProjects
      @TedsProjects Год назад

      I know what you feel, bro. It was hard for me too. I've always hated when someone destroyed an instrument especially when it was done just for fun. Sometimes I think that I should have tuned it and kept it, but I comfort myself that I did it for a good reason.

  • @flywittzbeats4008
    @flywittzbeats4008 Год назад

    Absolutely amazing. Especially every detail, even showing all the soldering on the perf board. All the detail in the wood working! I’m beyond happy. Thank you Ted. Happy to be a Patron!

  • @SianaGearz
    @SianaGearz Год назад

    Well that's an interesting coincidence, I just found you literally yesterday. I was just curious how people have implemented velocity sensitivity in DIY devices and your prior video was right there.

    • @flywittzbeats4008
      @flywittzbeats4008 Год назад

      Yep, we gotta support this guy. He’s wonderfully talented, and smart 😊

    • @TedsProjects
      @TedsProjects Год назад

      I hope you've found what you were looking for :) There are a few other ways of implementing velocity sensitivity like optical sensors, force sensors or piezoelectric plates. They are probably quite often used in DIY projects, however time based velocity sensitivity is a standard in factory made digital pianos and piano keyboards.

    • @SianaGearz
      @SianaGearz Год назад

      @@TedsProjects I want to try implementing Akai style pads and I do want it to be time based but I'll have to do force sensing resistor based or capacitive I think with two thresholds per pad. The piezo disc only gives you hit pressure but doesn't have a hold signal. Though perhaps I can augment it with another contact for that. That's a thought for sure.

    • @TedsProjects
      @TedsProjects Год назад

      @@SianaGearz Time based velocity sensitivity is probably not the best solution for any drum pads. Piano keys move quite a lot, unlike drum pads. I'd most probably go for force sensing in this case.

    • @SianaGearz
      @SianaGearz Год назад

      @@TedsProjects this is specifically how Akai pad works, it is time not force. I have some here and play them, I just want a different configuration and form factor.

  • @flywittzbeats4008
    @flywittzbeats4008 Год назад

    When’s the next vid??? 💔

    • @TedsProjects
      @TedsProjects Год назад

      I'm working on it. It's gonna be quite a big leap in progress but it takes time. Please be patient :)

    • @flywittzbeats4008
      @flywittzbeats4008 Год назад

      @@TedsProjects of course! I didn’t mean to come across rude! I would love to support the journey, is there a Patreon??

    • @TedsProjects
      @TedsProjects Год назад

      It never crossed my mind that you were being rude or anything like that. I'm pleasantly surprised that you want to support me. I really appreciate it. I was thinking of Patreon once there's more valuable content. I feel I disappointed my viewers letting them to wait so long for next part and even though I had my reasons I don't feel worthy to be supported. Nevertheless I set up my Patreon profile, so if you really want to support me you can. I put the link to my Patreon to my RUclips channel page. I will highly appreciate any support.

    • @flywittzbeats4008
      @flywittzbeats4008 Год назад

      @@TedsProjects you’re definitely worthy of support, I still haven’t found someone making the action for a digital piano or midi keyboard yet. Or someone using a teensy in collaboration with a raspberry pi. Everything you’re showing the viewers is amazing! So I’m so excited to see what you do next. And you’re funny, and entertaining to watch haha.

    • @TedsProjects
      @TedsProjects Год назад

      @@flywittzbeats4008 Thank you! Your words motivate me a lot.

  • @flywittzbeats4008
    @flywittzbeats4008 Год назад

    Yes!!! Thank you thank thank you🎉🎉🎉🎉🎉🎉🎉

  • @krzysztofaproximo3363
    @krzysztofaproximo3363 2 года назад

    great it going to be great project!!

  • @duiprojects8880
    @duiprojects8880 2 года назад

    great Dissection hope you continue with your series Thanks for taking us along on an exciting journey

    • @TedsProjects
      @TedsProjects 2 года назад

      Coming back soon with continuation.

  • @Vlajko333
    @Vlajko333 2 года назад

    Hi Ted, great job. I can't wait to see your progress. You have inspired me to do a similar project myself. It would be great if I could contact you with any questions. Kindly regards

    • @TedsProjects
      @TedsProjects 2 года назад

      Had a lot of other stuff to do, but no worries. Coming back soon with continuation. Please feel free to contact me at: ted.from.tedsprojects(at)gmail.com

  • @wihajster_pl
    @wihajster_pl 2 года назад

    Hello I hope you don't end the project before completion. It's hard to get through all the cat's videos to the viewer. +1 👍 za paczkomat :)

    • @TedsProjects
      @TedsProjects 2 года назад

      No worries, I'm gonna complete the project. Mam smarta w popularnym serwisie aukcyjnym to korzystam ;)

  • @TrevorFitzgerald
    @TrevorFitzgerald 2 года назад

    I am just in the beginning stages of retrofitting a Baldwin spinet piano into a player piano and digital piano. Look forward to your next videos!

  • @Roache01
    @Roache01 2 года назад

    Thanks for this code, can't wait to see more of this project.

    • @TedsProjects
      @TedsProjects 2 года назад

      Coming back soon with continuation.

  • @WeirdSide
    @WeirdSide 2 года назад

    it might be cool to make one where you leave the hammers on the keys, but instead of hitting strings they hit force sensitive resistors to measure the velocity!

    • @TedsProjects
      @TedsProjects 2 года назад

      I've thought about making something like that with piezoelectric components but I came to the conclusion that acoustic piano key action mechanism is too complicated for the purpose. The less complicated mechanism the less likely it will break. I'm a fan of making everything as simple as possible.

    • @WeirdSide
      @WeirdSide 2 года назад

      @@TedsProjects well I've had this one piano downstairs for almost 20 years, and it has never had to be tuned or anything. They're pretty solid instruments, unless you're constantly moving it around it shouldn't break. One of my friends has a mini piano which he carries around london in a van, wheeling it around, and it seems fine

  • @WeirdSide
    @WeirdSide 2 года назад

    really cool!

    • @TedsProjects
      @TedsProjects 2 года назад

      Thank you. I'm glad you liked it. And the best is yet to come ;)

  • @ciceroeletronica
    @ciceroeletronica 2 года назад

    Very good, can you post the programming code? thanks

    • @TedsProjects
      @TedsProjects 2 года назад

      I'm glad you enjoyed it. I've added the download link for the code in the description.

    • @ciceroeletronica
      @ciceroeletronica 2 года назад

      Oops thank you very much! success always my friend,

  • @krzysztofaproximo3363
    @krzysztofaproximo3363 2 года назад

    super! great first chapter:)