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

Search:

Type: Posts; User: mah

Search: Search took 0.00 seconds.

  1. Just tried to change the 10k resistor to a 4.7k...

    Just tried to change the 10k resistor to a 4.7k one, keeping the power cuircuit at 3.3v and it does not seem to work

    like this: 23268
  2. OK, but then i could probably use my original...

    OK, but then i could probably use my original schematic, but changing it like this?
    23267
    or should i keep 3.3v on the power protection?

    The reason i sleected the MC74VHC1GT04 was because i...
  3. 23247 like this maybe?

    23247 like this maybe?
  4. maybe a 74AHCT240 will do the trick, or...

    maybe a 74AHCT240 will do the trick, or MC74VHC1GT04?
  5. Ye, ok thx. midi stuff don't recognize any input,...

    Ye, ok thx. midi stuff don't recognize any input, so i guess this circuit don't work with 3.3v
  6. That sounds good, are there any 74hct that can...

    That sounds good, are there any 74hct that can buffer, level shift and invert the signal?
  7. I tested the "plug in and out issue" with another...

    I tested the "plug in and out issue" with another device(elektron machinedrum), and it does not seem to care have many times i plug the cable in and out , so i blaming the device(squarp pyramid)
  8. midi in with 3.5mm connector overvoltage protection cuircuit

    Hi, i found a nice schematic for a over-voltage protection circuit when using 3.5mm connectors for midi, as users might plug cv and gate(+-12v) in accidentally

    The schematic/discussion can be...
  9. Replies
    33
    Views
    1,860

    that did it, thanks! :D

    that did it, thanks! :D
  10. Replies
    33
    Views
    1,860

    btw, by changing pin i mean changing pin no. in...

    btw, by changing pin i mean changing pin no. in the constructor, not changing any physical connection as im using a pcb i made
  11. Replies
    33
    Views
    1,860

    yeah, but pin 10 is used for another spi device,...

    yeah, but pin 10 is used for another spi device, so a bit of a problem there, could this be some kind of software bugg? i tried using the adc (that uses cs 10) and the mcp at the same time and had no...
  12. Replies
    33
    Views
    1,860

    well im happy that it works, but a bit anoyed i...

    well im happy that it works, but a bit anoyed i have the change CS pins on every new power up :) and thanks for trying to help!
  13. Replies
    33
    Views
    1,860

    im not using the adc when testing the mcp, im...

    im not using the adc when testing the mcp, im using your example in first post as i said, and no added code. The adc and a couple of other things are attached to the same spi bus. but i dont try to...
  14. Replies
    33
    Views
    1,860

    wtf, sucess! i changes CS to 36, then back to 37...

    wtf, sucess! i changes CS to 36, then back to 37 and it started working! if i cut power i need change to 36 then back to 37 again to make it work.
  15. Replies
    33
    Views
    1,860

    i dont know what to test anymore. very confused,...

    i dont know what to test anymore. very confused, i have continuity on the miso line, between teensy and the mcp, i have an adc sends data on the same spi bus just fine. there seem to be data sent and...
  16. Replies
    33
    Views
    1,860

    very strange. using this lib i can write:...

    very strange.

    using this lib i can write: https://github.com/sumotoy/gpio_MCP23S17/blob/master/gpio_MCP23S17.h

    no sucess at reading though

    code:

    #include <SPI.h>
    #include...
  17. Replies
    33
    Views
    1,860

    mosi: 11 miso: 12 clk: 13

    mosi: 11
    miso: 12
    clk: 13
  18. Replies
    33
    Views
    1,860

    Yes, i tried, just get "no mpc detected" could it...

    Yes, i tried, just get "no mpc detected" could it be that i i got some other lib named "mcp23s17.h" installed that interferes? if i get the no mpc ouput in the serial monitor i guess least the...
  19. Replies
    33
    Views
    1,860

    Hi, im having trouble using this lib with my...

    Hi, im having trouble using this lib with my teensy 4, i have used another lib to successfully setting the outputs of the mcp from low to high and back. but this library just says no mcp detected....
  20. Replies
    0
    Views
    49

    mcp23s17 and sumotoy gpio_MCP23S17

    Hi, i had sucess writing to the mcp, but i cant seem to read, i dont find a simple example on how to read. i messure 3.3v at the pin but my code reports 0 whatever i do. im quite certain its the code...
  21. Replies
    262
    Views
    32,988

    Pin compatible with t4.1 but extra outside rows...

    Pin compatible with t4.1 but extra outside rows seems ideal to me! maybe change sdcard to pins instead of the slot.
  22. Bel Magnetic SI-46001-F as ethernet connector for teensy 4.1

    Hi, designing my first pcb, for teensy 4.1, i want a vertical Ethernet connector, i have made the design using the "Bel Magnetic SI-46001-F", as its one of the few vertical i found.

    Could anyone...
  23. Replies
    1
    Views
    198

    Spi devices with different clock speeds

    Hi, im wondering how to handle spi when chips have diffrent max clock speeds.

    should i change clock speed between communicating with different chips?
    Or should i use two buses with diffrent...
  24. Replies
    4
    Views
    423

    "Since this chip is a special bi-directional...

    "Since this chip is a special bi-directional level shifter it does not have strong output pins that can drive LEDs or long cables, it's meant to sit on a breadboard between two logic..." I guess a...
  25. Replies
    4
    Views
    423

    Yeah, I know Paul suggested that the some of...

    Yeah, I know Paul suggested that the some of those was not a good option for some applications, but don't remember the specifics right now. Maybe it will be fine
  26. Replies
    4
    Views
    423

    True bidirectional logic level shifter

    Hi, I'm want to send and receive eurorack/synth gates with a teensy 4.1, the gates should be 5v but as the teensy is 3.3 v so I need to shift both up and down, and I also want to use software to...
  27. Replies
    3
    Views
    703

    wow thx! cleared up quite a lot of things! ...

    wow thx! cleared up quite a lot of things!

    Just to be clear, this should theoretically be the most efficient method of connecting SPI devices?
    ---------------------
    SPI0:
    MISO0
    MOSI0
    SCK0...
  28. Replies
    3
    Views
    703

    SPI pins teensy 4.1

    I'm using a teensy 4.1, and got some questions about SPI:

    Is it possible to use both "miso,mosi,sck,cs" (pins: 12,11,13,10) and "miso1,mosi1,sck1,cs1" (pins: 1,26,27,0) at the same time?...
  29. Replies
    3
    Views
    280

    Thanks, i was just wondering, this might be a bad...

    Thanks, i was just wondering, this might be a bad idea to, but if i connected busy to CNV, would that make it do a conversion every time its not busy?
  30. Replies
    3
    Views
    280

    LTC2335-16 CNV input

    Hi, I'm using a LTC2335-16 ADC in a project and I am a bit confused about what to do with the CNV input, from what I read the ADC conversation happens when the ADC gets input on the cnv pin, should I...
  31. Replies
    28
    Views
    6,660

    Yeah, thanks, could not find a schematic so i...

    Yeah, thanks, could not find a schematic so i looked at other schematics. gonna remove the 3.3v, and the resistor.
    Dont know much about the SI-46001-F either, just picked it because i needed a...
  32. Replies
    28
    Views
    6,660

    20799 Is this right? :confused:

    20799 Is this right? :confused:
  33. Some progress, if i upload example...

    Some progress, if i upload example "interface_16x16" and send midi from ableton to channel 1 on virtual cable 7 and then to channel 10 on virtual cable 7, the device connected to teensy's usb host...
  34. Ok, still no luck. i have used the...

    Ok, still no luck. i have used the interface_16x16 example just to know that its not my code. When connecting a ableton push mk1 and a beatstep to the usb host on a teensy, and connect the teensy as...
  35. i changed to a really short usb cable, and i...

    i changed to a really short usb cable, and i worked until i reset the teensy
  36. Yes, i mentioned i set it as midi+serial, gonna...

    Yes, i mentioned i set it as midi+serial, gonna clarify in my post. and as the teensy can receive midi trough the usb hot port im thinking there error is somewhere else
  37. UsbHost, device send messages but does not receive

    Hi, i have a beatstep connected to teensy via usbhost, no extra circuitry just gnd, 5v, d+ and d- stright from teensy to beatstep, the pads and knobs send midi to the teensy it works fine, but i cant...
Results 1 to 37 of 38