I’ve had a scope built for awhile now but haven’t had a lot of luck getting motors to work. I tried using the drivers that came with the 28byj-48 steppers and an arduino nano - and almost got it working…but the motors ran VERY hot and after just a minute or two I was worried about the possibility of the plastic deforming from the heat. So I never even tried getting the microscope software talking to the nano for stage control.
With time on my hands and a new hot air station I decided to order a couple of sangaboard PCB’s and build one up. I ran into a few minor issues (the Diodes diodes for D1-4 no longer appear to be available anywhere so I had to find suitable substitutes - and though I thought they were the same package size they don’t fit very well. F1 I did get the part listed in the BOM but it’s also too big for the footprint on the board and it took some fiddling to get it to sit in a way that I could actually work.)
But I do have a sangaboard v0.3 built and apparently functioning since if I plug it into my windows machine I see it identify as a “sangaboard v0.3” and I can connect to it over serial and it responds as expected to commands. I’ve even verified that I can get the motors to move with manual commands.
So now I’m trying to integrate it with the actaul scope, but not having much luck. When I connect with OpenFlexure ev it shows no stage connected. If I look in /var/openflexure/settings/microscope_configuration.json I see stage->type->“SangaStage” but stage->port is null
{
"camera": {
"type": "PiCamera"
},
"stage": {
"type": "SangaStage",
"port": null
}
}
If I do a lsusb on the pi I see the vid/pid for the sangaboard but no name:
pi@microscope:/var/openflexure/settings $ lsusb
Bus 001 Device 004: ID f055:5ab0
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I’ve been searching for documentation on the sangaboard and/or how to interface it but so far am coming up empty. Is there something I’m missing here?