Luís Moreira
I'm automating a machine using arduino. The machine has two pitch motors (vertical and horizontal), a load cell and a device that only needs to be switched on and off. The operation will be as follows:
- The horizontal pitch motor is activated until it reaches a certain distance entered by the user.
Then the vertical pitch motor is driven and moves a carriage that will at some point exert a force on the load cell, when it reaches the force that the user chose the motor must stop.
- After this the device is switched on for a certain time and then it is switched off and all the motors must back off.

My big question is to make the engine stop when it reaches the force that the user of the equipment selected.

They could help me and even carry out a tutorial with load cells to do a scale.

Yours sincerely,
Luís Moreira
Quote 0 0
Do you have the parts selected for this project?  The programming should be pretty straight forward, move the motors, read the value of the load cell, if value reached, stop motors, wait, reset...

Let us know how your project is going!

Thanks for posting.

Quote 0 0
Luís Moreira

Yes, because I need forces arround 1400 N, I have a four 50kg load cells from a scale and a NEMA 23 with 1,2 Nm 24V 4A coupling to a ball screw to move the carriage. The other motor it's a NEMA 17 with 0,4 Nm, because I do not need very torque.

What is the best way to move the motors? Perhaps using the function move() and create 2 variables one read by the load cell and the other read by a keypad, and when equal stop the motion.

I'm sorry for some beginner questions, but I know how should the program worked but it's still very difficult to convert in arduino programming.

Best regards,
Luís Moreira

Quote 0 0

Add a Website Forum to your website.