Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Mitsubishi AC? #70

Closed
mihalski opened this issue Feb 19, 2017 · 11 comments
Closed

Support for Mitsubishi AC? #70

mihalski opened this issue Feb 19, 2017 · 11 comments
Assignees
Labels
enhancement help wanted Pending Confirmation Waiting for confirmation from user

Comments

@mihalski
Copy link

Hi,

Would it be possible to enhance this library with support for Mitsubishi air conditioning systems? Code is available here: https://github.com/r45635/HVAC-IR-Control

Regards,
Michal

@crankyoldgit
Copy link
Owner

Hey Michal,
I'll take a look at it, but I don't have the Mitsubishi unit to test/confirm it works with. Do you have one per chance? ie. Are you willing to do some testing?
Side note: I do have a Mitsubishi Heavy Industries A/C unit, but I don't think they are the same as a standard 'Mitsubishi' brand A/C.

@mihalski
Copy link
Author

Thank you!

I have 3 such units and I did test with a random IR led (that I don't have the specs to and had to use without a resistor to get any results) and it worked over a short distance.

Here's hoping once my Vishay leds come in I'll be able to get decent results. VERY happy to do any testing.

Regards,
Michal

@crankyoldgit
Copy link
Owner

crankyoldgit commented Feb 24, 2017

FWIW, make sure you are not driving the IR LED using the current from the output pin. The current is to low and doesn't give a good result.
i.e. Use the GPIO pin instead to turn on a transistor that drives the IR LED from Vcc (3.3 or 5v).

You can often drive the LEDs overcurrent and overvoltage for the short pulses used in IR signalling without significant long term issues.

@mihalski
Copy link
Author

I tried that initially but I must have been doing something wrong as I was getting a lot less current than driving directly.. Not sure which GPIO I was using.. Will dig it out again tomorrow and measure everything and post how I've connected things..

I have two Broadlink RM mini 3 devices so I may strip one for parts while I wait for my components.

@mihalski
Copy link
Author

Basically I have a Wemos with driving an IR led via GPIO4 using a PN100 transistor connected to the 5V of the Wemos.

The specs for the LED MIGHT be as stated here:

https://www.jaycar.com.au/5mm-infrared-transmitting-led/p/ZD1945

Unclear since apparently they use various sources.

As is it works OK directly pointed at the AC at about 3 metres.. The original remote bounces f all the walls without a problem.

@crankyoldgit
Copy link
Owner

There appears to be no explicit licence set for their code, and there is a copyright notice on the code. So without explicit permission or a change in their licence state, I'm afraid I can't use their code. I've logged an issue with them to ask them to address this.

Fingers crossed.
If we don't hear anything from them, I don't like your chances unless you want to work it out for yourself, or someone else gets around to it. I have no immediate need to access my Mitsub Heavy Industries unit, so it's low on my personal priorities.

@crankyoldgit
Copy link
Owner

Update: Looks like they are going to update the license. Stay tuned.

@mihalski
Copy link
Author

That's fantastic news :)
Thank you for your effort.

Regards,
Michal

@crankyoldgit
Copy link
Owner

@mihalski I've done an initial pass of adding Mitsubishi A/C controls to my personal fork of this library. Completely untested. Compiles. Not run it yet. Try the example TurnOnMitsubishiAC.ino. Let me know. I'm not expecting much.
I'm done for the night. Probably another day or two before I get back to it again.

Lets move the discussion of testing to my repo to keep the chatter off this distro while we work it out the bugs/issues.

@mihalski
Copy link
Author

@crankyoldgit It seems to work perfectly!

Now it's hard to tell for sure that all the signals are as they should, but the AC responds and seems to act in accordance with the provided parameters.

Thank you very much for your work thus far. I tried to make this reply in your repo, but you seem to be missing the Issues tab.

Refards,
Michal

@crankyoldgit
Copy link
Owner

Closing this for now. We can add a new issue for any new issues with it.

@crankyoldgit crankyoldgit added the Pending Confirmation Waiting for confirmation from user label Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement help wanted Pending Confirmation Waiting for confirmation from user
Projects
None yet
Development

No branches or pull requests

2 participants