geocali / 18650_tester_software Goto Github PK
View Code? Open in Web Editor NEWA simple 18650 Lithium Ion battery tester based on a raspberry pi, with the hardware schematics and python program and GUI.
License: GNU General Public License v3.0
A simple 18650 Lithium Ion battery tester based on a raspberry pi, with the hardware schematics and python program and GUI.
License: GNU General Public License v3.0
is it possible to use diffrent resistor ? in my local electronic shop do not have 4R/5W only have 4R3/5W,will the indications be very different? need to change the resistor value in the program?
Hello, when i try to install tester software i have an error and don't know what to do next.
pi@raspberrypi:~ $ sudo su
root@raspberrypi:/home/pi# sudo apt install python3 -y
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
python3 is already the newest version (3.7.3-1).
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 1 nieaktualizowanych.
root@raspberrypi:/home/pi# sudo pip3 install --upgrade setuptools
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting setuptools
Downloading https://files.pythonhosted.org/packages/4e/2e/f8e006dbaaa46ed1e762c287585b92476deb8d3ccb79b720ed3b86bc6113/setuptools-58.1.0-py3-none-any.whl (816kB)
100% |████████████████████████████████| 819kB 537kB/s
Installing collected packages: setuptools
Found existing installation: setuptools 58.0.4
Uninstalling setuptools-58.0.4:
Successfully uninstalled setuptools-58.0.4
Successfully installed setuptools-58.1.0
root@raspberrypi:/home/pi# sudo apt-get install -y python-smbus
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
python-smbus is already the newest version (4.1-1).
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 1 nieaktualizowanych.
root@raspberrypi:/home/pi# sudo apt-get install -y python3-tk
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
python3-tk is already the newest version (3.7.3-1).
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 1 nieaktualizowanych.
root@raspberrypi:/home/pi# sudo apt-get install -y i2c-tools
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
i2c-tools is already the newest version (4.1-1).
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 1 nieaktualizowanych.
root@raspberrypi:/home/pi# sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
root@raspberrypi:/home/pi# ls -l /dev/spidev*
crw-rw---- 1 root spi 153, 0 wrz 28 16:07 /dev/spidev0.0
crw-rw---- 1 root spi 153, 1 wrz 28 16:07 /dev/spidev0.1
root@raspberrypi:/home/pi# pip3 install -f requirements.txt
ERROR: You must give at least one requirement to install (maybe you meant "pip install requirements.txt"?)
root@raspberrypi:/home/pi# cd //home/pi/18650_tester_software/
root@raspberrypi://home/pi/18650_tester_software# pip3 install -f requirements.txt
ERROR: You must give at least one requirement to install (maybe you meant "pip install requirements.txt"?)
root@raspberrypi://home/pi/18650_tester_software#
my system :
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
installed python
Python 2.7.16 (default, Oct 10 2019, 22:02:15)
[GCC 8.3.0] on linux2
what am missing?
this way you eliminate the error factor added by the voltage changes of the source, of course now you will have to use 2 voltages to feed the circuit but the improvement of precision is considerable. The more expensive the ref the better the precision. (I have been using a piece of code in the atmega328p that allows to compare the vcc with an internal ref of 1.1v, it is not perfect but using some batteries that were practically new. I have measured an error of + -100mah which is acceptable to me from moment)
https://datasheet.lcsc.com/szlcsc/Linear-Tech-LT1029ACZ-PBF_C117263.pdf
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.