I got the ESP32RET-firmware working on the (low cost) LILYGO T-CAN485 board #941
Replies: 4 comments 7 replies
|
Hi thank you for creating this guide, for me it works for the most part, I have it conencted in savvycan with a green light however I dont see any can frames coming through, did you get any frames to appear? If so what version of savvycan were you using and do you also connect the GND of the CAN terminal to the can network GND? Do you do any other tests or checks to verify that the lilygo tcan485 is working correctly? At first I was thinking maybe the CAN transceiver is not working but pin 23 is being pulled low in the code so it should all be ok. If you still have access to the complete firmware file would you mind sharing that too just in case there is a difference that got overlooked? Thank you for your time |
|
Hi,I made a small guide here #1002 (comment) let me know if it works for you On 29 Oct 2025, at 08:29, hmeier9999 ***@***.***> wrote:
hi Nagup, Is possible to get also a zipped file of your Arduino-folder?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
|
Hi floeplala, I would like to test it with LILYGO T-CAN485 board and I don't get it running with the version to be compiled. However, a tried the precompiled version (https://www.savvycan.com/ESP32RET_Updater.zip) and is connecting properly, no issues. |
|
Thanks for the guide. Am I missing something? There is no ESP32RET.ino in the ESP32RET-Master.ZIP file that I downloaded |
Uh oh!
There was an error while loading. Please reload this page.
I got the ESP32RET firmware working on the LILYGO T-CAN485 board. This is a low cost ($12) ESP32-based board with a built-in CANbus interface, so you don't need any soldering: https://lilygo.cc/products/t-can485. No changes in the firmware are needed, all you have to do is adjust some i/o-ports since the canbus (and the led) is connected on different I/O-ports
Howto:
The board will be detected as Macchina A0, so will we go to that section:
On line 104, you should find the line: 'Logger::console("Running on Macchina A0");'
Some lines below that, in the same section, edit these two lines to set the correct port for the (probably) speed mode:
Then set the correct ports for the canbus by editing this line:
Visit https://github.com/collin80/esp32_can and click on the green 'Code'-button and choose 'Download ZIP' in the submenu
Visit https://github.com/collin80/can_common and click on the green 'Code'-button and choose 'Download ZIP' in the submenu
Visit https://github.com/collin80/esp32_mcp2517fd and click on the green 'Code'-button and choose 'Download ZIP' in the submenu
Extract all the zip-files, remove the 'master'-suffix, and move the content to the libraries-folder. In the end your directory structure should look like this:
If the compilings succeeds and the uploading is finished, the built-in led of the board will turn green.
All reactions