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

Search:

Type: Posts; User: PaulS

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    117

    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
  2. Here...

    Here is another related thread.
    Paul
  3. Replies
    15
    Views
    316

    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...
  4. Replies
    15
    Views
    316

    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...
  5. Replies
    1
    Views
    133

    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
  6. Replies
    15
    Views
    316

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

    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...
  8. Replies
    15
    Views
    316

    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...
  9. Replies
    15
    Views
    316

    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?
  10. Replies
    15
    Views
    316

    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
  11. Replies
    15
    Views
    316

    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...
  12. Replies
    13
    Views
    260

    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.

    ...
  13. Replies
    17
    Views
    681

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

    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
  15. Replies
    13
    Views
    260

    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...
  16. Replies
    13
    Views
    260

    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....
  17. Replies
    13
    Views
    260

    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++) {
    ...
  18. Replies
    13
    Views
    260

    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...
  19. Replies
    13
    Views
    260

    Help asked for basic FlexCan use

    Been trying to read out a CAN-based touch encoder but I'm stuck at just receiving the CAN bus data.
    Here is the setup:

    21990

    Parts here: Teensy 3.2, Waveshare CAN transceiver [powered by 3V3]...
  20. Replies
    17
    Views
    681

    Hi Duff, thanks for looking into this. No need to...

    Hi Duff, thanks for looking into this. No need to hurry though.
    I'm not sure I correctly understand you when you ask "does just a simple pin wakeup work?". The sketch I mentioned above does only...
  21. Replies
    17
    Views
    681

    Also struggling to get Snooze to work on a Teensy...

    Also struggling to get Snooze to work on a Teensy LC [while Teensy 3.2 works fine for a digital pin wake up].

    Environment:

    Teensy LC
    Snooze v6.3.8 [manually installed in Arduino/Libraries...
  22. Thanks, this is very educative, learned a thing...

    Thanks, this is very educative, learned a thing or two.
    So, the Fairchild FDD3706 will qualify as a useable FET to be switch loads up to 15Vdc?
    Any other parameters that I should take into account...
  23. Hi Mark, just curious, am I overlooking something...

    Hi Mark, just curious, am I overlooking something in the datasheet? I read this

    21710

    and this

    21711

    that leads me to believe that this MOSFET is OK to be driven by a 3V3 signal reliably.
  24. Hi Gary, For driving relays, buzzers, fans,...

    Hi Gary,
    For driving relays, buzzers, fans, lamps, etc. by a Teensy I usually resort to using an IRLZ44N. Cheap and easy to get. Vgs of this MOSFET is low enough to be driven safely by a 3V3 output...
  25. Replies
    3
    Views
    270

    Yes, that's what I read as well when the Drive...

    Yes, that's what I read as well when the Drive Strength (DSE) setting is '111'. But I have no idea what the actual DSE setting is or how/where it can be set.
    I think it's defined in C:\Program Files...
  26. Replies
    7
    Views
    387

    Most WS2812/2813 LEDs indeed seem to work OK when...

    Most WS2812/2813 LEDs indeed seem to work OK when fed with a Teensy pin output voltage of 3V3.
    However, it is not guaranteed to work always.
    The spec states 0.7*Vdd for High-level Input Vih. That...
  27. Replies
    3
    Views
    270

    You need to get the latest IMXRT1060 datasheet...

    You need to get the latest IMXRT1060 datasheet from the NXP website.
    See the updated table 22 for output currents.

    Paul
  28. Replies
    5
    Views
    309

    Yes, just tried it. Here is the setup: 21484...

    Yes, just tried it.
    Here is the setup:

    21484

    Here is what I did in the Audio System Design Tool:

    21485

    Here is the code:
  29. Replies
    4
    Views
    214

    With pair I meant Bluetooth pairing. But you did...

    With pair I meant Bluetooth pairing. But you did that obviously.
    The 2 quick flashes are shown when a program connects to the HC-05 module.
    Perhaps you should try the app I used? Serial Bluetooth...
  30. Replies
    4
    Views
    214

    Hi Yehuda, Just checked your code on a Teensy...

    Hi Yehuda,
    Just checked your code on a Teensy 4.1 & HC-05 module and it is working fine.
    Teensy pin 7 connects to HC-05 pin TXD, pin 8 to pin RXD.
    Do you power the HC-05 by 3V3 like I did? And did...
  31. Replies
    15
    Views
    700

    If I'm correct then images are limited on this...

    If I'm correct then images are limited on this forum to 1280x720 pixels max.

    Paul
  32. Replies
    15
    Views
    700

    Correct, Teensy 4.0 & 4.1 do not have an onboard...

    Correct, Teensy 4.0 & 4.1 do not have an onboard DAC.

    Paul
  33. Replies
    15
    Views
    700

    Could you post your complete code? And perhaps a...

    Could you post your complete code? And perhaps a photo of your setup?

    When I compile ssd1306_128x64_i2c.ino I do not get any error... Did you install/update the Adafruit library to the latest...
  34. Replies
    15
    Views
    700

    Well, at least the display is alive because it...

    Well, at least the display is alive because it reacts to I2C. And apparently it has I2C address 0x3C.
    Did you use this I2C address in your sketch?
    In this sketch: Examples > Adafruit SSD1306 >...
  35. Replies
    18
    Views
    745

    If I see the photo correctly than CS [green wire]...

    If I see the photo correctly than CS [green wire] is connected to Teensy pin 15. That should be pin 10. Your code states const int chipSelect = 10;

    Paul
  36. Replies
    18
    Views
    745

    Good to hear the GPS module is working now. I...

    Good to hear the GPS module is working now.
    I assume that the SD card error is still Initializing SD card...initialization failed ?
    What SD card shield are you exactly using and how is it...
  37. Replies
    18
    Views
    745

    Very strange. To make sure the GPS module is...

    Very strange.
    To make sure the GPS module is working OK, I would try the setup as in the picture below and check if you can run Pete's code in message #7.
    It worked perfect in my setup.

    Paul
    ...
  38. Replies
    18
    Views
    745

    Allright. What happens if you only connect VCC &...

    Allright. What happens if you only connect VCC & GND of the GPS module, so without RX & TX wires. Does SD still fail?

    Paul
  39. Replies
    18
    Views
    745

    What does "doesn't work" exactly mean? Do you see...

    What does "doesn't work" exactly mean? Do you see "Initializing SD card..." on the serial monitor? Or do you see another message?

    If you only plug in VCC & GND of the GPS sensor and then it fails,...
  40. Huh? Now it's really becoming weird... Some...

    Huh? Now it's really becoming weird...
    Some thoughts:
    1. is there a soldering issue of pin 13?
    2. could the onboard LED on pin 13 be too much load on the SCK signal?
    3. are all the pins on Teensy...
  41. Well, this board is giving you a real fight......

    Well, this board is giving you a real fight...
    Anyway, new information is welcome. Yes, perhaps there is an issue with the PCB.
    Could you measure whether the SCK signal is shorting to other signals...
  42. After all the observations you shared, I now have...

    After all the observations you shared, I now have a feeling that the power supply of the different parts may not be 'strong' enough, meaning not having a low-impedance path to GND or 3.3V. This will...
  43. No need to apologize...as with Kurt, it happened...

    No need to apologize...as with Kurt, it happened to me as well...
    Glad it worked out in the end!
    Success with your project.

    Paul
  44. I was about to say so :-)

    I was about to say so :-)
  45. No problem as the analog sample frequency...

    No problem as the analog sample frequency [2.5MHz] is way too low to capture fast phenomena. Can you set the Saleae to a higher digital sample rate? Perhaps by ommiting analog capture?
    Also 5MHz...
  46. Hi Owen, a quick one before you post logic...

    Hi Owen, a quick one before you post logic analyzer images: could you set the analog scale of all 4 signals to 0-5V?
    Thanks,
    Paul
  47. Those pins are adjacent on the AirLift board......

    Those pins are adjacent on the AirLift board... see here. Solder short?

    Paul
  48. Hi Owen, When I look at the analog readings of...

    Hi Owen,

    When I look at the analog readings of your graph above, it seems there is a short between the MISO [ch 1] and the CLK [ch 2] line?

    Paul
  49. CS is pulled-up with a 10K resistor to Vin [5V]...

    CS is pulled-up with a 10K resistor to Vin [5V] on the AirLift board, see the schematic.
    That should be possible for the Teensy to pull low.

    Paul
  50. Asking the obvious probably but did you exactly...

    Asking the obvious probably but did you exactly wire it up as indicated on the OSC_propShield page?
    Also the code seems OK as far as I can see. I noticed though that you want to print out the MAC...
Results 1 to 50 of 298
Page 1 of 6 1 2 3 4