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
    27
    Views
    562

    @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()....
  2. Replies
    28
    Views
    567

    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...
  3. Replies
    28
    Views
    567

    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
  4. Replies
    28
    Views
    567

    Upgraded to Teensyduino 1.55; same observations...

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

    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...
  6. Replies
    2
    Views
    97

    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...
  7. 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
  8. 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
  9. Thread: Midi

    by PaulS
    Replies
    4
    Views
    202

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

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

    Paul
  10. Thread: Midi

    by PaulS
    Replies
    4
    Views
    202

    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...
  11. Replies
    27
    Views
    598

    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...
  12. Replies
    27
    Views
    598

    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
  13. 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...
  14. Replies
    27
    Views
    562

    I have successfully used these Sparkfun boards...

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

    26057

    Paul
  15. 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 +...
  16. Replies
    27
    Views
    799

    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
  17. 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
  18. 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...
  19. Replies
    4
    Views
    271

    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...
  20. Replies
    4
    Views
    271

    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,...
  21. 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...
  22. 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...
  23. 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...
  24. 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...
  25. Replies
    4
    Views
    235

    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,...
  26. 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...
  27. 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
  28. 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
  29. 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
  30. Replies
    14
    Views
    1,331

    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...
  31. Replies
    14
    Views
    1,331

    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...
  32. Replies
    2
    Views
    165

    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
  33. 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...
  34. 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
  35. Thread: OLED problems

    by PaulS
    Replies
    6
    Views
    410

    Great! De nada... Paul

    Great!
    De nada...

    Paul
  36. 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
  37. 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...
  38. Thread: OLED problems

    by PaulS
    Replies
    6
    Views
    410

    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...
  39. Thread: OLED problems

    by PaulS
    Replies
    6
    Views
    410

    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
  40. 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
  41. 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...
  42. Replies
    1
    Views
    182

    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...
  43. Replies
    28
    Views
    1,102

    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:
    ...
  44. Replies
    28
    Views
    1,102

    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
  45. Replies
    28
    Views
    1,102

    Right, the DIN/MISO [blue] signal does not look...

    Right, the DIN/MISO [blue] signal does not look good.
    But I noticed from the schematic that you use the AGND of the Teensy as the general GND for the circuit?
    You better connect all the grounds to...
  46. If I comment line 22 of...

    If I comment line 22 of C:\Users\Paul\Documents\Arduino\Libraries\RF24\utility\Teensy\RF24_arch_config.h, like this...

    //#define printf Serial.printf
    ...the sketch Nrf24AudioTx.ino compiles...
  47. Found a message...

    Found a message from Paul Stoffregen, mentioning "That's well within the crystal's 30 ppm spec".

    Paul
  48. Looks very much like an EPSON FA2016AN series...

    Looks very much like an EPSON FA2016AN series crystal, datasheet here.
    But only Paul Stoffregen can tell what the exact part# is that PJRC orders...

    Paul
  49. Replies
    5
    Views
    370

    Perhaps nitpicking, but setting 0: 3.12Vpp does...

    Perhaps nitpicking, but setting 0: 3.12Vpp does formally violate the SGTL5000 spec.

    25528

    Paul Stoffregen apparently measured these voltages to be OK [see control_sgtl5000.cpp] and the chip...
  50. Replies
    5
    Views
    370

    According to the SGTL5000 datasheet...

    According to the SGTL5000 datasheet, the typical LineIn voltage is 1.0VRMS:

    25517
    (on page 6, it states maximum 2.83VPP)

    As far as I can tell there is no overvoltage protection on the LineIn...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4