-
Notifications
You must be signed in to change notification settings - Fork 91
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
Raspberry Pi instead of Arduino? #16
Comments
Really comm to the Tesla BMB boards is TTL serial at 5V. So, if you can connect the RPi over serial you should be set. The baud rate is quite odd but one has to presume that the RPi can generate it. There are other pins that have fault signals and such but what the BMB needs to work is power and serial. The other pins you can ignore if you want. Or, you can connect them, they're on/off digital signals. |
FWIW, I'm running a Raspberry Pi talking to the battery modules BMS boards over a serial port (on my electrified boat). My Javascript (node.js) code is here: https://github.com/pilotniq/MJoulnir/tree/main/RaspberryPi/software/bms |
@pilotniq thanks for sharing, I will look into your code, I was thinking about making "Node Red" on a raspberry pi to talk to Tesla BMS, That can open many possibilities like notification via MQTT, integration with node red web user interface to show battery state on web widgets, logging battery data on a database like InfluxDB, then visualizing that data via Grafana, etc. Last time I checked there is a CAN addon for Node Red. |
What does it take to run this code on a Raspberry Pi instead of Arduino? Raspberry Pi runs off 5v DC and also has IO pins with 5v DC which seems to be the same voltage that the Tesla BMS is using.
The text was updated successfully, but these errors were encountered: