s-pw / PianoLED

34 stars 11 forks source link

J1 connection pinouts #2

Open s1godfrey opened 5 years ago

s1godfrey commented 5 years ago

What are the inputs to J1 (MIDI Inputs) on hardware schematic?

In the html.index code it has using Piano and Synthesia inputs selection. Is the raw midi input from digital piano by midi-out (5 din connector) and/or USB midi output from PC/laptop/tablet for Synthesia are used?

From what I can tell, serial USB and serial MIDI are two different format and baud rates. However, the schematic shows both pins of J2 (1,3) going into the opt-couplers, to shit the levels to TTL, then directly to the GPIO inputs on MC.

Can you please provide the pin outs and maybe a brief explanation of how the physical connections are laid out.

Thank you!

Crazy-Geeks commented 5 years ago

Did it flashed correctly? What settings did you use? And what ESP did you use? I tried to flash 5 or 6 different NodeMcu-s with ESP-12, and only in one case firmware started correctly, but I couldn't upload lua, because ESP didn't respond, what did you do?

s-pw commented 5 years ago

The inputs have to be TTL levels, I hooked it up into third-party USB-MIDI interface (MIDISPORT 2x2 Anniversary Edition) directly after opt-coupler for input and before TTL buffer inside the device.

Crazy-Geeks commented 5 years ago

image I think You can try to use this part of scheme to create TTL signal, on my another device it works correctly. There is a diod used between 4 and 5 pin in some schemes, just google "MIDI TTL"