Physically connecting an I2C device on GL-AR750

Has anyone found a good way to connect an external I2C device to the header on the GL-AR750? A standard DuPont connector doesn't work well because it's too tall to close the case over it. I can't just notch out the case because one PCB antenna is mounted to it directly over the header. So far I'm considering wire-wrapping, soldering wires to the pins on the reverse side of the board (and hot-gluing the wires to the board nearby for strain relief), or de-soldering the pins and replacing them with a right-angle header. Maybe bending them in place will work, assuming I can leave enough length to reach the contacts in the connector.

For anybody coming from I2c problem on gl-ar750 (white), we found that SDA is on GPIO 1, not 17, at least for the boards we have:

May I know what requirements/scenario to need the connection of I2C devices?

Certainly. I'm adding a DS3231 RTC so the router has reasonably accurate time even if the network it's on blocks NTP. This is helpful when attempting to bring up a Wireguard VPN, because of its anti-replay features. I also use them to setup stand-alone WiFi networks without Internet access, so it's handy to have a dedicated reference clock on the network.

I have the clock and drivers already working with a custom build of OpenWRT; I just need a better way to make the physical connection so I can close the case.

1 Like