Table of Contents

Log

2024-11-08 Friday

Used a clock recovery mechanism instead, and now it works pretty robustly:

Script

Data

2024-11-07 Thursday

At some point it dawned on me that IR remote controllers:

A first pass involved measuring it with an IR powermeter directly, with voltage queries, but the call-and-response rate is much too slow to do anything useful (likely on the order of 1ms). The photodiode itself (FDG-50) likely has a large enough bandwidth for me to perform a measurement, so that's what I did.

Attached the two-pin header into the probe points directly from the photodiode, then latched onto crocodile clips before measurement with an oscilloscope, using a 10MR shunt resistor and 1MR measurement impedance:

Setup

Some key facts (for the aircon remote):

Measurement

Data is stored in lightstick/projects/_private/irremote. A simple fixed clock calculation doesn't seem to work though, perhaps may need to do clock estimation on an interval instead...?

Script

The remote control one is a little harder to understand, but is clearer once we zoom in a little. Some key facts:

Measurement

Also a quick search led me to this repository that supercharges an ESP32 for IR signal sending.

Update: Extracted the signal by manually applying a small adjustment to the clock frequency. Signal shown below:

Script