We recommend using the OpenFlexure Connect client software for controlling the microscope, both on the microscope itself, and on other devices. OpenFlexure Connect is available for Windows, Linux, and as a web app.
There is no need to download OpenFlexure Connect onto your Raspberry Pi. It’s already included with Raspbian-OpenFlexure.
Full source code is available at openflexure-connect on GitLab.
Controlling the device locally
Since the microscope uses a Raspberry Pi to control the hardware, by connecting a display, mouse, and keyboard, you can use OpenFlexure Connect on the microscope directly. You can launch OpenFlexure Connect from your application menu, under ‘Other’.
From here, ensure that the ‘Connect locally’ option is checked, then click ‘Connect’. After a few seconds, you should see a live preview of the microscope camera, and full software control over the device.
Controlling the device remotely
Through an existing network
OpenFlexure Connect works by sending commands to the microscope over a network connection. This means that if the Raspberry Pi is connected to the same (wired or wireless) network as your laptop, for example, you can remotely control the microscope from that device. In OpenFlexure Connect, on your remote device, select ‘Connect remotely’, enter the IP address of the Raspberry Pi in your microscope, and click ‘Connect’.
Direct via ethernet
On most modern computers, you can simply connect the Raspberry Pi directly to the device via an ethernet cable for simple, high-speed control. For many applications using a single microscope, this is a preferred setup. Generally, you don’t even need to know the IP address of the Raspberry Pi in this case. In OpenFlexure eV, on your remote device, select ‘Connect remotely’, enter
microscope.local as your hostname, and click ‘Connect’.