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
    3
    Views
    142

    Yes, a preview of the layout would be nice.

    Yes, a preview of the layout would be nice.
  2. Replies
    1
    Views
    59

    Don't think anyone has written a CANopen stack...

    Don't think anyone has written a CANopen stack for Teensy.

    The nearest CANopen I've found is for the mbed module. You might be able to port that to the Teensy....
  3. Replies
    16
    Views
    243

    Try this code:...

    Try this code:
    https://github.com/skpang/Teensy_CAN-Bus_ECU_reader




    https://www.youtube.com/watch?time_continue=1&v=hlEDgPzolJg&feature=emb_logo
  4. Replies
    78
    Views
    6,113

    Which one is best to use on Teensy 4.0 ?...

    Which one is best to use on Teensy 4.0 ? Circuitpython or Micropython ?
  5. Replies
    164
    Views
    9,807

    I can't see any screenshoots. Is there anyway...

    I can't see any screenshoots.

    Is there anyway to get a pre-build version ? I don't have Visual studio or Visual C++ installed. In fact, I'm using a Mac.
  6. Replies
    164
    Views
    9,807

    Looks interesting. Does the install run on a...

    Looks interesting. Does the install run on a PC,Mac or Linux ? What about when running the example ?
  7. Replies
    14
    Views
    248

    Try and set a higher sampling rate on your Saleae.

    Try and set a higher sampling rate on your Saleae.
  8. Wow ST7735_t3 works without changing anything. I...

    Wow ST7735_t3 works without changing anything. I see the SPI clock is at 24MHz and it works. Not sure why I used Adafruit's one in the first place.

    Many thanks.
  9. How to slow down SPI clock for Adafruit-ST7735 library ?

    I'm trying to use Adafruit 240x240 TFT LCD https://www.adafruit.com/product/3787

    With their library
    https://github.com/adafruit/Adafruit-ST7735-Library...
  10. Replies
    78
    Views
    6,113

    @tannewt is there any CAN and CAN FD support on...

    @tannewt is there any CAN and CAN FD support on CircuitPython ?
  11. Replies
    37
    Views
    2,182

    Works fine on MacOS Catalina with Teensy 3.2,...

    Works fine on MacOS Catalina with Teensy 3.2, 3.6, 4.0
  12. Replies
    2
    Views
    107

    Could be a power up problem. How are you powering...

    Could be a power up problem. How are you powering the T3.2 and the CAN transceiver ?

    Post the schematic and some photos of the setup.
  13. Replies
    53
    Views
    2,302

    Teensy 4.0 vs PORTENTA H7

    Arduino has just announced the PORTENTA H7

    https://store.arduino.cc/portenta-h7

    Not quite a fair comparison to the Teensy 4.0 but it has some pretty impressive features.

    Interesting it has...
  14. Replies
    3
    Views
    140

    Just tried Sumotoy's font conversion tutorial. It...

    Just tried Sumotoy's font conversion tutorial. It works !!!

    Initially the converter software only listed the Arial font. I didn't really want to use that font because I believe it is copy righted....
  15. Replies
    3
    Views
    140

    Any decent fonts for RA8875 display ?

    I'm using Sumotoy's RA8875 driver on a Teensy 4.0

    The display and driver works but I found the font is a bit strange.

    The aerial_22 and aerial_48 font doesn't look like Arial font and aerial_48...
  16. Replies
    164
    Views
    9,807

    From what I can see on the photo the wiring still...

    From what I can see on the photo the wiring still doesn't look right. On the 5v rail on the breadboard there is a cap connected to it but it does not look like it is connected to the transceiver....
  17. Replies
    164
    Views
    9,807

    Don't think you have wired the transceiver up...

    Don't think you have wired the transceiver up correctly. There is a separate supply for Vio (pin 5), you need to connect to this the 3.3v supply but it looks like you have connected to the 5v supply....
  18. Thread: CanBUS joystick

    by skpang
    Replies
    4
    Views
    194

    How much does the joystick cost ? They look...

    How much does the joystick cost ? They look expensive.
  19. Replies
    5
    Views
    167

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

    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...
  21. Replies
    5
    Views
    167

    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...
  22. Replies
    10
    Views
    476

    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.
  23. Replies
    10
    Views
    476

    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...
  24. Replies
    136
    Views
    10,403

    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 ?
  25. Replies
    164
    Views
    9,807

    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.
  26. 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.
  27. 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.
  28. Replies
    16
    Views
    342

    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
  29. Replies
    16
    Views
    342

    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
  30. Replies
    16
    Views
    342

    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
  31. Replies
    25
    Views
    1,073

    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
  32. Replies
    25
    Views
    1,073

    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:
    ...
  33. Replies
    164
    Views
    9,807

    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.
  34. 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
  35. 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...
  36. Replies
    0
    Views
    144

    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...
  37. Replies
    3
    Views
    387

    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...
  38. 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...
  39. Replies
    10
    Views
    456

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

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

    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.
  41. Replies
    7
    Views
    462

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

    msg use in transmit function.

    rxmsg use in receive function.
  42. Replies
    164
    Views
    9,807

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

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

    17754
    17755
  43. Replies
    2
    Views
    158

    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.
  44. 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.
  45. Have you got a 120R terminator on both end ?

    Have you got a 120R terminator on both end ?
  46. Replies
    167
    Views
    65,859

    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.
  47. Replies
    164
    Views
    9,807

    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...
  48. Replies
    164
    Views
    9,807

    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
  49. Replies
    164
    Views
    9,807

    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);

    ...
  50. Replies
    164
    Views
    9,807

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

    Hi tonton81, that is great news.

    Any chance of trying your library ?
Results 1 to 50 of 98
Page 1 of 2 1 2