-
Notifications
You must be signed in to change notification settings - Fork 836
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
Turning ON/OFF a Mitsubishi projector #441
Comments
First things first, can you please detail what model number the projector and the remote are? Second, thanks for the detail report. It helps a lot! That certainly is an unknown protocol alright. It's interesting, a normal "header" then 8 bits, then a header gap, then another 8 bits, then a large gap (28500 usecs) then a repeat of the earlier bits. Not sure what is wrong with your version of
I should be able to whip up a sender and a decoder for this protocol. It looks fairly simple. But, on to your issue with using sendRaw(). As far as I can tell you seem to be using it correctly. So, in theory it should work. It's probably a odd choice of words, but you said the LED blinks (via a camera) when it sends the message. I hope you mean flashes instead. The default state of the LED should be off. It should only be lit very briefly when it's sending the message. If it's on most of the time, then that's wrong. You probably want to either invert the LED via a circuit, or use the invert option in the irsend() object creation. (see source code). Have you be able to get your "send" setup to work with other IR devices? e.g. TV, stereo, etc? |
Oh FYI, try a frequency of '33' or '33000'. The normal Mitsubishi protocol uses 33kHz looking at the source code. |
Hi David and thank you for the quick reply. The projector is a Mitsubishi HC3000 and I'm happy to say that I was able to turn it ON and OFF thanks to your help!!! 🎉
The crucial part was the frequency: I can finally move on with the rest of the project. I'm planning to write a blog post, so expect to be mentioned on Medium 😉 PS Like this?
This?
Just I would love to make it work on OSX and add some usage notes to the README 😄 |
Glad it's working for you. Thanks for the update. Re HW note: If you get a chance, please try out/test the new mitsubishi_projector branch. It (IRrecvDumpV2) should now support decoding this protocol, and you can use From the usage section of the
Thus just running or: Put the entire rawData line into a file with your favourite text editor. e.g. or:
or:
Sorry, I don't have an OS-X machine anymore to test that script on. |
Oh, is there a model number for the remote control too please? |
* Initial support for Mitsubishi Projector protocol. For Issue #441 * Add MITSUBISHI2 support to IRMQTTServer. * Add comments for Mitsubishi Projectors * Add model info * Minor comment and code style improvements * Fix two MITSUBISHI2 typos.
Unfortunately I can't find the remote controller model. Sorry. I'm gonna test the new API the next weekend ☺ |
No worries about the remote model number. You tried. ;-) I'll hold off making a new release of the library till after the weekend in case we find a bug etc. |
Oh, I should add, it's now in the |
This is now in the new v2.4.0 release. |
@hamen Were you able to test the new model-specific call? i.e. sendMitsubishi2() etc |
@crankyoldgit the |
Glad to hear it worked. Not glad to hear you had problems on subsequent "runs". FYI, if it works once, it should work with subsequent invocations. The library is fairly indifferent to repeated calls. |
Friendly ping @hamen |
A final ping to @hamen before I close the issue due to inactivity. |
Closing due to inactivity. |
Hi all,
I'm trying to replicate the ON/OFF feature from my remote to my NodeMCU.
Version/revison of the library used
v2.3.3
Expected behavior
Being able to transmit the data payload previously received to toggle ON/OFF my projector.
I used
IRrecvDumpV2
to receive the ON signal. Here are a couple of dumps:They all look a bit different, depending how long I press the button, I think, but the
Code
stays the same.Then I tried to send the raw data with:
Circuit diagram and hardware used (if applicable)
The circuit looks OK, I checked the transmitter with my phone camera and it blicks when the output data are transmitted.
Sending the data, I get the
Sending a rawData capture from IRrecvDumpV2
message on the console and then the LED blinks (on camera), so I believe that the board is actually working as expected. Unfortunately the projector does not turn ON 😞I tried different frequency than 38, i.e. , 36, 40 and other possible frequencies I read about in other closed issues.
I have also tried to use
AutoAnalyseRasData.sh
, but seems I can't find a way to feed it the raw data. I keep gettingsed: 1: "s/^.*uint.*{//i": bad flag in substitute command: 'i'
error 🤔.Any help? I know this is not a A/C, but it would be cool to have some automation around my entertainment system 😄
Thank you 😄
The text was updated successfully, but these errors were encountered: