Posted by Armin on Wednesday, May 12, 2021
My Raspberry Pi - based microscope camera uses the high-quality Raspi camera that was released in early 2020. It features a 12.3 megapixel Sony IMX477 sensor, with a pixel size of 1.55μm × 1.55μm, which is twice the pixel area than the previous Raspberry Pi camera model. The image quality is much better than the previous Raspi camera models, or the old AmScope 3 MP USP camera (MU300) I had been using before.
Simple Python code makes it all work. Once the script "camera_button_trigger_simple.py" is run, a preview window opens in full screen. Pressing the trigger button takes a picture. Pressing and holding another button (the "off button") for more than two seconds ends the script. Code can be found here: https://github.com/amphioxus/raspi_camera_scripts.
Photos / Video