Comments (9)
@vperas it works.
I ended up putting the 5V from the CN105 into a AMS1117 LDO board to step voltage down to 3.3V; then I powered my ESP32 straight via the 3V3 pin. I also used a logic level shifter so the esp never sees any voltages over 3.3v.
from mitsubishi2mqtt.
Here is another view from "above":
Power off the AC (switch off the breaker or unplug the unit) before connecting the ESP to CN105
ESP PIN28 (Tx) to CN105 PIN5 (Rx)
ESP PIN27 (Rx) to CN105 PIN4 (Tx)
ESP PIN15 (5V) to CN105 PIN3 (5V)
ESP PIN14 (GND) to CN105 PIN2 (GND)
PIN1 on CN105 is 12V and you don't connect a wire to it, just leave it blank
After you finish, power up the unit and connect to the ESP over WiFi and click on the "status" button.
If everything went well you will see this:
from mitsubishi2mqtt.
@vperas thanks a million for the comment. I'm just waiting on my bi-di logic level converter to reduce 5v to 3v for the ESP as this is for a ducted unit and the air handler is in the ceiling - I don't want to take any chances with this. I have read conflicting reports about whether or not the ESP32 can handle 5V on the signalling pins!
I will report back once I succeed (or fail).
from mitsubishi2mqtt.
No problem :)
I run 3 x wemos D1mini on my units (I think those ESP8266 are also 3.3V TTL) directly connected to CN105 for more than a year now, all working good. But I get your point; better safe than sorry.
from mitsubishi2mqtt.
What tail are you using? I just went to hook mine up and the tail I got doesn't fit the cn105 red connector.
from mitsubishi2mqtt.
I’ve got this one, I’ve not yet hooked up the unit but based on photos of the circuit board, I believe it is correct.
You want the “5p” variant. Then, once you get it you’ll want to use a sharp implement (a needle or similar) to take out all the wires so that the red one goes to 5V, black goes to GND, and I guess whatever colours you use for RX/TX do not matter too much. If you get those the wrong way around it’s just not gonna work, but if you get 5V/Ground mixed up there’s a good chance you’ll roast your ESP board.
https://www.aliexpress.com/item/1005002904897793.html
from mitsubishi2mqtt.
Or in my case, it looks like I got the plug wiring backwards on the tail and put 12V on RX - thankfully these boards are cheap and I have spares. I ordered the tails specified above. The D1 Mini is toast. Will do the wireing correct tonight and then triple check.
from mitsubishi2mqtt.
You might also consider a Line level reducer. And a 3v3 step down regulator (I use AMS 1117)
Apparently you’re not supposed to run any ESP on 5 volts to the pins, or GPIO but this is what the aircon provides.
In the past I’ve run all sorts if ESPs over 5 volts, some for years on end and not had any issues but most of them were just for things like lighting etc.
I don’t mind if those blowout, I can easily get to them. But this one is going to be in my ceiling on the air handler (ducted system) so I’m motivated to do it properly!
from mitsubishi2mqtt.
Great news, glad you made it work! :)
from mitsubishi2mqtt.
Related Issues (20)
- Custom packet max size
- Fan speed 4 issue - compressor frequency
- [FR] RSSI and HVAC status via MQTT
- Issue on initial setup
- HVAC connection stuck HOT 2
- openHAB MQTT Channel Autodiscovery not working cause name=null HOT 2
- MSZ-HR25VF - D1 Mini Clone - HA Constantly being unavailable HOT 4
- Syslog integration?
- Homeassistant mqtt Mitsubishi HOT 2
- Config allows illegal characters to be used in “Friendly name”
- some pieces of code in mitsubishi2mqtt.ino that implement delay by comparing to millis() can be improved to work better on a wrap
- Led blinking HOT 1
- Connection Problem HOT 2
- Stopped working all of the sudden HOT 1
- Temperature resets on network interruption HOT 2
- MQTT set power (OFF) and set mode (ON) seem not to work HOT 3
- mqtt server doesn't work with DNS names, only IPs HOT 3
- no wide vane automatic mode HOT 1
- Compile error- no matching function for call to 'min(unsigned int, const uint32_t&)' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mitsubishi2mqtt.