I designed a 3D-printable eyepiece holder that mates a Raspberry Pi camera to a popular inexpensive stereo inspection scope. This lets me send 5MP images from my AmScope straight to the network, without the need for a laptop!
The design files are here on Thingiverse.
An external button from an old joystick is wired to the GPIO lines. Using Adafruit’s Retrogame GPIO keyboard emulator, this hits the enter key to tell raspistill to take a photo every time the button is pressed. It’s connected to an old LCD monitor, giving me a nice big view of what’s under the scope.
Turn it on, hit the button, picture lands on the network. Perfect!