Using arduino motorshield to control DC motor

Hello all, I am a beginner with controls and arduino and I was hoping for guidance.

General project: Creating a test bench that operates by running a linear actuator that pushes onto a load cell. I desire to be able to command approximately how much force to operate onto the load cell. The end goal is to be able to command for example 'Apply 20N of force on the load cell'.

Components:
Actuator: P16 50 256 12 P

Load cell (generic brand, not point of focus for this question)
Arduino Uno to read load cell
Arduino mega with motor shield to operate the actuator maybe?

Problem:
This actuator is designed to be used with a control board that I have purchased, however the sensitivity of the control isn't as precise as I need it to be. For example I tried PWM control, and USB control, and with both methods the actuator provided too much force per increment.

As a result, I am trying to just use the actuator like a DC motor. The thing is, I need to limit the current at 0.05 amps for it to operate at the force/speed I need it to. As a result, I need to come up with a solution to be able to deliver a maximum of 0.05A of current.

If there is anyone who has an idea of how I can begin to use a motor shield with this actuator to current control it, I would appreciate it.

The idea is eventually if I desire 20N of force, I will apply power to the actuator with the current being controlled, and using a closed loop with the feedback from load cell descend until 20N is applied, then completely cut power and leave the actuator in its position until further commands.

Post the code you wrote, even if it still doesn't work.

1 Like

Post a schematic or wiring diagram showing how you wired this. Be sure all components are shown including resistors, capacitors, etc.

It really sounds like you need a slipping clutch to limit the force to 20N per movement. To do it electronically, and repeatedly, you’re going to need some pretty good feedback.

The motor turns a screw which provides the actuator movement. I have strong doubts you will ever be able to get this to do what you have planned. The motor power has NOTHING to do with the force being produces because of the screw. You need some device that is actually directly providing the force you want to measure.
The thing you must monitor to control the force is the TURNING angle of the screw,

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.