flipper-zero-stuff/infrared/ReadMe.md
2024-08-14 08:52:00 -07:00

9.3 KiB

Keeping all the IR files in my fork of the Flipper-IRDB! (I'm now able to maintain the entire branch.)

Did you know you can quickly generate your own IR files on the go at Flipper Maker?

Looking for an updated Universal Remote files? Then you're in the right place! Unleashed and RogueMaster both include these.
Now with ALL buttons too! All files developed with support/testing from UberGuidoZ. HUGE thank you to amec0e for maintenance!

TV universal remote compiled by Hyper_Mash and maintained by amec0e
AC universal remote added by JEREMYNO and maintained by amec0e.
Soundbar/Speakers universal remote added and maintained by amec0e.
Projector universal remote added by xMasterx and maintained by amec0e.
Fans universal remote compiled by Edhel90 and maintained by amec0e


Unleashed firmware was the first to add all of the Universal Remotes. Highly advise checking out their work. (Thanks xMasterx!)


Huge thank you to ChaoticDynamic aka c-nagy for some duplicate signal and file cleanup (details here.)

You may have manifest file issues if you do not compile your own firmware, or use one of the listed firmwares above!
Both unlocked firmwares have been tested successfully. Official has stated they will merge it at some point.

NOTE: Long pauses are normal, including 10-15 seconds of no apparent activity. It's just skipping through the "other" buttons.

Click on the file of your choice and save it with a right-click from the Raw button here:

Download_File

Then, use qFlipper to transfer it to your Flipper and replace the existing one (or add a new one) here:

Replace_This

Again, you may have manifest file issues if you do not compile your own or use a tested firmware above!

Protocol info

This info was gathered from the respecctive locations in the firmwares comments.
Ie. lib/infrared/encoder_decoder/*/infrared_protocol_*.h
Some of the info doesn't show up well so view thew raw readme or this commit.

Kaseikyo protocol description

https://github.com/Arduino-IRremote/Arduino-IRremote/blob/master/src/ir_Kaseikyo.hpp

  • Preamble   Preamble      Pulse Distance/Width          Pause       Preamble   Preamble
    
  •   mark      space            Modulation             up to period    repeat     repeat
    
  •                                                                      mark       space
    
  •    3360      1665               48 bit              ...130000        3456       1728
    

__________ _ _ _ _ _ _ _ _ _ _ _ _ _ ___________
____ __________ _ _ _ __ __ __ _ _ __ __ _ _ ________________ ___________

NEC protocol description

https://radioparty.ru/manuals/encyclopedia/213-ircontrol?start=1

  • Preamble   Preamble      Pulse Distance/Width          Pause       Preamble   Preamble  Stop
    
  •   mark      space            Modulation             up to period    repeat     repeat    bit
    
  •                                                                      mark       space
    
  •    9000      4500         32 bit + stop bit         ...110000         9000       2250
    

__________ _ _ _ _ _ _ _ _ _ _ _ _ _ ___________ _
____ __________ _ _ _ __ __ __ _ _ __ __ _ _ ________________ ____________ ___

RC5 protocol description

https://www.mikrocontroller.net/articles/IRMP_-english#RC5.2B_RC5X

  •                                   Manchester/biphase
    
  •                                       Modulation
    
  •                          888/1776 - bit (x2 for toggle bit)
    

__ ____ __ __ __ __ __ __ __ __
__ __ ____ __ __ __ __ __ __ __ _

  •                     | 1 | 1 | 0 |      ...      |      ...      |
    
  •                       s  si   T   address (MSB)   command (MSB)
    
  • Note: manchester starts from space timing, so it have to be handled properly
  • s - start bit (always 1)
  • si - RC5: start bit (always 1), RC5X - 7-th bit of address (in our case always 0)
  • T - toggle bit, change it's value every button press
  • address - 5 bit
  • command - 6/7 bit

RC6 protocol description

https://www.mikrocontroller.net/articles/IRMP_-english#RC6.2B_RC6A

  •  Preamble                       Manchester/biphase                       Silence
    
  • mark/space                          Modulation
    
  • 2666 889 444/888 - bit (x2 for toggle bit) 2666

________ __ __ __ __ ____ __ __ __ __ __ __ __ __
_ _________ ____ __ __ ____ __ __ __ __ __ __ __ __ _______________

  •               | 1 | 0 | 0 | 0 |   0   |      ...      |      ...      |             |
    
  •                 s  m2  m1  m0     T     address (MSB)   command (MSB)
    
  • s - start bit (always 1)
  • m0-2 - mode (000 for RC6)
  • T - toggle bit, twice longer
  • address - 8 bit
  • command - 8 bit

SAMSUNG32 protocol description

https://www.mikrocontroller.net/articles/IRMP_-_english#SAMSUNG

  • Preamble Preamble Pulse Distance/Width Pause Preamble Preamble Bit1 Stop
  • mark space Modulation repeat repeat bit
  •                                                                mark       space
    
  • 4500      4500        32 bit + stop bit       40000/100000     4500       4500
    

__________ _ _ _ _ _ _ _ _ _ _ _ ___________ _ _
_ __________ __ _ __ __ __ _ _ __ __ _ ________________ ____________ ____ ___

Sony SIRC protocol description

https://www.sbprojects.net/knowledge/ir/sirc.php
http://picprojects.org.uk/

  •  Preamble  Preamble     Pulse Width Modulation           Pause             Entirely repeat
    
  •    mark     space                                     up to period             message..
    
  •    2400      600      12/15/20 bits (600,1200)         ...45000          2400      600
    

__________ _ _ _ _ _ _ _ _ _ _ _ _ _ __________ _ _
____ __________ _ _ _ __ __ __ _ _ __ __ _ _ ____________________ __________ _

  •                    |    command    |   address    |
    
  •             SIRC   |     7b LSB    |    5b LSB    |
    
  •             SIRC15 |     7b LSB    |    8b LSB    |
    
  •             SIRC20 |     7b LSB    |    13b LSB   |
    
  • No way to determine either next message is repeat or not,
  • so recognize only fact message received. Sony remotes always send at least 3 messages.
  • Assume 8 last extended bits for SIRC20 are address bits.

Donation Information

Nothing is ever expected for the hoarding of digital files, creations I have made, or the people I may have helped.

I've had so many asking for me to add this.
Flipper_Blush Flipper_Love

BTC: 3AWgaL3FxquakP15ZVDxr8q8xVTc5Q75dS
BCH: 17nWCvf2YPMZ3F3H1seX8T149Z9E3BMKXk
ETH: 0x0f0003fCB0bD9355Ad7B124c30b9F3D860D5E191
LTC: M8Ujk52U27bkm1ksiWUyteL8b3rRQVMke2
PayPal: uberguidoz@gmail.com

So, here it is. All donations of any size are humbly appreciated.
Flipper_Clap Flipper_OMG

Donations will be used for hardware (and maybe caffeine) to further testing!
UberGuidoZ