Help needed for project due 6/3

I'm wondering what user waxy is doing in the meantime.

So I ask you what was the problem with the HX711-library?
I just did the demo-program and compared the measured results with a pretty cheap but in series manufactured scale you can buy off the shelf. The deviation between them was 1 or 2 grams which I found impressive precise.

It is my problem to discover in the HX711.h Library the two-point calibration philosophy which is needed to find the gain and offset (two factors) of a real system in order to align its response passing through the origin and making 45 degree inclination with the abscissa so that the system appears as behaving like an ideal system. (I observe that the HX711.h Library provides only one factor.)

i need this to be finished by tuesday, after the hx711 is good it would be helpful if you guys could check the code and schematic @StefanL38 @GolamMostafa

also do i need the equation if i run the code you sent

Are you aware of that you will have a long night today to proceed and that you have a working sunday with again 10 to 12 hours to work to just have a real chance to finish this whole project until tuesday?

IMHO there is no room left for pausings of more than for eating something

Eat at the keyboard! Food in one hand, type with the other.

1 Like

Which code do you mean. Which schematic do you mean?
Are you pausing until you get this feedback?
There is really no time for pausing!
Your project has aditional features as there are

You should immidiately start with

  • a short demo-code that makes the buzzer buzz
    -- or if you have a question about how the buzzer must be connected asking this question with providing a handdrawn schematic how you think a buzzer should be connected or to post a picture you have googled that shows how a buzzer can be connected asking if this will work. Doing a first test to determine if the buzzer you have is an active buzzer or a passive buzzer

  • a short demo-code that simply print "hello world" to the LCD-display
    -- or if you have a question about how the LCD must be connected asking this question
    If you don't know how to connect the LCD to post a picture of frontside and backside of your LCD so that experienced users can determine if this is an LCD with parallel or I2C-interface

  • a short demo-code that simply prints to the serial monitor the state of the tactil switches
    -- or if you have a question about how the switches must be connected asking this question

you can choose which one you would like to do first.

Does this help to realise that is not done with plugging in ten wires in 5 minutes
writing 30 lines of code in 15 minutes?

It is realistic that you have still quite a lot of hours of work in front of you

Once you have a thorny problem to debug, it's acceptable to step away to eat, as long as you are thinking about the issue as you do so.

What type of transistor is this?
grafik

I can't read the number and as fritzing doesn't have all transistor the only way to determine which transistor-type this is you have to post I picture where the number of the transistor can be read easily to determine which PIN is base, collector, emitter as this can vary between transistors

Post a picture of your real LCD where the letters printed on the PCB can be easily read to determine the LCD-interface type

I refuse to analyse this messy picture

stop using fritzing. Draw a schematic by hand How you think how buttons can be connected. Or start reading here

Your title says "urgent help needed for project" Yes it is urgent but your pausings shows the opposite

Jolt cola or Mt. Dew RED or espresso on an IV drip!

This schematic is good. At my place it is 2 am. This means I will go to bed now.
An Arduino-IOpin can take a maximum of 40 mA. But you better stay below 20 mA per IO-pin.
A buzzer should be driven with a transistor.

Do you have a digital mutlimeter (in short a DMM) ?
If yes does the buzzer have a sticker with specs on it?
measure the resistance.
Make a first test with a 300 to 500 Ohm resistor in series coonecting the buzzer with GND and 5V to see if it is a passive or an active one. The active one will buzz by simply connecting to power

A passive buzzer will just do a tiny "click" each time you connect / disconnect power.

So which part of demo-code do you want to do first?

goodnight also the demo code you sent isn't working right, it says the hx711 name is wrong

too unprecise

There is another is another user for which I spent 5 hours of my time yesterday to support this user. I want to explain why I did spent so much time:
It starts with the headline that

  • specifies what the project is about

  • the headline does not contain words like "urgend", "need" "CAPITAL LETTERS" etc.

  • the headline is a question which expresses some humility

  • the very first posting contains links to important information

  • the second post describes pretty detailed what own work the user has done as initial
    steps

  • the third post describes again what the user tried and where the difficulties are. This description is specific and the user is asking specific questions

This specificness shows the own effort this user has taken as initial steps

I estimate writing this three postings took the user 30 minutes. This was very well invested time because these 30 minutes on the forum and estimated 3 or 4 hours of initial work delivered a huge step forward for this user within 12 hours as I have created a ready to test code and as this user is a sail-boat specialist and not an ambitious hobby programmer.

compared to you:

  • titel unspecific
  • has the word "urgend" and "need" in the title (to me this sounds egoistic)
  • continiously not following forum rules
  • continiously too short and unspecific postings
    the list goes on I guess you are too lazy to read it all

After 3 weeks of wasting time where you have been told dozens of times what is important how to proceed effectively in a project you are still almost unable to change your working-style. The schematic you have posted is very good and is an exception to all the other postings you have made.

No information about your timezone. So I'm guessing you are off for a party instead of working hard

well let's see how you proceed....

Somehow, I managed to motivate the OP and was following my instructions and was producing expected results. There were only three steps left to complete his project. Suddenly, he changed his mind and departed from my umbrella. Now, he has faced new problems (his sketch is not being compiled) and then has gone-off for party. Hopefully, he will come back soon and will join you.

Well that was an unnecessarily unkind and in fact downright nasty speculation on the part of StefanL38:

user @chwaxy
to simply state the facts
started a similar thread four weeks ago

then came back after two weeks to his "urgend project"

one of the answers from JohnWasser to @chwaxy is

You include "HX711.h" at the top of the file and "hx711.h" in the middle of the file. At the bottom of the file you seem to have inserted the contents of "HX711.h".

user @ch#
posts an attempt of a sketch with the question

"how?"

next answer from JohnWasser

For reading weight, I would find an HX711 library and start with the provided examples.
For displaying to an LCD, I would look at the examples provided with the Liquid Crytal library.

next question from user @chwaxy

"can you add that to the code you wrote? I cant find it"

the code-version did already have the HX711-lib but user @chwaxy is unaware of it
=> conclusion has a lot to learn

user @chwaxy was too lazy to post code as a code-section multiple times

So please do your own valuating on what ever scale you find appropriate what this behaviour is.

Some people here keep friendly or silent very very long.
Well if you keep friendly or silent for lightyears this ends up in things like Putin does
now in ucrain

I hope you can see that I'm not claiming the Ardiuno-Forum is short behind Putin surely not. The arduino-Forum is much more democratic of course.

Interventing with words that get stronger over time is how I see it.
Especially after writing

@GolamMostafa
finishing this project until tuesday 24.05.2022 is only realistic if you deliver 90% of the code ready to use.

My assuming is: with all what user @chwaxy has shown as answers until now she/he is hoping for getting the code delivered. She / he has not shown great effort to proceed.

best regards Stefan

2 Likes

5 hours ago it was 1am, im in new york. im ready to start working again . this is my first time on this forum and first arduino project, i am a child. I'm trying my best here

also i have code written, i had it written beforehand

5 hours ago it was 1am, im in new york. im ready to start working again . this is my first time on this forum and first arduino project, i am a child. I'm trying my best here. I have code written,, I've posted it on the forum many times, I think even on this thread.