Open filzek opened 1 year ago
I'd love to see that as well, in particular because I would want to derive an own adapter with some additional goodies to make it work with BMW ENET and CAN FD (which many automakers seem to have settled on)… that said, perhaps @meatpiHQ is interested in a collaboration? I have an alpha release firmware ready (with WiCAN support, btw.) with a custom protocol that transfers data via L2CAP. That way I'm >= 50% faster than an ELM327-based device for ECU reflashing.
I haven't had a chance to clean up the schematics yet, been swamped with projects.
Here's the ESP32-C3 used GPIO's,
CAN RX -> GPIO3 CAN TX -> GPIO0 VBAT ADC -> GPIO4 Blue LED -> GPIO7 Green LED -> GPIO8 Yellow LED -> GPIO9 CAN transceiver Standby -> GPIO6
@mickeyl I'm always happy to collaborate, you can contact me https://www.meatpi.com/contact if you like.
in particular because I would want to derive an own adapter with some additional goodies to make it work with BMW ENET and CAN FD
Sounds cool. Is CAN FD being widely used in new cars? I have an unfinished design for CAN FD adapter, it was never released because I did not think it would be very popular, and the CAN FD controller chip was out of stock.
@meatpiHQ Yes, according to my partners, many "mid to upper class" vendors are in the process of migrating, hence it would be more future-proof to switch to an MCP2518FD or something along the lines. I can't see Espressif coming up with a more modern TWAI-controller in the near future.
Right now I'm fighting with adding a W5500 via SPI to realize the ENET/WiFi forwarder necessary for BMW and some other vendors. The "fun" thing is… for some operations, we will need both CAN and ENET to work with certain transmission control units. In order to make this seamless for the customer, the adapter needs to do both in parallel (that's why I also have a custom L2CAP protocol to free the WiFi for the other task).
As I mentioned over discord, I'd also love to have access to those schematics and pcb layout to figure out if there's a 120R on board before I dive into reversing it and adding one myself :-S
@brainstorm on WiCAN-OBD there's no 120R termination resistor. Usually if you're plugging in a car you won't need the termination resistor the bus is already terminated.
WiCAN-USB has an optional termination resistor.
Yeah, I'm not connecting it to a car today... not a typical user setup:
I wanted the schematics layout to avoid doing an inelegant bodge between CAN_L/CAN_H OBD connector I'll later regret X"D... I thought perhaps there was a more convenient location to put a switch/jumper on the board instead...
So, is it possible to have the schematics or shall I reverse & DIY?
For instance, there's a few of unpopulated pads near the CAN transceiver:
I'll pull the datasheet for that SOP8 and figure out how it's connected but I'd rather save that effort to do my project 😀
@brainstorm should be easy to do. All you need is to solder your jumper and resistor on the obd2 connector pin 6 and 14. I'll send you a photo of a modified board later tonight.
@brainstorm should be easy to do. All you need is to solder your jumper and resistor on the obd2 connector pin 6 and 14. I'll send you a photo of a modified board later tonight.
Sure, I figured it out as well, just wanted to encourage you to release the schematics, but my plan clearly failed. Nice choice of a transceiver IC, btw, I've only used the TJA1040 types ;)
@brainstorm it's not encouragement I need just more time :). The schematics needs a clean up, some parts doesn't have any values in the schematics.. resistors not marked as DNP and stuff like that. Embarrassing really :)
Hi,
It's possible to share hardware pcb and schematics, bom list.
So we can learn from and also improve it?