pachterlab / poseidon

poseidon system - open source syringe pumps and microscope for laboratories
https://pachterlab.github.io/poseidon
BSD 2-Clause "Simplified" License
171 stars 54 forks source link

fixed GUI refresh port auto error and negative amounts allowed #13

Closed Xqua closed 5 years ago

Xqua commented 5 years ago

I fixed a bug where after populating the ports it would not add the current one as selected. I also fixed the default amount values to allow for negative amounts. This will allow for 1) motion backward and 2) aspirating with a syringe.

Xqua commented 5 years ago

Alright notes on this

1) Changed the arduino code so that it does not use static code anymore. That way any bug or change will be applied accross all pumps 2) Allows for negative motion 3) Allows for using Acceleration 4) Recalibrated for motion "a la mano" with about 4000 steps == 1mm (at least on my rig !)

sbooeshaghi commented 5 years ago

Thank you for the fixes! I tested them out and they look good. I also modified the steps conversion to reflect the fact that we are using 1/32 microstepping and the screw pitch is 0.8mm/revolution.