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

Search:

Type: Posts; User: PaulS

Page 1 of 7 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    11
    Views
    231

    "Because the clipped waveform has more area...

    "Because the clipped waveform has more area underneath it than the smaller unclipped waveform, the amplifier produces more power than its rated (sine wave) output when it is clipping. This extra...
  2. Replies
    11
    Views
    231

    Hi Remko, Your question is very brief without...

    Hi Remko,
    Your question is very brief without any context. If you really want an answer you will need to elaborate more...
    Are you talking about the Audio library? Or?
    Your statement "a temporary...
  3. Replies
    5
    Views
    142

    Thanks for sharing your test results and...

    Thanks for sharing your test results and explanation.
    [never seen such neat breadboard wiring before]

    Paul
  4. Replies
    5
    Views
    142

    Hi Bill, Although not having actual experience...

    Hi Bill,
    Although not having actual experience with "Constant Carrier", the scanner example has code to switch CCW ON & OFF.
    But perhaps you already tried this...

    Paul
  5. Replies
    7
    Views
    152

    Hi Randy, Just to make sure, are we talking...

    Hi Randy,
    Just to make sure, are we talking about this board?
    If so, it is imperative to know to which of Teensy's CAN pins the MCP2558FD transceiver is actually connected on the TallDog board. ...
  6. Does rxmsg.buf[0] indeed contain 0x01? You could...

    Does rxmsg.buf[0] indeed contain 0x01? You could verify this by serial-printing the value:

    if ( CANbus.read(rxmsg) ) {
    Serial.printf("0x%02X", rxmsg.buf[0]);
    switch (rxmsg.buf[0]){
    ...
  7. Pin 7 is not supported as wake-up pin on Teensy...

    Pin 7 is not supported as wake-up pin on Teensy LC.


    That's indeed still high, forum member Manitou measured 4.1 uA when in hibernate.

    Could you try the exact same example code I used in...
  8. Not sure why but I do get substantial lower...

    Not sure why but I do get substantial lower current figures than you measured.
    LC DeepSleep: 0.191 mA,
    3.2 DeepSleep: 0.271 mA.
    See this thread.

    Paul
  9. Replies
    37
    Views
    790

    Saw that too... I guess these photo's were made...

    Saw that too... I guess these photo's were made when Paul prototyped the first PT8211 kits and ordered parts from Ebay.
    The PJRC kits I have here contain the genuine PT8211-S part, see my photo in...
  10. Replies
    37
    Views
    790

    My next question was who is their official...

    My next question was who is their official reseller for ordering genuine PT8211 parts. Answer:


    Paul
  11. Replies
    37
    Views
    790

    Emailed Princeton in Taiwan about the PT8211-H....

    Emailed Princeton in Taiwan about the PT8211-H. Their reply:


    Well, that's confirmed then.
    Paul
  12. Replies
    37
    Views
    790

    After searching the internet, I'm pretty sure the...

    After searching the internet, I'm pretty sure the PT8211-H are not genuine Princeton parts.
    The datasheet 22400 only mentions the PT8211-S & PT8211 packages.

    Paul
  13. Replies
    37
    Views
    790

    This is a close-up of the chip that is on my PJRC...

    This is a close-up of the chip that is on my PJRC PT8211 board:

    22397

    Paul
  14. Replies
    37
    Views
    790

    Strange... Perhaps your PT8211 part is just...

    Strange... Perhaps your PT8211 part is just broken?
    I used the PT8211 board from PJRC several times and never had an issue with it. Did you buy the board or just the chip?

    Paul
  15. Thanks. But since I'm using the non-T4 MTP lib...

    Thanks.
    But since I'm using the non-T4 MTP lib from https://github.com/yoonghm/MTP, I tried changing these strings in MTP.h:


    writestring("PJRC"); // Manufacturer
    ...
  16. Replies
    37
    Views
    790

    The input and output sound files you sent are in...

    The input and output sound files you sent are in MP3 format.
    Since the AudioPlaySerialflashRaw block requires the data to be RAW 16 bit signed integers in LSB-first format, could there be a problem...
  17. Is there a way to change the Model name of a Teensy MTP portable device?

    I've got a Teensy 3.2 to work as MTP device and all is working well on Windows 7 & 10.
    A nice touch would be to change the "Teensy" model name to the customer's product model name.

    22387

    Would...
  18. Replies
    37
    Views
    790

    Hi Tomas, I listened to your sound samples and...

    Hi Tomas,
    I listened to your sound samples and there is indeed some distortion added to the original sample. Perhaps caused by the envelope function? Or a clipping mixer?
    You may want to post your...
  19. Replies
    37
    Views
    790

    You noticed that the TDA1311A part requires a...

    You noticed that the TDA1311A part requires a power supply of 4-5.5V? See the datasheet:22378.
    It may not properly handle 3V3 input signals.

    Paul
  20. I just realized that the issue you are seeing...

    I just realized that the issue you are seeing [only receiving the first message] is perhaps caused by the fact that the transmitting node does not see the ACK generated by the receiving node when a...
  21. Hi Dresio, I got a bit confused with the object...

    Hi Dresio,
    I got a bit confused with the object oriented examples so I crafted a slightly different piece of code for the receiver:

    // https://github.com/collin80/FlexCAN_Library
    //...
  22. Hi Dresio, could you post both pieces of code [TX...

    Hi Dresio, could you post both pieces of code [TX node & RX node]. And perhaps a photo of your setup?


    Hi Steve, correct, why use an external CAN controller when it's already present in the...
  23. You're right. Paul

    You're right.
    Paul
  24. All Teensy boards you mention have a CAN...

    All Teensy boards you mention have a CAN Controller onboard.
    See this picture from Wikipedia:

    22322

    The only thing you need to add is a CAN bus transceiver like this one:

    22323

    Google...
  25. Thread: Oled i2c

    by PaulS
    Replies
    18
    Views
    402

    You are right! Paul

    You are right!

    Paul
  26. Thread: Oled i2c

    by PaulS
    Replies
    18
    Views
    402

    Looks like 10K pullup resistors are present [R1 &...

    Looks like 10K pullup resistors are present [R1 & R2].

    Paul
  27. Thread: Oled i2c

    by PaulS
    Replies
    18
    Views
    402

    I wouldn't be surprised if Michal's OLED came...

    I wouldn't be surprised if Michal's OLED came with pullup resistors mounted. Can't tell from the datasheet though.
    My OLED has 10K onboard pullups on the SDA & SCL lines.

    Paul
  28. Thread: Oled i2c

    by PaulS
    Replies
    18
    Views
    402

    By the way, the example code on that page is for...

    By the way, the example code on that page is for an SPI OLED not for an I2C OLED...

    Paul
  29. Thread: Oled i2c

    by PaulS
    Replies
    18
    Views
    402

    There could be a problem with the U8glib library...

    There could be a problem with the U8glib library on Teensy 4.0 - I get warnings while compiling.
    With the code from this page:

    // OLED displej přes I2C
    // řadič SSD1306

    // připojení knihovny...
  30. Thread: Oled i2c

    by PaulS
    Replies
    18
    Views
    402

    Datasheet is clear. You need to connect SCK...

    Datasheet is clear. You need to connect SCK [a.k.a. SCL] of the display to pin 19 and SDA to pin 18.
    Just to check: what do you mean by "it is problem"? No image? Or corrupted image or...? Do you...
  31. Thread: Oled i2c

    by PaulS
    Replies
    18
    Views
    402

    SCK == SCL , SClocK or SCLock. But what OLED...

    SCK == SCL , SClocK or SCLock.
    But what OLED display are you using exactly? We need details to help you...

    Paul
  32. Thread: Oled i2c

    by PaulS
    Replies
    18
    Views
    402

    Hi Frohr, The forum encourages you to "post the...

    Hi Frohr,
    The forum encourages you to "post the complete source code & details to reproduce any issue!" [see top of this page]
    This normally helps a lot.
    With reference to your question: if you're...
  33. Replies
    3
    Views
    132

    Yeah, ran into the same error when wanting to...

    Yeah, ran into the same error when wanting to output formatted data using Serial.printf.
    Just use printf instead of Serial.printf, like Kurt suggested.

    Paul
  34. Here...

    Here is another related thread.
    Paul
  35. Replies
    16
    Views
    450

    Yes, that is exactly what I wanted to advice you!...

    Yes, that is exactly what I wanted to advice you!
    Start with a 2-node setup [2 Teensy's + 2 NRF24 modules] and make that work satisfactorily. No other peripherals attached. The nRF24 GettingStarted...
  36. Replies
    16
    Views
    450

    Hi Marco, You may have been using fake nRF24...

    Hi Marco,
    You may have been using fake nRF24 modules that caused the problems you described.
    For what's it worth, I have been using these modules from Robotdyn in several projects without any...
  37. Replies
    1
    Views
    159

    You can safely connect the 3V3 pins externally as...

    You can safely connect the 3V3 pins externally as they are connected internally on the Teensy 3.2. See the T32 schematic below:

    22149

    Paul
  38. Replies
    16
    Views
    450

    What is generating this line in the serial...

    What is generating this line in the serial output: "SPI Speedz = 10 Mhz" ?

    Anyway, I would really urge you to start even more basic and that is use the example in the tutorial first. So, only...
  39. Replies
    16
    Views
    450

    Do you have your setup layed out on a breadboard?...

    Do you have your setup layed out on a breadboard? If so, could you move the CE & CSN signal to pin 7 & 8 and change your code accordingly?
    Perhaps the regular CS pins of the SPI bus on pins 9 & 10...
  40. Replies
    16
    Views
    450

    Perhaps the NRF24L01+ Breakout Board is causing...

    Perhaps the NRF24L01+ Breakout Board is causing the issue? I assume it's a level shifter and a 5>3V3 regulator?
    What if you delete the breakout board and connect the nRF24 module directly to the...
  41. Replies
    16
    Views
    450

    The modules with the external antenna do have an...

    The modules with the external antenna do have an additional Power Amplifier & a Low-Noise Amplifier onboard. That definitely means that they use more power. Maybe that is a problem in your setup?
  42. Replies
    16
    Views
    450

    Mind you, there are quite a lot of fake nRF24L01...

    Mind you, there are quite a lot of fake nRF24L01 modules out there which may cause problems.
    More info here.

    Paul
  43. Replies
    16
    Views
    450

    Hi, If you are running into problems using the...

    Hi,
    If you are running into problems using the nRF24 modules in your "master" setup, it's best to focus on these modules alone and remove all the other electronics temporarily to make sure your...
  44. Replies
    13
    Views
    377

    Going through the FlexCAN library source code, I...

    Going through the FlexCAN library source code, I found another way to set the extended frame bit for all RX mailboxes.
    Here is my CAN-monitor program for reference. The relevant code is in red.

    ...
  45. Replies
    17
    Views
    795

    Thanks Manitou and Duff! LC waking up on...

    Thanks Manitou and Duff!
    LC waking up on grounding pin 6 is working fine with the updated sketch...
  46. Replies
    13
    Views
    377

    It works!

    Thank you very much! I wouldn't have figured this out myself by reading the README.md page...
    Here is the output Serial.print(msg.id);]:

    21994

    Thanks again,
    Paul
  47. Replies
    13
    Views
    377

    Thanks for trying. Paul Stoffregen added a...

    Thanks for trying. Paul Stoffregen added a digitalToggle function in Teensyduino version 1.53.

    I copied your code, compiled and uploaded it, but the serial monitor only outputs CAN Receiver...
  48. Replies
    13
    Views
    377

    Yes, there is - 120 Ω. I have the feeling that...

    Yes, there is - 120 Ω.
    I have the feeling that is not hardware related though. The FlexCAN library correctly acknowledges the frame. It's just the content that is not showing in the serial monitor....
  49. Replies
    13
    Views
    377

    So I changed the code to: void loop() { if...

    So I changed the code to:

    void loop() {
    if (Can0.read(msg)) {
    digitalToggle(LED_BUILTIN);
    Serial.print("Receiving: ");
    for (int i = 0; i < msg.len; i++) {
    ...
  50. Replies
    13
    Views
    377

    Hi Sukkin, thanks for your help. I connected the...

    Hi Sukkin, thanks for your help.
    I connected the TX line as well, but unfortunately I'm still not getting data on the serial monitor.
    However, I did see the Teensy transmit a dominant level in the...
Results 1 to 50 of 331
Page 1 of 7 1 2 3 4