I made a sangaboard V0.5

Thank you for your reply. I have opened it with my browser.

As far as I have seen, the Raspberry Pi camera version 2 has been version v2.1 since launch. Some suppliers list it as version 2, but all of the boards are marked v2.1. There is only one set of specifications listed for ‘version 2’ on the Raspberry Pi documentation.

There are many and varied ways in which a camera bord can become faulty, including connection or disconnection with power on (so also loose connections).

The Openflexure software v2 uses some very specific methods of camera control that are available for the Raspberry Pi v2 camera only. A board marked v2 may be a nominally compatible camera board that has some subtle difference and does not work with the camera modes that the microscope uses to give the nice colour correction and flat field lighting correction. A partially broken board will also sometimes function using other camera applications on a Pi, but not with the OpenFlexure software.

I am glad that you have got the new camera running, and the OpenFlexure web app. Please do share pictures of your microscope or from your microscope when you can!

1 Like

Everything is not going well. This is my warning.
2024/12/13 23:30:24
WARNING: No LTX_MANIFEST found for /var/openflexure/extensions/microscope_extensions/sangaboard-extension/init.py. Searching for implicit extension objects.

Is this with the Sangaboard that you made, you managed to get the firmware on to it in the end? or is it with a different Sangaboard system like the workaround with an Arduino Nano?

I made it myself. I made it v0.5.4
Which is the latest firmware? Now both the camera and the sangaboard show the connection.

This warning seems to come out after installing the extension. Is there something wrong with my installation steps?

For normal operation of the microscope, the Sangaboard extension is not needed. I have not used it myself so I don’t know where it might fall down.
There are not clear archives for releases of the Firmware, but the things needed for microscope moves are in all versions. I was running a version below 1.0, I now am using 1.0.3-dev from Index of /sangaboard/sangaboard-firmware/.
@filip.ayazi might be able to give more information.

That warning is normal and can be safely ignored, it’s a general extension loading warning I get for all extensions (which then work).
Do you get anything other errors/what are the symptoms that you’re seeing?

1 Like

Hello. I want to know if the new LED PCB turns on automatically when the power is on? Or does it need to be opened in the expansion panel?
Now my LED is not turned on. The camera stage has shown the connection.

The ‘cc’ port on the Sangaboard is set at 20mA by default I believe, so the LED should be on. Which LED system have you used? The Sangaboard cc port is designed for a plain LED without any resistor or other components to control the current. If you are using the LED work-around, or a PCB design with built-in current control, then you cannot use the Sangaboard current control and you should plug into the 5v and GND ports.

It’s all my fault. I didn’t look at the positive and negative poles on the LED PCB, but connected the cables according to the pictures in the assembly manual. The manual is exactly the opposite. I have a D-type LED PCB, and everything is fine now, but there is a calibration problem. I am using an infinity lens and don’t know how to operate it.

1 Like

Thank you for raising the mistake in the illumination instructions, we can now correct that.

For the optics it would be useful to know what samples you are looking at, and what you are able to see. For example are you able to find the focus? Is the calibration you are finding difficult in the illumination and white balance calibration, or the camera-stage mapping calibration? Any images of what you can see will be helpful to understand any issues.

I can’t keep the focal length all the time. I use an infinity eyepiece, and the slide is also flipped.

I am not sure what you mean. Is it that you can focus on the slide, but it drifts out of focus over time? or when you move? Does autofocus work (once you are reasonably close to focus, as the range is limited)

The camera moves from far to near until it touches the slide, and the image is not clear. If the slide is removed and replaced with onion skin, placed directly on top of the objective lense


, I have seen a clear image.
The autofocus is working, but the focus cannot be found


1 Like

Just to confirm, did you print the infinity corrected version of the optics module? The standard one is for a 160mm tube length objective.

2 Likes

Also if you take the objective off the tube lens on its own should be focussed at infinity. i.e. if you aim it out the window you should get a clear image of things far away.

2 Likes

I’m sure I’ve printed the infinite version of the module. Is there something wrong with my objective lens? Because it is indeed too cheap.



I took down the objective lens, and it did see a clear image in the distance.

If you are getting a clear image from the infinity corrected optics module with no objective then the optics module is functioning well so it is almost certainly a objective issue.

If it is a low cost objective from china there is some chance it is mislabelled and is actually a 160mm tube length. You could try printing the normal optics module and transferring the lens. Removing the tube lens is a bit scary. I tend to out a lens tissue on the table. Put the optics module above it. Fold another lens tissue 3-4 times and place over the end of an Allen key. Then push the Allen key down at the edge of the lens.

I am not sure if there is any other way to test except printing a 150mm tube (10mm shorter than the nominal 160, because traditional eyepieces sit 10mm into the tube). Such a super long optics module won’t fit in the stand.