Hi all,
Ove the last couple of months (on and off) I've been developing a project around OBD/UDS canbus based data display for my car (MQB VW)
I started off with an Arduino Uno and an Elecfreaks Canbus shield as well as an I2c OLED display (SH1106) and later on an SPI (SSD1351) RGB OLED.
The Uno is a little slow to say the least - as I am requesting and displaying 6-10 PID's at a time and I need a high sample rate and display rate to display realtime engine data.
I decided to try out the Teensy 3.2, being that it is a lot faster than the Uno, and has built in Can capabilities.
I purchased a few TJA1050 transceivers, hooked them up to the Teensy with a 5v supply (via USB) and tried out SK Pang's OBD sketch (https://github.com/skpang/Teensy_CAN-Bus_ECU_reader) using Collin80's FlexCan library - but it was not picking up anything at 500KBs (where the Uno was).
I did a lot of research and every time it came to the 3.2 and canbus, Collin's fork of FlexCan was suggested.
I stumbled across this article (https://ironsource.com/streaming-can-bus-data-with-teensy/) and tried it out (with the TJA in place as well as without) but still - nothing in the Teensy's serial monitor.
I thought it might be a defective TJA, so I tried the other. All with the same result.
I was hoping someone could direct me to the right FlexCan library for the 3.2
Which one should be used?
Techtop
Collin80
tonton
Pawelsky
Thanks
David
Ove the last couple of months (on and off) I've been developing a project around OBD/UDS canbus based data display for my car (MQB VW)
I started off with an Arduino Uno and an Elecfreaks Canbus shield as well as an I2c OLED display (SH1106) and later on an SPI (SSD1351) RGB OLED.
The Uno is a little slow to say the least - as I am requesting and displaying 6-10 PID's at a time and I need a high sample rate and display rate to display realtime engine data.
I decided to try out the Teensy 3.2, being that it is a lot faster than the Uno, and has built in Can capabilities.
I purchased a few TJA1050 transceivers, hooked them up to the Teensy with a 5v supply (via USB) and tried out SK Pang's OBD sketch (https://github.com/skpang/Teensy_CAN-Bus_ECU_reader) using Collin80's FlexCan library - but it was not picking up anything at 500KBs (where the Uno was).
I did a lot of research and every time it came to the 3.2 and canbus, Collin's fork of FlexCan was suggested.
I stumbled across this article (https://ironsource.com/streaming-can-bus-data-with-teensy/) and tried it out (with the TJA in place as well as without) but still - nothing in the Teensy's serial monitor.
I thought it might be a defective TJA, so I tried the other. All with the same result.
I was hoping someone could direct me to the right FlexCan library for the 3.2
Which one should be used?
Techtop
Collin80
tonton
Pawelsky
Thanks
David
Last edited: