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

Search:

Type: Posts; User: MatrixRat

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    15
    Views
    286

    I'm none of those so here goes. Code reads a...

    I'm none of those so here goes.
    Code reads a (green) Led pin as if an antenna picking up stray garbage looking for a trigger, and if we get one then code does some PinMode shuffling, say pulling one...
  2. Looks good to me.

    Looks good to me.
  3. Ok, mockup completed. Along the way noted circuit...

    Ok, mockup completed. Along the way noted circuit post #12 shows R118 as 10K, should be 110R.

    23288

    Don't have any BAT54s so D21/22 are 1 Amp Shottky. R204 and Red Led serve as a visible...
  4. Just adding, in hindsight should have mentioned...

    Just adding, in hindsight should have mentioned in my first reply that 1/8" TRS Midi hardware is on the build bench and although I don't have gear with CV or Gate (yet), a colleague does so the...
  5. MC74HC1GT04DFT2 has HC family input thresholds so...

    MC74HC1GT04DFT2 has HC family input thresholds so probably won't work with +3.3v input signal. You need to look at 74HCTxxx family.

    74HCT04 is a hex inverter and its outputs can source or sink...
  6. How about using a 74HCTxxx for U5, U15 and U16 to...

    How about using a 74HCTxxx for U5, U15 and U16 to buffer and level shift to 5v and power protection circuits with +5v?

    Having said that, I think the forward drop of two BAT54s needs to be taken...
  7. That's a shame, there's nothing else out there...

    That's a shame, there's nothing else out there that can do what a BCR does, buggy as they are.

    I've read that dodgy power supply caps and solder fail on USB connector can cause trouble. Been...
  8. No problem, I've been on the road. Sounds like ...

    No problem, I've been on the road. Sounds like you got it working. Well done!
  9. Some BCR communication modes can give you Midi...

    Some BCR communication modes can give you Midi feedback depending on how it's mapped by the host so it might pay to double check which mode the BCR is set for and what the host is trying to do with...
  10. Sorry it's given you a headache so I tidied it up...

    Sorry it's given you a headache so I tidied it up for a photo.

    23131

    Yellow wire > TX pin
    Red wire > +3.3v
    Black wire > 0v
  11. Yup. That's how I wired it so that's how I drew it

    Yup. That's how I wired it so that's how I drew it
  12. No problem and yes, those are 1k resistors.

    No problem and yes, those are 1k resistors.
  13. Sorry about the delay, distracted by other work....

    Sorry about the delay, distracted by other work.

    A single NPN pulling something LOW will work as an inverting buffer and the receiving device won't like it.

    A PNP transistor pulling HIGH works,...
  14. Replies
    25
    Views
    1,508

    Reporting good news. Upgraded MIO-10's firmware...

    Reporting good news. Upgraded MIO-10's firmware and plugged in a T4.1 as Midix4 with just the blink sketch and IConfig sees 4 ports. YeeHaa, now we're makin' bacon!

    I cannot say if upgrading the...
  15. From the pic it looks like the Cathode end of the...

    From the pic it looks like the Cathode end of the zener is connected to the LC's TX pin and considering that it works as a shunt, the Anode would be connected to Ground.

    After thinking on it I...
  16. Replies
    25
    Views
    1,508

    Duty of care to curiosity here to try that with a...

    Duty of care to curiosity here to try that with a T4.1 on a MIO-10. What IDE and TD versions did you use?
  17. AFAICT the zener looks like it's intended to...

    AFAICT the zener looks like it's intended to protect the Teensy TX pin from any incoming excess voltage via the Midi out port. A 5.6v zener may be appropriate for a +5v board but I think that a 3.6v...
  18. This thread may be worth checking out. ...

    This thread may be worth checking out.

    https://forum.pjrc.com/threads/63347-Cutting-Vin-from-Vusb-and-bricking-Teensy-3-2-in-the-process

    All the best.
  19. Replies
    3
    Views
    128

    Teensy LC is not +5v tolerant so I strongly...

    Teensy LC is not +5v tolerant so I strongly suggest you connect the +5v pin of the joystick module to the LC's +3.3v pin.
  20. Thanks Paul. I2c is driving 6x NeoTrellis so...

    Thanks Paul. I2c is driving 6x NeoTrellis so there's some length and inevitable stray C and the Trellis likes pullups at the far end. An LC needed pullups at the board end as well.
  21. Just looking at the same issue here, soldering up...

    Just looking at the same issue here, soldering up a T4.0 and am wondering does it make sense to use the series 100R on any T4x digital output pin in use?
    In my case, using SCL,SDA and TX3, the...
  22. The Midi library has Thru turned on by default so...

    The Midi library has Thru turned on by default so to turn it off add this line to void setup();


    MIDI.turnThruOff();
  23. Replies
    13
    Views
    488

    If you don't mind playing with transistors, this...

    If you don't mind playing with transistors, this will probably work:-
    22851
  24. The usual Fet and two resistor level shifter...

    The usual Fet and two resistor level shifter works well in this situation.

    I've found the Mega to be an electrically noisy board and displays can add their share of noise as well. Hooking 'em up...
  25. Many buttons? Adafruit's NeoTrellis may be worth...

    Many buttons? Adafruit's NeoTrellis may be worth looking into..
  26. Replies
    4
    Views
    213

    Interesting kit. A quick look at the T4.1...

    Interesting kit. A quick look at the T4.1 indicates that you could hook up an ILI9341 SPI screen, encoders or whatever and it looks like an excellent starting point. You might consider fitting...
  27. Based on @oddson's example, chiseled out of a...

    Based on @oddson's example, chiseled out of a larger project, tidied up and tested. Buttons do Note#, CC# or Toggle CC#.
    Hope is helpful for a worthy cause.


    /* Works on T3.2, Usb type = Midi
    ...
  28. Thank you Kris, O display genie. Looks awesome....

    Thank you Kris, O display genie. Looks awesome.
    @wrightflyer, no - just distracted by the mundane so is next cab off the rank to play with.
  29. Perhaps a #define to use the UTouch lib,...

    Perhaps a #define to use the UTouch lib, otherwise default to XPT as per PJRC's display.

    Hands up for a "multi page" example here as well.
  30. Just did this, nicked from another project for...

    Just did this, nicked from another project for T3.2, T3.5 and T3.6, tested working on a T3.2.


    #if defined(ARDUINO_SAM_DUE) || defined(USBCON) || (__MK20DX256__)|| (__MK64FX512__) ||...
  31. Oops, sorry I missed this thread. If you want the...

    Oops, sorry I missed this thread. If you want the Teensy to work as a Midi - usbMidi interface this might be a useful starting point:-


    /* Create a "class compliant " USB to 1 MIDI IN and 1 MIDI...
  32. Standards are all very well if everybody uses...

    Standards are all very well if everybody uses them and some Midi gear manufacturers seem to have their own ideas. One piece of kit I looked at needed around 7.5 Ma for its Midi input.

    3.3v Midi...
  33. Have you tried swapping the orange and white...

    Have you tried swapping the orange and white wires?
  34. I built a personal audio monitor for vocal...

    I built a personal audio monitor for vocal practice and originally used a stereo + mic jack and ran into feedback both mechanical (from the mic being physically attached to the headset) and...
  35. You might try this :- #include ...

    You might try this :-


    #include <Wire.h>
    #include "Adafruit_Trellis.h"
    #include <MIDI.h>
    // then we need to tell the library which Uart to use
    // So, assuming you have connected Midi I/O...
  36. Thank you Kris. All the best.

    Thank you Kris. All the best.
  37. Hi Kris. Double thank you again. Playing around...

    Hi Kris. Double thank you again. Playing around exploring limits and came up with this:-

    21717

    Very useful for visual feedback, hooked up to 16 encoders. Slider heights are 80 and with the...
  38. Replies
    35
    Views
    1,828

    Cool project. Thumbs up to the idea of using...

    Cool project. Thumbs up to the idea of using color as feedback.
  39. Thank you Kris, having loads of fun with it. ...

    Thank you Kris, having loads of fun with it.

    21654
  40. Ok, thanks. To to clarify, query re:-138 and...

    Ok, thanks.
    To to clarify, query re:-138 and 4067 relates to a fairly imminent upgrade (Mega to T3x) on an earlier Midi controller project currently using 14 pots and 48 H/W debounced buttons via 3x...
  41. Awesome! Causes a re-think. Have exactly...

    Awesome!

    Causes a re-think. Have exactly enough holes so will hook up all encoder buttons. Ran out of 165s.

    Have you considered using a 74595 and 74138 to generate S0-S3 and E for the 4067...
  42. Wow, thank you @luni for your in-depth reply, a...

    Wow, thank you @luni for your in-depth reply, a little over my head not having learned any of this stuff in class or whatever, but I get the drift that my nose took me to a non-option with...
  43. Here's where it's at. 2162221623 Relevant...

    Here's where it's at.

    2162221623


    Relevant circuitry has CLK and LOAD buffered with 74HCT245, 74HC165's @ +5v and 470R/910R voltage divider between SERA and SERB and respective T3.2 pins. A...
  44. Thread: MIDI Basics

    by MatrixRat
    Replies
    3
    Views
    415

    Your feedback is much appreciated, thank you.

    Your feedback is much appreciated, thank you.
  45. Thank you. Had already sussed out the...

    Thank you. Had already sussed out the (CountMode::quarterInv) and other library features.

    Multiplexed_74165 works as expected so for the learning experimented with 04_Callbacks.

    Here, ...
  46. OOps! Problem exist between soldering iron and...

    OOps! Problem exist between soldering iron and chair, NOT Bourns.
  47. Thread: MIDI Basics

    by MatrixRat
    Replies
    3
    Views
    415

    Midi messages are sent as and when they need to...

    Midi messages are sent as and when they need to occur so look in File>Examples>Teensy>USB_MIDI>InputFunctionsBasic for clues.

    For some reading material, websearch:-
    ...
  48. Replies
    13
    Views
    883

    I've completely forgotten when I started telling...

    I've completely forgotten when I started telling myself "No, it isn't memory loss, just that the mind is so full of good ideas that there is simply no room to remember where important stuff is".
  49. Many thanks luni. Got it working. Set up for...

    Many thanks luni. Got it working.

    Set up for 16 encoders although only wired two so far for a test. Only getting response from one encoder. Believe it or not it looks like I have a dodgy brand...
  50. Headscratching, got compiler error after...

    Headscratching, got compiler error after installing Encoder Tool library so taking it back to basics, test case = blink example and compiler throws Invalid line format error:-


    Arduino: 1.8.13...
Results 1 to 50 of 189
Page 1 of 4 1 2 3 4