Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get Lilygo TCAN485 working on Savvycan #820

Open
nagup opened this issue Jul 27, 2024 · 2 comments
Open

How to get Lilygo TCAN485 working on Savvycan #820

nagup opened this issue Jul 27, 2024 · 2 comments

Comments

@nagup
Copy link

nagup commented Jul 27, 2024

So I saw a youtube video where a guy is trying to use a car battery as storage for solar energy. He is using the Lilygo485 board on savvycan and I am wondering how he did that. I also want to get my board to work on savvycan, the board comes blank its just a multipurpose board, not with candlelight or the other (protocols?) names you see here like LAWICEL.

Any help appreciated thanks

@DocOnGitHub
Copy link

Maybe try contacting the guy in the video, or at least share enough information for someone else to find the video and look into it.

@MotorvateDIY
Copy link

Use the recently updated version of A0RET (https://github.com/collin80/A0RET)
In the config.h set the CAN TX/RX pins for the board:

// Set CAN TX/RX pins
#define GPIO_CAN_TX GPIO_NUM_27
#define GPIO_CAN_RX GPIO_NUM_26

Also, somewhere in setup() set GPIO23 (aka CAN_SE_PIN) pin low, to enable the SN64HVD231 "high speed" mode:
pinMode(23, OUTPUT);
digitalWrite(23, LOW);

Compile and flash the project.
Connect the board to power/USB and a CAN bus.

On the PC, connect to the "ESP32SSID" wifi.
In SavvyCAN, click on Connection, Open Connection Window.
Click on Add New Device Connection, Network connection (GVRET), type in the IP address of:
192.168.4.1 and Create new connection.

You now have a CAN bus to Wifi connection feeding data into SavvyCAN.
This is how I use SavvyCAN 99% of the time. It is fast and no need for cables in the car or on the desk.

Good Luck!

Board Docs here: https://github.com/Xinyuan-LilyGO/T-CAN485

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants