Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usDelay #1

Open
aysekor opened this issue Jul 14, 2015 · 3 comments
Open

usDelay #1

aysekor opened this issue Jul 14, 2015 · 3 comments

Comments

@aysekor
Copy link

aysekor commented Jul 14, 2015

Hi scientistnobee,
Can you help me,Please?
I need to understand this formul. int usDelay=1.0e6/float(Flowrate_2.0_ustepsPerML);
Can you explain the formule?
Why are they use?or for what are they using(1.0e6 and 2.0)

@scientistnobee
Copy link
Owner

I hope from the python link below will explain the derivation. I have used 2, to count the pulses. Becauseonly half the time of the pulse, motor is powered. 10e6 is coming from the microseconds we have used. However, I did not get the desired low flowrate with the usDelay. Instead I am using just delay with seconds. I will update that code soon. If you find out any better way of doing it, please let me know. I will send a pdf file with derivation to your email id.
http://www.codeskulptor.org/#user40_21WYTjltxj_0.py

@scientistnobee
Copy link
Owner

Hi aysekor,

Hopefully the attached doc woould be helpful.

On Tue, Jul 14, 2015 at 12:15 PM, aysekor [email protected] wrote:

Hi scientistnobee,
Can you help me,Please?
I need to understand this formul. int usDelay=1.0e6/float(Flowrate_2.0_
ustepsPerML);
Can you explain the formule?
Why are they use?or for what are they using(1.0e6 and 2.0)


Reply to this email directly or view it on GitHub
#1.

@aysekor
Copy link
Author

aysekor commented Jul 14, 2015

Hi scientistnobee,
I just saw your mail.I suprized to you answer fast.Thanks for your reply. :). Now I will look the doc

Date: Tue, 14 Jul 2015 05:43:25 -0700
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [Syringe-pump] usDelay (#1)

Hi aysekor,

Hopefully the attached doc woould be helpful.

On Tue, Jul 14, 2015 at 12:15 PM, aysekor [email protected] wrote:

Hi scientistnobee,

Can you help me,Please?

I need to understand this formul. int usDelay=1.0e6/float(Flowrate_2.0_

ustepsPerML);

Can you explain the formule?

Why are they use?or for what are they using(1.0e6 and 2.0)

Reply to this email directly or view it on GitHub

#1.


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants