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.00 seconds.

  1. Replies
    10
    Views
    111

    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...
  2. Replies
    10
    Views
    111

    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...
  3. Replies
    10
    Views
    111

    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?
  4. Replies
    10
    Views
    111

    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
  5. Replies
    10
    Views
    111

    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...
  6. Replies
    13
    Views
    217

    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.

    ...
  7. Replies
    17
    Views
    644

    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...
  8. Replies
    13
    Views
    217

    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
  9. Replies
    13
    Views
    217

    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...
  10. Replies
    13
    Views
    217

    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....
  11. Replies
    13
    Views
    217

    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++) {
    ...
  12. Replies
    13
    Views
    217

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

    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]...
  14. Replies
    17
    Views
    644

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

    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...
  16. 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...
  17. 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.
  18. 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...
  19. Replies
    3
    Views
    269

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

    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...
  21. Replies
    3
    Views
    269

    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
  22. Replies
    5
    Views
    302

    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:
  23. Replies
    4
    Views
    206

    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...
  24. Replies
    4
    Views
    206

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

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

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

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

    Paul
  27. Replies
    15
    Views
    687

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

    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 >...
  29. Replies
    18
    Views
    693

    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
  30. Replies
    18
    Views
    693

    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...
  31. Replies
    18
    Views
    693

    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
    ...
  32. Replies
    18
    Views
    693

    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
  33. Replies
    18
    Views
    693

    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,...
  34. 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...
  35. 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...
  36. 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...
  37. 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
  38. I was about to say so :-)

    I was about to say so :-)
  39. 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...
  40. 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
  41. Those pins are adjacent on the AirLift board......

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

    Paul
  42. 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
  43. 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
  44. 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...
  45. Replies
    6
    Views
    310

    Never built such an adapter, but would this...

    Never built such an adapter, but would this kind of cable do the trick?

    Paul
  46. Yes, perhaps just desolder one of the MAX31855's...

    Yes, perhaps just desolder one of the MAX31855's and go on... :)
    Apart from a possible analog phenomenon, what still intrigues me is the fact that when you comment out the 6 'audio' lines,...
  47. I guess it's time now to borrow an oscilloscope...

    I guess it's time now to borrow an oscilloscope somewhere and check the SPI lines and DC voltages on the different parts for analog phenomena.
    Looking at the schematic again: what is the powersupply...
  48. Just checking again: "everything" means [1] both...

    Just checking again: "everything" means [1] both MAX13855's work and [2] audio input/output works?

    I guess we now have to dig into the nRF24 module and related firmware.

    Paul
  49. Replies
    18
    Views
    693

    If I see correctly on the photo, only the TX pin...

    If I see correctly on the photo, only the TX pin of the module is connected to the RX1 pin [pin 0] on the Teensy?
    What about the RX pin on the module connected to the TX1 [pin 1] on the Teensy?
    As...
  50. Replies
    18
    Views
    693

    Can you show us how your wiring is from Teensy...

    Can you show us how your wiring is from Teensy 3.2 to the uBlox module, which specific module you purchased and what specific code did not work?
    I saw that 2 pins on the uBlox module need to be set...
Results 1 to 50 of 292
Page 1 of 6 1 2 3 4