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

Teckin SP22 - new Wifi module? #269

Closed
sknoche opened this issue Sep 13, 2019 · 24 comments
Closed

Teckin SP22 - new Wifi module? #269

sknoche opened this issue Sep 13, 2019 · 24 comments

Comments

@sknoche
Copy link

sknoche commented Sep 13, 2019

Hi,
after receiving a new batch of Teckin SP22 and failing to proceed with an OTA update, I opened one of the devices to flash them wired...

I was expecting to find a TYWE2S and connect DI0 to GND to enter flashing mode,

Check for reference:

Instead I stumbled upon this chip:
image
image

Does anyone know, which chip it is and if it's possible to flash them at all?

@kueblc
Copy link
Collaborator

kueblc commented Sep 13, 2019

I see TYWE2S silk screened off to the side in those images, I assume you saw these too. From the top picture it does look like it could still be the right chip. From left to right I see what looks like flash memory, ESP8266, and a crystal. Have you tried hooking up to it?

@sknoche
Copy link
Author

sknoche commented Sep 13, 2019

I did, soldered TX, RX, 3v and GND...
But I failed to locate IO0 to get into flashing mode.
I'll upload better pictures tomorrow, the lighting is terrible atm.

@GeorgeIoak
Copy link

This document should help you locate IO0, https://fccid.io/2ANDL-TYWE2S/User-Manual/Users-Manual-3596121.pdf

@sknoche
Copy link
Author

sknoche commented Sep 15, 2019

Thanks for the reference, but the schematics indicate a position of IO0 on the blank side of the chip (with the SP22 sticker attached).

image

I have absolutely no idea, how to proceed 😞

@kueblc
Copy link
Collaborator

kueblc commented Sep 15, 2019

Do you have better pictures to share?

@GeorgeIoak
Copy link

You have to solder a wire onto the IO0 test pad. Tx and Rx are not test points but pins on the module which might be a little difficult to access unless you can get the bottom side of the PCB that this is soldered into (the green PCB in your picture)
2019-09-15 11 56 52

Here's how I did it on a Gosund WP3. I was able to access Tx/Rx at a different spot on the board since I could get to the back side of the TYWE2S unless I removed it from the board

@sknoche
Copy link
Author

sknoche commented Sep 16, 2019

image

This is a closer look at the backside of the "not-really-a-TYWE2S" :p
Maybe this makes it a little more obvious, why I am struggling to find the IO0.

@GeorgeIoak
Copy link

Well the front side has full access to the ESP chip so you'll have to look at the pinout of the ESP8285 which shows GPIO0 on pin15 and work from there

@sknoche
Copy link
Author

sknoche commented Sep 16, 2019

I guess I'll not be able to solder these fine smd pinouts, I'll have to give it a pass :(. My soldering irons tip isn't even small enough to just touch a single pin 😂

@DonStefano
Copy link

This might be the new WR2 WiFi Module which does not have an ESP chip.

@sknoche
Copy link
Author

sknoche commented Sep 20, 2019

I can confirm it's not an ESP, but it seems to be the WR3 instead of WR2, so I guess there is no way to flash tasmota :/...

So, likely all the newer versions of all Tuya devices will become more or less "unconvertable".

@sknoche
Copy link
Author

sknoche commented Sep 20, 2019

Maybe I'll just get a couple of TYWE2S and change the module itself 😮

@meingraham
Copy link
Contributor

@DonStefano can you double-check whether yours indeed is WR2?

@sknoche
Copy link
Author

sknoche commented Sep 20, 2019

On mine the folowing details are (difficult to read though) printed:

W302 (found this user manual with google)
I119WR1 or T119WR1d
G113A6

@DonStefano
Copy link

I did not open it because I want to return it in case it does not work with Tasmota.

@meingraham
Copy link
Contributor

Well, regardless of whether its a WR2 or WR3, it won't work with Tasmota. Only ESP82xx based Tuya modules work with Tasmota.

@kueblc
Copy link
Collaborator

kueblc commented Sep 28, 2019

Unfortunately if this is the case there's not much we can do. Thanks for sharing and documenting.

@henfri
Copy link

henfri commented Nov 26, 2019

See #285 (comment)

@omidjozani
Copy link

It's W302 wifi chip from Realtec and can not be flashed by Tasmota

@krjan02
Copy link

krjan02 commented Oct 19, 2020

I bought 4x SP22 recently, they contain a RTL8710BM

foto_no_exif (1)
foto_no_exif

I will come up with some solution to use Tasmota in theese Plugs... (Custom Chip or Re-Writing Tasmota to theese Chips)

https://github.com/pvvx/RtlDuino

@formatBCE
Copy link

Any updates on this? Decided to flash all my Teckin sockets, and appears they all have new chip 👎

@Blackest-Nighthawk
Copy link

Sorry for re- opening this theme.

I found just one solution for this problem,
I bought some TYWE2S modules from AliExpress and here you can see the result.

IMG_20221116_181604
IMG_20221116_181553
IMG_20221116_181705

For this you have to modify the bottom of the case a little bit.

IMG_20221116_181832

and this ist the adaption plan.
I can draw it clear if anyone is interested of this.

IMG_20221116_184526

All in all not so beauty, I know but it works.
So you need around 30 - 45 min. for this swap.

@techman83
Copy link

@Blackest-Nighthawk - That looks like a TYWE2L pinout, are both sets of pins common? If so, I've been retro-fitting esp32-c3 chips into a bunch of my devices via these -> https://templates.blakadder.com/DT-ESP-C05.html

Close to drop in, generally all I've needed to do is a bit of a sand of the ends if the slot is a bit tight length wise.

@Blackest-Nighthawk
Copy link

@techman83 - I bought 12 peaces of SP-22. 4 peaces was with original TYWE2S, other 4 peaces was with the RTL8710 but with the pinout of TYWE2S. This was easy, I just put the new TYWE2S module into the device.
The last 4 peaces was with the completely different pin layout of the RTL8710 board. This is what you can see on my photos.
So this was the easiest way for me.
The ESP-32 is very nice and powerful. I used this often for other projects.
Maybe you can poste the changed pin configuration for tasmaota. This is perhaps interesting for other user.

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