teslabmsv2's People
Forkers
linuxkidd elcocuijpers mikebuoy drosh relevante bry5on schubter bobdeng1974 leon413 boggybrn shwinnbin edroshify akrolick doctordhd bo-bac eroovers zhaotengqi opelpanfan tommonkeyman somersetev catphish sdagoey flodorn 8u9 twanek rkalb martiinezz repa6teslabmsv2's Issues
Cannot find Serial_CAN_Module_Teensy.h
Hello,
I wanted to compile the programm. The compiler says:
Serial_CAN_Module_Teensy.h: No such file or directory
Where can I find the library. Or do I have another problem? How can I solve this problem?
Thanks in advance
defuse53
SimpBms and Nextion Display
Hi all.
I have a setup of 16 tesla modules with SimpBms but it does not indicate when is balancing on the Nextion display, it is always showing 0, on the display, if someone could help me on that I would be grateful.
thanks
SIMP BMS damaged - looks like overheating.
I have been using the SIMP BMS with Victron CX for a number of months with the SIMP connect to the 'VE - CAN' port and a Victron terminator in the second port on the CX. Running at 500kbps with the CX set to CAN-BUS BMS on the VE CAN port. Its been working with no real issues.
I purchased and additional Victron Solar charger with VE CAN connectivity , after a bit of trial and error I set the VE-CAN port on the CX to VE-CAN & CANBUS 250kbps. I also set the speed on the Simp to match at 250kbps. This seemed to work OK and I could see both the Solar charger and SIMP on the Victron CX. An hour later the SIMP BMS goes offline and investigating it seem to have burnt out 'C13' please see attached picture. As this had been running fine for a number of month prior to the change I can only assume I have run into hardware/configuration compatibility. Hence I'm
reaching out to you for some assistance.
Thanks
Temperatur t0 prefix not shown on display
Hi Tom,
t0.txt -> +- not shown
you forgot
Serial2.write(0x22);
Serial2.write(0xff);
Serial2.write(0xff);
Serial2.write(0xff);
after
Serial2.write(0x22);
if (bms.getAvgTemperature() > 0)
{
Serial2.print("+");
}
else
{
Serial2.print("-");
}
wrong value reset in battery settings menu
If i set a value for "h" -> "j" will be reset to "0"
h - Discharge Current Taper Offset: 300mV
j - Discharge Current Temperature Derate : 40.00C
h 200
after that:
h - Discharge Current Taper Offset: 200mV
j - Discharge Current Temperature Derate : 0.00C
PreCharge stays on
Hello,
in my opinion PreCharge should be switched off after main contactors are activated.
- saves energy and wear
- prevents possible damages if main contactor fails
Thomas
Teensy 3.1 setup discussion
Hi Tom,
I am building a TeslaBMS for a boat conversion project and based a lot of my initial work from the hackaday thread that directed me to your github.
After essentially rewriting all your code in python and using it with an rpi with a sci module to talk to the modules so far, I am now considering moving towards using an arduino module (likely a teensy 3.1) to avoid having too much current draw and to mimmic your setup.
The teensy 3.1 only outputs 3.3v on its sci UART. Are you using some level shifting circuit for it to work?
Do you plan on adding a UI to monitor the balancing in production?
Thanks
Missing tesla slave bms reads
Hi, Im running an variation of your code and sometimes I get missing module reads which disconnects main contactor due to Series cell fault. Some other times, at power up, I get a series Cell fault. When I check in the debug window, it says a cell number lower than the saved pack configuration (missing reads). It comes back online after "cells present reset".
Have you seen something similar in the past?
Nextion stat.txt stuck to "boot" in ESS Mode
The stat.txt field in nextion displays never geht to "ready" in ESS Mode.
Value is stuck in "boot".
Bug: SOC Setpoint 1 -> wrong value
Wiring Diagram
Hello,
I cannot find the wiring diagram. Can you please help me?
Thanks in advance
defuse53
missing in manual
h - Discharge Current Taper Offset: 300mV
-> is not explained in manual V0.14
Bug "R" -> restart not working
Firmware Version : 190729
Pressing "R" to restart the BMS is not working. The serial connection is reseted but the device is not coming back to life.
Balancing abormality
Random variables set when updating
Tom, any consideration for an export/import of the configuration. Recent issue wrote a new value to the (I)nore option which disabled my temp readings.
Being able to export existing configuration, zero all variables, and then import after an upgrade would reduce weirdness. Otherwise itβs manually record all settings, upgrade, and manually check all settings.
"ihex: parse error line 1"
When updating the hex file, getting error TeslaBMSV2.ino.TEENSY31.hex (unreadable)
Verbose information states "ihex: parse error line 1"
Teensy Loader 1.48
TeslaBMSV2.ino.TEENSY31.hex uploaded 7 days ago
Charger input
I have put together a new battery rack for my motorhome using pre-charge, positive and negative contactors which doesn't seem to be supported by ESS mode.
How about a mode where you activate the charger input, but not the run key; where it does the standard startup process of the Negative contactor, pre-charge and then positive contactor plus equalization?
Thanks
SMA Sunny Island CAN support?
Thanks for making and sharing this great open-source BMS. I'd love to build a second life EV bat pack with a Sunny Island as basic off-grid solution. So far I could only find batrium and rec bms with support for the SI. In the .ino it says device "Victron/SMA" but I'm not sure whether that means that the SMA Sunny Island is supported or not. There are a lot of them out there, I'm sure there is more "demand" for a FOSS BMS solution working with them as it would be a very neat solution for Model S packs as seen here:
Newer Tesla modules with BMS ribbon cable connections wiring?
I am looking at adding more modules to my solar system and discovered today that the newer battery modules for the model S/W are daisy chained with a ribbon cable.
Is SimpBMS compatible with these OEM controllers?
Any idea on how to wire these modules up?
Thanks
CONFIG.H / Linux
Linux is case sensitive. compiling TeslaBMS in arduino studio fails because of #include "config.h"
since windows is not case sensitive, it would be a nice gesture to linux users to rename CONFIG.H to config.h.
only cosmetical -> double display value
Serial2.print("firm.val=");
Serial2.print(firmver);
Serial2.write(0xff); // We always have to send this three lines after each command sent to the nextion display.
Serial2.write(0xff);
Serial2.write(0xff);
Serial2.print("firm.val=");
Serial2.print(firmver);
Serial2.write(0xff); // We always have to send this three lines after each command sent to the nextion display.
Serial2.write(0xff);
Double serial output of the firmware version to Nextion Display.
It would be quite nice to have a page with the actual cell voltages ....
Maybe i can contribute that to your project ?
Jens
Query about the fault line on the Tesla BMS
Hi @Tom-evnut - sorry to post this as an issue but I'm not sure where else to ask the question. I'm working on a system to read the BMS from the Tesla modules and was hoping to use the over / under voltage detection on the Tesla BMS as a backup (i.e. if my BMS failed, then this would trigger and potentially open a contactor).
I've managed to get the fault status working in terms of there being faults in the appropriate registers, however that line (on pins 6 and 10) never seems to go high. I've pulled it up with a 4.7k resistor, and when the BMS board is powered off it's high, but when the power's on it gets pulled low and kept there regardless of any fault conditions.
Did you ever see this line go high?
Diagnostic Page Enhancements
I would like to monitor BMS data with external tools.
Given I can connect to the serial port and monitor the diagnostic data, looking for patterns.
When I see "BMS Status " I know it's the beginning of a staus update, but I have no good end characters.
My requests:
1.) Add a unique character string at the end of the status update so that I can programmatically know the end of the datagram.
2.) Fix the order of the last line. Currently, all values have a label and value (e.g. Cell1: 3.80V or Avg Temp: 17.818C) but the last line looks like this: CANbus 0.00mA 71% SOC 988320.00mAh
Please set each to a label, value pattern ( e.g. CANbus 0.00mA SOC 71% ChargeCapacity 988320.00mAh)
Thank you!
David
SMA Sunny Island 6048 CAN support?
Hello! I saw on a previous issue that it was asked if the Sunny Island units were supported and I see someone using it with a 6.0H. I was wondering if this support also covers the 6048 model?
Thank you.
SOC not updating
Hi,
I flashed the latest version onto the BMS this morning . The cell voltages update but the SOC holds steady at whatever value it calculated when booted. regardless of any charge/discharge. Resetting the BMS and the SOC is correctly calculated during boot but then fails to refresh going forward. This value is also reflected on by Victron CX too, hence the frozen value is passed accross the CAN. The total pack voltage ( in my case something around 48v ) is correctly displayed and also updated depending on charge level.
I have 2 Tesla Packs in Series. ( 48v) configuration
thanks
Missing Header Files
Hi tomdebree,
I have downloaded all of the files provided here. However, when I try to compile/verify it in Arduino Studio I get errors for missing header files such as ADC.h and FlexCAN.h
Is there somewhere else that I need to pull these files from?
Thank you. Kind Regards,
Bailey
serial interface incorrect using screen or minicom
Hey,
We found out that connecting to the serial console on debian using screen or minicom has issues.
Connecting on the same laptop thru the arduino IDE serial monitor works fine.
The issues are that we were unable to change some settings.
A guess is that it has something to do with windows/unix newline, which arduino IDE probably handles better?
Cheers,
Tom
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.