Comments (2)
This is a system to disable the out and input when the watchdog triggers of the LTC (the LTC resets also its GPIO on WDT overflow). I use an GPIO on the LTC because over SPI I tell the LTC to pull the wire low (low being the charge / discharge are allowed to become high). So this is exactly as you have understood it operates.
The drawback of using the WDT is that it works the other way around, and you dont have a clear understanding of why the pin is asserted (any communication that is valid will reset the WDT if I recall correctly), where in the GPIO approach you have the uC deliberately ask the pin to go low.
( I actually first build it with the use of the WDT pin, but then moved to using the GPIO because of the added features described )
from diebiems.
This is a system to disable the out and input when the watchdog triggers of the LTC (the LTC resets also its GPIO on WDT overflow). I use an GPIO on the LTC because over SPI I tell the LTC to pull the wire low (low being the charge / discharge are allowed to become high). So this is exactly as you have understood it operates.
The drawback of using the WDT is that it works the other way around, and you dont have a clear understanding of why the pin is asserted (any communication that is valid will reset the WDT if I recall correctly), where in the GPIO approach you have the uC deliberately ask the pin to go low.
( I actually first build it with the use of the WDT pin, but then moved to using the GPIO because of the added features described )
That clearly makes sense to me! You are right - any valid communication will reset the WDT!
Thank you for your explanation!
I will use GPIO2. Because i don't have space for the SD card i will connect the WDT pin to the uC.
The ISL Interrupt signal is open drain, so i will connect it over 0R to the Safety signal.
So the ISL can also disable the charge and discharge FETs.
I think this will add another good safety feature to the device, because after the ISL is successfully configured, the software can stuck and overcurrent over- and undervoltage cutoff is still possible by hardware.
Another short question:
Is there a UART left on the STM? I plan to implement a connector for a serial bluetooth interface module like the cheap HC05, because the SPI wireless module is not available in germany :/
Could the mobile app of the BMS tool use this bluetooth connection or is connection only possible with your implemented wireless module?
I think this should work!?
from diebiems.
Related Issues (16)
- Specifications HOT 2
- Why do we need R6, R7? HOT 1
- Diode D5? One or two shunts? HOT 3
- Not saved config HOT 1
- How turn on this BMS? HOT 5
- Consider support larger voltage?
- Power cutting off. Vesc indicating low vaultage Fault HOT 4
- Temperature with high current
- Boot 0 question
- What is the licence? HOT 1
- Understanding Problem? (R39) HOT 1
- What fuser are you using? HOT 1
- Update DieBieMS Readme HOT 3
- BMS HOT 1
- Where is version 0.8 in GIT? HOT 1
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.
from diebiems.