Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: MatrixRat

Search: Search took 0.00 seconds.

  1. It looks like the lower SW1 wiring mod routes...

    It looks like the lower SW1 wiring mod routes either incoming Midi In or RRC to Thru.

    Upper SW1 pulls P16 of the CPU low for whatever reasons which are unclear. We are dealing with that magic...
  2. Not sure if the 6 - pin connector in the...

    Not sure if the 6 - pin connector in the schematic Post #38 and the 6-pin of the schematic in Post # 52 are on the same page.

    Would you zoom out and repeat post #52?
  3. Oops, sorry, it is a 470R which happened to be on...

    Oops, sorry, it is a 470R which happened to be on the bench when I assembled it.

    I think it wise to use a bigger R like 1k5 to minimise current draw. The Leds will still be bright enough to see.
    ...
  4. ...ideas. Let's forget about Midi for the...

    ...ideas.

    Let's forget about Midi for the moment and think diagnostics like an ElCheapo logic probe.

    20412
    The two Leds are wired back to back so regardless of which way it's connected, one of...
  5. Ok thanks. As I expected there some small...

    Ok thanks. As I expected there some small differences in the opto input from what you usually see but nothing leaps out as something to play with. Will investigate more deeply in daylight as have...
  6. Basically, Q8 and Q6 in the above schematic and...

    Basically, Q8 and Q6 in the above schematic and the 74LS05 in the earlier one are doing the same job as a buffer between the MCU TX pin and the outside world. Good engineering practice.

    The...
  7. Ok, It's bedtime here and this code compiles so...

    Ok, It's bedtime here and this code compiles so am looking forward to good news.


    ///************LIBRARIES USED**************
    #include <MIDI.h>
    MIDI_CREATE_INSTANCE(HardwareSerial, Serial1,...
  8. Dude, so close. I'm trying not to do all the hard...

    Dude, so close. I'm trying not to do all the hard work here. What happened is that when you pasted the void doActiveSensing() function into the sketch, it got inserted in between some curly braces...
  9. Great news! Thanks for starting this thread coz ...

    Great news! Thanks for starting this thread coz I've learned something too.
    Absolutely right that open collector needs a pullup.

    A note about the 420R. My dodgy handwriting, I meant 470R...
  10. Hi Carlos11. The Midi library sets up the...

    Hi Carlos11.

    The Midi library sets up the baudrate.

    Been playing with direct hookup eg. Midi keyboard > Mega2560 (as an Arpeggiator) TX pin to Teensy2 RX, then Teensy2 TX to Din midi out...
  11. Hi Carlos. I'm working on a merger -...

    Hi Carlos.

    I'm working on a merger - controller for a Sequencer that runs on a Mega and it's pretty easy for me to setup a direct TX RX connect with a T2 to play with the idea.

    Currently, Midi...
  12. Hi Carlos. Sorted the merge code and added...

    Hi Carlos. Sorted the merge code and added ProgramChange filter. Works much better than previous attempt.


    ///************LIBRARIES USED**************
    #include <MIDI.h>...
  13. Ok. Try dropping the pullup to 220R, then insert...

    Ok. Try dropping the pullup to 220R, then insert 150R from 74LS05 pin 8 to Teensy RX pin at the Teensy end.

    It's past my bedtime and I've been writing code all day so will hook up the hardware...
  14. Have just been investigating Midi input and...

    Have just been investigating Midi input and output circuitry on the testbench looking at current, voltage, optocouplers etc. and I must say that it's a bad idea to increase the pullup on the 74LS05...
  15. Cool. I had another look at that code and I gotta...

    Cool. I had another look at that code and I gotta do a keyboard faceplant coz I'm darned if it works like I thought it did. Sorry for my bad.

    Couple of thoughts:-

    I've replaced many more 74LS05...
  16. I just tested it and you're totally right that...

    I just tested it and you're totally right that Thru gets blocked when when I move the pot however all incoming Midi messages are passed thru correctly so perhaps the T2's RX is not getting a clean...
  17. Try this. #include ...

    Try this.


    #include <ResponsiveAnalogRead.h>
    #include <MIDI.h>

    MIDI_CREATE_INSTANCE(HardwareSerial, Serial1, MIDI);

    const int channel = 1; // MIDI channel
    const int A_PINS = 1; //...
  18. And that code is pretty much what I was doing but...

    And that code is pretty much what I was doing but will keep my mouth shut before I try it.

    Good thing I saved all my stuff before reboot because every darn sketch I'd worked at for the last week...
  19. Sorry, I've got some computer - IDE problem and...

    Sorry, I've got some computer - IDE problem and simply cannot get Oddson's sketch to work.

    I'm definitely not blaming Oddson as I've had the same computer issue several times recently on my...
  20. You also need to add in void setup() ...

    You also need to add in void setup()

    MIDI.begin(MIDI_CHANNEL_OMNI);

    Which wakes up the library so that Din IN is passed thru to Din OUT.
  21. In File>Examples>Teensy>USB_MIDI you will find...

    In File>Examples>Teensy>USB_MIDI you will find AnalogControlChange and Many_Buttons_Knobs.

    Ok, It's for USB Midi and both examples have more than one pot but are good to play with.
    ...
  22. I think you might need to start here:...

    I think you might need to start here: https://www.pjrc.com/teensy/teensyduino.html
  23. Simple. Thru is enabled by default when the Midi...

    Simple. Thru is enabled by default when the Midi library is instantiated. All incoming Din Midi messages are passed to Din Midi out so you just have to add code to send what you need.
Results 1 to 23 of 23