Hello again . I connected the arduino nano to the hx177. I also connected the ceramic pressure sensor to the hx711. In the serialmonitor section, I see the pressure value as 29 or 0. What I want to do is to reflect the data coming from the sensor to the screen. It is enough if I see the result in the Serialmonitor section, but the value does not show correctly.
You can find the codes and schematic below. Thank you.
Hello friends, I have arduino nano oem sct-01 pressure sensor tft lcd and hx711. I made the link but I need help. The sensor does not read or displays the value incorrectly . Can you help with the link and codes?
OP mentions a HX711, which has a built-in instrumentations amp.
But I only see an RF-Nano and a display, no HX711.
And the display connected to the pins already used by the NRF12L01.
Post a diagram, so we won't have to guess.
YOU have to produce the code.
WE might be able to help if it doesn't work.
Leo..
Did you try to get the HX711 working on it's own, on the SerialMonitor, with LCD disconnected.
Did you try to get the display working with HX711 disconnected.
The RX pin? Can't use that either.
It's already used by the USB chip. Same for pin1.
For pinout, and used pins, see page 8 of the RF-Nano datasheet.
Leo..
I tried what you said. I disconnected the LCD. The value from the sensor 200 is too much. I saw the value of 1023 from time to time. You can find the codes below. I connected the DT and SCK pins to A6 and A7
Just try the example provided with the library without modification and see what you get - I don’t understand why you are using analog inputs , HX711 provides a serial bus output.
As an aside :
Analog reads are “ INT” anyway , so why read as a float ? Also analogs by default use the power supply as the 5v reference , so may not be great for stability .
Uhm, A6 & A7 are analog IN only on a Nano, they can't do digital.
Blame the dumb Arduino IDE for not noticing and telling you when you applied digital pinMode() to analog only pins.
AND the output of the Hx711 is a 24 bit number in modified 2s complement format. You need code to start a conversion and to clock out the 24 bits into an unsigned long, examine it to see if it is negative then un 2s complement it before spliting it into its units and fraction parts.
Your two topics on the same or similar subject have been merged.
Please do not duplicate your questions as doing so wastes the time and effort of the volunteers trying to help you as they are then answering the same thing in different places.
Repeated duplicate posting could result in a temporary or permanent ban from the forum.
Could you take a few moments to Learn How To Use The Forum
It will help you get the best out of the forum in the future.
Your OS and version can be valuable information, please include it along with extra security you are using.
Always list the version of the IDE you are using and the board version if applicable.
Use quote or add error messages as an attachment NOT a picture.