Actuator controlled by a Load Cell

Hi,

I am looking for some assistance in writing a code for load cell, actuator set up. The basis of the problem is to control the actuator by the whether or not there is weight on the load cell. i have the calibration set up and i am able to write a basic code to move the actuator the distance i want, but i am having an issue with getting them to communicate with each other. The basic program needs to have the actuator move after weight has been removed from the load cell and stay in that position until weight has been replaced and a toggle switch can replace the actuator back to a given position. Any help would be greatly appreciated.

so

    if (thresh < weight)
        setActuator();

    if (buttonPressed())
        resetActuator ();

You can get some ideas from here too: Lineer Actuator Control with Load Cell - #7 by atahan_45

sorry -- mistaken responder

This is what I have so far.
I am working on a concept for a weight based kill switch for a boat motor.
While a person is in the boat seat, the motor runs as should, if they stand up, the actuator engages and turns the throttle to an idle speed, until the person sits back down and engages the electric throttle

This means the whole thing is more or less security related.
Security-related devices should work as simple as possible.
programming a microcontroller to measure a load-cell and to control a linear actuator is the opposite of as simple as possible.

Me personal I would construct such a system based on a pressed spring and a massive-wire-bowden-pull which can be push-pulled. (not like a flexible wire-bowden which only can be pulled but not pushed.

pressed spring because pressing together is less failure-prone then pulling a spring

best regards Stefan

1 Like

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