Author Topic: Reverse Engineering a IR Blaster  (Read 617 times)

0 Members and 1 Guest are viewing this topic.

Offline bizkitsTopic starter

  • Contributor
  • Posts: 30
  • Country: sg
Reverse Engineering a IR Blaster
« on: April 06, 2024, 12:01:43 pm »
Hi everyone, recently I purchased a Type C IR Blaster (https://de.aliexpress.com/item/1005006058268428.html?gatewayAdapt=glo2deu).
It works on an Android with their application Ocrustar.
However I want to make it work on a raspberry pi or microcontroller.

I pried open the IR Blaster and in it I see a microcontroller WCH 552ED06. But I can't find any documentation on this chip.
I did some research and think that it could be a chip which provides USB + IrDA (some kind of IR Specifications)?

My next step is to somehow get hold of information on how to write codes to communicate with the chip on a computer.
Anyone has any idea how/what I should search in order to start?

*attached is the image of the IR blaster
 

Offline zilp

  • Regular Contributor
  • *
  • Posts: 208
  • Country: de
Re: Reverse Engineering a IR Blaster
« Reply #1 on: April 06, 2024, 12:52:11 pm »
This is what you are looking for:

https://www.wch-ic.com/products/CH552.html
 

Online NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9039
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: Reverse Engineering a IR Blaster
« Reply #2 on: April 06, 2024, 01:01:46 pm »
However I want to make it work on a raspberry pi or microcontroller.
Just use an IR LED and a simple one transistor driver.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 
The following users thanked this post: bizkits

Offline bizkitsTopic starter

  • Contributor
  • Posts: 30
  • Country: sg
Re: Reverse Engineering a IR Blaster
« Reply #3 on: April 06, 2024, 01:24:29 pm »
This is what you are looking for:

https://www.wch-ic.com/products/CH552.html

Thanks, but how do you know is this chip?
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5938
  • Country: es
Re: Reverse Engineering a IR Blaster
« Reply #4 on: April 06, 2024, 01:27:47 pm »
Try decompiling the apk in https://www.decompiler.com/

There's an interesting file: sources/com/esmart/ir/IROTG.java
And the function sendIRDataToExternalDevice
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline wraper

  • Supporter
  • ****
  • Posts: 16882
  • Country: lv
Re: Reverse Engineering a IR Blaster
« Reply #5 on: April 06, 2024, 01:28:00 pm »
This is what you are looking for:

https://www.wch-ic.com/products/CH552.html

Thanks, but how do you know is this chip?
Because obvious marking.
 

Offline bizkitsTopic starter

  • Contributor
  • Posts: 30
  • Country: sg
Re: Reverse Engineering a IR Blaster
« Reply #6 on: April 06, 2024, 01:56:19 pm »
Try decompiling the apk in https://www.decompiler.com/

There's an interesting file: sources/com/esmart/ir/IROTG.java
And the function sendIRDataToExternalDevice

Thanks for taking a look at the apk.
Yeah I was looking into that just now and saw that method too. Will try to figure out how to replicate it in maybe a simple app.
 

Offline bizkitsTopic starter

  • Contributor
  • Posts: 30
  • Country: sg
Re: Reverse Engineering a IR Blaster
« Reply #7 on: April 06, 2024, 01:57:10 pm »
This is what you are looking for:

https://www.wch-ic.com/products/CH552.html

Thanks, but how do you know is this chip?
Because obvious marking.

Ahhh 552 on the chip! How did I missed that  :palm:
Thanks for pointing that out
 

Offline honeycat

  • Newbie
  • Posts: 1
  • Country: au
Re: Reverse Engineering a IR Blaster
« Reply #8 on: April 24, 2024, 11:57:20 am »
These might help
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf