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

Search:

Type: Posts; User: jimmie

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Good Afternoon @shawn I used the code below...

    Good Afternoon @shawn

    I used the code below both for QNEThernet and NativeEthernet. The times in ms are as below:

    ------------------------------------------
    QNEthernet...
  2. @shawn. Thanks will try it. To answer the...

    @shawn. Thanks will try it.

    To answer the delay question, with QNEthernet, it took about 850 ms to turn all 4 relays off.
  3. I made the changes below but the speed is still...

    I made the changes below but the speed is still the same:


    void EthernetClient::stop() {
    if (conn_ == nullptr) {
    return;
    }

    const auto &state = conn_->state;
    if (state ==...
  4. Thank you @shawn and @vjmuzik. I will remove...

    Thank you @shawn and @vjmuzik.

    I will remove the loop tomorrow and report.

    Also, to answer your question, with QNEthernet, I never got an IP of 0.0.0.0 but then this only happened a few times...
  5. Thank you very much Shawn. I have learnt a lot...

    Thank you very much Shawn. I have learnt a lot from you.

    If I may add a quick note:

    The relay code above takes the same time as before (it is not faster). With the NativeEthernet library,...
  6. Thank you very much Shawn. You have gone beyond...

    Thank you very much Shawn. You have gone beyond the call and I really appreciate it. I used your code and it works.

    IMHO, this is the single most important library needed to exploit the benefits...
  7. Thank you Shawn. I have tried using writeFully...

    Thank you Shawn.

    I have tried using writeFully per your earlier recommendations but I must have the format incorrectly.

    Can you please show me how to use writeFully for the statements below:
    ...
  8. Shawn: I have done some more checking and now...

    Shawn:

    I have done some more checking and now I am sure there is something wrong in the QNEthernet's library handling of:



    webClient.println

    When I took out sections from the code I...
  9. Thank you Shawn. While the issue below may not...

    Thank you Shawn.

    While the issue below may not related, it has to do with the Ethernet connection. It also uses the println command.

    I have a networked relay that has 4 relays. With the...
  10. Thank you Shawn. The program is too long but I...

    Thank you Shawn. The program is too long but I have attached the webserver module. I hope it helps.

    I have also attached how the page looks like when it is properly rendered vs. now.
  11. QNEthernet Library - EthernetClient misbehaving

    I was using the NativeEthernet library and had some intermittent issues with it and the community recommended I use the QNEthernet library instead.

    I changed my code to use the QNEthernet library...
  12. Thank you vjmuzik. This problem has been really...

    Thank you vjmuzik. This problem has been really demoralizing to me.

    DHCP should not be involved because I am using a Static IP. So I am really puzzeled as to why it is getting a 0.0.0.0 IP.

    I...
  13. Thank you TeensyWolf. Please tell me the...

    Thank you TeensyWolf. Please tell me the differences between them?
  14. Serious Issue: IP = 0.0.0.0 Teensy 4.1 Native Ethernet Library

    I have a Teensy 4.1 sketch which uses the NativeEternet library. I am using the latest versions of TeensyDuino and NativeEthernet.

    My program runs without ANY problems for days. The program uses...
  15. Good morning Paul, Thank you very much for...

    Good morning Paul,

    Thank you very much for your time.

    In making a smaller version of my program to send to you, I discovered a mistake in setting the array which prevented entries > 29 from...
  16. Teensy 4.1 EEPROM Limit: Cannot write more than 29 values

    I would appreciate the community's help with the EEPROM issue I am having.

    I am storing in EEPROM 33 String values. Each value is a String that is a maximum of 25 bytes. Given that the EEPROM...
  17. Teensy 4.1: Taking a snapshot from an IP camera

    Is it possible for a Teensy 4.1 to take Snapshot image from an IP camera?

    In my application, I am not interested in streaming live video, rather I only want to take single snapshots. The...
  18. Replies
    24
    Views
    1,521

    True, there can be large variations due to...

    True, there can be large variations due to day/night and thunderstorms.

    The application is in an urban environment. Summer thunderstorms do lead to a rapid reduction in temperature of about 15C...
  19. Replies
    65
    Views
    22,665

    Thank you MarkT. Yes, you are correct that...

    Thank you MarkT.

    Yes, you are correct that they come with an adhesive. Reviews though indicate that cheap adhesives tend to lose their grip over time. Also, my Teensy is not flat, it is placed...
  20. Replies
    24
    Views
    1,521

    Thank you MarkT. Yes, I meant Fahrenheit and...

    Thank you MarkT.

    Yes, I meant Fahrenheit and should have appended the measurement unit to the title.

    I am less concerned about thermal cycling because the application runs 24/7 and the...
  21. Replies
    24
    Views
    1,521

    Yes, you make good points. It may have to be a...

    Yes, you make good points. It may have to be a combination of an enclosure fan, and a processor heatsink.
  22. Replies
    65
    Views
    22,665

    Any recommendations for a heatsink for the Teensy...

    Any recommendations for a heatsink for the Teensy 4.1?

    How does one attach it to the micro? I am wary of double sided tape because my teensy in placed vertically where, with time, the heat sink...
  23. Replies
    24
    Views
    1,521

    I agree, a plastic enclosure is better but it is...

    I agree, a plastic enclosure is better but it is what was called for so I have no control.

    I will change the frequency and maybe also add a heat sink. Any recommendations for a specific heat...
  24. Replies
    24
    Views
    1,521

    The T_4.1 is the primary hear source. There are...

    The T_4.1 is the primary hear source. There are a couple of other sensors but their impact should be very small.

    I can try to lower the frequency to 528 and evaluate its impact and will read into...
  25. Replies
    24
    Views
    1,521

    Teensy 4.1: CPU Temperature 167 degrees

    I have a Teensy 4.1 that is placed in a metallic enclosure outdoors.

    As expected, during daytime, the Teensy's 4.1 temperature (as measured by the temperature library) is quite high but I did not...
  26. Thank you very much for your usual prompt help. ...

    Thank you very much for your usual prompt help. Will try it.
  27. Cannot reach teensy 4.1 via Com Port after large memory sketch

    I have a sketch that has some large arrays. The size of those arrays is dependent on an integer variable that is specified at the beginning of the sketch..

    The sketch has been compiling and...
  28. Thanks Paul. I think I understand now what has...

    Thanks Paul.

    I think I understand now what has caused the problem. I am using a custom board which also has the Ethernet connection. To use that board, I desoldered the 2-row 6-pin connector to...
  29. When I touch the program button with a single...

    When I touch the program button with a single Voltmeter tip, the PC beeps.

    The voltage between Program pin and Ground is 3.3. When I press the program button, it goes to zero.
  30. Thank you for the Program pin location.

    Thank you for the Program pin location.
  31. When first connecting the board to the PC, the...

    When first connecting the board to the PC, the com port is found and the LED lights up.

    At that point, I measured a voltage under the button (Program Pin?) of 2.0 V. When I pressed the button,...
  32. Thanks Paul. Which pin is the Program pin?

    Thanks Paul.

    Which pin is the Program pin?
  33. Thank you Paul. I measured 4.89 at VIN, and...

    Thank you Paul.

    I measured 4.89 at VIN, and 3.28 on the 3.3V pin
  34. After spending 15 seconds nothing happens ,,,,

    After spending 15 seconds nothing happens ,,,,
  35. Thank you @defragster. I loaded and verified...

    Thank you @defragster.

    I loaded and verified the Blink app. I have also uploaded the verbose logs. Tried all the above but nothing helped.

    When I unplug the cable then replug it, the board is...
  36. Thank you, I tried but it does not help. The...

    Thank you, I tried but it does not help.

    The first time I plug the board in, LED lights up and computer recognizes it. When a sketch tries to be uploaded, nothing happens. Pressing the...
  37. Teensy 4.1 not responding to pressing button for sketch upload

    I have a brand new Teensy 4.1 that worked fine for a couple of days.

    Now, when I try to upload a program to it, nothing happens. When I press the programming button, the LED stops flashing and...
  38. Thanks to all.

    Thanks to all.
  39. What happens if a Teensy 4.1 is powered via Vin and USB ast the same time?

    Hello:

    What would happen if a Teensy 4.1 is powered both from Vin (5V) and USB?

    I have a custom board where the Teensy 4.1 is powered by 5V via its Vin pin. However, as the project is still in...
  40. Replies
    2
    Views
    274

    Thank you very much. It worked.

    Thank you very much. It worked.
  41. Replies
    2
    Views
    274

    Teensy 4.1 NTP Server Example

    I am trying to use the NTP example of the Teensy time library with a Teensy 4.1.

    I changed the libraries to:



    #include <TimeLib.h>
    #include <NativeEthernet.h>
    #include...
  42. Replies
    4
    Views
    377

    Thank you @tonton81. This is great news.

    Thank you @tonton81. This is great news.
  43. Replies
    4
    Views
    377

    Thank you @tonton81. If I understand you, this...

    Thank you @tonton81.

    If I understand you, this means that once the LCD which uses SPI starts, CAN1 stops working?
  44. Replies
    4
    Views
    377

    Teensy 4.1 - Using CTX1 and MOSI

    Hello:

    I have a Teensy 4.1 which is interfaced to a CAN controller via CRX1 and CTX1 (pins 23, 22).

    I need to use the Teensy41 with this SPI LCD...
  45. Replies
    13
    Views
    1,904

    Thank you very much. I appreciate it.

    Thank you very much. I appreciate it.
  46. Replies
    13
    Views
    1,904

    I am assuming like this? 24930

    I am assuming like this?

    24930
  47. THANK YOU. The problem was solved by following...

    THANK YOU.

    The problem was solved by following your advice and putting a 120 Ohm resistor on the sensor side between the CAN_H and _L lines.
  48. I am looking at the Teensy CAN board specs, and...

    I am looking at the Teensy CAN board specs, and it says it has: 120 Ohm termination resistors. Do I still need the 60 Ohm resistor on the Teensy board side?
  49. The sensor has an 8-pin plug. Two of the pins...

    The sensor has an 8-pin plug. Two of the pins are Can_H, Can_L and then Gnd. Those 3 contacts are wired into the Teensy board using 6-in wires.

    The board I am using is the SKpang board:
    ...
  50. Thank you. Just tried it but still, selecting...

    Thank you.

    Just tried it but still, selecting a CAN baudrate > 250 kbps leads to no data received on the Teensy4.1. Selecting 250kbps works.

    My code now reads:


    can1.begin();
    ...
Results 1 to 50 of 154
Page 1 of 4 1 2 3 4