Difference between revisions of "OpenFlexure"

From Microwiki
Jump to: navigation, search
Line 19: Line 19:
 
* - temperature seems to affect things too. When the motors heat up, it seems like the plastic is affected, which is probably the cause for some of the problems
 
* - temperature seems to affect things too. When the motors heat up, it seems like the plastic is affected, which is probably the cause for some of the problems
 
* oh yeah, and one thing about repeatability: it depends on the move directions. If I move back and forth using just one motor as a test, I get better repeatability than if I choose every time a random direction and move back and forth to/from it. In practice this means every move will slightly affect the next one...I'm not sure if this is just about backlash, or if the stage itself has something to do with it
 
* oh yeah, and one thing about repeatability: it depends on the move directions. If I move back and forth using just one motor as a test, I get better repeatability than if I choose every time a random direction and move back and forth to/from it. In practice this means every move will slightly affect the next one...I'm not sure if this is just about backlash, or if the stage itself has something to do with it
*
+
 
*
+
 
*
 
 
* <br /> F
 
* <br /> F
  

Revision as of 21:59, 25 August 2022

Material?

  • PLA is more standard, PETG is more flexible
  • McMaster: printing in PLA since its what I have

Reception

BreakingTaps


G

  • my main goal is to get it working well with a 40x objective, but it has proven to be quite challenging:
  • - my setup is pretty poor and cheap, and the stage and the sample are always tilted slightly. Calibration can alleviate this problem, but it's annoying how much this affects focus when using that 40x objective
  • - the stage O-rings break quite often...there was a thread on the OF forums about O-ring sizing and material choices, and I bought some alternatives that I just haven't yet had time to test
  • - repeatability seems poor and drift seem quite high, at least with that 40x objective. I was hoping that going bipolar and using a better driver board would fix this, but I'm still not seeing great results. Maybe the stage itself is the limiting factor now. Or maybe I've just been unlucky with O-rings and have always had at least one broken 😅 it's not immediately obvious when an O-ring is breaks, so this is actually a plausible explanation
  • - temperature seems to affect things too. When the motors heat up, it seems like the plastic is affected, which is probably the cause for some of the problems
  • oh yeah, and one thing about repeatability: it depends on the move directions. If I move back and forth using just one motor as a test, I get better repeatability than if I choose every time a random direction and move back and forth to/from it. In practice this means every move will slightly affect the next one...I'm not sure if this is just about backlash, or if the stage itself has something to do with it



  • F
  • it was a size problem. The whole thing would fit on my first Amscope if I removed the bottom illumination lens, but then I never found a proper way to hold it in place at the right height. I'm limited to 3D printing (no tools to make aluminum parts), so I just gave up and went for the ready-made aliexpress stages.

onilink_

  • Yeah I got some bad returns too about openflexure (vibration, slow, not precise enough). I had bought all the parts and was planning to build one but I stopped.

Motor control

GRBL

Can convert the motors from unipolar to bipolar to be compatible with more standard motor controllers

Procedure

  • Gently pop off blue cover
  • Cut middle PCB trace
  • Unsolder all 5 leads and remove the connector
  • Solder GRBL controller compatible wires onto the 4 outer termianls
    • Keep the cable order


Testing via pyuscope

  • ./test/grbl/g1.py 'G91 Z5.0 F100'
    • ok
  • ./test/grbl/g1.py 'G91 Z5.0 F200'
    • missing steps

Block Stage

https://openflexure.gitlab.io/openflexure-block-stage/


General notes

  • Printing
    • Preferred material: TBD (PLA or PETG)
    • Supports: no
    • Had to generate small gear myself from git + OpenSCAD
    • TODO: post .stl collection
      • I also generated single gear models to arrange easier
  • Using Arduino shield: Electreim 28BYJ-48 5V ULN2003A JST Stepper Motor Driver Shield for Arduino Nano
    • Basically compatible with Sangaboard. Motor direction might be reversed
    • More info here: https://openflexure.discourse.group/t/is-this-like-the-sangaboard/776/12


Compiling software

  • https://kitspace.org/boards/gitlab.com/bath_open_instrumentation_group/sangaboard/sangaboard_v0.4/
  • Select Arduino Nano Every board (under second board menu)
  • Open Arduino sketch
  • Build
    • You'll get warnings about emulated instruction set, ignore
  • Flashing using Arduino ISP


Test software

  • Open serial port
    • ex: screen /dev/ttyACM0 115200
  • type "help" and press enter