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
    23
    Views
    451

    Perhaps the Hantek DSO2C10...

    Perhaps the Hantek DSO2C10 is suitable for you? It's a basic scope for around euro 250.
  2. Replies
    23
    Views
    451

    I'm afraid it's now time to connect an...

    I'm afraid it's now time to connect an oscilloscope to the sensor output to see what's going on...
  3. Replies
    6
    Views
    140

    How did you measure that INT pin voltage? With an...

    How did you measure that INT pin voltage? With an oscilloscope or digital volt meter?
    I expect the INT pulse to be quite short, so a digital volt meter may not be able to catch that.


    No need...
  4. Replies
    23
    Views
    451

    Allright. On the 0, 9 & 10 values you see: is...

    Allright.
    On the 0, 9 & 10 values you see: is the sensor 100% filled with E85 fuel? I mean no airbubbles?
  5. Replies
    23
    Views
    451

    Ah OK, the sensor has an open-collector output....

    Ah OK, the sensor has an open-collector output. So you used a pullup resistor of 1K2 to 3V3?

    Paul
  6. Replies
    23
    Views
    451

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

    Do you happen to have a link to that PDF?

    Paul
  7. Replies
    23
    Views
    451

    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
  8. Replies
    23
    Views
    451

    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...
  9. Thread: Canbus use

    by PaulS
    Replies
    4
    Views
    271

    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...
  10. Thread: Canbus use

    by PaulS
    Replies
    4
    Views
    271

    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
    //...
  11. Replies
    23
    Views
    451

    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...
  12. Replies
    5
    Views
    171

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

    Ah OK. Sorry, can't help you with PlatformIO.
  13. Replies
    4
    Views
    205

    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,...
  14. Replies
    5
    Views
    171

    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
  15. Replies
    36
    Views
    732

    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...
  16. Replies
    14
    Views
    255

    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() {
    ...
  17. Replies
    14
    Views
    255

    You can use...

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

    Paul
  18. Replies
    33
    Views
    855

    @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()....
  19. Replies
    28
    Views
    767

    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...
  20. Replies
    28
    Views
    767

    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
  21. Replies
    28
    Views
    767

    Upgraded to Teensyduino 1.55; same observations...

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

    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...
  23. Replies
    2
    Views
    134

    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...
  24. 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
  25. 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
  26. Thread: Midi

    by PaulS
    Replies
    4
    Views
    248

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

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

    Paul
  27. Thread: Midi

    by PaulS
    Replies
    4
    Views
    248

    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...
  28. Replies
    27
    Views
    731

    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...
  29. Replies
    27
    Views
    731

    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
  30. 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...
  31. Replies
    33
    Views
    855

    I have successfully used these Sparkfun boards...

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

    26057

    Paul
  32. 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 +...
  33. Replies
    27
    Views
    934

    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
  34. 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
  35. 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...
  36. Replies
    4
    Views
    315

    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...
  37. Replies
    4
    Views
    315

    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,...
  38. 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...
  39. 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...
  40. 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...
  41. 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...
  42. Replies
    4
    Views
    279

    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,...
  43. 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...
  44. 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
  45. 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
  46. 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
  47. Replies
    14
    Views
    1,409

    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...
  48. Replies
    14
    Views
    1,409

    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...
  49. Replies
    2
    Views
    189

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