Experimental Project #2:
DIY MIDI Keyboard

Efforts to Turn a Cheap Keyboard to a MIDI Capable Keyboard Using Arduino

Overview

Although resulting in the breakdown of the keyboard, this project has been very informative for me. I fell into this struggle with the purpose of bringing a MIDI port to a non-Midi keyboard. (Apparently, it has a five-pin midi connector on the back, but it has no real function.) I have used an Arduino Pro mini, 2 74hc595's, and some diodes/switches for multiplexing. With the benefit of stealing power from the keyboard's mainboard, I managed this circuit to function. However, because of the plentyness and the complexity of the cables, there were some interruption issues.

The Keyboard Used

This is a 61 key keyboard which is called "MRK61MD," and it is claimed that it has MIDI capability. However, it doesn't have MIDI capability. The ports are not connected to anything. Therefore this keyboard is perfect for this kind of conversion project.

Circuit Setup

This project is an Arduino based project. The first prototype was made on the breadboard in order to make changes easily when needed, as you can see in the first picture. 
The keyboard has an 8x8 square Matrix pin layout, so the circuit was made in accordance with that. 2 74hc595 chips and some diodes/switches were used for multiplexing because Arduino didn't have enough pins for all of the keys on the keyboard. 
Then the circuit was transferred to a Perfboard in order to make things more professional and cleaner. Switches (There are 8 of them) are used for switching between Arduino and the circuit of the keyboard. When it is in the Arduino mode, you can send MIDI commands to the computer with the help of the full-size USB-B port, which has included in my setup. And when it is in the keyboard mode, you can play it just like before with the own speakers and modes of the original keyboard. 
On the Perfboard, an Arduino Pro Mini was used. Arduino pro mini doesn't have USB-Host capability, so it can only output MIDI signals (from the five-pin MIDI connector), but not USB-MIDI signals. A cheap MIDI to USB converter was also used in this setup to convert the MIDI signals from Arduino to USB signals. (As you can see on the 7th image.)

Inside the Keyboard

The setup was installed into the blank spaces on the keyboard. Thanks to those blank spaces, there was no need to add any external modules or electronics boxes to the system. The USB-B port was fitted to the back of the keyboard, along with the other ports, such as the power port and the original non-functioning MIDI ports :)

Control Panel

The left speaker panel of the keyboard was dismantled, and some holes were opened on it for the switches. On these holes, a big power switch and 8 mode changing switches were installed. The placement of these switches helps the user to easily control the setup.

Additional Project About This Keyboard - DIY Metronome

This is another project that I have created about music. I needed a metronome but didn't want to buy one. So I have made one for myself using Arduino, a servo motor, and some weights. The Arduino is powered by a power bank.

Experimental Project #1:
Mobile Applications

On this page, you can find some of the Android applications which I have created for experimental purposes.

Apps Created With Java and Android Studio

Prime-Factorization-Program

With the Prime Factorization Program, all of the prime factors of any number can be found. 

Source Code and Apk:
https://github.com/ahmetakif/AsalCarpan-Asal-Carpanlara-Ayirma-Programi-Prime-Factorization-Program

Tellal-Text-to-Speech-Application-for-Android

With this application, you can convert text to voice in languages ​such as Turkish, English (US/UK), German, French, Italian, Russian, Japanese and Korean. In addition, speaking frequency and speed can be adjusted. 

Source Code and Apk:
https://github.com/ahmetakif/Tellal-Text-to-Speech-Application-for-Android

Toplamaca-Practical-Calculator-Quick

With Toplamaca, you do not have to press a separate button for each transaction, as in normal calculators, and the number you pressed is automatically added to the result. Just shake the device to reset the result. 

Download Here:
https://github.com/ahmetakif/Toplamaca-Practical-Calculator-Quick

Apps Created With JavaScript and PhoneGap

StarField

This app is to relax while cruising through the stars. The cruising speed can be set by touching different areas of the screen.    

Download Here:
https://github.com/ahmetakif/StarField

Tetris-with-P5js

You can play Tetris game by touching the different areas of the screen. 

Source Code and Apk:
https://github.com/ahmetakif/Tetris-with-P5js

Shitpace on Amazon App Store

This is not inspired from the space invaders! This may be the one of the most difficult arcade game ever. I bet you can not keep your spaceship alive more than 20 seconds. Good luck with the cruel aliens that are very good at killing your inferior spaceship. Just try to survive! 

Download Here:
https://www.amazon.com/NOadGames-ShitPACE/dp/B07G2N7QWK/ref=sr_1_1?dchild=1&keywords=Shitpace&qid=1586874332&s=mobile-apps&sr=1-1

Source Code on GitHub: https://github.com/ahmetakif/Shitpace

Apps Created with MIT App Inventor 2

Control-Bluetooth-Rc-Cars

This app can also be used with some of my other Bluetooth RC projects with only some little adjustments. Like these: 

My Arduino Bluetooth Airboat:
https://github.com/ahmetakif/Arduino-Homemade-Bluetooth-Rc-Boat
App of this:  https://goo.gl/aoSqBR 

My Arduino Bluetooth Rc Car:
https://github.com/ahmetakif/Arduino-Bluetooth-Rc-Car 
App of this: https://goo.gl/Bs6LtN 

My Cylindrical Rolling Robot with Arduino and Bluetooth:
https://github.com/ahmetakif/Arduino-Cylindrical-Rolling-Robot 
App of this:  https://goo.gl/GriYKG

Text-to-Speech-Application-for-Android

With this app, you can say something by typing into your phone in any language! 

Download Here:
https://github.com/ahmetakif/Text-to-Speech-Application-for-Android

"NOadGames" Developer Account on Amazon App Store

I shared one of these applications on The Amazon App Store. You can also find that application on The Amazon App Store from here: https://www.amazon.com/s?rh=n%3A2350149011%2Cp_4%3ANOadGames

"1423apps" Developer Account on Google Play Store

I was sharing these applications on The Google Play Store. Even though my account was suspended, you can also find these applications on the archive: https://sameapk.com/developer/1423apps/

Me on News and Media

https://www.youtube.com/watch?v=TlKmPI3nIfE
https://www.webtekno.com/urettigi-robotla-muhendislik-alaninda-dereceye-giren-liseli-genc-ve-ilginc-projesi-h55822.html
https://www.haberturk.com/kocaeli-haberleri/64457566-ozel-lise-ogrencisinin-gelistirdigi-robot-gorenleri-sasirtiyorlise-ogrencisi-ahmet-akif
https://www.milliyet.com.tr/yerel-haberler/kocaeli/lise-ogrencisinin-gelistirdigi-robot-gorenleri-sasirtiyor-13133749
https://www.ogunhaber.com/oguntv/video-izle/turk-ogrencinin-robotu-386-proje-arasinda-birinci-oldu-60040v.html http://www.ozgurkocaeli.com.tr/lise-ogrencisinin-gelistirdigi-robot-gorenleri-sasirtiyor-1043v.htm http://www.buyukkocaeli.com.tr/yaptigi-robot-saskina-cevirdi 33921h.htm https://www.ogunhaber.com/oguntv/video-izle/turk-ogrencinin-robotu-386-proje-arasinda-birinci-oldu-60040v.html http://www.ozgurkocaeli.com.tr/lise-ogrencisinin-gelistirdigi-robot-gorenleri-sasirtiyor-1043v.htm http://www.buyukkocaeli.com.tr/yaptigi-robot-saskina-cevirdi-33921h.htm http://kocaelifenlisesi.m.meb.k12.tr/meb_iys_dosyalar/41/01/970638//icerikler/kocaelifenlisesiveahmetakifkayagururumuzoldu_7580498.html https://www.sondakika.com/haber/haber-yaptigi-robotla-dunya-1-si-olan-ogrenci-kocaeli-11413232/ https://www.sondakika.com/haber/haber-turk-ogrencinin-robotu-386-proje-arasinda-birinci-11401589/ https://www.bugunkocaeli.com.tr/haber/1743426/dunya-birincisi-mehmet-akif-kaya-huseyin-aksoyu-ziyaret-etti https://www.kocaeligazetesi.com.tr/haber/2849355/fen-lisesinden-dunya-birinciligine https://www.gzt.com/bilim-teknoloji/dahi-lise-ogrencisi-robot-gelistirdi-tashimasu-3461722 http://www.yenimeram.com.tr/turk-ogrencinin-robotu-386-proje-arasinda-birinci-oldu-310877.htm http://www.bizimyaka.com/yazdirhaber.php?id=89858https://uskudar.edu.tr/tr/icerik/2686/genc-yeteneklerin-icatlari-odullendirildi https://test.gastemonu.com/2018/11/04/turk-ogrencinin-robotu-386-proje-arasinda-birinci-oldu/ https://www.demokratkocaeli.com/haber/36335/kocaelinin-gurur-kaynagi-oldular.html http://kocaeli.gov.tr/beyaz-bayrak-ve-beslenme-dostu-okul-projesi-sertifika-toreni-sayin-valimizin-katilimiyla-gerceklestirildi http://kocaeli.meb.gov.tr/www/ulusal-yetenek-ve-mentor-agi-yarismasi/icerik/910 https://www.gazetegebze.com.tr/genel/aksoy-ogrencilerimiz-icin-hassasiyetle-calisiyoruz-h34109.html http://kocaelifenlisesi.meb.k12.tr/icerikler/kocaeli-fen-lisesi-nin-robotu-turkiye-birincisi_5542083.html http://kocaelifenlisesi.meb.k12.tr/icerikler/lise-ogrencisinin-gelistirdigi-robot-gorenleri-sasirtiyor_5758155.html https://kocaelifikir.com/haberler/gundem/yaptigi-robotla-dunya-1-si-olan-ogrenci-kocaeli-valisi-ne-konuk-oldu/21326 http://www.bizimyaka.com/haber-89858-Kocaeli-Fen-Lisesi-Turkiye-birincisi-oldu https://kocaeli.meb.gov.tr/www/yardimsever-robot/icerik/1051 http://tv41.com.tr/yaptigi-robotla-dunya-1-si-olan-ogrenci-kocaeli-valisine-konuk-oldu-32908h.html https://www.cagdaskocaeli.com.tr/robot-tasarlayan-kaya-dan-valiye-ziyaret-h93955.html http://www.bizimyaka.com/yazar-92743-Kocaelinin-gururu-kizlar-ve-kadinlar https://www.kocaelikoz.com/guncel/dunya-birincisinden-vali-aksoy-a-ziyaret-h33268.html https://www.halideincekara.com/2018/01/13/genc-yeteneklerin-icatlari-odullendirildi/ http://www.ozgurkocaeli.com.tr/lise-ogrencisinin-gelistirdigi-robot-gorenleri-sasirtiyor-362705h.htm https://www.haberler.com/yaptigi-robotla-dunya-1-si-olan-ogrenci-kocaeli-11413232-haberi/ https://www.haberler.com/turk-ogrencinin-robotu-386-proje-arasinda-birinci-11401589-haberi/ http://www.habergazetesi.com.tr/haber/5362299/10-ulke-386-proje-arasindan-birinci-oldu http://www.habergazetesi.com.tr/haber/5362207/ozel-lise-ogrencisinin-gelistirdigi-robot-gorenleri-sasirtiyor https://www.cagdaskocaeli.com.tr/mobil/robot-tasarlayan-kaya-dan-valiye-ziyaret-h93955.html http://www.ozgurkocaeli.com.tr/kocaeli-fen-lisesinin-robotu-turkiye-birincisi-360839h.htm http://kocaelifenlisesi.mobile.meb.k12.tr/icerikler/yardimsever-robot_5789553.html http://vizyonkenthaber.com/dunya-birincisinden-valiye-ziyaret.html https://www.hukukihaber.net/genel/yaptigi-robotla-dunya-1si-olan-ogrenci-kocaeli-valisine-konuk-oldu-h307200.html http://www.mibdergisi.com/lise-ogrencisi-telefondan-verdigi-sesli-talimatlarla-calisan-robot-tasarladi/ https://twitter.com/miborgtr/status/1059399588975702016 https://twitter.com/CagdasKocaelii/status/1059115279987499008 https://www.facebook.com/search/top/?q=%23tashimasu&epa=SEARCH_BOX https://www.mibdergisi.com/lise-ogrencisi-telefondan-verdigi-sesli-talimatlarla-calisan-robot-tasarladi/?fbclid=IwAR02xzoqJ8rT5AMf-6qlg616U1tGiSPMdRaNSCmUtiZZN9iIxpdjkZzZ_ko http://golcukobjektif.com/tashimasu-robotu-dunya-birincisi-oldu/2015/ https://www.kkfl41.com/duyurular/1030-kocaeli-fen-lisesi-turkiye-1-incisi.html http://www.ozgurkocaeli.com.tr/bilgegoz-ile-gelen-dunya-birinciligi-379785h.htm http://www.bizimyaka.com/haber-95325-Fen-Lisesi-dunya-birincisi-oldu http://kocaelifenlisesi.meb.k12.tr/icerikler/basinda-iiuluslararasi-oksef-proje-yarismasi-birinciligimiz_7572652.html http://kocaelifenlisesi.meb.k12.tr/icerikler/iiuluslararasi-oksef-proje-yarismasinda-birinci-olduk_7572628.html http://kocaelifenlisesi.meb.k12.tr/meb_iys_dosyalar/41/01/970638//icerikler/kocaelifenlisesiveahmetakifkayagururumuzoldu_7580498.html http://kocaelifenlisesi.meb.k12.tr/icerikler/kocaeli-fen-lisesi-turkiye-1si_5532775.html https://www.okyanuskoleji.k12.tr/kurumsal/okyanus-koleji-uluslararasi-bilim-olimpiyati-inspo-ya-ev-sahipligi-yapti-28211/ https://www.loopdijital.com/teknoloji,urettigi-robotla-muhendislik-alaninda-dereceye-giren-liseli-genc-ve-ilginc-projesi,7 https://www.bizimyaka.com/haber/3116748/kocaeli-fen-lisesi-turkiye-birincisi-oldu http://kocaelifenlisesi.m.meb.k12.tr/meb_iys_dosyalar/41/01/970638//icerikler/kocaelifenlisesiveahmetakifkayagururumuzoldu_7580498.html https://www.sondakika.com/haber/haber-yaptigi-robotla-dunya-1-si-olan-ogrenci-kocaeli-11413232/ https://www.sondakika.com/haber/haber-turk-ogrencinin-robotu-386-proje-arasinda-birinci-11401589/ https://www.bugunkocaeli.com.tr/haber/1743426/dunya-birincisi-mehmet-akif-kaya-huseyin-aksoyu-ziyaret-etti https://www.kocaeligazetesi.com.tr/haber/2849355/fen-lisesinden-dunya-birinciligine https://www.gzt.com/bilim-teknoloji/dahi-lise-ogrencisi-robot-gelistirdi-tashimasu-3461722 http://www.yenimeram.com.tr/turk-ogrencinin-robotu-386-proje-arasinda-birinci-oldu-310877.htm http://www.bizimyaka.com/yazdirhaber.php?id=89858https://uskudar.edu.tr/tr/icerik/2686/genc-yeteneklerin-icatlari-odullendirildi https://test.gastemonu.com/2018/11/04/turk-ogrencinin-robotu-386-proje-arasinda-birinci-oldu/ https://www.demokratkocaeli.com/haber/36335/kocaelinin-gurur-kaynagi-oldular.html http://kocaeli.gov.tr/beyaz-bayrak-ve-beslenme-dostu-okul-projesi-sertifika-toreni-sayin-valimizin-katilimiyla-gerceklestirildi http://kocaeli.meb.gov.tr/www/ulusal-yetenek-ve-mentor-agi-yarismasi/icerik/910 https://www.gazetegebze.com.tr/genel/aksoy-ogrencilerimiz-icin-hassasiyetle-calisiyoruz-h34109.html http://kocaelifenlisesi.meb.k12.tr/icerikler/kocaeli-fen-lisesi-nin-robotu-turkiye-birincisi_5542083.html http://kocaelifenlisesi.meb.k12.tr/icerikler/lise-ogrencisinin-gelistirdigi-robot-gorenleri-sasirtiyor_5758155.html https://kocaelifikir.com/haberler/gundem/yaptigi-robotla-dunya-1-si-olan-ogrenci-kocaeli-valisi-ne-konuk-oldu/21326 http://www.bizimyaka.com/haber-89858-Kocaeli-Fen-Lisesi-Turkiye-birincisi-oldu https://kocaeli.meb.gov.tr/www/yardimsever-robot/icerik/1051http://tv41.com.tr/yaptigi-robotla-dunya-1-si-olan-ogrenci-kocaeli-valisine-konuk-oldu-32908h.html https://www.cagdaskocaeli.com.tr/robot-tasarlayan-kaya-dan-valiye-ziyaret-h93955.html http://www.bizimyaka.com/yazar-92743-Kocaelinin-gururu-kizlar-ve-kadinlar https://www.kocaelikoz.com/guncel/dunya-birincisinden-vali-aksoy-a-ziyaret-h33268.html https://www.halideincekara.com/2018/01/13/genc-yeteneklerin-icatlari-odullendirildi/ http://www.ozgurkocaeli.com.tr/lise-ogrencisinin-gelistirdigi-robot-gorenleri-sasirtiyor-362705h.htm https://www.haberler.com/yaptigi-robotla-dunya-1-si-olan-ogrenci-kocaeli-11413232-haberi/ https://www.haberler.com/turk-ogrencinin-robotu-386-proje-arasinda-birinci-11401589-haberi/ http://www.habergazetesi.com.tr/haber/5362299/10-ulke-386-proje-arasindan-birinci-oldu http://www.habergazetesi.com.tr/haber/5362207/ozel-lise-ogrencisinin-gelistirdigi-robot-gorenleri-sasirtiyor https://www.cagdaskocaeli.com.tr/mobil/robot-tasarlayan-kaya-dan-valiye-ziyaret-h93955.html http://www.ozgurkocaeli.com.tr/kocaeli-fen-lisesinin-robotu-turkiye-birincisi-360839h.htm http://kocaelifenlisesi.mobile.meb.k12.tr/icerikler/yardimsever-robot_5789553.html http://vizyonkenthaber.com/dunya-birincisinden-valiye-ziyaret.html https://www.hukukihaber.net/genel/yaptigi-robotla-dunya-1si-olan-ogrenci-kocaeli-valisine-konuk-oldu-h307200.html http://www.mibdergisi.com/lise-ogrencisi-telefondan-verdigi-sesli-talimatlarla-calisan-robot-tasarladi/https://twitter.com/miborgtr/status/1059399588975702016 https://twitter.com/CagdasKocaelii/status/1059115279987499008 https://www.facebook.com/search/top/?q=%23tashimasu&epa=SEARCH_BOX https://www.mibdergisi.com/lise-ogrencisi-telefondan-verdigi-sesli-talimatlarla-calisan-robot-tasarladi/?fbclid=IwAR02xzoqJ8rT5AMf-6qlg616U1tGiSPMdRaNSCmUtiZZN9iIxpdjkZzZ_ko http://golcukobjektif.com/tashimasu-robotu-dunya-birincisi-oldu/2015/ https://www.kkfl41.com/duyurular/1030-kocaeli-fen-lisesi-turkiye-1-incisi.html http://www.ozgurkocaeli.com.tr/bilgegoz-ile-gelen-dunya-birinciligi-379785h.htm http://www.bizimyaka.com/haber-95325-Fen-Lisesi-dunya-birincisi-oldu http://kocaelifenlisesi.meb.k12.tr/icerikler/basinda-iiuluslararasi-oksef-proje-yarismasi-birinciligimiz_7572652.html http://kocaelifenlisesi.meb.k12.tr/icerikler/iiuluslararasi-oksef-proje-yarismasinda-birinci-olduk_7572628.html http://kocaelifenlisesi.meb.k12.tr/meb_iys_dosyalar/41/01/970638//icerikler/kocaelifenlisesiveahmetakifkayagururumuzoldu_7580498.html http://kocaelifenlisesi.meb.k12.tr/icerikler/kocaeli-fen-lisesi-turkiye-1si_5532775.html https://www.okyanuskoleji.k12.tr/kurumsal/okyanus-koleji-uluslararasi-bilim-olimpiyati-inspo-ya-ev-sahipligi-yapti-28211/ https://www.loopdijital.com/teknoloji,urettigi-robotla-muhendislik-alaninda-dereceye-giren-liseli-genc-ve-ilginc-projesi,7 https://www.bizimyaka.com/haber/3116748/kocaeli-fen-lisesi-turkiye-birincisi-oldu