Hi everyone!
During these hot days I felt the need to connect my Toshiba Shorai to my HA environment.
I bump into this tutorial and after frying my first D1 mini I would like to have some expert opinion.
In the tutorial, the tutorial a level shifter is used to covert 5v to 3.3v but in the schematics there is also a direct connection from the 5v of the AC to the 5v pin of the D1 mini (this is probably why I fried my D1 mini). However, the picture is showing a connection from the 5v pin to the LV pin of the level shifter.
Now, what is the right connection?
Your link doesnât open to me. If you have 5V output on your AC, it can be connected to 5V pin of Esp, otherwise you need separate power supply for it. Gnd between Esp and Ac has to be connected anyway.
On level shifter 5V is HV side and 3.3V LV side. Level shifter is used for rx and tx lines, not for supplying power.
Yep, the wiring scheme is incorrect.
Before you connect anything you have to test if 5V pin on your A.C. is input or output.
So measure voltage between AC 5V and GND pins without anything wired to any of AC pins.
Then we can correct your wiring.
Ok.
So are you going to power your Esp from usb or from A.C?
You canât do both.
Also send a link to your level shifter or a good photo.
Also, your exact Esp board.
Ok, I am ready for the second rund. But before I connect everything I just wanted to be sure that the wiring is correct.
The one thing that I do not understand is why we are using the 5v AND the 3.3v pins
I also ordered the original WiFi adapter from Toshiba and it also has 5 wires but the AC only 4. so one is dead and they just use a 5 wire cable for convenience?
And Toahiba uses a 2mm jst connector and I only have 2.5mm. So I will just do this unorthodox connection
5V you need to power your Esp and to âamplifyâ your 3.3V tx signal from esp to 5V rx signal for A.C.
3.3V you need to reduce A.C. 5V tx signal to 3.3V level for your Esp rx .
Wiring looks correct, if you have multimeter, check continuity through level shifter gnd pins and that you donât have solder bridges anywhere.
Your âplugâ doesnât look bad, just make sure pins have tight fit.
And remember to switch off A.C. from circuit breaker, never connect wires when there is power.
Maybe you want to test your esp before connecting to A.C.
If you have 5V (breadboard) PSU, connect it to 5V (green/purple) and GND (blue) wires.