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

Search:

Type: Posts; User: PaulS

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    117

    Ah OK. Sorry, can't help you with PlatformIO.

    Ah OK. Sorry, can't help you with PlatformIO.
  2. Replies
    4
    Views
    129

    As far as I can tell from the datasheet...

    As far as I can tell from the datasheet, the ADDR pin cannot be left floating; it needs to be connected to a certain level:

    26207

    If you want to reproduce the circuit of the ADS1115 breakout,...
  3. Replies
    5
    Views
    117

    MIDI_CREATE_INSTANCE is used for hardware MIDI...

    MIDI_CREATE_INSTANCE is used for hardware MIDI ports, as described here.
    If you want your Teensy to send out MIDI messages via USB, see this page.

    Hope this helps,
    Paul
  4. Replies
    24
    Views
    383

    The midi monitor picture shows a SysEx message on...

    The midi monitor picture shows a SysEx message on channel 0. Your code is supposedly sending notes on channel 1.
    Can you perhaps check with an oscilloscope on pin 1 of the Teensy whether you see any...
  5. Replies
    4
    Views
    104

    I looked a bit further into your code. There is...

    I looked a bit further into your code.
    There is no need to set the NoteON and NoteOff handler several times, once in setup() is OK, like this:

    void setup() {
    ...
  6. Replies
    4
    Views
    104

    You can use...

    You can use usbMIDI.setHandleControlChange(myControlChange);, similar to setHandleNoteOn.
    I guess you have seen this page?

    Paul
  7. Replies
    27
    Views
    622

    @Jeff You better delete dmxTx.begin(); from...

    @Jeff
    You better delete dmxTx.begin(); from loop().
    You already started the service in your setup(), so no need to (re)start that in loop() again and again. Just apply new values using dmxTx.set()....
  8. Replies
    28
    Views
    607

    Well, that SD Association formatter did the...

    Well, that SD Association formatter did the trick! Thanks.

    Here is the serial monitor output:

    Type any character to start
    Create files
    Create micros: 460486
    Sequential Write: 18480.16 KB/sec...
  9. Replies
    28
    Views
    607

    Changed 30 to 29 and now the serial monitor stops...

    Changed 30 to 29 and now the serial monitor stops at sd.begin()

    26148

    Any idea what to try next? [I reformatted the SDcard in the meantime]

    Thanks,
    Paul
  10. Replies
    28
    Views
    607

    Upgraded to Teensyduino 1.55; same observations...

    Upgraded to Teensyduino 1.55; same observations and compilation warning as above.
  11. Replies
    28
    Views
    607

    Hi Bill, Tried your exact code from message #1....

    Hi Bill,
    Tried your exact code from message #1. Got this error:

    26147

    Using Windows 10, Arduino 1.8.15, Teensyduino 1.54, SdFat lib 2.1.0., Teensy 4.1, SanDisk Ultra 16GB.

    Warning during...
  12. Replies
    2
    Views
    110

    Yes, you need a common ground between Teensy GND...

    Yes, you need a common ground between Teensy GND and battery negative terminal.
    The Teensy, the source pin of the MOSFET and the battery must share the same ground for the circuit to work.
    The...
  13. I assume he used a Teensy 3.0 as he made this...

    I assume he used a Teensy 3.0 as he made this commit: https://github.com/timotto/UbarCDC/commit/8f2f88905c7022315659d7692e2220ec089d8ff1

    Paul
  14. Mind you, "unsoldered" does not necessarily mean...

    Mind you, "unsoldered" does not necessarily mean it does not make contact... you better cut that specific header pin instead of letting it protrude unsoldered through the audio board pin hole.

    Paul
  15. Thread: Midi

    by PaulS
    Replies
    4
    Views
    212

    Yeah... the == got me again... Paul

    Yeah... the == got me again...

    Paul
  16. Thread: Midi

    by PaulS
    Replies
    4
    Views
    212

    You could do something like this: void...

    You could do something like this:

    void myNoteOn(byte channel, byte note, byte velocity) {
    if (note = 35) {
    digitalWrite(ledPin, HIGH); // Note 35 turns on onboard LED
    }
    }

    void...
  17. Replies
    27
    Views
    631

    It states: Many work with pin 7 unconnected, but...

    It states: Many work with pin 7 unconnected, but some may require a 10K resistor from pin 7 to ground.
    You have a 10K resistor from pin 5 to GND. The RX line will not be able to appear LOW to the...
  18. Replies
    27
    Views
    631

    From your photo it looks like there is a 10K(?)...

    From your photo it looks like there is a 10K(?) resistor from pin 5 of the optocoupler to GND?

    Paul
  19. No you don't, see this image...

    No you don't, see this image on how the boards are mounted [ignore the second audio board on the bottom].


    If you don't solder a potmeter on the audio board, than pin 15/A1 is free for your own...
  20. Replies
    27
    Views
    622

    I have successfully used these Sparkfun boards...

    I have successfully used these Sparkfun boards using the TeensyDMX library:

    26057

    Paul
  21. Hi Ignacio, No idea...but it will help if you...

    Hi Ignacio,
    No idea...but it will help if you post an updated connection diagram and share your Arduino code (see the Forum Rule on top of this page).
    BTW: is your project related to Teensy 2.0 +...
  22. Replies
    27
    Views
    836

    Perhaps post your complete (not working) code for...

    Perhaps post your complete (not working) code for us to assist you in debugging? See the Forum Rule on top of this page.

    Paul
  23. If I read the TLE5010 datasheet...

    If I read the TLE5010 datasheet correctly, that GEN pin is probably the external 4 MHz chip clock input, see chapter 7 in the datasheet.
    [GEN = generator?]

    Paul
  24. Hmm, had a pretty good look at your photo's but...

    Hmm, had a pretty good look at your photo's but did not see any obvious problem.

    About connecting the audio board to the line-in of an amplifier: did you use the headphone plug or did you use the...
  25. Replies
    4
    Views
    283

    By the way: sgtl5000_1.volume(5); is not...

    By the way: sgtl5000_1.volume(5); is not recommended, perhaps you meant sgtl5000_1.volume(0.5); ?
    From the Audio System Design Tool info tab:
    volume(level);
    Set the headphone volume level. Range...
  26. Replies
    4
    Views
    283

    When I import your Audio connections into the...

    When I import your Audio connections into the Audio System Design Tool, I see that mixer channnel 0 is used and the other inputs are not.
    So you may want to adjust your code to:


    mixer1.gain(0,...
  27. One word of caution: when using a razor saw, the...

    One word of caution: when using a razor saw, the small filings from the cut connector pins may end up under the BGA chip on the T4 and potentially short out some solder balls... Fingers crossed that...
  28. Good to hear that the T4 survived the short. Did...

    Good to hear that the T4 survived the short.
    Did you perhaps use low-profile headers between T4 and audio board? The SDcard connector housing on the audio board may have been touching parts on the...
  29. The regulator may very well not have been killed...

    The regulator may very well not have been killed by the short/overload. According to the datasheet: "This regulator offers foldback current limit, shutdown, and thermal protection."
    So you perhaps...
  30. Hi Caffeine, I would focus on the 3V3 circuitry...

    Hi Caffeine, I would focus on the 3V3 circuitry since something is shorting/overloading the onboard voltage regulator [U4]. Does that voltage regulator run hot? Check the resistance between the 3V3...
  31. Replies
    4
    Views
    243

    Hi Emmanuel, I guess it's possible, see the...

    Hi Emmanuel,

    I guess it's possible, see the example at File > Examples > Audio > HardwareTesting > PassThroughQuad.
    Connect one PCM5102 board to pins 7, 20, 21 and the other board to pins 32, 20,...
  32. Thanks. I looked before at the example at File >...

    Thanks. I looked before at the example at File > Examples > Audio > HardwareTesting > WavFilePlayerUSB since it uses the AudioOutputUSB class.
    I guess the AudioPlaySdWav class generates the required...
  33. Hi Mark, Just curious: doesn't the...

    Hi Mark,

    Just curious: doesn't the AudioOutputUSB class generate interrupts to fire up the audio library?

    Thanks,
    Paul
  34. I think you also need to set some parameters for...

    I think you also need to set some parameters for the biquad filters and the amps. See the "Filter" example I mentioned above.

    Paul
  35. You should at least give it some AudioMemory to...

    You should at least give it some AudioMemory to work with, like:

    void setup() {
    AudioMemory(12);
    }
    See also the example at File > Examples > Audio > Effects > Filter

    Paul
  36. Replies
    14
    Views
    1,358

    Hi Alex, Allright, you ran into a compilation...

    Hi Alex,

    Allright, you ran into a compilation error.
    Best is to post your complete sketch [C5.ino] so that I, and perhaps other forum members, can copy it into the Arduino IDE and help you...
  37. Replies
    14
    Views
    1,358

    if (condition 1) { FreqCount.begin(1000); // it...

    if (condition 1)
    {
    FreqCount.begin(1000); // it works
    }
    if (condition 2)
    {
    FreqCount.end(); // this does not work
    }

    When you state FreqCount.end(); // this does not work, what exactly does...
  38. Replies
    2
    Views
    174

    Which Teensy are you using? If you have a Teensy...

    Which Teensy are you using? If you have a Teensy LC/3.x/4.x, you need to install Teensyduino.

    Paul
  39. Danke! Indeed found usable hits when googling for...

    Danke! Indeed found usable hits when googling for "lambda expression C++".
    Just curious, doesn't the variable [in your case count++] need to be defined as volatile? I am used to qualify such a...
  40. Hi Luni, thanks for your code. Wasn't aware of...

    Hi Luni, thanks for your code. Wasn't aware of declaring an interrupt function this way. How did you get to know this? I googled for it but could not find anything about declaring it this way.

    Paul
  41. Thread: OLED problems

    by PaulS
    Replies
    6
    Views
    422

    Great! De nada... Paul

    Great!
    De nada...

    Paul
  42. Check out the FreqCount...

    Check out the FreqCount library.
    The biggest hurdle is probably signal conditioning. Once that is done, counting the pulses is relatively straightforward.

    Paul
  43. From the ID100 brochure...

    From the ID100 brochure, I see on page 3 this output signal:

    25845

    That looks to me as a 10ns wide pulse with a 2V amplitude.
    So it needs pulse stretching if you want to use the FreqCount...
  44. Thread: OLED problems

    by PaulS
    Replies
    6
    Views
    422

    Hmm, got the same compilation error when trying...

    Hmm, got the same compilation error when trying to compile the example sh1106_128x64_spi.ino that came with library.

    Since the maker of the library stated on his Github page that his library was a...
  45. Thread: OLED problems

    by PaulS
    Replies
    6
    Views
    422

    Not all SH1106 libraries are created...

    Not all SH1106 libraries are created equally...did you perhaps try this one?
    It seems to be working fine for forum member 'frohr' using an SH1106 display. See this thread.

    Paul
  46. Did a quick scan of the ISD5116 datasheet. Are...

    Did a quick scan of the ISD5116 datasheet. Are you powering the chip with Vcc=2.8V? Is there a reason why you do not power it with 3V3?
    25829

    Paul
  47. Hi DaQue, The damaged audio boards you mention...

    Hi DaQue,
    The damaged audio boards you mention are not the PJRC's Audio Adapter boards, are they?
    If so, can you share info on your audio board/audio chip? Is it a homebrew audio board at which...
  48. Replies
    1
    Views
    193

    No, it also applies to Teensy 4.x. The issue is...

    No, it also applies to Teensy 4.x. The issue is speed of a MOSFET level shifter.
    Your current batch of Neopixels may work fine now but a next batch may not.
    I have also read recommendations of...
  49. Replies
    28
    Views
    1,176

    Now you got me intrigued & curious. How would...

    Now you got me intrigued & curious. How would that work from a software point of view? Should I use the I2S input object from Audio library?

    25593

    Here is the timing diagram of the MCP33121:
    ...
  50. Replies
    28
    Views
    1,176

    AGND and GND are connected by means of a small...

    AGND and GND are connected by means of a small ferrite [L3 on the schematic here]
    This ferrite has a certain impedance and AGND is therefor not a firm GND for digital signals.

    Paul
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4