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

Search:

Type: Posts; User: sixeight

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. I found a solution to the slowness of the USBmidi...

    I found a solution to the slowness of the USBmidi with Roland devices. My hunch in the previous post was correct. The USBHost library only sends one 32 bit message in every USB package. But Roland...
  2. Now I am in no way in expert in USB Midi. But I...

    Now I am in no way in expert in USB Midi. But I am comparing the USBHost_t36 library with https://github.com/YuuichiAkagawa/USBH_MIDI/blob/master/usbh_midi.cpp, the MIDI library that goes with the...
  3. Thanks KurtE for responding. I have tried the...

    Thanks KurtE for responding. I have tried the send_now() command, but it does not seem to make any difference. So maybe it is not a timing issue, but something else.

    I have tested the library with...
  4. Did some further tests. Other MIDI devices...

    Did some further tests. Other MIDI devices connected to the USB host port also respond slow to midi messages sent via this library. Is there any way to speed up USB Host communication, or is this not...
  5. MIDI using USBHost_T36 library slow/lagging.

    I have developed a MIDI foot controller that uses a Teensy 3.6 and has midi connections via USB host, USB regular and via serial midi (2x). I noticed that sending MIDI messages out from my foot...
  6. Today I finally solved this issue. It turns out...

    Today I finally solved this issue. It turns out the Boss GP-10 only supports sysex messages via cable 1. The default is cable 0. So the example above will work by changing one line:

    ...
  7. Thanks for replying Paul. I will revive thuis...

    Thanks for replying Paul. I will revive thuis thread once T4 is out and the issue had not been solved some other way.
  8. Most non compliant Boss/Roland can be fixed by...

    Most non compliant Boss/Roland can be fixed by adding a quirk to the usb host library. The USBHost_t36 library has this quirk and it works for the Boss Katana, the Roland GR55 and VG99 which all are...
  9. I have looked at this issue for many hours now,...

    I have looked at this issue for many hours now, and I cannot get my head around it. Though I would reply to my own post to bump it and hope somebody will give me some new ideas or clues.

    A few...
  10. Here is the output from one of the devices that...

    Here is the output from one of the devices that is working (Boss Katana 100):


    sizeof Device = 36
    sizeof Pipe = 96
    sizeof Transfer = 64
    power up USBHS PHY
    reset waited 5
    USBHS_ASYNCLISTADDR...
  11. One Midi Device not working with the USBHost_t36 library

    I am building a device that should be able to connect to several Roland devices. So far I am quite successful, as three of the four devices are working, but one is not. Here is a short video of the...
  12. Replies
    0
    Views
    80

    Getting WS2811 to run with Teensy 3.6

    I have connected a WS2811 chip to a Teensy 3.6 to control my RGB display backlight. I was really struggling to get it to work. Initially the RGB would turn on, but after that the command to change...
  13. Replies
    6
    Views
    1,632

    Here is a link to my code:...

    Here is a link to my code: https://github.com/sixeight7/VController_v3/tree/master/Firmware/VController_v3

    The low level midi stuff is in MIDI.ino.

    The VController project has 13 character...
  14. Replies
    6
    Views
    1,632

    Changed the...

    Changed the Contents/Resources/Java/hardware/teensy/avr/cores/teensy3/serial3.c file inside the Arduino program object. Tried setting the receive buffer to 256 and the interrupt priority to zero. But...
  15. Replies
    6
    Views
    1,632

    Connecting Raspberry Pi to Teensy 3.2

    11877

    I am having trouble getting a Raspberry Pi and a Teensy 3.2 to talk MIDI to each other. Well actually it works fine when I connect the raspberry pi to Serial1 or Serial2 via a full midi...
  16. Replies
    2
    Views
    1,121

    Teensy 3.5 usb host

    The Teensy 3.5 has the same usb host pins as the Teensy 3.6. Is it possible to use these pins to connect a usb device? Will the USB host library of the Teensy 3.6 work on the Teensy 3.5?
  17. Replies
    0
    Views
    661

    PCF8574T / PCF8574AT i2c serial board running at 800 MHz

    I have developed a Midi foot controller with 13 displays running on the i2c bus. I have posted this over here: https://forum.pjrc.com/threads/34072-V-Controller-version-2

    The displays are...
  18. I have used 6n138's for awhile for midi. That one...

    I have used 6n138's for awhile for midi. That one also needs a resistor to drain the charge from the base. But now I have changed to 6n137's. These do not need the extra resistor for the base. Also...
  19. Getting this to work has taken me quite a while....

    Getting this to work has taken me quite a while. But I have managed it in the end:

    * I found i2c speed was kept slow, because the i2c LiquidCrystal library started the i2c bus at 100 kHz and later...
  20. Replies
    2
    Views
    1,876

    Built a new version, with much better firmware....

    Built a new version, with much better firmware. Here is a video of the VController v3:
    https://youtu.be/dFgOi_WOnbg
  21. It does in the example I have provided. In the...

    It does in the example I have provided. In the MIDI controller the loops get long after I have pressed a switch. The first response to a switch, even when it has to read all of the display boards, is...
  22. expanderWriteBoth (MCP23017_GPPUA, SWITCH_PINS,...

    expanderWriteBoth (MCP23017_GPPUA, SWITCH_PINS, 0x00); // pull-up resistor for switch pins

    SWITCH_PINS = B00001111. So the command above does enable the pull-up resistor on the switch pins and...
  23. Debouncing trouble of switches connected to four MCP23017s

    I am struggling to get my foot switches working properly on my MIDI foot controller. I find that I am changing the debouncing time all the time, but the debouncing is not working steadily when the...
  24. Replies
    6
    Views
    3,050

    Excellent! That was it. Now it works!

    Excellent! That was it. Now it works!
  25. Replies
    6
    Views
    3,050

    Tried the command _teensyduino_reboot_(). But the...

    Tried the command _teensyduino_reboot_(). But the Arduino compiler does not recognize the command and gives an error:


    error: 'teensyduino_reboot' was not declared in this scope

    Do I need to...
  26. Replies
    70
    Views
    13,869

    Just found this library: ...

    Just found this library:

    https://github.com/PaulStoffregen/USBHost_t36

    So status is: usbmidi read works and usbmidi write is still a work in progress.
  27. Thanks for the great suggestions. I have it...

    Thanks for the great suggestions. I have it working now. I have to put a delay between writing and reading as well, otherwise the data is not read correctly.

    I am on Arduino 1.23 on an ancient...
  28. Added full code and the error - my bad. No time...

    Added full code and the error - my bad. No time to look at it again until this evening...
  29. Need to write a struct fast from and to an 24LC512 chip over i2c

    This code compiles but gives an ambigious warning:


    struct_test.ino: In function 'void read_cmd_EEPROM(uint16_t, Cmd_struct*)':
    struct_test.ino:42:54: warning: ISO C++ says that these are...
  30. Replies
    70
    Views
    13,869

    So, what is the status of USB host mode on the...

    So, what is the status of USB host mode on the Teensy 3.6?
    I am hoping to use it as a MIDI host. But is it working?
  31. 10 ms should be fine. This delay time is...

    10 ms should be fine. This delay time is mentioned in Roland's midi implementation guides. I have tried several delay times, but none of them worked.

    The problem turned out to be hardware related....
  32. Replies
    5
    Views
    2,149

    AFAIK you can still use the old wire.h library on...

    AFAIK you can still use the old wire.h library on Teensy. Only when you use both i2c ports, you need the new i2c_t3 one.

    And I have built my own controller pcb boards that support three displays,...
  33. Replies
    0
    Views
    612

    Adding delays to serial Midi messages

    I have quite successfully built and programmed a Midi foot controller for several Roland devices. But at times the device will miss part of a message. To get successfully communication, I have to add...
  34. Replies
    5
    Views
    2,149

    Control several displays from one PCF8574

    For the production version of my VController project, I would like to use 12 RGB displays. As the PCF chips only have eight addresses I would like to connect three displays to one PCF8574. I would...
  35. Replies
    1
    Views
    962

    Programming advice

    I need some programming advice for my VController project. The current code can be found here: https://github.com/sixeight7/VController_v2

    The VController is a midi controller that can control...
  36. Replies
    3
    Views
    1,678

    Just for people to find their way. I have built...

    Just for people to find their way. I have built three types of MIDI foot controllers:

    VController version 1: https://forum.pjrc.com/threads/29328-VController

    VController version 2:...
  37. Replies
    2
    Views
    1,876

    V-Controller version 2

    Follow-up of version 1: https://forum.pjrc.com/threads/29328-VController

    This one has the Teensy 3.2, thirteen character displays on one i2c bus, 16 buttons and neopixel LEDS:

    6958

    It is a...
  38. Replies
    18
    Views
    4,006

    Great to see your progress. Are you able to...

    Great to see your progress. Are you able to connect up to 10 displays?
  39. Replies
    18
    Views
    4,006

    Great to hear you are making progress. I can't...

    Great to hear you are making progress. I can't see the video though. Is is still private?
  40. Replies
    4
    Views
    1,100

    I have tried midi.begin, but it did not work....

    I have tried midi.begin, but it did not work. Studied the midi library, but there is nothing there that should cause a complete deadlock.

    So probably it is a hardware issue. I will replace the...
  41. Replies
    18
    Views
    4,006

    Thanks Paul. So it is not as easy as I thought....

    Thanks Paul. So it is not as easy as I thought.
    But using the slower library, could I use any 6 pins for CS? I was hoping to select all chips, clear them at once. Then select them one by one and...
  42. Replies
    18
    Views
    4,006

    Teensy 3.2 with six 2.2 inch tft displays

    Is it possible to control six 2.2 inch tft displays from one teensy 3.2? I am looking at the cheap spi tft displays on ebay. There are examples on the internet of connecting one, but can you connect...
  43. I am mainly looking for clues and for tools to...

    I am mainly looking for clues and for tools to check serial communication. I did notice that serial1 gives more trouble than serial 2 and serial 3.

    Is there a physical difference between the...
  44. It could be some kind of timing issue in the...

    It could be some kind of timing issue in the sysex communication between the Roland/Boss devices and the Teensy LC. Adding 10 ms delays after sending out midi data gives fewer time-outs. The problem...
  45. Replies
    7
    Views
    3,507

    Thank you flabbergast and Paul. This works. ...

    Thank you flabbergast and Paul. This works.

    It provides a workaround for my actual problem, completely losing serial MIDI on some occasions:...
  46. Replies
    7
    Views
    3,507

    Hardware reset on Teensy LC

    Is it possible to perform a hardware reset on the Teensy LC started from the code? I have a problem that hardware serial midi communication is lost every so often. The only solution so far is...
  47. Serial midi input stopping completely at random moments

    Here is my project and code: https://github.com/sixeight7/VController
    I have a problem with serial midi coming from Roland devices (VG99 and GR55). Everything will work fine for awhile and then...
  48. Replies
    4
    Views
    1,100

    But I still would be interested in a solution...

    But I still would be interested in a solution though, because there are cases where the midi shuts down...
  49. Replies
    4
    Views
    1,100

    The solution was in optimizing the code and ......

    The solution was in optimizing the code and ... Switching off Midi thru, which is on by default in the serial midi library. For more dtails about my VController project, see:...
  50. Replies
    4
    Views
    1,100

    Is there some way to reset MIDI

    OK, here is my code: github.com/sixeight7/VController

    Here is my problem:
    I am reading MIDI data from three devices (GP10, GR55 and VG99):
    Most of the time this works fine. I can send a sysex...
Results 1 to 50 of 65
Page 1 of 2 1 2