- Видео 6
- Просмотров 14 746
Ted's Projects
Польша
Добавлен 13 сен 2021
DIY enthusiast.
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
#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!
hello, whats the difference between 74hc595 and 74hc166?, and i can remplace 166 for166?. Also great project.
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.
@@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.
@@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.
@@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.
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.
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?
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.
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.
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.
This is NKRO? What about use multiplexer? What best on practice?
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.
@@TedsProjects Okay, thanks.
@@TedsProjects that's why mechanical keyboards actually have a backlight.
@@rty65tt40 Haha. Not really :)
Я на основе механического пианино сделал полноценный гибрид с динамческой клавиатурой и оптическими датчиками ruclips.net/video/GowdAV0eRtw/видео.htmlsi=QAvZSUaybjfc0Wx_
Очень круто. Жаль, что ты не записал больше материала о том, как это сделал. Было бы здорово увидеть как оно работает внутри. Я тоже думал об оптических датчиках, но они дорогие, а одной из моих главных задач было сделать это как можно дешевле.
@@TedsProjects у меня в видео можно посмотреть историю создания двух аппаратов. Не очень много, но есть
Please update the download link again.
Link updated. Thank you for pointing that out.
I'm looking forward to your future. I got a great hint from the previous video.
I'm glad to hear that.
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 🙂
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.
@@TedsProjects thank you, I will look into this!
Wonderful ! I wanted this idea.
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.
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.
Hi, sir you did a great job but I have a question regarding the SN74HC166N can I use the SN74HC595N
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.
thanks bro @@TedsProjects
Sir Please provide the Diagram of the IC of "SN74HC166N". Input Output pin Details.
need too
Code . Was not declared in this scope
Could you please be more specific about your problem?
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.
Could you please update the link to the code? "This site can't be reached" error message. Thank you in advance!
Fixed. Thanks for noticing.
@@TedsProjects Link death again... Help !
The copper you put at the end is it just copper
Yes it's just a copper.
Can I do this with an arduino
Yes you can. However arduino is much slower than teensy and it might be less accurate.
RIP piano, my heart was crying when i saw this, but you ll probably give it a new life)
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.
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!
The pleasure is all mine :)
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.
Yep, we gotta support this guy. He’s wonderfully talented, and smart 😊
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.
@@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.
@@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.
@@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.
When’s the next vid??? 💔
I'm working on it. It's gonna be quite a big leap in progress but it takes time. Please be patient :)
@@TedsProjects of course! I didn’t mean to come across rude! I would love to support the journey, is there a Patreon??
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.
@@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.
@@flywittzbeats4008 Thank you! Your words motivate me a lot.
Yes!!! Thank you thank thank you🎉🎉🎉🎉🎉🎉🎉
great it going to be great project!!
great Dissection hope you continue with your series Thanks for taking us along on an exciting journey
Coming back soon with continuation.
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
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
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 :)
No worries, I'm gonna complete the project. Mam smarta w popularnym serwisie aukcyjnym to korzystam ;)
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!
Thanks for this code, can't wait to see more of this project.
Coming back soon with continuation.
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!
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.
@@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
really cool!
Thank you. I'm glad you liked it. And the best is yet to come ;)
Very good, can you post the programming code? thanks
I'm glad you enjoyed it. I've added the download link for the code in the description.
Oops thank you very much! success always my friend,
super! great first chapter:)