huizebruin/s0tool

downside of ESP32?

bkbartk opened this issue · 8 comments

Hello
I'm planning to change the wemos d1 to a wemos d1 ESP32.
The main reason is the wifi performance.
The pins are exactly the same and in yaml I thought I only would need to remove the esp8266 specific and change the pinnumbers to GPIO21.

however here it suggests that more changes are required
#100 (comment)
#125 (comment)
I already have to complete configuration running local without external components.

Am I missing something obvious here? or can I just go ahead and migrate to ESP32.
I think for wemos_d1 esp32 the v5 connection would be exactly the same as for esp8266

The ESP32 is a microcontroller that operates with a supply voltage of 3.3V, and its GPIO (General Purpose Input/Output) pins are also designed to work with 3.3V logic levels. Applying a voltage higher than 3.3V to the GPIO pins can potentially damage the ESP32

good to know,
but the board I'm talking about has some kind of power regulator
D1_mini_esp32_schema
applying 5v to vcc should work, and also the locations of vcc, 3.3v and GND should be the same as for the other d1_mini

actually the pinout should be fully backward compatible with the d1_mini ESP8266, only the pinnumbers should sometimes be updated, and the is an additional row of pins which might prevent is from fitting in the case.

The gpio pins cant handle 5v to there gpio , and the npn sensor sends 5v out when its getting a puls, and also needs 5v to work.

Now I see, so if I would this, I need also to connect the npn to 3.3V,
Possibly also replacing the npn with one which support 3.3v

This will probably mean, I need to go full DIY and cannot use the one I ordered from the shop.

Interesting I thought the new board would be 100% backward compatible, but apparently not

I think for now I will live with the poor wifi reception.

If you ever decide to design an esp32 compatible equivalent I'm interested.

Sadly there isn't a npn with one which support 3.3v.

u can think about mesh wifi so u have better reception.
like this.
TP-Link Deco M4 github or this one TP-Link Deco X10 github bol.com

I have roaming wifi (with TP-Link Deco M4 v2 running openwrt), and the distance to the AP probably is not a problem,
however it can be improved, there are issues with small dropouts I only experience with esp82xx devices, and even not all of them.
it has something to to with openwrt ath10k and the esp82xx driver, and I tried all solutions I could find, nothing worked for me, so probably i need to replace my accesspoints, and I'm planning for that, but for now it's just much cheaper to replace a few esp controllers.

I will close this issue as my main question has been answered.

No that won't work, because it is a pulse that u need to lower to the 3.3v

That pcb is only for power a tool on 3.3v.

Better to look at an opto in the tool but u must place more components on a Board.