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

    by PaulS
    Replies
    6
    Views
    229

    Great! De nada... Paul

    Great!
    De nada...

    Paul
  4. 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
  5. 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...
  6. Thread: OLED problems

    by PaulS
    Replies
    6
    Views
    229

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

    by PaulS
    Replies
    6
    Views
    229

    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
  8. 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
  9. 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...
  10. Replies
    1
    Views
    138

    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...
  11. Replies
    28
    Views
    723

    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:
    ...
  12. Replies
    28
    Views
    723

    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
  13. Replies
    28
    Views
    723

    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...
  14. 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...
  15. Found a message...

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

    Paul
  16. 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
  17. Replies
    5
    Views
    287

    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...
  18. Replies
    5
    Views
    287

    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...
  19. Would it be an idea to share your code in a...

    Would it be an idea to share your code in a GitHub repository?

    Paul
  20. Replies
    2
    Views
    247

    The stepper.run() command has to be called as "as...

    The stepper.run() command has to be called as "as frequently as possible", see here. That is slightly different from "continuously".
    All the Accelstepper examples show that the stepper.run() command...
  21. Great project Emmanuel! I'm sure on this...

    Great project Emmanuel!


    I'm sure on this forum there are lot of qualified coders that will be happy to review your code!

    Paul
  22. Replies
    4
    Views
    318

    I couldn't find that either...perhaps just give...

    I couldn't find that either...perhaps just give it a try with the matrix.setFont() function and see how the different fonts look on the display?


    Yes, agree, that's what I would do as well.
    ...
  23. Replies
    4
    Views
    318

    The fonts used for NeoMatrix displays can be...

    The fonts used for NeoMatrix displays can be found here: C:\Users\abc\Documents\Arduino\Libraries\Adafruit_GFX\Fonts.
    There is a matrix.setFont() function to select a specific font.
    Here is more...
  24. That library seems to have an issue, see here...

    That library seems to have an issue, see here. The solution in that thread seems to work.

    Paul
  25. Perhaps this Arduino library...

    Perhaps this Arduino library from Infineon is of help?

    Regards,
    Paul
  26. Hi Dan, When I googled for "ad7705 arduino", I...

    Hi Dan,

    When I googled for "ad7705 arduino", I got a lot of hits.
    For example, here is a tutorial and a library that should work on Teensy as well, since the ADC comminicates over SPI.
    ...
  27. Replies
    3
    Views
    203

    Hi P, Sorry, I won't be able to help you a lot...

    Hi P,
    Sorry, I won't be able to help you a lot since I never played with joysticks.
    What I understand sofar is that the default setting is JOYSTICK = 12, set in usb_desc.h, line 699. That setting...
  28. Replies
    3
    Views
    203

    First, you have to select a Joystick entry from...

    First, you have to select a Joystick entry from the Tools/USB type menu, not the Serial entry:

    25484

    Second: Joystick.Xrotate and Joystick.Yrotate are not supported for "JOYSTICK_SIZE == 12" as...
  29. Replies
    34
    Views
    1,620

    Thanks for the zip file. Did a clean Teensyduino...

    Thanks for the zip file.
    Did a clean Teensyduino 1.54 re-install. Then copied all the files from your zip file over to the teensy4 directory.
    Opened the Arduino IDE, compiled and ran the sketch....
  30. Replies
    34
    Views
    1,620

    Yeah, could be. Although in the Sound Control...

    Yeah, could be. Although in the Sound Control Panel [which has less tabs then before - Advanced and Spatial Sound are missing] the Test button has been greyed out... I set the sample rate to be 88200...
  31. Replies
    34
    Views
    1,620

    Yes, it's a Teensy 4.0. Just for sanity, I...

    Yes, it's a Teensy 4.0.
    Just for sanity, I closed the Arduino environment completely and started it up again.
    Then recompiled and uploaded the same sketch and now USBtreeview shows:

    ...
  32. Replies
    34
    Views
    1,620

    Weird, this is what USBtreeview shows on my PC [2...

    Weird, this is what USBtreeview shows on my PC [2 identical entries]:

    ------- Audio Streaming Format Type Descriptor --------
    bLength : 0x0B (11 bytes)
    bDescriptorType ...
  33. Replies
    34
    Views
    1,620

    Even if I uninstall both Teeny audio devices,...

    Even if I uninstall both Teeny audio devices, disconnect & connect the T4.0 and then let Windows search and find both Teensy devices again, the Sound Control Panel shows 44100 Hz.

    25448

    Paul
  34. Replies
    34
    Views
    1,620

    Hallo Frank, sorry for stepping late into the...

    Hallo Frank, sorry for stepping late into the party...
    Freshly installed Arduino 1.8.15 & Teensyduino 1.54 on Windows 10 Home. Did not yet copy the modified files from...
  35. Replies
    9
    Views
    588

    That black plastic on the headers is usually...

    That black plastic on the headers is usually 2.5-3mm high. And that is too close. Why don't you set a height of 4-5mm between the boards?

    Paul
  36. Replies
    9
    Views
    588

    Closely related thread...

    Closely related thread.

    Paul
  37. Replies
    9
    Views
    588

    Hi Ewan, is there enough spacing between Teensy 4...

    Hi Ewan, is there enough spacing between Teensy 4 and Audio shield? Perhaps the SDcard connector shorts to bottom components of the T4.
    And do you have the orientation of T4 and shield correct?
    ...
  38. Replies
    33
    Views
    2,268

    Yeah, I guess the TDA1543A just assumes 24-bit...

    Yeah, I guess the TDA1543A just assumes 24-bit right-justified 2's-complement data [some EIAJ format] and simply discards the first 8 bits [and whatever comes after the following 16 bits]

    ...
  39. Replies
    33
    Views
    2,268

    Thinking about it a bit longer, I think what the...

    Thinking about it a bit longer, I think what the TDA1543A needs is a right-justified I2S signal. So the edge of the LRCK [aka WS] signals the end of the incoming left or right data.
    That data can be...
  40. Replies
    33
    Views
    2,268

    From the datasheet of the Sony CXD2500BQ [CD...

    From the datasheet of the Sony CXD2500BQ [CD Digital Signal Processor] that was used in Marantz CD players and could drive a TDA1543A directly:

    25282

    The chip outputs data at 48*LRCK rate [2.12...
  41. Replies
    33
    Views
    2,268

    From the www.diyaudio.com forum, message #2 and...

    From the www.diyaudio.com forum, message #2 and #3 seem to support that dummy cycle theory.

    Paul
  42. Replies
    33
    Views
    2,268

    Hallo Frank, Thanks. Tested your code and the...

    Hallo Frank,

    Thanks. Tested your code and the sine looks fine on the oscilloscope.
    Hooked up the logic analyzer and saw this:

    25279

    So apparently the TDA1543A needs japanese...
  43. Replies
    33
    Views
    2,268

    // TDA1543A Teensy 3.2 // 8 Vdd ...

    // TDA1543A Teensy 3.2
    // 8 Vdd 5V 10uF + 100nF to GND
    // 4 GND GND
    // 2 WS 23 LRCK 176.4 KHz
    // 3 DATA 22
    // 1 BCK 9 ...
  44. This 2.54mm is not the height of the plastic...

    This 2.54mm is not the height of the plastic insulator but the pitch between the pins.
    The height of the SDcard connector is ~1.7mm, the height of C29 and L3 is ~0.9mm, so you need at least 3mm...
  45. Most probably the SDcard connector on the...

    Most probably the SDcard connector on the AudioShield touches one of the SMD components on the backside of the Teensy 4.0 [C20/C9/C17/C29/L3].

    Paul
  46. Replies
    13
    Views
    689

    I think the program button on the Teensy 4.1 from...

    I think the program button on the Teensy 4.1 from Copperhill is unintentionally missing.
    The pictures on Copperhill's product page show the button.

    25242

    Paul
  47. Replies
    33
    Views
    2,268

    You mean Pazi's code? No, I did not try it. I...

    You mean Pazi's code? No, I did not try it. I believe Pazi's when he says that it works.
    I would not be surprised that the DMA engine and specific registers are different between a Teensy 3.x and a...
  48. Replies
    6
    Views
    438

    That's what I thought as well until I found out...

    That's what I thought as well until I found out that the RX2/TX2 pins are not exposed on this module.

    Paul
  49. Replies
    33
    Views
    2,268

    Eddie Van Halen's Eruption is quite a target :)...

    Eddie Van Halen's Eruption is quite a target :)
    Thanks, I will send you an email for your postal address.

    Gruesse,
    Paul
  50. Here it is: #include ...

    Here it is:

    #include <Audio.h>

    AudioSynthWaveformSine sine1;
    AudioOutputI2S i2s1;
    AudioConnection patchCord1(sine1, 0, i2s1, 0);
    AudioConnection ...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4