IR signal recording and replication

I think the problem is that you didn't show your code, you didn't provide info on the circuit you use, the sensors you use, the IR LED you use, and just about everything else.

That failing, a link to a reliably working and affordable crystal ball would be great.

1 Like