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

Search:

Type: Posts; User: skpang

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    59

    You don't need a voltage divider on the CAN_TX...

    You don't need a voltage divider on the CAN_TX line because the signal is coming from the Teensy. What resistor value did you used ? Post a photo of the setup.
  2. Replies
    5
    Views
    59

    How did you check the pins on the Teensy 3.6 are...

    How did you check the pins on the Teensy 3.6 are still ok ? The CANH and CANL doesn't connect to the T3.6.

    You can try and add a voltage divider from CAN_RX (CRX pin) to the T3.6 but damage might...
  3. Replies
    5
    Views
    59

    The Teensy 3.6 is not 5v input tolerant. The way...

    The Teensy 3.6 is not 5v input tolerant. The way you have connected the MCP2551 to the 5v supply and the logic out to the T3.6 is 5v. You might have damaged the T3.6.

    You also need a 120R...
  4. Replies
    10
    Views
    247

    I'm not talking about whether the pixel are...

    I'm not talking about whether the pixel are square or round. I've used some large LCD, when I draw a circle, its not 100% round. It's an oval shape.
  5. Replies
    10
    Views
    247

    I see the 10.1" display has a dot pitch of...

    I see the 10.1" display has a dot pitch of 0.2175(W)x0.2088(H)mm. Do you have any problem drawing a circle ? Does it look round ?

    I had loads of problems with non square pixels trying to draw...
  6. Replies
    102
    Views
    5,863

    Wow the 1170 is a huge chip. 289 pin BGA. 3 x CAN...

    Wow the 1170 is a huge chip. 289 pin BGA. 3 x CAN FD. Routing would be a challenge.

    Would this be called Teensy 5.0 ?
  7. Replies
    86
    Views
    4,477

    You can use SMD connector like this one:...

    You can use SMD connector like this one:
    https://www.digikey.co.uk/product-detail/en/0015910100/WM17459-ND

    Soldering the connector on can be quite tricky.
  8. My .02 Keep it simple. Make the T4 in T3.6...

    My .02

    Keep it simple. Make the T4 in T3.6 format. Have a uSD holder and bring D24 to D33 to the through holes.
  9. Having only one row on each side means you can...

    Having only one row on each side means you can plug into a breadboard. Two rows you can't.
  10. Replies
    16
    Views
    181

    You can use this one:...

    You can use this one:
    http://skpang.co.uk/catalog/canbus-breakout-board-33v-teensy-31-compatible-p-1396.html
  11. Replies
    16
    Views
    181

    Teensy 3.2 ECU reader project via the OBDII port:...

    Teensy 3.2 ECU reader project via the OBDII port:
    https://www.youtube.com/watch?v=hlEDgPzolJg&t=18s

    Source code:
    https://github.com/skpang/Teensy_CAN-Bus_ECU_reader
  12. Replies
    16
    Views
    181

    If you want to connect the Teensy to the CAN-bus...

    If you want to connect the Teensy to the CAN-bus then you would need a transceiver IC.

    There are many tutorials on Youtube.

    Try this one:
    https://www.youtube.com/watch?v=ledYMrZRuL8
  13. Replies
    15
    Views
    556

    You can also get 7" LCD with SPI but be careful...

    You can also get 7" LCD with SPI but be careful with them. Some of them the pixel is not square. That means drawing circle does not look like a circle on screen. Square is not square !!

    18168
  14. Replies
    15
    Views
    556

    You can get 5" LCD with SPI. ...

    You can get 5" LCD with SPI.

    https://www.buydisplay.com/default/5-inch-tft-lcd-module-800x480-display-controller-i2c-serial-spi

    There is a driver for Teensy by sumoty:
    ...
  15. Replies
    86
    Views
    4,477

    CAN FD is on CRX3 (pin 30) and CTX3 (pin 31)...

    CAN FD is on CRX3 (pin 30) and CTX3 (pin 31) only.

    You can't use pin 13 and 22 for CAN FD.
  16. Thanks for the code mjs513. It almost work. I...

    Thanks for the code mjs513.

    It almost work. I can get a good image on the PC but on the LCD the image looks corrupted. I think some setting is not quite right.

    18145
  17. Any example code for Teensy 4.0 with ArduCAM Mini to drive an ILI9341 LCD ?

    I've got an ArduCAM Mini OV2640 working with Teensy 4.0 thanks to mjs513

    https://github.com/mjs513/WIP/tree/master/ArduCAM_t4

    It can connect to a PC host and capture images.

    Is there any...
  18. Help needed with RA8875 LCD on Teensy 3.6

    I'm using a 5" RA8875 LCD with a Teensy 3.6.

    The driver I'm using is the one from Sumotoy v0.70

    I'm trying to display a bitmap image but it looks like something is corrupted.

    I followed the...
  19. Replies
    3
    Views
    240

    For CAN FD you need to use CRX3 and CTX4. That...

    For CAN FD you need to use CRX3 and CTX4. That is the pins on the back side of the Teensy board.

    CRX1/CTX1 or CRX2/CTX2 is CAN2.0B not FD.

    You would need two 120R terminating resistors in your...
  20. I would use a scope and check the 5v supply on...

    I would use a scope and check the 5v supply on the USB to the Teensy. Check if it drops below 5v when you energise the solenoid.

    Also the depends on the size of the solenoid, your SSR might not be...
  21. Replies
    10
    Views
    319

    45W is high power. You would need good shielding...

    45W is high power. You would need good shielding everywhere !!
  22. Replies
    10
    Views
    319

    What is the RF power output of the radio ? Can...

    What is the RF power output of the radio ?

    Can you post a photo of the setup.
  23. Replies
    7
    Views
    314

    msg use in transmit function. rxmsg use in...

    msg use in transmit function.

    rxmsg use in receive function.
  24. Replies
    86
    Views
    4,477

    On short cable run, it is working at...

    On short cable run, it is working at 1000/8000kbps is well.

    17754
    17755
  25. Replies
    2
    Views
    134

    Yes, a 3.6 size Teensy 4 with uSD holder would be...

    Yes, a 3.6 size Teensy 4 with uSD holder would be great. Adding an uSD holder to the current Teensy 4 is a real pain.
  26. Use a scope and check the signals. You should...

    Use a scope and check the signals.

    You should see data on CAN_L and CAN_H.

    On the Teensy side you should see data on the CAN Rx pin.
  27. Have you got a 120R terminator on both end ?

    Have you got a 120R terminator on both end ?
  28. Replies
    167
    Views
    63,623

    No, Teensy 3.6 only has Classic CAN, which the...

    No, Teensy 3.6 only has Classic CAN, which the max rate is 1mbps.

    If you want 2mbps then you need CAN FD.
  29. Replies
    86
    Views
    4,477

    Ok, removing the comment and recompile got past...

    Ok, removing the comment and recompile got past the FD.begin().

    I can see data on the CTX3 line but can't work out what bit rate it is. From a scope I see the arbitration bit rate is 1us and data...
  30. Replies
    86
    Views
    4,477

    Adding #define PRINT_DEBUG_STUFF Didn't...

    Adding

    #define PRINT_DEBUG_STUFF

    Didn't work for me. It still doesn't get past FD.begin() but I'm using 1.47
  31. Replies
    86
    Views
    4,477

    I'm trying your beta_sample example but couldn't...

    I'm trying your beta_sample example but couldn't get past FD.begin();


    void setup(void) {
    Serial.begin(115200); delay(1000);
    pinMode(6, OUTPUT); digitalWrite(6, LOW);

    ...
  32. Replies
    86
    Views
    4,477

    Hi tonton81, that is great news. Any chance...

    Hi tonton81, that is great news.

    Any chance of trying your library ?
  33. Replies
    86
    Views
    4,477

    @mjs513 I can confirm can1 and can2 works with...

    @mjs513

    I can confirm can1 and can2 works with your sketch.

    I then changed can1 to can3 that also works on pin CRX3 and CTX3.

    I want to try can3 on CAN FD now.
  34. Here is a video of me changing Blinky delay to...

    Here is a video of me changing Blinky delay to 100.


    https://youtu.be/bOC5cXjH2-Q
  35. Just updated the Arduino IDE to 1.8.9 but still...

    Just updated the Arduino IDE to 1.8.9 but still the same problem after a sketch upload. It won't auto reboot.

    Anyone else seeing this problem ?
  36. Teensy 4.0 does not auto reboot after sketch upload

    I'm using the beta test software 1.47-beta6 with Arduino 1.8.7 on macOS 10.14.6

    When I compiled the Blinky sketch and it uploads to T4 ok, but it does not do auto reboot like the T3.2. I have to...
  37. Replies
    4,361
    Views
    482,511

    The Teensy 4 is similar price to Teensy 3.2 ...

    The Teensy 4 is similar price to Teensy 3.2

    What will happen to Teensy 3.2 ?
  38. Replies
    4,361
    Views
    482,511

    Oh, that is going to be a pain to get access to....

    Oh, that is going to be a pain to get access to.

    What is the best way to access to those pins when designing a board for T4 ?
  39. Replies
    4,361
    Views
    482,511

    Which port is the CAN FD ? Hope is not on the...

    Which port is the CAN FD ? Hope is not on the back side. Can't tell from the pinout card.
  40. Replies
    6
    Views
    552

    Also RTR has been removed in the CAN FD spec.

    Also RTR has been removed in the CAN FD spec.
  41. Your board has two green connectors. One marked...

    Your board has two green connectors. One marked CAN FD which is connected to the MCP2517FD controller then to the teensy via SPI.

    The other green connector which you have wired up is connected to...
  42. To read the message: void loop() { ...

    To read the message:



    void loop() {


    msg.len = 8;
    msg.id = 0x7DF;
    msg.buf[0] = can_msg_count++;
  43. From the photo, you are using the Teensy CAN....

    From the photo, you are using the Teensy CAN. You cannot use the MCP2517FD driver.

    Just use the FlexCAN driver.



    #include <FlexCAN.h>

    uint32_t can_msg_count = 0;
    CAN_message_t...
  44. Can you clarify your setup. Are you using the...

    Can you clarify your setup.

    Are you using the CAN on board the Teensy3.6 ?
  45. Thread: LIN bus

    by skpang
    Replies
    5
    Views
    866

    Try this: ...

    Try this:

    https://github.com/skpang/Teensy32_LIN-bus_master_send_demo

    https://github.com/skpang/Teensy32_LIN-bus_master_request_demo

    https://github.com/skpang/Teensy32_LIN-bus_slave_demo
  46. Replies
    17
    Views
    720

    Have you closed the terminator jumper on the...

    Have you closed the terminator jumper on the Waveshare board ? Try that.

    You might also need to do something similar on the motor controller side if it hasn't got a terminator.

    A CAN network...
  47. More useful to others, as in people by making a...

    More useful to others, as in people by making a class in a library.
  48. Calling attachInterrupt() inside a C++ class

    I'm trying to write a C++ class which a attachInterrupt() is called but it won't compile and giving me an error message of :
    ...
  49. Replies
    4
    Views
    284

    Yes, best to connect the 3k3 resistor to 3.3v...

    Yes, best to connect the 3k3 resistor to 3.3v instead.
  50. Replies
    4
    Views
    284

    You need attached a diode to the Tx pin like...

    You need attached a diode to the Tx pin like this:

    15707

    More info at:
    https://www.mikrocontroller.net/attachment/28831/siemens_AP2921.pdf
Results 1 to 50 of 80
Page 1 of 2 1 2