-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add powder-drop support #21
Comments
While I can't help with the code I think code can be universal and hardware (servo) optional with the following algorithm. When scale is stabilized at zero or above and regular trickler cycle starts system could send on GPIO 17 or 27 PWM servo signal from 0 to 90 to 0 (someone help here. I don't have powder dispenser and not sure what is the lever move in degrees). Then continue to execute trickler code.
|
I believe @MrMr-No did something similar by calling some Python code they wrote. Perhaps they can chime in here to share their code so that it can be added to the project? |
steper.py.txt
PythonShell.run('/home/pi/projects/trickler/peripheral/lib/steper.py', null, function(err) { |
I modified tricckler.js file to execute steper.py script (attached above) when you need more then 30 grains of powder in same directory as trickler.js |
@MrMr-No This is excellent, thank you! |
Embedding the Python code shared above to avoid the extra download:
|
Can you please share your modified trickler.js file? |
@MrMr-No Hello, |
Tnx! Unfortunately, Isn’t so simple. I can post image, but I have designed completely new Hornady’s powders rotor to working with bipolar step motor like You can see on video. Perhaps is better solution to waiting on @ erichiggins new project to rewrite code to Python to see what we can do. |
@MrMr-No |
Some folks have suggested adding support for an automatic powder drop, controlled by a servo. Anyone who has experience with this can chime in here with suggestions.
Since it's an optional feature, it should be treated as such in the software (controller and Mobile).
The text was updated successfully, but these errors were encountered: