VOGONS


Reply 100 of 201, by t9999clint

User metadata
Rank Member
Rank
Member

That's more or less what I was planning on for features. The main thing that I had in mind that was left was adding some buttons to cycle up an down profiles and maybe volume.

The next LCD feature I was planning was to have a auto generated list of soundfonts in the soundfont folder, and a menu to choose which one to load.
Once that's implemented than this project will be on par or better in features than every other raspi midi project that I've seen so far.

After that I was planning on working on implementing a webui.

But in my plans that was after I got a proper youtube tutorial and raspbian distro worked out. (Which is what I'm working on now)
I'm running into issues finding a good way to distribute the 8gb image, and I want to make it reliable before I start trying to sharing this to the masses.

I'm glad that someone else is eager to add code to the project.
Feel free to ask if you need any questions about anything. Also keep in mind that I'm a beginner when it comes to programming and electronics, so feel free to point out something when I'm wrong.

My Youtube Channel: https://www.kor.ninja/
My Soundfont Project: K.O.R. Soundfont Project V.5.0
My Soundcloud Page: https://soundcloud.com/clint-theriault

Reply 101 of 201, by ElBartoME

User metadata
Rank Newbie
Rank
Newbie

Hey!

Sorry, I forgot to send you the 3D model you wanted! I attached it here.

I didn't have time to work on the code in the last few days unfortunately. I will probably have time to work on it the next few days though.

Attachments

  • Filename
    fiveInchBayCover_LCD.zip
    File size
    40.76 KiB
    Downloads
    11 downloads
    File license
    Fair use/fair dealing exception

Reply 102 of 201, by t9999clint

User metadata
Rank Member
Rank
Member

Don't worry about it, take your time.
Thanks for the STL file. Do you mind if I add it to the GitHub when you finish your LCD code?

My Youtube Channel: https://www.kor.ninja/
My Soundfont Project: K.O.R. Soundfont Project V.5.0
My Soundcloud Page: https://soundcloud.com/clint-theriault

Reply 104 of 201, by ElBartoME

User metadata
Rank Newbie
Rank
Newbie

I finally found the time to work on the script. I changed some things back as you suggested and implemented the ability to change presets via SysEx message back into the script. Now I'm waiting for some push switches to arrive so I can implement changing presets and volume via the switches.

Reply 105 of 201, by t9999clint

User metadata
Rank Member
Rank
Member

Sounds great! I'll check it out after school today.

My Youtube Channel: https://www.kor.ninja/
My Soundfont Project: K.O.R. Soundfont Project V.5.0
My Soundcloud Page: https://soundcloud.com/clint-theriault

Reply 106 of 201, by t9999clint

User metadata
Rank Member
Rank
Member

Code all checks out and looks good. Too bad it still doesn't fix the bug where sysex messages greater than 9 don't work. I don't know enough about python or sysex to figure that one out.
I'll start testing it tonight. I should be getting the LCD screen from Amazon in a few days so it'll be nice to see this running for myself pretty soon.
I have some ideas that I'd like to change to the stl file before I add it to the GitHub.
Mainly just changing the MT-32 to WavePi, and then adding some mounting screw terminals for the Rasp Pi and a DC2DC converter.

My Youtube Channel: https://www.kor.ninja/
My Soundfont Project: K.O.R. Soundfont Project V.5.0
My Soundcloud Page: https://soundcloud.com/clint-theriault

Reply 107 of 201, by ElBartoME

User metadata
Rank Newbie
Rank
Newbie

Ah, that's why the code looked like that. I was wondering why you didn't use values over 9. I will look into that.

I can either make the changes or give you the model in another, more, edit-friendly format. I designed it in Autodesk Inventor.

Yes, I thought about mounting holes for the pi. I was just too lazy. But I can add them quite easily.

Why the DCDC though?

Reply 108 of 201, by t9999clint

User metadata
Rank Member
Rank
Member

DC2DC points probably aren't needed. I'm just taping those things to the side panel right now and thought it looked ugly.

My Youtube Channel: https://www.kor.ninja/
My Soundfont Project: K.O.R. Soundfont Project V.5.0
My Soundcloud Page: https://soundcloud.com/clint-theriault

Reply 110 of 201, by DonZott

User metadata
Rank Newbie
Rank
Newbie
ElBartoME wrote:

You did a great job. It is not that hard to read your code. I expanded your midi-listerner.py with a lot of code. Also some other things. You can see that in my repo.

I use a standard I2C 16x2 LCD. It uses the 'PCF8574' chip for I2C. The display shows the current config on the top and the midi channels on the bottom. It also displays SysEx messages for the LCD of the MT-32. But I'm far from done. Code needs to be optimized and I want more features. If you or anybody has some ideas on what to implement feel free to comment. 😀

Hi ElBartoMe,

First of all, awesome work! You and t9999clint have done an awesome job.
I have been testing your LCD code and I think that a 20x2 LCD screen would be more suitable for the MT-32 portion of the WavePi project. Since the MT-32 has a 20 char LCD display. I've tested it with SpaceQuest 3 and not everything fits on the screen.
I think a simple 2002 LCD should do it, it has the same HD44780 and pinout so I guess it should only be a matter of changing the cols in the config?
Please do correct me if I'm wrong.

Attachments

  • sq3.jpg
    Filename
    sq3.jpg
    File size
    7.96 KiB
    Views
    148 views
    File license
    Fair use/fair dealing exception

Reply 111 of 201, by ElBartoME

User metadata
Rank Newbie
Rank
Newbie
DonZott wrote:
Hi ElBartoMe, […]
Show full quote

Hi ElBartoMe,

First of all, awesome work! You and t9999clint have done an awesome job.
I have been testing your LCD code and I think that a 20x2 LCD screen would be more suitable for the MT-32 portion of the WavePi project. Since the MT-32 has a 20 char LCD display. I've tested it with SpaceQuest 3 and not everything fits on the screen.
I think a simple 2002 LCD should do it, it has the same HD44780 and pinout so I guess it should only be a matter of changing the cols in the config?
Please do correct me if I'm wrong.

Hi! Thanks!

And yes, I agree. A 20x2 LCD screen would be more suitable. But the code should work with a 20x2 screen as well. You just need to change the settings in the main.cfg (LCD_COLS=20 instead of 16).
I wasn't able to get a 20x2 LCD screen with a green background that's why I have gone with the 16x2. But I found a source for 20x2 screens with green background and will order it. Will also provide a STL for the 20x2 screen when I have it.

Reply 112 of 201, by DonZott

User metadata
Rank Newbie
Rank
Newbie

Sweet, is this the type you found? Because I'm going to order one of these. I think it's the same display that mcobit used in his project.

https://nl.aliexpress.com/item/1704807101.htm … .13b14c4dQyhiHd

Reply 115 of 201, by DonZott

User metadata
Rank Newbie
Rank
Newbie

Yes indeed, so I guess some wires should be soldered instead.

But I did find this on buydisplay.com It is the same pfc8574 chip

https://www.buydisplay.com/default/3-3v-or-5v … -display-module

Attachments

Last edited by DonZott on 2019-10-06, 14:35. Edited 2 times in total.

Reply 117 of 201, by DonZott

User metadata
Rank Newbie
Rank
Newbie

Well, you don't really "need" one of those, it would be easy but you could just desolder the pins and attach wires instead. The pinout is the same.
Mcobit did it in his build as you can see in his picture.

Attachments

  • 2002 pinout.JPG
    Filename
    2002 pinout.JPG
    File size
    110.96 KiB
    Views
    143 views
    File license
    Fair use/fair dealing exception
  • 20180206_094853.jpg
    Filename
    20180206_094853.jpg
    File size
    1.29 MiB
    Views
    143 views
    File license
    Fair use/fair dealing exception

Reply 118 of 201, by DonZott

User metadata
Rank Newbie
Rank
Newbie
ElBartoME wrote:

I'm located in Germany and found this one: https://www.lcdstore.de/epages/17406888.sf/de … /LC2002A-YMI-JT

It is even negative like the MT-32.

I'm from Belgium, oh wow that display looks really nice!

Reply 119 of 201, by DonZott

User metadata
Rank Newbie
Rank
Newbie
ElBartoME wrote:

That's cool! Need to find one of those then as well.

I didn't find the lcd interface but t9999clint found one of these on ebay:
https://www.benl.ebay.be/itm/Yellow-IIC-I2C-S … 872.m2749.l2649

It's a kit with the LCD and the interface.