mirror of https://github.com/arendst/Tasmota.git
Updated Hyleton 313 Smart Plug (markdown)
parent
7110387268
commit
3e630fc392
|
@ -6,10 +6,13 @@ Recently I bought a very nice and compact *Smart Plug* (UK variant) from Aliexpr
|
|||
Another good thing is that it is built around a ESP8266 module, which gives us the possibility to change its firmware and install Tasmota.
|
||||
|
||||
## Open the case
|
||||
There are no visible screws, however it is not that difficult to open the case using some sharp plastic or metal pry tool and a heat gun (or hair dryer on max setting also works - hold on each side for about 20-30 seconds). Heat the edge of the plug a bit, then work your way slowly and pry from the middle of side with the button, slowly moving the tool towards the corners. It can be quite tough - **be careful and keep your fingers away from the tool you are using!**
|
||||
There are no visible screws, however it is not that difficult to open the case using some sharp plastic or metal pry tool and a heat gun (or hair dryer on max setting also works - hold on each side for about 20-30 seconds). Heat the edge of the plug a bit, then work your way slowly and pry from the middle of side with the button, slowly moving the tool towards the corners.
|
||||
|
||||
Once you have got through the layer of adhesive you can lever the case open to dislodge the adhesive on the other sides. Be careful not to accidentally knock off the PCB supports in each corner.
|
||||
Alternatively if you don't have a heat gun or hair dryer you can use a pry tool or something else thin to slowly "saw" away at the middle of the side with the button until you are through (about 2-3mm) .
|
||||
|
||||
With or without a heat gun/hair drier it can be quite tough - **be careful and keep your fingers away from the tool you are using!**
|
||||
|
||||
Once you have got through the layer of adhesive you can lever the case open to dislodge the adhesive on the other sides. Be careful not to accidentally knock off the PCB supports in each corner as these are crucial to safety.
|
||||
|
||||
Once the case is open, the top side of the PCB will be exposed:
|
||||
|
||||
|
@ -59,20 +62,26 @@ In this picture Yellow is Tx, Orange is Ground, Grey is Rx and White is Vdd:
|
|||
|
||||
Connect the other end of the wires to your USB-to-serial adapter and make sure the supply voltage selected is 3.3V.
|
||||
|
||||
Shorting pin *7* (GPIO0) to ground while plugging the serial adapter into the computer's USB port will bring the module into UART firmware upload mode.
|
||||
Shorting pin *7* (GPIO0) to ground while plugging the serial adapter into the computer's USB port will bring the module into UART firmware upload mode. See https://github.com/arendst/Sonoff-Tasmota/wiki/Esptool for details of how to flash the firmware when in firmware upload mode.
|
||||
|
||||
Once you have flashed the firmware, leave the jumpers soldered to the pins and unplug & reinsert your USB-to-serial adapter - this will reset the unit and provide voltage to the ESP8266 which will then boot the new Tasmota firmware - you'll see a Wifi network called "sonof-xxxx" if it has flashed successfully worked (if you do not see the wifi, the flashing process might not have worked correctly and you'll need to try again).
|
||||
|
||||
If you see the wifi network come up ok, you can de-solder the jumpers and reassemble the unit.
|
||||
|
||||
## Reassembly
|
||||
|
||||
Screw the PCB back to the housing, and place the PCB back into the other half of the socket. Apply a small 1mm bead of super glue around the edges and firmly clip the two halves back together again, and hold firmly for about 30 seconds to allow the glue to cure.
|
||||
|
||||
> ### Dangerous Failure Mode To Avoid
|
||||
> When reassembling the plug, be extremely careful to ensure that the resistor next to the PCB screw is not leaning towards the earth (top) pin! It is very easy to slightly bend it towards the earth pin when unscrewing. If the resistor is too close to the earth pin when a plug is inserted it can get caught by the earth pin, bent over, short-out, then explode.
|
||||
> When reassembling the plug, be extremely careful to ensure that the resistor next to the PCB screw is not leaning towards the earth (top) pin! It is very easy to slightly bend it towards the earth pin when unscrewing. If the resistor is too close to the earth pin, the plastic shield for the earth pin on the upper-half of the case will press the resistor down onto the earth pin and when a plug is inserted it can short-out and trigger a small explosion:
|
||||
>
|
||||
> <img src="https://i.imgur.com/EljDTYH.jpg" alt="Do not let the resistor short-out on the earth pin" width="400"/>
|
||||
>
|
||||
> <img src="https://i.imgur.com/KjzsoFu.jpg" alt="Do not let the resistor short-out on the earth pin" width="400"/>
|
||||
>
|
||||
> This will kill the socket, and maybe you too. Take extreme caution - mains electricity is dangerous.
|
||||
>
|
||||
> If you cannot neatly clip everything back into place (i.e. the two halves of the shell don't neatly sit together again, or there is a springiness) then you may have caught the resistor. If you accidentally broke off the PCB standoffs when opening the case, this is harder to detect (as the PCB may be pushed further down than usual) so be especially careful. Double & triple check.
|
||||
|
||||
If you've done everything right you should have a fairly clean looking plug still with just a small amount of cosmetic scratches on the bottom side of the unit where you used the pry tool.
|
||||
|
||||
|
|
Loading…
Reference in New Issue