martinbogo / pt-battery-diagnostics Goto Github PK
View Code? Open in Web Editor NEWArduino sketch, library, BOM, and Gerber files for i2/x2 Segway battery diagnostics
License: MIT License
Arduino sketch, library, BOM, and Gerber files for i2/x2 Segway battery diagnostics
License: MIT License
Is it possible to read vealues of measurements on a LCD ?
Hi
I can read data from the battery.
But the SoC "c" is showing 0,39 %.
I test with 3 different batteries and this value is the same (2 batteries with voltage pack 76 - 78 V and another BMS with dead cell / without cells).
@martinbogo did you get SoC values correct?
With logic analyser the response to command 0x1D (SoC rigth ?) is : 0x65 0xFF 0xFE
Thank you @martinbogo
Man i am a really huge fan of your work, and as i can see you helped a lot of pt's battery around the globe.
But i really must ask, would be possible to emulate the pt bms with a arduino??
So it would be possible to use a generic bms and an emulator?
Hi! Read trough this project, could not tell: have you found a way resetting the BMS when locked down?
If you need a 3D printed battery connector made, I highly recommend the one Rotek designed here on Shapeways. Well worth supporting his work! https://www.shapeways.com/product/EN759FWRC/segway-battery-conector
Hello, after reading your source code, I am very interested and have also purchased an Arduino device. However, I cannot find the 3D file for this 3D printed battery connector. Could you please provide one? Thank you. My email address is: [email protected]
Hi idk how thia project works, i just want to build a segway battery diagnostic that tell me if cells are good enough, there is a list of materials and processes i have to do to build it??.
Thank for your work, hope we can talk!
Hi Martin,
I'm a Arduino newb, living in Cape Town, South Africa, with an electrical and electronics background.
Have acquired all the hardware and software except the 20 x 4 i2c lcd display. Will order the display today. Have installed the Arduino IDE software for windows and downloaded the Github zipped file. Loaded the ino file onto the Arduino Uno.
Hardware:
Arduino Uno board.
12v Dc transformer to provide 12v to battery enable
All leads/wires from Uno to battery have be prepared and connected, with labels to the pins on Uno and battery sides.
Will connect the 20 x 4 i2c LCD display to the 5v supply leads and SCL and SDA pins on the Uno.
Until the display arrives is there any way to display the voltages, temps, state of charge and Serial number on my laptop?
Hope you can assist.
Regards
Moejaahied Bardien
I am running a mega2560 with a MCUFRIEND display shield. The latest code hangs with Wire.setClock(400000) but runs with (100000).
Don't think the shield is the problem as it is a parallel I/O board with a touch screen and SD slot (which I am not accessing). pinMode on 6 and A2 are used by the resistive touch
screen.
There are a couple of periods .(.) spaced 4-5 line feeds apart that have newly showed up.
I have a good battery on my workbench which is green on the charger and is sitting at 76.75 volts. The serial monitor reports every other cell group with roughly the same voltage, however they don't sum to anywhere close to 76 volts, and if there actually are cells at ~0.4 volts, I'm sure the charger would not report a green light. Below is the output from the serial monitor, which is consistent between calls of "V":
Cell Group [0] Voltage is 0.43
Cell Group [1] Voltage is 2.54
Cell Group [2] Voltage is 0.44
Cell Group [3] Voltage is 2.54
Cell Group [4] Voltage is 0.43
Cell Group [5] Voltage is 2.54
Cell Group [6] Voltage is 0.44
Cell Group [7] Voltage is 2.54
Cell Group [8] Voltage is 0.44
Cell Group [9] Voltage is 2.54
Cell Group [10] Voltage is 0.44
Cell Group [11] Voltage is 2.54
Cell Group [12] Voltage is 0.44
Cell Group [13] Voltage is 2.54
Cell Group [14] Voltage is 0.44
Cell Group [15] Voltage is 2.54
Cell Group [16] Voltage is 0.44
Cell Group [17] Voltage is 2.54
Cell Group [18] Voltage is 0.44
Cell Group [19] Voltage is 2.54
Cell Group [20] Voltage is 0.44
Cell Group [21] Voltage is 2.54
Cell Group [22] Voltage is 0.44
I know there are a bunch of people who are as excited as myself to see and contribute to this github, do you have any thing to upload?
Hi
I Would like chceck my battery Segway -secection battery.
I have problem. I write code my Arduino uno but program dont work.
I have LCD 2004 but nothing is displayed. The code is 100% correct?
Hi, first, thanks for your contribution and making this project open source. There are so many snakeoil and way over priced tools for the Segway community...
It might be a silly question, but do you have any details on how to revive a battery than hasn’t been charged in a few months. It’s is currently at around 8v and solid red when trying to charge it with onboard charger.
I understood that the batterie need to somehow go back to ~50v to be charged with the onboard charger. I have seen a few companies offering to revive the battery for $300 or more. But it seems to be way over priced. Would you happen to know what those reviver do exactly ? And could I build a cheap DIY reviver myself without damaging my battery ?
Hello.
I have a Segway XT with completelly dead batteries - 0V, cracked cells and so on. I am in a half way of ordering new cells for it, but I know nothing about BMS state, may be BMS is broken too. With this project can I communicate with BMS without battery pack? Can I use regulated power source to turn BMS on somehow?
PS: This is very interesting project! Can I participate somehow? I have 2 dead batteries, oscilloscope, a lot of microcontrollers (stm32, stm8, atmega, raspbery and so on), logic analyzer and soldering station. May be I can be of use :)
PPS: sorry for my poor english )
Hi Martin,
I have 6 NiMH batteries I'm looking to pull data off. One of them still works normal, the others are all basically stone dead. Are you still looking for info from a working NiMH? If not do you know if the pinout is the same for communication? (aside from the +/- terminals)
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.