Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIDI via T1 #31

Closed
eh2k opened this issue Jan 28, 2023 · 5 comments
Closed

MIDI via T1 #31

eh2k opened this issue Jan 28, 2023 · 5 comments

Comments

@eh2k
Copy link
Owner

eh2k commented Jan 28, 2023

I've tried MIDI input on T1 and so far its not working for me. ...

Originally posted by @rheslip in #1 (comment)

@rheslip

thanks for your feedback.

Do you have more info on how you connected it exactly?

Personally, I actually use midi only via the TR1 jack (midi via usb I have used something via the PC, but have no long-term experience).

For this I used the circuit from the readme. But I think it would be easier to implement, as long as the transister Q1 switches.

-
@rheslip
Copy link

rheslip commented Jan 28, 2023 via email

@eh2k
Copy link
Owner Author

eh2k commented Jan 29, 2023

I think that a type-c TS adapter unfortunately cannot work. See also discussion #33

@eh2k eh2k closed this as completed Jan 29, 2023
@rheslip
Copy link

rheslip commented Jan 30, 2023

The Arturia adapter (from my Beatstep) is actually a TR. I set the whole thing up on my bench and as you can see there are negative going pulses on the output of Q1 (TR1) on the O-C mini. Tried switching back and forth from T1 to USB input, no joy. USB MIDI does work. If this works for you it should be working on my setup but it doesn't.

IMG_2441
IMG_2439
IMG_2440

@eh2k
Copy link
Owner Author

eh2k commented Jan 30, 2023

I looked at the connections of the TR adapter yesterday, and as I understand it, it can't work.

https://minimidi.world/?fbclid=IwAR31TqOyRkvdwaLYCxoU2a89hcy2PF3hltCtRKD7IzD5HbZqzn3m9NmiZzc#types

Please correct me if I am wrong:

image

The TIP is connected with PIN 4 - and is permanently 5V.
The SLEVE is connected to PIN 5 - that is basically a pull-down, that is connected to the TX GPIO (e.g. https://github.com/eh2k/mutable-instruments-diy-archive/blob/main/docs/static/schematics/Shruthi-Digital-v08.pdf)

Since the transistor Q1, when it switches, pulls the Teensy pin 0 (TR1) to ground - the serial signal must be read inverted. Could you test if the level at the collector or Teensy PIN 0 changes also between 0 and 3.3V - as I see you are measuring the base of the transistor?

@rheslip
Copy link

rheslip commented Jan 30, 2023

You are correct - a TR adapter will not work regardless of how its wired up because the O-C input inverts the MIDI signal.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants