Skip to content
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

TH05 new version V1.6 #15

Open
Notrial opened this issue Feb 9, 2024 · 19 comments
Open

TH05 new version V1.6 #15

Notrial opened this issue Feb 9, 2024 · 19 comments

Comments

@Notrial
Copy link

Notrial commented Feb 9, 2024

I got this one from Ali about two weeks ago. I suppose it is the latest one.
Can't get it to connect through Chrome, but I am on Mac so could that be the case?
Will try on PC a bit later today.

image

Photos of the board are attached.

IMG_5413
IMG_5414

@spupetic
Copy link

spupetic commented Feb 9, 2024

You cannot flash OTA at first time, you need to flash it via serial and the commands in the readme, after that you can use the OTA website. See this issue: #11

@Notrial
Copy link
Author

Notrial commented Feb 10, 2024

You cannot flash OTA at first time, you need to flash it via serial and the commands in the readme, after that you can use the OTA website. See this issue: #11

Can I use this one to flash it as well?

2D9B87E9-C6A0-40C9-B22E-93BD38F6DFD6_4_5005_c
E0E09E01-0952-45A1-8F76-0BC73396EC98_4_5005_c

@spupetic
Copy link

You cannot flash OTA at first time, you need to flash it via serial and the commands in the readme, after that you can use the OTA website. See this issue: #11

Can I use this one to flash it as well?

2D9B87E9-C6A0-40C9-B22E-93BD38F6DFD6_4_5005_c E0E09E01-0952-45A1-8F76-0BC73396EC98_4_5005_c

If it has 3.3V logic level, you can. But be sure to check it first, because it might kill the board if it is for 5V devices.

@Notrial
Copy link
Author

Notrial commented Feb 10, 2024

There is a switch on it for 3.3 vs 5v, so should be good :)

@spupetic
Copy link

There is a switch on it for 3.3 vs 5v, so should be good :)

Yes, it should be good.

@Notrial
Copy link
Author

Notrial commented Feb 15, 2024

Just to confirm that the procedure works for V1.6.

Flashing boot one first and then full firmware.
I did have to short reset with VBAT- for a millisecond after running the script, otherwise, it wouldn't work.

Not sure why I can't read the values in ESPHome though...I read MAC from the web tool and configured it like this:

image

IMG_5426

EDIT: I am an idiot and haven't realized this only works through BTHome. It broadcasts in there perfectly!

@dicamarques14
Copy link

Just to confirm that the procedure works for V1.6.

Flashing boot one first and then full firmware. I did have to short reset with VBAT- for a millisecond after running the script, otherwise, it wouldn't work.

Not sure why I can't read the values in ESPHome though...I read MAC from the web tool and configured it like this:

image ![IMG_5426](https://private-user-images.githubusercontent.com/36201754/305034332-8bea5d65-f593-425b-acd1-a22cd6593e53.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDgwOTg5NjksIm5iZiI6MTcwODA5ODY2OSwicGF0aCI6Ii8zNjIwMTc1NC8zMDUwMzQzMzItOGJlYTVkNjUtZjU5My00MjViLWFjZDEtYTIyY2Q2NTkzZTUzLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMjE2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDIxNlQxNTUxMDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zMTI0NTRjNmQ0NDA1MjMyODI0YTQ4YzcyMjIxNTIwMDZmOTRmYmQ5YjY5OWZmN2E2NjA5ZWNmOTNiMTUxNzg3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.TCgpNBoo3MP09I_YkyJtlWSWNBcEfSdZERYiZmLK5n4)

EDIT: I am an idiot and haven't realized this only works through BTHome. It broadcasts in there perfectly!

Im trying to flash my V1.5 with a bte17-06b based in CH340E and I cant get it to work... which pins did you connect to?
I tried to short the rst and tm pins in the board but I still dont get a connection on the python

@Notrial
Copy link
Author

Notrial commented Feb 17, 2024

I did what is says bellow...except the REST_N that i didn't connect to anything but shorted after starting python with VBAT-...you have to time it right.

image

@pvvx
Copy link
Owner

pvvx commented Feb 20, 2024

On adapters without "RTS" you need to manually close "RESET" to "GND" and release it when starting rdwr_phy62x2.py.
It is difficult to manually open the contact at the right time. Therefore, automatic control via "RTS" is used.

https://www.wch-ic.com/downloads/CH341DS1_PDF.html

@pvvx
Copy link
Owner

pvvx commented Feb 21, 2024

README

Кнопка используется для быстрого подключения к старым BT-адаптерам. Нажатие кнопки переключает интервал BLE рекламы на более короткий период (1562.5 мс). Действие продолжится 60 секунд, затем интервал восстановится на установленный в настройках.

The button is used to quickly connect to old BT adapters. Pressing the button switches the BLE advertising interval to a shorter period (1562.5 ms). The action will last 60 seconds, then the interval will be restored to the one set in the settings.

@NeoMatrixJR
Copy link

is RESET = REST_N? I'm getting the same errors, but I can't find "RESET"

@Notrial
Copy link
Author

Notrial commented Mar 7, 2024

Correct.

@dicamarques14
Copy link

For those with trouble getting this right:
In the python script: rdwr_phy62x2.py at line 227, i set the timeout to "0.5", and after line 233 i added "print(read)"
So i just kept shorting RST with GND (like quick taps) until I saw a print with "cmd>>:"

@NeoMatrixJR
Copy link

Turns out I may have had a janky adapter. I switched over to windows with no luck, then changed out my adapter and it worked.

@igorkietrz
Copy link

For those with trouble getting this right: In the python script: rdwr_phy62x2.py at line 227, i set the timeout to "0.5", and after line 233 i added "print(read)" So i just kept shorting RST with GND (like quick taps) until I saw a print with "cmd>>:"

If you get it wrong does it say Error read Revision?

@LordArrin
Copy link

Bought a new revision, flash it with BOOT_TH05F_v16.hex by instruction, and device didn't show in list. Any help?
Mi 11X_20240427_204248_lmc_8 4

Mi 11X_20240427_204347_lmc_8 4

Mi 11X_20240427_204356_lmc_8 4

Mi 11X_20240427_204154_lmc_8 4

@pvvx
Copy link
Owner

pvvx commented Apr 28, 2024

TH05_V1.6 works fine. The README describes what firmware is used for TH05_V1.6
Why did you flash the firmware from TH05F if this is another option?

@LordArrin
Copy link

Looks like it is my fault) Try it soon

@B4nd1 B4nd1 mentioned this issue May 16, 2024
@Rudo1111
Copy link

Rudo1111 commented Jun 12, 2024

Hello, I also have a problem with Error read Revision! out of 11, I flashed 9 and 2 still can't be flashed, has anyone encountered a similar situation? I tried advice like line 227 "0.5" and 233 "print(read)" and TM + VCC. It didn't help, could there be errors or try it on another computer and try again and again? :-) Thanks typ:
Flash TH05Y_V1 2  Error read Revision!
20240612_094245
TH05Y_V1.2 2023-12-06
Problem solved. I updated the firmware via Smart Life to ver 2 and it worked. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants