mirror of
https://github.com/GrKoR/esphome_aux_ac_component.git
synced 2025-12-06 11:36:55 +03:00
doc update: new USB-connector pinout and voltage
This commit is contained in:
@@ -28,16 +28,20 @@ For 4-wire connection it is used USB-like connector. It is only physical USB but
|
|||||||
|
|
||||||
**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.
|
**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.
|
||||||
|
|
||||||
|
**ATTENTION #2!** Manufacturer was changed power circuit and connector pinout in 2022-2023: power rail has +8.5V DC and TX/RX pins are swapped.
|
||||||
|
|
||||||
### Pinout ###
|
### Pinout ###
|
||||||
<img src="https://github.com/GrKoR/esphome_aux_ac_component/blob/master/images/USB-pinout.png?raw=true" width="400">
|
<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.
|
1. +12V..+14V DC before 2022-2023, +8.5V DC after 2022-2023. Service manual declares up to +16V.
|
||||||
2. RX of air conditioner. High level is +5V.
|
2. RX of air conditioner before 2022-2023, TX for later modifications. High level is +5V.
|
||||||
3. TX of air conditioner. High level is +5V.
|
3. TX of air conditioner before 2022-2023, RX for later modifications. High level is +5V.
|
||||||
4. GND - ground.
|
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).
|
Big thanks to [@diabl0](https://github.com/diabl0) for this pinout in [issue #70](https://github.com/GrKoR/esphome_aux_ac_component/issues/70).
|
||||||
|
|
||||||
|
If you are not sure, on which USB-pins do you have RX and TX lines, than don't afraid to connect it randomly. Neither air conditioner nor ESP will be damaged in this situation, just `aux_ac` can't receive data from the air conditioner. Swap TX and RX and your device will probably work.
|
||||||
|
|
||||||
## Power supply
|
## 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:
|
||||||
|
|||||||
@@ -26,16 +26,20 @@
|
|||||||
|
|
||||||
**ВНИМАНИЕ!** С устройствами c настоящим USB этот интерфейс не совместим! Если вставить в разъём обычную USB-флешку или другое устройство, скорее всего оно просто сгорит.
|
**ВНИМАНИЕ!** С устройствами c настоящим USB этот интерфейс не совместим! Если вставить в разъём обычную USB-флешку или другое устройство, скорее всего оно просто сгорит.
|
||||||
|
|
||||||
|
**ВНИМАНИЕ №2!** В 2022-2023 производитель поменял распиновку и схему питания. Теперь кондиционеры на USB-коннектор выдают +8.5В. А пины RX и TX поменялись местами.
|
||||||
|
|
||||||
### Распиновка ###
|
### Распиновка ###
|
||||||
<img src="https://github.com/GrKoR/esphome_aux_ac_component/blob/master/images/USB-pinout.png?raw=true" width="400">
|
<img src="https://github.com/GrKoR/esphome_aux_ac_component/blob/master/images/USB-pinout.png?raw=true" width="400">
|
||||||
|
|
||||||
1. +12В..+14В постоянного тока. Осциллограф показал от +13.70В до +14.70В. В сервисном мануале встречалось, что питание возможно до +16В.
|
1. +12В..+14В постоянного тока для кондиционеров до 2023 года, +8.5В для кондиционеров 2022-2023 годов и моложе. В сервисном мануале на кондиционеры до 2022 года встречалось, что питание возможно до +16В.
|
||||||
2. RX кондиционера. Высокий уровень +5В.
|
2. RX кондиционера до 2022-2023 года, TX для более поздних модификаций. Высокий уровень +5В.
|
||||||
3. TX кондиционера. Высокий уровень +5В.
|
3. TX кондиционера до 2022-2023 года, RX для более поздних модификаций. Высокий уровень +5В.
|
||||||
4. земля.
|
4. земля.
|
||||||
|
|
||||||
Большое спасибо [@diabl0](https://github.com/diabl0) за эту распиновку ([issue #70](https://github.com/GrKoR/esphome_aux_ac_component/issues/70)).
|
Большое спасибо [@diabl0](https://github.com/diabl0) за эту распиновку ([issue #70](https://github.com/GrKoR/esphome_aux_ac_component/issues/70)).
|
||||||
|
|
||||||
|
Если вы не знаете, на каких именно пинах USB-разъема в вашем случае расположены TX и RX, то не бойтесь подключить наугад. Ни кондиционер, ни ESP не пострадают, если вы перепутаете линии TX и RX. Просто компонент не увидит кондиционер, о чем будут сообщения в логе. В таком случае просто попробуйте поменять TX и RX местами.
|
||||||
|
|
||||||
## Питание
|
## Питание
|
||||||
|
|
||||||
Для питания ESP8266 можно использовать любой подходящий DC-DC преобразователь. Я использовал такой:
|
Для питания ESP8266 можно использовать любой подходящий DC-DC преобразователь. Я использовал такой:
|
||||||
|
|||||||
Reference in New Issue
Block a user