I was having a similar problem and tried different thing and seem to have it working better. I am not sure if there is a reason behind this or just dumb luck but thought I would share, so try this:
Go into the IRremote.h file and change Decode_Hash to 0
Now try test testifraredremote
Bring up the monitor and go through the buttons
When I did this I no longer got the other button with the number string but rather the proper responses, the problem was I now got a lot of "repeat"
After doing this I went back and changed Decode_hash back to 1
Now in the monitor things seemed to work!
Give it a shot and let me know if it works for you...
But when I run testInfraredRemote.ino, I get different results when clicking the 21 buttons, left to right, from upper left (CH-) through lower right (9). For example, after quitting & re-running testInfraredRemote.ino, I get these results when I press those buttons in the order mentioned:
a⸮IR Receiver Button Decode
other button E318261B
other button 511DBB
other button EE886D7F
other button 52A3D41F
other button D7E84B1B
other button 20FE4DBB
other button F076C13B
other button A3C8EDDB
other button E5CFBD7F
other button C101E57B
other button 97483BFB
other button F0C41643
other button 9716BE3F
other button 3D9AE3F7
other button 6182021B
other button 8C22657B
other button 488F3CBB
other button 449E79F
other button 32C6FDF7
other button 1BC0157B
other button 3EC3FC1B
Then if I quit completely out of the IDE & re-run testInfraredRemote.ino I get:
Hi - I'm also having a hard time with the remote for Bittle. I have the IRRemote (not IRRemoteControl or other) library installed. Bittle wasn't responding at all to the IR. When I run the sketch:testInfraredRemote.ino
the buttons are being received, but each one outputs:other button
NOTE: The sketch as downloaded did not work. The line:if (irrecv.decode(&results)) // have we received an IR signal?
produced a message that decode(&results) was deprecated & that decode() with no parameters should be used. I changed the code as directed, but the run result simply outputsother button
for every button pressed.
Before trying this I swapped out the battery. No luck.
Also - I think I followed the instructions on fixing the IRremote.h file on my Mac as indicated on the graphic here:
Note the file I modified doesn't seem to have any#define SEND_Xlines, even though four are shown in the image in the bittle.petoi.com/4-configuration URL above. Also - there are many more#define DECODE_X
lines than are shown in the graphic in the docs. Thanks for any advice!
So you disabled the Decode_hash then reactivated it. And things worked like magic? Interesting, I don't know what's happening😅
I was having a similar problem and tried different thing and seem to have it working better. I am not sure if there is a reason behind this or just dumb luck but thought I would share, so try this:
Go into the IRremote.h file and change Decode_Hash to 0
Now try test testifraredremote
Bring up the monitor and go through the buttons
When I did this I no longer got the other button with the number string but rather the proper responses, the problem was I now got a lot of "repeat"
After doing this I went back and changed Decode_hash back to 1
Now in the monitor things seemed to work!
Give it a shot and let me know if it works for you...
OK, I think I understand how to edit IRremote.h
Here is a GitHub gist showing the edited code:
But when I run testInfraredRemote.ino, I get different results when clicking the 21 buttons, left to right, from upper left (CH-) through lower right (9). For example, after quitting & re-running testInfraredRemote.ino, I get these results when I press those buttons in the order mentioned:
a⸮IR Receiver Button Decode
other button E318261B
other button 511DBB
other button EE886D7F
other button 52A3D41F
other button D7E84B1B
other button 20FE4DBB
other button F076C13B
other button A3C8EDDB
other button E5CFBD7F
other button C101E57B
other button 97483BFB
other button F0C41643
other button 9716BE3F
other button 3D9AE3F7
other button 6182021B
other button 8C22657B
other button 488F3CBB
other button 449E79F
other button 32C6FDF7
other button 1BC0157B
other button 3EC3FC1B
Then if I quit completely out of the IDE & re-run testInfraredRemote.ino I get:
⸮iIR Receiver Button Decode
other button E318261B
other button 511DBB
other button EE886D7F
other button 52A3D41F
other button D7E84B1B
RIGHT
other button F076C13B
REVERSE
other button E5CFBD7F
other button C101E57B
other button 97483BFB
other button F0C41643
4
5
other button 6182021B
other button 8C22657B
other button 488F3CBB
other button 449E79F
other button 32C6FDF7
0
#
You need to install version 2.6.1 of the library, as mentioned in the manual.
https://bittle.petoi.com/4-configuration#4-2-1-install-through-the-library-manager
Hi - I'm also having a hard time with the remote for Bittle. I have the IRRemote (not IRRemoteControl or other) library installed. Bittle wasn't responding at all to the IR. When I run the sketch: testInfraredRemote.ino
the buttons are being received, but each one outputs: other button
NOTE: The sketch as downloaded did not work. The line: if (irrecv.decode(&results)) // have we received an IR signal?
produced a message that decode(&results) was deprecated & that decode() with no parameters should be used. I changed the code as directed, but the run result simply outputs other button
for every button pressed.
Before trying this I swapped out the battery. No luck.
Also - I think I followed the instructions on fixing the IRremote.h file on my Mac as indicated on the graphic here:
https://bittle.petoi.com/4-configuration
Here's a gist of my update:
Note the file I modified doesn't seem to have any #define SEND_X lines, even though four are shown in the image in the bittle.petoi.com/4-configuration URL above. Also - there are many more #define DECODE_X
lines than are shown in the graphic in the docs. Thanks for any advice!
John
Try the testInfraredRemote.ino. You need to install the IR remote library. More details in the assembling instruction.
You also need to install the included Panasonic button battery, of course.