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

Vesc #44

Open
JavierDebon opened this issue May 26, 2023 · 2 comments
Open

Vesc #44

JavierDebon opened this issue May 26, 2023 · 2 comments

Comments

@JavierDebon
Copy link

I am trying to make a display with arduino MEGA using the SolidGeek library but I am not getting good results. Could you tell me how to make the connections and how to do it thanks.

@SolidGeek
Copy link
Owner

You need to connect a serial port from your Arduino Mega, to the serial port on the VESC. RX goes to TX, and TX goes to RX. Remember to connect GND also. Then it should be a matter of selecting the correct Serial port, using the setSerialPort() function.

@JavierDebon
Copy link
Author

thank you very much it was my mistake I had a broken cable. Thank you.
I have another question I would like to know the independent temperature of each mosfet. In your code you do data.tempMosfet = buffer_get_get_float16(message, 10.0, &index); // 2 bytes - mc_interface_temp_fet_filtered() but I don't know which mosfet that temperature is from. could you help me?

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

2 participants