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

Search:

Type: Posts; User: jimmie

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. 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?
  2. 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:
    ...
  3. 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();
    ...
  4. Thank you tonton81 for responding to my question...

    Thank you tonton81 for responding to my question and for your time and effort in making the library.

    I configured the sensor for 500 kbps then used the following code


    can1.begin();
    ...
  5. Teensy 4.1 CAN max baud rate using FlexCAN_T4

    This is my first ever project using the CAN bus. I am interfacing a CAN sensor to a Teensy 4.1 and the FlexCAN_T4 library.

    That sensor can be configured with CAN baudrates of up to 1000 kbps. In...
  6. Thank you defragster. I am using Teensyduino...

    Thank you defragster.

    I am using Teensyduino 1.53 with this library:

    https://github.com/tonton81/WDT_T4

    I am happy to try any other library but the one above seems to work well.
  7. Using a Teensy 4.1 with a remote relay (100 feet away)

    I have a Teensy 4.1 and I want to control a relay which is connected to a low voltage load.

    The relay requires a 5V signal and it is located over 100 feet away from the Teensy.

    I would...
  8. Teensy 4.1 & Teensy 4.0 : Different Behavior with the Watchdog library

    I am running the same code on a Teensy 4.0 and a Teensy 4.1. The timings on the Teensy 4.0 are below and they work flawlessly.


    ...
  9. Hi KDORC, Thank you. I am baffled as to what...

    Hi KDORC,

    Thank you. I am baffled as to what may be causing this ....
  10. I read somewhere that the SD card needs to be...

    I read somewhere that the SD card needs to be started AFTER the network.

    Could this be the problem?
  11. Teensy 4.1 with Ethernet Kit: Sometimes link light not flashing --> no ethernet

    I am using a Teensy 4.1 with the NativeEthernet library and everything is working well except that sometimes when I connect the board to power via USB, the flashing link light on the Ethernet kit...
  12. Replies
    184
    Views
    22,961

    Problem fixed. It was due to error in writing...

    Problem fixed. It was due to error in writing EEPROM. Library is fine.
  13. Replies
    184
    Views
    22,961

    Teensy 4.1: Webserver crashes on submit (using NativeEthernet library)

    I have a webserver sketch that worked fine on a Teensy 4.0, however, it is crashing on the Teensy 4.1 using the latest NativeEthernet library.

    The webserver (code attached) displays a Table and a...
  14. Thank you very much Luni, Paul and PDOS. Yes,...

    Thank you very much Luni, Paul and PDOS.

    Yes, I am using
    #define MySensorSerial Serial5.

    I have changed
    Serial5.flush() to MySensorSerial.clear() and will replace
    delayMicroseconds(1);...
  15. Thank you Paul for your detailed answer. I also...

    Thank you Paul for your detailed answer. I also learnt about how DTR and RTS work, makes sense.

    Yes, the Arduino Serial Monitor does connect.

    If at all possible, is there anyway you can take a...
  16. Thank you very much Paul. Here are all the...

    Thank you very much Paul. Here are all the answers and also my code.

    1) Windows 10
    2) Arduino 1.8.9
    3) Teensyduino 1.5.3


    Is there a way to "set" DTR or RTS lines so PC senses disconnect? ...
  17. Teensy 4.0 - PC does not reconnect after Watchdog reset

    I would appreciate the community's help with this pesky problem.

    I have a Teensy 4.0 which is connected to a serial sensor. I am not sure why yet, but the Teensy was crashing after about 30...
  18. Replies
    184
    Views
    22,961

    I will get access to the sensor on Monday and of...

    I will get access to the sensor on Monday and of course happy to try anything.

    I will change WriteBufferingStream to WriteBufferingClient and will update you.

    Thank you.
  19. Replies
    184
    Views
    22,961

    I hear you ... I got this code from the sensor...

    I hear you ...

    I got this code from the sensor vendor's website. The odd thing is that the code works PERFECTLY on a Teensy 4.0.
  20. Replies
    184
    Views
    22,961

    The sensor is a rain-detection sensor. I am not...

    The sensor is a rain-detection sensor. I am not sure why writeBuffer.available() would return 0 unless nothing gets written to the buffer as long as there is no rain and no manual polling ...
  21. Replies
    184
    Views
    22,961

    Thank you for your quick reply. I am confirming...

    Thank you for your quick reply. I am confirming that I am using the latest versions of both libraries (0.1.3m and 1.0.5) but still getting that error.

    When I comment out the "availableforwrite"...
  22. Replies
    184
    Views
    22,961

    Thank you for providing this library. Can you...

    Thank you for providing this library.

    Can you help me with this error:

    http://forum.pjrc.com/threads/64830-Teensy-4-1-Ethernet-Error-client-availableForWrite

    Thanks in advance.
  23. Replies
    1
    Views
    284

    Teensy 4.1: Ethernet Problems

    The Teensy 4.1 IMHO does not have enough Ethernet support on the forum. I hope that as it matures the community will have more help as I have yet to receive a single reply on my post below:

    ...
  24. Replies
    1
    Views
    516

    Try this one. It works on my Teensy 4.1 ...

    Try this one. It works on my Teensy 4.1

    //https://forum.arduino.cc/index.php?topic=94861.0

    Code is below:


    //https://forum.arduino.cc/index.php?topic=94861.0

    //zoomkat 1-10-11
  25. Teensy 4.1 Ethernet Error: client.availableForWrite

    Hello:

    The attached code runs without problems on my Teensy 4.0. I switched to a Teensy 4.1 primarily because of its superior Ethernet. But the same EXACT code now is not running.

    As you can...
  26. Thank you for helping. There is a lot of useful...

    Thank you for helping. There is a lot of useful info in your post which will guide me to the areas I need to concentrate on.
  27. Thank you @XFer for explaining the steps. I...

    Thank you @XFer for explaining the steps.

    I thought there are some HTTP client libraries available (https://github.com/arduino-libraries/ArduinoHttpClient), so is the bottleneck still memory? The...
  28. Thank you @maxman. Indeed it can be done with a...

    Thank you @maxman. Indeed it can be done with a wrt router or a PI but my knowledge of Linux is very basic. On the other hand, the combination of a Teensy 4.1 and the Tennsy 4.1 Ethernet board...
  29. Yes @maxman. This is exactly what I am trying to...

    Yes @maxman. This is exactly what I am trying to do ...
  30. Yes, correct. But could also be wireless.

    Yes, correct. But could also be wireless.
  31. Acquiring/Sending JPG Snapshot from IP camera using Teensy 4.1

    I am very excited to hear of the speed and memory of the Teensy 4.1

    I have been trying to do this for a while, namely take a snapshot (1920 x 1000 jpg) from an IP camera and send the image byte...
  32. THANK YOU KurtE. The SPI library you modified...

    THANK YOU KurtE.

    The SPI library you modified a few days ago solved the SD write problem. All I did was replace the old SD library and the SD card is now working without problems ALONG with the...
  33. Replies
    23
    Views
    3,344

    On the recommendation of Bill Greiman, I used the...

    On the recommendation of Bill Greiman, I used the new SPI library which KurtE modified a few days ago and that solved the problem.
  34. Replies
    23
    Views
    3,344

    Hello Bill, Thank you very much. Your help...

    Hello Bill,

    Thank you very much. Your help was IMMENSE. I also wish to thank KurtE for the change he made in the SPI library because that solved the SD write problem.

    I am happy to report...
  35. Replies
    23
    Views
    3,344

    Not meaning to put words in Bill's mouth, but my...

    Not meaning to put words in Bill's mouth, but my understanding is that the SDFat-beta is for supporting the T4.
  36. Replies
    23
    Views
    3,344

    Will do. Thank you.

    Will do. Thank you.
  37. Replies
    23
    Views
    3,344

    Thank you Bill. I will makes these changes and...

    Thank you Bill.

    I will makes these changes and try as soon as I return from my trip on Saturday.

    Both you and mjs513 have ran the SD code (but without the Ethernet hardware) without any...
  38. Replies
    23
    Views
    3,344

    Thank you @mjs513. The SPI library change is...

    Thank you @mjs513. The SPI library change is potentially great news. I will try the new library first. Can you tell me where does one download it from? The SPI library referenced in the PJRC...
  39. Replies
    23
    Views
    3,344

    Thank you very much @mjs513. I am using the...

    Thank you very much @mjs513.

    I am using the WIZ850 (not 820). I am also using Rev.2 (latest) of the SD board.

    Also, in all my testing, I have pulled pin 10 high. So it looks like there is...
  40. Hello @mjs513: Thank you for responding as...

    Hello @mjs513:

    Thank you for responding as this problem has been extremely frustrating to me. I am glad to hear that the SD card is working.

    Because my Wiznet is soldered to the SD attachment,...
  41. Hi Bill, Do not celebrate just yet! Try...

    Hi Bill,

    Do not celebrate just yet!

    Try running my code that is at the bottom of the link below. After about 60 writes, the file writing will crash.
    ...
  42. Hello @ MichaelMeissner While no solder expert...

    Hello @ MichaelMeissner

    While no solder expert :-), I suspect a software rather than a hardware issue for the problems I am having with my SD installation with the T4.

    Commenting out the i2c...
  43. I had explained it in my post. Everything is...

    I had explained it in my post. Everything is well connected and I am using PJRC's SD card along with an 85io. When both SD and Ethernet are active, the SD crashes after a few writes.

    When...
  44. Any chance this is related to my post below: ...

    Any chance this is related to my post below:

    https://forum.pjrc.com/threads/57478-Teensy-4-0-SD-Buggy-Implementation
  45. Replies
    23
    Views
    3,344

    Good Evening Paul, Any luck finding out what...

    Good Evening Paul,

    Any luck finding out what is causing the SD problems? Per your request, I cleaned the code and deleted all references to non-Teensy libraries but I am still having the same...
  46. Replies
    23
    Views
    3,344

    Hello Paul, The display is not needed. I had...

    Hello Paul,

    The display is not needed. I had not taken it out thinking that an i2c display will not affect the SPI peripherals.

    When I stripped the display code, the same problem persists. ...
  47. Sorry for the double post. A more detailed post...

    Sorry for the double post. A more detailed post can be found at:

    https://forum.pjrc.com/threads/57478-Teensy-4-0-SD-Buggy-Implementation
  48. Replies
    1
    Views
    787

    Sorry for the double post. A more detailed post...

    Sorry for the double post. A more detailed post can be found at:

    https://forum.pjrc.com/threads/57478-Teensy-4-0-SD-Buggy-Implementation
  49. Replies
    23
    Views
    3,344

    Even if you comment out the Ethernet code, the...

    Even if you comment out the Ethernet code, the problem occurs but this time after writing about 30 files ....

    With the Ethernet code, it crashes after a few files are written.
  50. Replies
    23
    Views
    3,344

    Hello Paul, I have taken out all the...

    Hello Paul,

    I have taken out all the extraneous parts of my code and was able to duplicate the problem. I have also attached the directory image and a trace showing the files being saved to the...
Results 1 to 50 of 107
Page 1 of 3 1 2 3