mirror of
https://github.com/GrKoR/esphome_aux_ac_component.git
synced 2025-12-06 19:46:57 +03:00
USB connection was described
This commit is contained in:
@@ -8,15 +8,38 @@ I leave GPIO0 in air cause I don't see any reason to solder additional component
|
|||||||
ESP-12E before DC-DC and air conditioner connected:
|
ESP-12E before DC-DC and air conditioner connected:
|
||||||

|

|
||||||
|
|
||||||
Air conditioner internal block has a 5-wire connection to the wifi-module. Connector is [JST SM](https://www.jst-mfg.com/product/pdf/eng/eSM.pdf).
|
Air conditioner internal block has a 5-wire or a 4-wire (pseudo-USB) connection to the wifi-module.
|
||||||
|
|
||||||
## Wires ##
|
## 5-wire connection
|
||||||
1. Yellow: +14V DC. Measured +14.70V max and +13.70V min. Service manual declares up to +16V.
|
It use [JST SM](https://www.jst-mfg.com/product/pdf/eng/eSM.pdf) connector for 5-wire connection.
|
||||||
|
|
||||||
|
### Pinout ###
|
||||||
|
1. Yellow: +12V..+14V DC. Measured +14.70V max and +13.70V min. Service manual declares up to +16V.
|
||||||
2. Black: ground.
|
2. Black: ground.
|
||||||
3. White: +5V DC (max: +5.63V; min: +4.43V) I have no idea what this is for. It goes directly to the air conditioner microcontroller through resistor 1kOhm and it does not affect the operation of the module.
|
3. White: +5V DC (max: +5.63V; min: +4.43V) I have no idea what this is for. It goes directly to the air conditioner microcontroller through resistor 1kOhm and it does not affect the operation of the module.
|
||||||
4. Blue: TX of air conditioner. High is +5V.
|
4. Blue: TX of air conditioner. High is +5V.
|
||||||
5. Red: RX of air conditioner. High is +5V.
|
5. Red: RX of air conditioner. High is +5V.
|
||||||
|
|
||||||
|
You should feed your ESP **from +12V..+14V line only**! It is prohibited to use +5V line for this purpose.
|
||||||
|
+5V line is digital signal line and directly goes to conditioner's controller. It can't provide enough power. In worst scenario you probably can burn down your air conditioner controller.
|
||||||
|
|
||||||
|
## 4-wire connection (pseudo-USB)
|
||||||
|
For 4-wire connection it is used USB-like connector. It is only physical USB but its pinout is UART with +12V..+14V power line.
|
||||||
|
|
||||||
|
**ATTENTION!** It is incompatible with normal USB devices! Ordinary USB device like USB flash drive will be damaged if it will be plugged in air conditioner USB connector.
|
||||||
|
|
||||||
|
### Pinout ###
|
||||||
|
<img src="https://github.com/GrKoR/esphome_aux_ac_component/blob/master/images/USB-pinout.png?raw=true" width="400">
|
||||||
|
|
||||||
|
1. +12V..+14V DC. Service manual declares up to +16V.
|
||||||
|
2. RX of air conditioner. High level is +5V.
|
||||||
|
3. TX of air conditioner. High level is +5V.
|
||||||
|
4. GND - ground.
|
||||||
|
|
||||||
|
Big thanks to [@diabl0](https://github.com/diabl0) for this pinout in [issue #70](https://github.com/GrKoR/esphome_aux_ac_component/issues/70).
|
||||||
|
|
||||||
|
## Power supply
|
||||||
|
|
||||||
For power supply it is possible to use any kind of suitable modules. I use this:
|
For power supply it is possible to use any kind of suitable modules. I use this:
|
||||||
.
|
.
|
||||||
|
|
||||||
|
|||||||
@@ -19,6 +19,8 @@
|
|||||||
4. Синий: TX кондиционера. Высокий уровень +5В.
|
4. Синий: TX кондиционера. Высокий уровень +5В.
|
||||||
5. Red: RX кондиционера. Высокий уровень +5В.
|
5. Red: RX кондиционера. Высокий уровень +5В.
|
||||||
|
|
||||||
|
Питание ESP подключать **ТОЛЬКО** к линии +12В..+14В! Имеющийся в 5-проводном подключении контакт с +5В для питания ESP использоваться не должен. Он является сигнальным, подключен через резистор непосредственно на ногу контроллера на материнской плате кондиционера и способен выдавать мизерный ток. При плохом стечении обстоятельств повесив питание ESP на эту линию можно сжечь мозги кондиционеру.
|
||||||
|
|
||||||
## 4-проводное подключение (псевдо-USB)
|
## 4-проводное подключение (псевдо-USB)
|
||||||
Для 4-проводного подключения используется USB-коннектор. От настоящего USB здесь только коннектор. По пинам в этом разъеме UART и +12В..+14В питание.
|
Для 4-проводного подключения используется USB-коннектор. От настоящего USB здесь только коннектор. По пинам в этом разъеме UART и +12В..+14В питание.
|
||||||
|
|
||||||
@@ -32,14 +34,13 @@
|
|||||||
3. TX кондиционера. Высокий уровень +5В.
|
3. TX кондиционера. Высокий уровень +5В.
|
||||||
4. земля.
|
4. земля.
|
||||||
|
|
||||||
|
Большое спасибо [@diabl0](https://github.com/diabl0) за эту распиновку ([issue #70](https://github.com/GrKoR/esphome_aux_ac_component/issues/70)).
|
||||||
|
|
||||||
## Питание
|
## Питание
|
||||||
|
|
||||||
Для питания ESP8266 можно использовать любой подходящий DC-DC преобразователь. Я использовал такой:
|
Для питания ESP8266 можно использовать любой подходящий DC-DC преобразователь. Я использовал такой:
|
||||||
.
|
.
|
||||||
|
|
||||||
Питание ESP подключать **ТОЛЬКО** к линии +12В..+14В! Имеющийся в 5-проводном подключении контакт с +5В для питания ESP использоваться не должен. Он является сигнальным, подключен через резистор непосредственно на ногу контроллера на материнской плате кондиционера и способен выдавать мизерный ток. При плохом стечении обстоятельств повесив питание ESP на эту линию можно сжечь мозги кондиционеру.
|
|
||||||
|
|
||||||
## Подключение ##
|
## Подключение ##
|
||||||
Черный провод (земля) подключается к земле DC-DC преобразователя и к пину GND модуля ESP8266.
|
Черный провод (земля) подключается к земле DC-DC преобразователя и к пину GND модуля ESP8266.
|
||||||
Желтый провод подключается ко входу DC-DC преобразователя (в моём случае контакт Vin).
|
Желтый провод подключается ко входу DC-DC преобразователя (в моём случае контакт Vin).
|
||||||
|
|||||||
Reference in New Issue
Block a user