-
Notifications
You must be signed in to change notification settings - Fork 66
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
ZB2L3 Battery Capacity Tester #248
Comments
@suskitech: I guess that the 321 on the silkscreen near the SOT23-5 chip is a generic single OP-AMP. The 8205 might be a Dual N-Channel logic enhancement mode power FET. For the TM1650 I couldn't find a datasheet - I found one e for the TM1651 and there is example code on TM1650 on GitHub. I'll do the same surgery with my board. Let's see what else it's good for. |
Here's a non-English one which is surprisingly clear on what is happening.
It appears to be quite different than the TM1650. I couldn't find another
source for this part to see if that manufacturer had an easier to read
datasheet.
Thomas, I think you're right regarding the other parts. The only thing to
watch out for is the regulator. I tested 10 of the 5 volt versions of these
on W1209 boards recently. Half let out smoke at 15.6 volts applied to the
power connector.
It still looks very appealing.
Regards
Richard
…_____
From: Thomas [mailto:[email protected]]
Sent: Monday, 14 January 2019 1:59 PM
To: TG9541/stm8ef
Cc: Richard; Mention
Subject: Re: [TG9541/stm8ef] ZB2L3 Battery Capacity Tester (#248)
@suskitech <https://github.com/suskitech> :
This board looks interesting - thanks for letting us (and others) having a
peek under the LED display!
I guess that the 321 on the silkscreen near the SOT23-5 chip is a generic
single <http://www.ti.com/lit/ds/symlink/lm321.pdf> OP-AMP. The 8205 might
be a Dual N-Channel logic enhancement mode power FET
<https://www.ait-ic.com/uploads/2011-01/05/_1294200000_5amsl7.pdf> . For the
TM1650 I couldn't find a datasheet - I found one e for the TM1651
<http://aitendo3.sakura.ne.jp/aitendo_data/product_img/ic/LED-driver/TM1651_
%20V1.2/TM1651_V1.1_EN.pdf> and there is example code on TM1650 on GitHub.
I'll do the same surgery with my board. Let's see what else it's good for.
-
You are receiving this because you were mentioned.
Reply to this email directly, view
<#248 (comment)> it on
GitHub, or mute
<https://github.com/notifications/unsubscribe-auth/AT7ya_NVqrxmVvKy2z-dHqmnc
2FX-7fJks5vDBysgaJpZM4Z9o3J> the thread.
<https://github.com/notifications/beacon/AT7ya3NC8FBNdU5M0Wwris2NLVQWwhfAks5
vDBysgaJpZM4Z9o3J.gif>
|
@VK6TT saw to it that I got a new ZB2L3 in my mailbox. The first thing I did was to remove the LED display: My specimen has a Nuvoton chip (which was designed to be pin compatible to the STM8S003F3P6 and it's an open question if STMicroelectronics compete on the price - Nuvoton certainly does, and it won't go away). Did anybody trace |
Man that is to bad. I ordered 4 more battery testers in hopes that it would still have the STM8 in them. I have traced everything on the board, but did not have a chance to put it in nice format. Here is what I do have:
I numbered the head pins left to right while reference the board in its nor usable orientation.
I also see that the version you received came with an ET6226M for the display driver instead the Titan Micro Electronics TM1650A, which has drivers in the Arduino environment. I have to admit that the research I did on the Nuvoton showed qty 1000 pricing of |
The LED driver chip on the new board is an ET6226M The chip is pin compatible with the TM1650 Here is a Google translation of the functional register description: ET6226 Control Program Format The ET6226 control program format is shown in the figure below. The instruction shown below is SYSON. The specific control instructions are shown in the table below.
The Control Register description is sketchy but it appears to be consistent with the more detailed description in the TM1650 datasheet:
|
@suskitech thanks for the pin description! I inserted some Markdown formatting, I hope you don't mind The good news is that PD1/SWIM can be used as a communications interface just like that. An interesting observation: these guys didn't even bother to use the I2C GPIOs PB4 and PB5. |
I appreciate the reformatting please feel free to do so anytime. It was after midnight my time and did not want you to have duplicate my effort tracing the pins. I am new to GitHub and formatting with markdown code is another thing I need to look into. |
The best price for an STM8Sx03F3P6 I've seen in a while is $0.32@10pcs. I guess it's best to order some now, they won't go bad :-) Sometimes STM8S103F3P6 breakout boards are cheaper than single STM8S003F3P6 chips. On the other side, I think that we all have at least one board with an STM8 chip, and unless you're really in a hurry, it will take some time until the board is fully supported. |
I made a start by flashing the SWIMCOM binary to a ZB2L3 board - I'm trying to use M.Mahlows VOC-I2C demo in the examples folder. So far, I still get the error message |
Hi Thomas,
I had huge issues getting I2C working. My solution is shown below and it
might help you.
: I.tx ( byte -- )
\ Send a byte to the I2C Bus.
DUP 7 FOR
$80 AND
IF SDA1
ELSE SDA0
THEN SCL1
2* DUP SCL0
NEXT 2DROP
SDA1 \ **** guess fix by earlier SDA1
?I.ACK
;
Not so much as a guess, since the logic analyser showed there was a timing
issue. The guess was where to pull SDA high.
Regards
Richard
…_____
From: Thomas [mailto:[email protected]]
Sent: Monday, 4 February 2019 3:32 AM
To: TG9541/stm8ef
Cc: Richard; Mention
Subject: Re: [TG9541/stm8ef] ZB2L3 Battery Capacity Tester (#248)
I made a start by flashing the SWIMCOM binary to a ZB2L3 board - I'm trying
to use M.Mahlows VOC-I2C demo in the examples folder. So far, I still get
the error message I2C: ACK missing?. Maybe there are no pull-up resistors
and I need to set internal pull-ups and the proper GPIO mode?
-
You are receiving this because you were mentioned.
Reply to this email directly, view
<#248 (comment)> it on
GitHub, or mute
<https://github.com/notifications/unsubscribe-auth/AT7ya4YxFjT77MmlBxcGs1SHj
4Wn9spMks5vJzlBgaJpZM4Z9o3J> the thread.
<https://github.com/notifications/beacon/AT7yawGAwLH4t37H5Tavo9j6Je3toOoeks5
vJzlBgaJpZM4Z9o3J.gif>
|
I gave up on flea market style sourcing when I found this
https://lcsc.com/product-detail/ST-Microelectronics_STMicroelectronics_STM8S
003F3P6_STM8S003F3P6_C18615.html
I use LCSC for some of my business sourcing and I have been very happy. But
I still watch the flea market wit great interest. Can't help myself!
…_____
From: Allen Suski [mailto:[email protected]]
Sent: Monday, 4 February 2019 1:01 AM
To: TG9541/stm8ef
Cc: Richard; Mention
Subject: Re: [TG9541/stm8ef] ZB2L3 Battery Capacity Tester (#248)
I appreciate the reformatting and it was after midnight my time and did not
want you to duplicate effort. Thanks for the clean up feel free anytime. I
am new to GitHub and formatting with markdown code is another thing I need
to look into.
We need a cheap source of STM8S103 chips. I can get them for about $1 each
on eBay, but most of the China and HK vendors are on vacation until Feb 11
celebrating their New Year.
-
You are receiving this because you were mentioned.
Reply to this email directly, view
<#248 (comment)> it on
GitHub, or mute
<https://github.com/notifications/unsubscribe-auth/AT7ya3CuNZqz1Ag87A3pV0rIP
pDVfuXaks5vJxXKgaJpZM4Z9o3J> the thread.
<https://github.com/notifications/beacon/AT7ya-DMI14FSCN0HGitqKaN9iRMqCUnks5
vJxXKgaJpZM4Z9o3J.gif>
|
I ordered 10 pieces last October and paid CDN$5.56 including shipping. The same vendor is only CDN$4.42 today including shipping https://www.aliexpress.com/item/Free-Shipping-10pcs-lots-8S003F3P6-STM8S003F3P6-TSSOP-20-New-original-IC-In-stock/32919745220.html?spm=a2g0s.9042311.0.0.99794c4dgWvW62. The site Thomas quoted above is right now CDN$8.51 including shipping. The shipping is slow, 70-90 days to Canada, but if you are not in a rush... |
@VK6TT Richard, thanks for the code! In the far past I wrote several bit-banged I2C interfaces that were used at industrial scale, and I also learned quickly that timing is critical. LCSC looks interesting (e.g. STM8S003F3P6 for 0.285 @10pcs) but they add $3 for handling and at least $5 for shipping... I agree that if one's business depends on the delivery that's a small price to pay. |
Greetings! |
@ildar thanks for reviving the discussion! |
Unfortunately my device came with some other MCU, I'll post photos later
|
Can somebody provide the soft to calibrate this tester please?? |
@ildar I didn't quite manage to get to it during the winter break, sorry |
Has anyone worked out how to read data from the SWIM port to log the data from the ZB2L3? |
@ddodge40 I'm still waiting for someone to write some specs:
|
I would like to grab the data as it comes in and also the final reading. Adding time to a file is easy. I saw on a blog that it is a ST processor, but would need to know where the readings are stored.
There was a post about some software being available, but no info as to where to get it
Thanks
Don Dodge
Cell 714-271-7888
W6SNX
… On May 14, 2022, at 12:37 AM, Thomas ***@***.***> wrote:
@ddodge40 I'm still waiting for someone to write some specs:
what do you expect the board to do so that a replacement software can be designed
be inventive, e.g., remember that you don't need the buttons to control all of the behavior if it can be done with a script
what kind of data do you expect to receive
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
@ddodge40 what you've described is the use case, not the specs of a software so that it can be designed. Unfortunately, I can't do the reverse engineering of the original firmware. Someone else will have to do that :-) |
I have asked HiLetgo and other sellers for the software and only HiLetgo have responded that they are looking for itThanks
Sent from the all new AOL app for iOS
On Saturday, May 14, 2022, 10:19 AM, Thomas ***@***.***> wrote:
@ddodge40 what you've described is the use case, not the specs of a software so that it can be designed. Unfortunately, I can't do the reverse engineering of the original firmware. Someone else will have to do that :-)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Which load do you use to test your NiMH? |
I bought this board recently but he micro USB port broke off after very limited use and I was unable to re-attach it. |
Have one and checked the calibration and it is within 5%. Not bad for an inexpensive tester. I use it for a few 12 volt batteries removed from FIOS service. Even 5 year old text at about 50% of original Don DodgeCell 714-271-7888W6SNXOn Oct 11, 2023, at 7:26 AM, Serega ***@***.***> wrote:
it's now others mcu
ft61f135-rb
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Here is FT61F13X datasheet - the device appears to be PIC16-like and it has just 3K words ROM and 256 bytes. That's what I call "old school" and "frugal".
Yes, that appears to be the case. |
I have this new version 3.0 of the HW-586, it does not enter calibration mode using the method used in older versions, which is to press the three buttons simultaneously and connect the power to USB, has anyone found out if they changed the method for entering calibration mode Or if in this v3.0 there is no way to enter calibration mode ??? I will be very happy and grateful if anyone can help !!! Thanks |
You can do it yourself if you have a lot of time and desire. Most likely, no one will do this except you, if only because tomorrow these “blanks” could be made on another microcontroller and all the work will be useless for the community and You can also write about this on the product review page on Aliexpress. |
So there remains one last attempt, hardware calibration, perhaps to modify the circuits that generate the signals at the MCU's analog inputs, for example by modifying the SHUNT resistor, or place a trimpot to change the values that arrive at the MCU!!! But thank you very much for your attention and if I have any news I will send it here in this thread!!! |
There is one more point besides adjusting the resistors.... That is, I want to offer you two simple checks to make it clear whether such accuracy suits you. |
Yes the link you showed is the exact tester. I have 3 of them and use them to validate battery capacity of NiMH as well as my 18650's. I see this as a useful tool 3 buttons, 4 digit LED plus current sense. After seeing this forum, I desoldered the display hiding underneath it was the stm8s along with a TM1650 LED controller. Also hidden by the picture is what appears to be swim connections. I have not had time to further analyse it, but may do that in the future. I just don't have enough time and to many hobbies. Added a pic and noticed that silkscreen on the board states ZB2L3 on my other two that I purchased.
@VK6TT
Originally posted by @suskitech in #247 (comment)
The text was updated successfully, but these errors were encountered: