Weight sensor triggered display

Good day all,

I am new to this forum. I am working on a project that needs weight sensor triggered display and led blinking. The steps are

Measure the weight (say 50 kg)
Add a switch which allows me to select a particular weight after measuring (say 25 kg)
Then connect to a display which displays " good"
if the weight is reduced to 25 kg and blink a green LED
If the weight is more than 25 kg then "reduce" in the display and red LED.
If the weight is less than 25 kg then "increase" in the display and yellow LED

All this should happen in real time.

So what are the components required. As of my understanding I need load cell, amplifier and Arduino. No idea about the switch. Please help.

Thank you.

I moved your topic to an appropriate forum category @thirumalaya .

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

1 Like

Any on/off toggle switch that you like will work.

1 Like

A switch is one of the simplest components. Just do an Amazon search and you will have thousands to pick from. It sounds like you only need a SPST (Single Pole Single Throw) switch.

1 Like

Thank you very much.

Thank you very much. I will check in Amazon.

If I understand your application this is what you need. You can do a pinmode(pinBtn, INPUT_PULLUP), connect button to that pin and Ground. When you read a LOW signal on the button pin it is pressed. NOTE Use one of many Button libraries so you get bounce detection and elimination done for free.


Amazon Link CANADIAN

1 Like

How?
Physically changing switch position or on the code using push button? There are display modules with push buttons on board.
What arduino you are planning to use? HX711 load cell amplifiers are commonly used, but in case you use 3.3V arduino board I suggest to pick the red one from Sparkfun.

1 Like

Thank you very much. Sorry for the late reply. But actually I am looking for manual switch to select the weight. Then the system has to indicate yellow, green or red signal (LED) based on the weight given in the real time comparing the weight selected. Thank you.

Thank you very much. Sorry for the late reply. Yes I am looking for manual switch to select the weight. Then the system has to indicate yellow, green or red signal (LED) based on the weight given in the real time comparing the weight selected. I am planning to use HX711 with arduino. Thank you.

That is what I showed you in post #7

1 Like

Thank you

Do you mean there is only a single weight selectable? That’s the only situation in which a simple toggle switch would be suitable, Otherwise (taking the simplest example) you need a multiple way rotary switch. Such as a 1P x 10W, etc.

Of course, several other approaches, like successively pressing a button., or a rotary encoder with an LCD display, or a number of LEDs, etc.

1 Like

Thank you. The weight selection will vary each time. For eg 25% or 50% of given weight. So I am planning to use rotary switch.

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