Ā It's principle is the same as Siemens' feederļ¼ For each revolution of the worm, the sprocket will move forward by 2mm or 4mm As long as the worm can rotate accurately once, the distance that the sprocket advances each time is also fixed.
The following is a video of it accurately rotating one circle,Ā Ā https://youtube.com/shorts/nYsyUPvDjaM
I have used many methods to calculate the number of turns, using incremental encoders, absolute value encoders, and PID.
But in the end, it was found that using a photoelectric switch like the Siemens feeder, is the most accurate and the program is also the simplest. It can return to the same position without any algorithm.It requires a control chip (stm32F103C8T6 or other), a DC motor driver chip L298N, and an Omron photoelectric switch EE-670.
Worms and turbines made of copper are better and more accurate. If you don't have them, you can print them with PLAĀ or ABS, and they can also be used.I will release two versions, one of which uses high-level triggering. One 0816 controller can control 48 feeders, and its advantage is simplicityĀ ,But it will have lot of cables.ĀĀ Another version that uses the RS485 bus, whichĀ requireĀ fewer cable butĀ the program is complex.The following is the code for it to accurately rotate one revolution( controlĀ byĀ mega2560),Ā Ā After I complete all the functions, I will update them again.Ā#define MOTOR_A_OUT1_PIN 2 Ā
#define MOTOR_A_OUT2_PIN 3 Ā
#define MOTOR_A_IN1_PIN 8
void setup() {
Ā pinMode(MOTOR_A_OUT1_PIN, OUTPUT);
Ā pinMode(MOTOR_A_OUT2_PIN, OUTPUT);
Ā pinMode(MOTOR_A_IN1_PIN,INPUT_PULLUP);
Ā
Ā analogWrite(MOTOR_A_OUT1_PIN,10);
Ā digitalWrite(MOTOR_A_OUT2_PIN, 1);
Ā delay(200);
}
void loop() {
Ā
Ā Ā while(digitalRead(MOTOR_A_IN1_PIN) != 0)
Ā Ā Ā Ā Ā
Ā {
Ā analogWrite(MOTOR_A_OUT1_PIN,10);
Ā digitalWrite(MOTOR_A_OUT2_PIN, 1);
Ā }
Ā digitalWrite(MOTOR_A_OUT1_PIN, 1); Ā Ā
Ā digitalWrite(MOTOR_A_OUT2_PIN, 1);
}--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/9b8c5a1b-6e34-4a5b-8007-05165981f527n%40googlegroups.com.
Latest developmentsļ¼Just debug the program again and it will work, but I don't have much time. Is there anyone willing to complete this program together and open source it.Ā Ā I can give you some free kits.It is only 13mm thick, saving a lot of space compared to PMF.Ā Ā It can advance distances of 2mm and 2mm multiples.the accessories are easy to obtain.Ā If the performance of the 3D printer is good, gears and worms can be printed,Ā only the sprocket needs to be cut with stainless steel laserļ¼This may be quite troublesome for some people.Ā ĀåØ2023幓8ę15ę„ęęäŗ UTC+8 23:19:48<bing luo> åéļ¼STM32 has a total of 3 external interfaces1ļ¼The first interface used to receive high-level signals from the 0816 controller2ļ¼TowĀ touch switch interfaces for manual forward or backward movement3ļ¼Two jumper pins generate 00,01,10,11 signals through the jumper cap. STM32Ā will recognize this signal and decide to rotate it 1, 2, 3, and 4 turns when it receives aĀ high level of an 0816 controller.The principle of takeĀ offĀ tape is the same as 0816, only requiring aĀ microswitchĀ and noĀ needĀ control.bing luo <tianl...@gmail.com> äŗ2023幓8ę15ę„åØäŗ 22:51åéļ¼You can not use 8050 or MOSFET to drive theĀ DC motor, you must use a DC motor driver chip ( L298N orĀ MX1508)Ā ,because this chip has a braking function,Ā Without the braking function, it cannot stop in the same position.M. Mencinger <mike....@gmail.com> äŗ2023幓8ę15ę„åØäŗ 22:42åéļ¼
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CAGg7SLTc891KjPND59wmjNA7R4_NQiBYPwoKD2F-tAYiZCJ8gg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/52885e24-81e5-4046-9ef4-11e4bacee36fn%40googlegroups.com.
NowĀ can watchĀ theĀ finishedĀ videos and download open source documents.Ā Ā Ā https://youtu.be/xfu4Jbbh21IThe thickness isĀ 13mm.
It can use the same control board (mega2560) as 0816feeder. One control board can control 24 feeders, and the settings on openpnp are exactly the same. But since the bing feeder does not use a servo,Ā itĀ uses a simple rising edge trigger,Ā so the code is not the same.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/e87eaddf-824a-4da2-851d-3f44f8b9690an%40googlegroups.com.