PicoMite IR Decoding / Sending


Author Message
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5994
Posted: 08:58pm 06 Nov 2022      

Keep in mind that bitbang bitstream needs to specify each transition.
A 2ms pulse of 38khz has 152 transitions.
A IR command has 10-32 bits, meaning that worst case a command is a set of 4500 timing values. When variables are 64bit, that is 27kbyte, for each command.

Very precise, and very universal, but very memory consuming.

Maybe try to find if there is some info on the web about the exact protocol, or derive it from the chip datasheet and the frequency of the crystal or resonator of that chip.

Edit: the chip is 6 bits. The bitstream idea will work . Define a bitstream 0.5ms of 38khz. And fire that in the 2ms settick .

With only 30 keys, it is not hard to find the codes used by trial and error.
Edited 2022-11-07 07:09 by Volhout