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
    14
    Views
    269

    Do you happen to have a link to that PDF? Paul

    Do you happen to have a link to that PDF?

    Paul
  2. Replies
    14
    Views
    269

    Caution here: the pins of the Teensy MicroMod can...

    Caution here: the pins of the Teensy MicroMod can only handle max 3V3 [similar to Teensy 4.x]. Perhaps you are already overdriving the pins...

    Paul
  3. Replies
    14
    Views
    269

    Could it be that the amplitude of the output...

    Could it be that the amplitude of the output signal of the sensor is just too low such that Teensy is missing pulses?
    By the way, which Teensy model are you using?
    And did you perhaps receive the...
  4. Thread: Canbus use

    by PaulS
    Replies
    3
    Views
    162

    I have been using these: 26231 Google for...

    I have been using these:

    26231

    Google for "TI SN65HVD230 CAN-bus transceiver module".
    No configuration needed for this transceiver, just hookup the CRX & CTX pins to the appropriate Teensy CAN...
  5. Thread: Canbus use

    by PaulS
    Replies
    3
    Views
    162

    You may want to start with just a basic CAN bus...

    You may want to start with just a basic CAN bus monitor and see what messages are on the bus.
    Here is a the code that I have been using:

    // https://github.com/collin80/FlexCAN_Library
    //...
  6. Replies
    14
    Views
    269

    Right, found this page...

    Right, found this page.
    Ethanol [C2H5OH] has a relative permittivity of ~25, IsoPropylAlcohol [C3H8O] of ~18.
    Interesting to see what the E85 and tube tester will show.


    Depends on what...
  7. Replies
    5
    Views
    145

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

    Ah OK. Sorry, can't help you with PlatformIO.
  8. Replies
    4
    Views
    166

    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,...
  9. Replies
    5
    Views
    145

    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
  10. Replies
    33
    Views
    514

    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...
  11. Replies
    9
    Views
    166

    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() {
    ...
  12. Replies
    9
    Views
    166

    You can use...

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

    Paul
  13. Replies
    33
    Views
    773

    @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()....
  14. Replies
    28
    Views
    661

    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...
  15. Replies
    28
    Views
    661

    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
  16. Replies
    28
    Views
    661

    Upgraded to Teensyduino 1.55; same observations...

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

    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...
  18. Replies
    2
    Views
    118

    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...
  19. 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
  20. 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
  21. Thread: Midi

    by PaulS
    Replies
    4
    Views
    229

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

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

    Paul
  22. Thread: Midi

    by PaulS
    Replies
    4
    Views
    229

    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...
  23. Replies
    27
    Views
    663

    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...
  24. Replies
    27
    Views
    663

    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
  25. 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...
  26. Replies
    33
    Views
    773

    I have successfully used these Sparkfun boards...

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

    26057

    Paul
  27. 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 +...
  28. Replies
    27
    Views
    859

    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
  29. 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
  30. 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...
  31. Replies
    4
    Views
    291

    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...
  32. Replies
    4
    Views
    291

    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,...
  33. 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...
  34. 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...
  35. 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...
  36. 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...
  37. Replies
    4
    Views
    263

    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,...
  38. 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...
  39. 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
  40. 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
  41. 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
  42. Replies
    14
    Views
    1,372

    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...
  43. Replies
    14
    Views
    1,372

    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...
  44. Replies
    2
    Views
    183

    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
  45. 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...
  46. 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
  47. Thread: OLED problems

    by PaulS
    Replies
    6
    Views
    433

    Great! De nada... Paul

    Great!
    De nada...

    Paul
  48. 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
  49. 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...
  50. Thread: OLED problems

    by PaulS
    Replies
    6
    Views
    433

    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...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4