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

Search:

Type: Posts; User: yeahtuna

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Raw_HID is producing that noise, and I suspect...

    Raw_HID is producing that noise, and I suspect the Serial port would as well. In my tests, I would only send a message over the serial if noise was detected. And the fact that no Serial messages...
  2. If I don't send the RAW_HID data, there is no...

    If I don't send the RAW_HID data, there is no noise (at least no bad spikes that make me want to rip my hair out). I indeed test this by sending out data over a hardware serial port as well.


    ...
  3. Dealing with noise generated by sending data over USB

    I'm struggling to get rid of some noise that is creeping into analogRead() measurements in a sensitive analog circuit based on a custom Teensy 3.2 board.

    After thorough investigation, I find that...
  4. Replies
    7
    Views
    615

    You will have to roll your own solution. Another...

    You will have to roll your own solution. Another thing I can think of would be to set a timer that periodically sends date to the host. If the function returns 0 bytes sent, you could likely infer...
  5. Replies
    7
    Views
    615

    I'm not sure it this would work, but couldn't you...

    I'm not sure it this would work, but couldn't you read the voltage on the USB 5v when an analogRead?
  6. Replies
    7
    Views
    615

    if (usb_configuration) { }

    if (usb_configuration) {

    }
  7. Replies
    5
    Views
    389

    It's definitely causing small problems with the...

    It's definitely causing small problems with the ADC; I wouldn't have hooked up the scope in the first place if there wasn't an issue. The noise level isn't so much terrible as it is a nuisance that...
  8. Replies
    5
    Views
    389

    No dice. Thanks for your suggestions, though. I...

    No dice. Thanks for your suggestions, though. I don't think there's anything I can do. Even if I connect the teensy input pin directly to Vcc/2, GND or VCC, I still get that noise.
  9. Replies
    5
    Views
    389

    Teensy 3.2 Noise generated by analogread

    Hi, all. I have a problem with noise in my opamp circuit for reading an AC signal. Based on my tests, the noise appears to be generated by the call to analogRead. Below is the output of my scope. ...
  10. Thanks, Paul. Thanks for taking the time to...

    Thanks, Paul. Thanks for taking the time to answer this question so thoroughly. The sector writing seems to be exactly what I would need, but I'm worried that it's a bit above my skill level. I'll...
  11. Teensy 3.2 Lock Bits and firmware updates

    Is it really not possible to have a secure device while also allowing its firmware to be updated without pressing the program button? If we enable the lock bits, then _reboot_Teensyduino_() doesn't...
  12. Issue with keyboard interfaces in 3rd party USB Host ports

    I make devices with multiple class compliant interfaces USB MIDI / RAWHID / KEYBOARD. These devices are often plugged into the USB Host ports of 3rd party hardware.

    I've noticed that some USB...
  13. Thread: Midi 2.0

    by yeahtuna
    Replies
    20
    Views
    1,261

    No, it's not secret. I created a new account and...

    No, it's not secret. I created a new account and I was able to download the spec from that link in the first post.
  14. Thread: Midi 2.0

    by yeahtuna
    Replies
    20
    Views
    1,261

    That link has a conceptual map of how it works. ...

    That link has a conceptual map of how it works. The specification is available for download to registered users on MIDI.org, but I had issues creating an account. I'll have to fire off an email.
    ...
  15. Thread: Midi 2.0

    by yeahtuna
    Replies
    20
    Views
    1,261

    Midi 2.0

    It's coming.

    https://www.midi.org/articles-old/midi-manufacturers-association-mma-adopts-midi-capability-inquiry-midi-ci-specification
  16. Replies
    52
    Views
    2,497

    I totally agree that 24bit/48k is the minimum for...

    I totally agree that 24bit/48k is the minimum for any prosumer audio gear--not because anyone can tell the difference, but just because it's the industry standard. You would be a marketing failure...
  17. Replies
    0
    Views
    184

    6 MKL04 Bootloader Chips for sale

    The title says it all. $20 including shipping to pretty much anywhere in the world. I've switched to the smaller chips, but it would be nice to find a home for these guys. Let me know if you're...
  18. Replies
    4
    Views
    272

    Sounds good, Paul. I would obviously be...

    Sounds good, Paul. I would obviously be extremely pleased to see this functionality added, even if it's only for my future designs. It's there any public information about Teensy 4.x? Would like...
  19. Replies
    4
    Views
    272

    Yes, encrypted firmware updates.

    Yes, encrypted firmware updates.
  20. Replies
    4
    Views
    272

    Uploading encrypted firmware support

    Hi Paul,

    Years back you mentioned that you might include this if there was enough interest and funding available. How much money are we talking about?
  21. Custome Teensy 3.2 Ground planes with GND and AGND

    Hi all,

    I've been making custom Teensy devices for a while and just recently I've noticed the importance of segregating analog and digital circuits with respect to their ground paths. I have a...
  22. Replies
    22
    Views
    1,713

    I resolved the issue. It had nothing to do with...

    I resolved the issue. It had nothing to do with the trigger circuits. The culprit was my MIDI Out DIN. I had the port grounded to AGND. I connected it to the digital GND and the voltage spikes...
  23. Replies
    22
    Views
    1,713

    Here's a diagram of an 8 - input circuit, showing...

    Here's a diagram of an 8 - input circuit, showing the location of capcitors.15211
  24. Replies
    22
    Views
    1,713

    Hi Bryan, Thanks again for all your help. ...

    Hi Bryan,

    Thanks again for all your help. I've managed to get 12 of those circuits together and have been able to wire up my entire e-drum kit to my breadboard module. The circuitry is...
  25. Replies
    22
    Views
    1,713

    I managed to find a solution for detecting the...

    I managed to find a solution for detecting the 'bell' and 'edge' switches, and project is progressing nicely. I'm not rectifying the data. Thanks again for your help.
  26. Replies
    22
    Views
    1,713

    Weather the value is negative or zero, because it...

    Weather the value is negative or zero, because it is rectified it in the circuit, doesn't have much bearing on your ability to catch the peaks. Being able to measure the phase of the signal,...
  27. Replies
    22
    Views
    1,713

    In terms of processing?

    In terms of processing?
  28. Replies
    22
    Views
    1,713

    Your circuit is very nice and produces really...

    Your circuit is very nice and produces really clean data. Thank-you so much. I spent an hour this evening playing around with it. I followed most of your recommendations and then explored a bit to...
  29. Replies
    22
    Views
    1,713

    I tried putting a low pass filter on the my 1.65v...

    I tried putting a low pass filter on the my 1.65v supply, and I found 100ohm / 10nF to work very well.
  30. Replies
    22
    Views
    1,713

    I will try this to see if it gives me cleaning...

    I will try this to see if it gives me cleaning data.


    Diode compression network...That's something I'm going to have to research. How does it work? I'm currently trying to figure out how to...
  31. I've tested the MKL04. Seems to be working...

    I've tested the MKL04. Seems to be working properly. When powered up, pin 8 has 3.3v. When I press the program button, it drops to almost 0v.
  32. I've already replaced the voltage regulator in...

    I've already replaced the voltage regulator in the unit, so I can't measure the voltages at this point.

    I know the source of the short circuit was the voltage regular, however. I tested the...
  33. Ya, the device was powered up and...

    Ya, the device was powered up and programmed--maybe it saw 10 seconds of running time. And ya, I have sold a couple hundred others without issue.
  34. Diagnosing cause of short circuit in defective custom Teensy 3.2

    I've gotten one of my devices returned back to me as being defective. I opened it and noticed the voltage regulator that brings the USB +5v down to 3.3v was overheating. It turns out that there was...
  35. Replies
    22
    Views
    1,713

    I'm going to try this op-amp. ...

    I'm going to try this op-amp.

    http://www.ee.ic.ac.uk/pcheung/teaching/E2_experiment/MCP604.pdf

    Any recommendations of a FET?
  36. Replies
    22
    Views
    1,713

    That sounds like a good idea. I will look for an...

    That sounds like a good idea. I will look for an appropriate FET. But I still want to find an appropriate op-amp. Especially on that I can use to turn the AC current into DC with a center bias of...
  37. Replies
    22
    Views
    1,713

    Recommendation for piezo buffer op-amp

    Hi all,

    I'm working on building a MIDI drum brain. I have a working prototype with 20 inputs, but I'm finding that the data from the piezo isn't as precise as I would like. I suspect this is...
  38. Replies
    1
    Views
    188

    So I managed to make this function...

    So I managed to make this function multi-threaded. I needed up to four threads to use it on four separate Teensy devices, so I changed the declaration of rv_event to be an array of HANDLES, ditched...
  39. Replies
    1
    Views
    188

    Question about mutex in rawhhid_recv

    Recently I've but a victim of slow HID read speeds in recent versions of Windows 10. I've had to increase my timeout values from 2ms all the way up to 50ms to prevent losing data. The real problem...
  40. Just a quick update to this thread. I tested...

    Just a quick update to this thread. I tested making a second usb_descriptor_list_t and softcoded NUM_ENDPOINTS and NUM_INTERFACES, and was able to selectively load two separate device...
  41. So I tested and was able to modify the HID usage...

    So I tested and was able to modify the HID usage page on the fly. I removed 'static' from the following line of code from usb_dev.c so that I could expose it using extern in usb_dev.h.

    uint8_t...
  42. For now, I'm only interested in being able to...

    For now, I'm only interested in being able to change the usage and usage_page of an HID device and I'm guessing that won't be so hard as I wouldn't need to change the size of the descriptor. But...
  43. Very interesting. I haven't tested it yet, but I...

    Very interesting. I haven't tested it yet, but I managed to get the code to compile. I had no idea that I could do something like that. This opens up lots of opportunities. Thank-you so much.
  44. Configure USB after sketch has already loaded

    I would like to hack teensyduino to allow me to set aspects of my USB descriptor from my sketch. The idea is to start my sketch, read settings from EEPROM, adjust aspects of the USB descriptor, and...
  45. Replies
    7
    Views
    5,789

    Thank-you for these. Does anyone have a complete...

    Thank-you for these. Does anyone have a complete Teensy 3.6 reference design in Eagle the are willing to share?
  46. Replies
    14
    Views
    817

    And one last note, with a timeout of 15 ms on my...

    And one last note, with a timeout of 15 ms on my desktop in 'High Performance mode', there are no missing packets whatsoever. Clearly Microsoft has been tweeking things on the Surface to get more...
  47. Replies
    14
    Views
    817

    Sorry, I miss read your post. I do check on the...

    Sorry, I miss read your post. I do check on the Teensy side of the things and there are no issues there. It's always returning 64 bytes sent.
  48. Replies
    14
    Views
    817

    Hi, Kurt. I guess I'm using the wrong...

    Hi, Kurt. I guess I'm using the wrong terminology. I do check the return value and the packets are in fact timing out (returning 0) as opposed to being dropped, but I would think that 15ms should...
  49. Replies
    14
    Views
    817

    I have no idea and no old machines to test on. I...

    I have no idea and no old machines to test on. I can say that even with a timeout of 15, there are still occasionally dropouts. If there's a steady stream of packets, then all is good. But if the...
  50. Replies
    14
    Views
    817

    I've found the source of the problem. It's the...

    I've found the source of the problem. It's the timeout in the rawhid_recv() method. I've bumped it up to 15 ms, and all the packets arrive as expected.
Results 1 to 50 of 306
Page 1 of 7 1 2 3 4