Cloned the IR signal with FZ, copied file to computer. What settings do I need in arduino to use the .ir file?

Hi, I’ve successfully cloned the IR signal for some window blinds, and copied it over to my laptop, what settings do I need in the Arduino IDE in order to use the data in the .ir file?

Version: 1

name: Up
type: raw
frequency: 38000
duty_cycle: 0.330000
data: 2702 2626 1027 977 1027 2624 1026 962 1026 2712 2770 2559 1026 976 1027 2622 1028 962 1026 2710 2704 2626 1000 1006 998 2651 1000 990 998 2738 2676 2653 1000 1004 1000 2650 1001 988 1000 2738 2676 2653 1095 908 1096 2554 1096 893 1095 2643 2770 2558 1096 909 1094 2556 1095 893 1095 2642 2771 2559 1082 921 1002 2650 1001 986 1002 2736 2678 2652 1001 1002 1002 2649 1001 987 1001 2736 2678 2652 1001 1002 1002 2647 1004 985 1003 2736 2678 2651 1002 1001 1003 2648 1002 986 1002 2735 2679 2651 1002 1001 1003 2648 1002 986 1002 2736 2678 2651 1002 1001 1003 2648 1002 986 1002 2734 2680 2651 1002 1001 1003 2648 1002 986 1002 2736 2678 2651 1002 1002 1001 2648 1002 987 1001 2736 2678 2651 1002 1002 1002 2649 1095 892 1097 2642 2771 2558 1096 908 1099 2549 1101 888 1100 2638 2773 2558 1098 905 1098 2551 1099 891 1097 2639 2705 2625 1098 905 1099 2552 1099 889 1099 2639 2705 2625 1098 905 1099 2551 1097 892 1095 2650 2678 2651 1096 908 1096 2555 1096 891 1097 2650 2678 2652 1001 1001 1003 2649 1002 986 1002 2743 2679 2651 1002 1001 1003 2649 1028 960 1028 2717 2705 2625 1028 975 1029 2622 1028 959 1029 2717 2705 2624 1029 974 1030 2621 1029 960 1028 2717 2704 2626 1027 976 1027 2622 1028 962 1000 2745 2677 2652 1001 1003 1001 2650 1001 987 1001 2745 2677 2652 1001 1004 1000 2650 1000 988 1000 2745 2677 2653 1000 1003 1000 2650 1001 987 1027 2720 2676 2653 1027 976 1028 2623 1001 987 1028 2719 2676 2653 1027 975 1029 2623 1027 961 1027 2719 2703 2627 1026 976 1028 2624 1026 961 1027 2718 2703 2626 1027 976 1028 2623 1027 960 1028 2718 2704 2626 1027 975 1029 2623 1027 960 1028 2717 2705 2626 1027 977 1027 2623 1028 961 1027 2719 2703 2626 1027 977 1027 2623 1027 960 1028 2719 2702 2627 1026 977 1027 2623 1027 962 1026 2720 2702 2628 1025 979 1024 2626 1024 964 1024 2722 2700 2630 1023 980 1023 2628 996 992 973 2772 2650 2679 974 1030 974 2677 973 1014 974 2772 2650 2679 974 1030 974 2677 974 1014 974 2772 2650 2679 974 1030 974 2677 973 1014 974 2771 2651 2679 974 1030 974 2677 974 1014 974 2772 2650 2679 974 1030 974 2677 973 1014 974 2772 2650 2679 974 1029 975 2677 973 1014 974 2772 2650 2678 1000 1005 998 2652 999 988 1000 2747 2675 2653 1000 1003 1001 2650 1000 988 1000 2746 2676 2653 1000 1003 1001 2650 1000 988 1000 2745 2677 2653 1000 1003 1001 2649 1001 988 1000 2745 2677 2652 1025 979 1024 2626 1024 963 1001 2745 2701 2629 1024 979 1024 2627 1024 963 1000 2746 2676 2652 1001 1003 1001 2651 999 988 1000 2745 2677 2653 1000 1003 1001 2651 999 988 1000 2746 2676 2653 999 1004 1000 2651 999 988 1000 2746 2676 2653 1000 1004 1000 2651 999 988 1000 2746 2676 2654 999 1005 999 2651 999 989 999 2747 2675 2654 999 1004 1000 2651 999 988 1000 2747 2675 2654 999 1004 1000 2651 999 989 999 2746 2676 2654 999 1005 998 2652 999 989 999 2747 2675 2654 999 1005 999 2651 999 989 999 2746 2676 2654 999 1004 1000 2651 999 989 999 2746 2676 2654 999 1005 999 2651 999 989 999 2747 2675 2654 999 1004 1000 2651 999 989 999 2746 2676 2654 999 1004 1000 2651 999 989 999 2746 2676 2654 999 1004 1000 2652 998 989 999 16451 2676 2653 1000 1004 1000 2651 999 989 999 2738 2676 2654 999 1004 1000 2651 1000 988 1000 2738 2676 2654 999 1004 1000 2651 999 988 1000 2739 2675 2654 999 1004 1000 2651 999 989 999 2739 2675 2653 1000 1004 1000 2651 999 988 1000 2739 2675 2654 999 1005 999 2652 999 989 999 2739 2675 2654 999 1005 999 2652 998 989 999 2740 2674 2655 998 1005 999 2652 998 989 999 2740 2674 2654 999 1005 998 2652 998 989 999 2739 2675 2655 998 1006 998 2652 999 990 998 2740 2674 2655 998 1007 997 2654 996 991 997 2741 2673 2656 997 1007 997 2654 996 991 997 2741 2673 2657 996 1007 996 2655 995 993 995 2743 2671 2658 995 1009 995 2656 994 994 994 2744 2670 2659 994 1032 971 2679 972 1016 972 2767 2647 2682 971 1033 971 2680 971 1017 970 2767 2647 2683 970 1034 969 2681 970 1018 969 2770 2645 2684 968 1035 969 2682 969 1021 967 2770 2644 2709 943 1037 967 2708 942 1046 943 2803 2593 2737 916 1087 916 2734 916 1072 916 2830 2592 2762 890 1113 890 2811 839 1150 838 2856 2564 2766 886 1143 864 2787 807 1180 688 3083 985 202 146 214 595 3186 834 1277 697 2871 236 202 371 1178 482 3289 981 1368 93 8533 140 295 235 1252 223 5771 210 36346 71 375 202 1529 348 3343 481 5003 261 202 108 1601 262 3645 91 4914 391 237 118 5137 332 7102 417 3059 281

1 Like

I do not understand the question. The Flipper does everything as expected, so you ask in the Flipper forum how to handle the Arduino? I do think this is more a Arduino topic.

At first you need to know that IR diode you are using. If you are using something like a TSOP-75338TR (the one the flipper is using) and load a library #include <IRremote.h>, you just need to follow the documentation of the library, how to send a signal.

Maybe something like irsend.sendRaw("2702 2626 1027 ... 332 7102 417 3059 281")
Looks like a very long sequence, just for push up/down the shades. I would capture 3 more samples and compare. and/or try with the flipper first, if the code can be replayed, before trying to debug on an Arduino.

Thanks for getting back to me. I’m asking here because the FZ docs don’t explain what the data file means. I’ll try raw.

Yes, the documentation is not complete. But the version is still before 1.0.

But the RAW capture is just the RAW timings between a space and a mark. Nothing special. But depending on the hardware and the library you are using. This Information would be helpful, not depending on the Flippers documentation.

Good luck with your project.

It is in docs folder of sources tree, IIRC.

In general, yes: flipperzero-firmware/InfraredFileFormats.md at dev · flipperdevices/flipperzero-firmware · GitHub

In specific: if I can’t recognize the RAW timings in the Flippers data: field in a .it file, this documentation won’t help me to understand what the values do.

On the other hand, I don’t know if it is a .ir file or an .ir file. Even if there is a source somewhere in the internet and I am just too lazy to lookup.

I think you are doing this the hard way. When I want to use IR on an Arduino I use the Arduino to capture the signal. I would like the ability to easily convert these files to different formats for different devices but there are many different possibilities.