How to code a load cell to activate a vibration motor at __pascals?

  1. I need to put a load cell in a shoe, and the minature load cell can only detect 0-11 lb of weight. Is there a way that I can code it to only recognize additional pressure exerted(besides the weight of the person)?
  2. What code should I create if my load cell is connected to a 24 bit ADC(HX711) and an Arduino nano. I want the load cell to activate the vibration motor when it detects some amount of pressure(ex: __pascals). Is this possible? The other components of my circuit would a 5 Volt battery and a mini, but powerful vibration motor.

As a beginner, I am not fluent in coding with Arduino, so could someone give me a comprensive idea of what I should do?

Is it really a load cell, or is it a force-sensitive resistor? If the former, no, you probably can't use "code" to recognize additional "pressure" beyond the rated capacity of the load cell (you'll damage or break the cell). If the latter, yes, most likely you can use some hardware and code to recognize more pressure beyond the FSR's "nameplate" value. Share the "load cell" make/model for a better answer.

Yes, it is possible for an Arduino to activate a motor when the load cell detects a certain pressure.

Working through the example sketches in the Arduino IDE is a good way to begin your coding journey.

And see the schematic by @larryd here for various ways to control motors: Min voltage to switch mosfet IRFZ24 - #2 by LarryD - General Electronics - Arduino Forum

Ok, thank you so much.

And I will try to using a force-sensitive resistor. I didn't realize that a certain pressure would damage a load cell.

If you are going to use a force-sensitive resistor, you should read both of Tekscan's Flexiforce integration guides here: https://www.tekscan.com/flexiforce-integration-guides

Hi again. I found this FSR-is this a good choice-Amazon.com

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