I am placing the AMDev board inside a 2 inch waterproof enclosure and the input jack is too close to the side and cannot insert the TRS jack (see photos). How can I connect signal inputs to the board and bypass the physical jack?
The application note describes the connections on the socket used on AudioMoth 1.2.0. This is different to the socket used on AudioMoth Dev 1.0.1 as that original is no longer manufactured. AudioMoth Dev 1.0.0 uses the same socket as AudioMoth 1.2.0.
The socket on the AudioMoth Dev 1.0.1 is a CUI Devices SJ2-35894D-SMT-TR socket. It has a different footprint and different connections compared to the one described in the application note.
Pin 1 is ground (normally connected to the sleeve of the 3.5mm plug)
Pin 2 is signal (normally connected to the tip of the 3.5mm plug)
Pin 4 is jack detect (normally connected to ring 2 of the 3.5mm plug).
Normally, when you plug in a 3.5mm TRS plug (without a physical ring 2) pin 4 gets connected to pin 1 through the sleeve of the plug. You are replacing that process by connecting a wire directly between pin 1 and pin 4.
Another option is to use a standard AudioMoth and de-solder the battery holder. Then the 3.5mm socket is on the short side.