Arduino library to control Mitsubishi Heat Pumps via connector CN105.
HeatPump hp;
hp.connect(&Serial);
heatpumpSettings settings = {
"ON", /* ON/OFF */
"FAN", /* HEAT/COOL/FAN/DRY/AUTO */
26, /* Between 16 and 31 */
"4", /* Fan speed: 1-4, AUTO, or QUIET */
"3", /* Air direction (vertical): 1-5, SWING, or AUTO */
"|" /* Air direction (horizontal): <<, <, |, >, >>, <>, or SWING */
};
hp.setSettings(settings);
// OR individual settings
// hp.setModeSetting("COOL");
hp.update();
void setup() {
HeatPump hp;
hp.connect(&Serial);
}
void loop() {
hp.sync();
/* get settings from heatpump, including room temperature in settings.roomTemperature */
heatpumpSettings settings = hp.getSettings();
}
- sources
- sample usage code
- Demo circuit using ESP-01
- PULL or download zip.
- Move contents into Arduino library directory
- Restart IDE, samples should be avaliable
- NOTE: Requires arduino json 6, older commits before 20190505 support json 5.
- If you find this all a little confusing, check out this write up blog/install by Chris Davis
- Tested with ESP8266
- Tested with Arduino Micro Pro / Arduino Nano
- Tested with Mitsubishi HeatPump MSZ-FH/GE(wall units) and SEZ-KD (ducted units) complete list
- PAP-05V-S CONN HOUSING PA 5POS 2MM WHITE
- Digi-Key Part Number 455-1489-ND
- https://www.digikey.com/product-detail/en/jst-sales-america-inc/PAP-05V-S/455-1489-ND/759977
- SPHD-002T-P0.5 CONN TERM PHD CRIMP 24-28AWG TIN
- Digi-Key Part Number 455-1313-1-ND
- https://www.digikey.com/product-detail/en/jst-sales-america-inc/SPHD-002T-P0.5/455-1313-1-ND/608809
- JUMPER SPHD-001T-P0.5 X2 12" (pre-crimped alternative to 455-1313-1-ND connectors)
- Digi-Key Part Number 455-3086-ND
- https://www.digikey.co.uk/product-detail/en/jst-sales-america-inc/APAPA22K305/455-3086-ND/6009462
- Premade pigtails
- ESP-01 module (4pk)
- Cheap 5V to 3.3V regulator (10pk), for those that don't want to make one
- ESP-01 breakout with prewired level shifters and regulator
... to Hadley in New Zealand. His blog post, describing baud rate and details of cn105, Raspberry Pi Python code:
https://nicegear.co.nz/blog/hacking-a-mitsubishi-heat-pump-air-conditioner/
Licensed under the GNU Lesser General Public License. https://www.gnu.org/licenses/lgpl.html