HX711 Do not work

For general Flowcode discussion that does not belong in the other sections.
Post Reply
B2CAP-V6
Posts: 11
http://meble-kuchenne.info.pl
Joined: Fri Dec 04, 2020 2:15 pm
Been thanked: 5 times

HX711 Do not work

Post by B2CAP-V6 »

Hello everyone,
I would like to use the HX711 and for that I took the flowchart which is given in the help.
I am using a PIC 18F26K22 and under Proteus it does not work.
Has anyone ever encountered this problem?
I have tried several modifications but the result is always the same.
Thank you in advance for your feedback
HX711_Example2.fcfx
(11.88 KiB) Downloaded 89 times

medelec35
Matrix Staff
Posts: 1432
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 506 times
Been thanked: 469 times

Re: HX711 Do not work

Post by medelec35 »

Hi.
A post in Dec 2021 states HX711 works on PIC32.
Although It's not the same family as 18F26K22 so there may or may not be an issue?
I would recommend trying on real hardware first, to eliminate possible bugs with proteus.
If it does not work on hardware, then we can take it from there.
Martin

BenR
Matrix Staff
Posts: 1707
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Re: HX711 Do not work

Post by BenR »

Hello,

We use the HX711 device on a lot of our in house hardware so I'm very surprised you're having problems.

I've have a look at your program and it looks ok so I think I agree with Martins view to try on some real hardware. It could be the proteus sim is somehow flawed or incompatible.

As a test you could try disabling the SetSampleCount and SetScaling macro calls to try a really simplified version just in case these are causing the problem.

B2CAP-V6
Posts: 11
Joined: Fri Dec 04, 2020 2:15 pm
Been thanked: 5 times

Re: HX711 Do not work

Post by B2CAP-V6 »

Hi,
Thank you very much for your answers.
I tried disabling the two macros and it is the same.
To try in real hardware, I have to wait to receive the components I ordered.
When I receive them I will be sure to keep you informed.
Thanks again for your answers
Luc

B2CAP-V6
Posts: 11
Joined: Fri Dec 04, 2020 2:15 pm
Been thanked: 5 times

Re: HX711 Do not work

Post by B2CAP-V6 »

Hi Martins and Ben,
good news I received the HX711 and it works in real.
I now have to work on the program to improve all that.
Many thanks again for your support
Luc
Attachments
HX711_Example2.fcfx
(12.52 KiB) Downloaded 86 times

medelec35
Matrix Staff
Posts: 1432
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 506 times
Been thanked: 469 times

Re: HX711 Do not work

Post by medelec35 »

Hi Luc.
Thanks for the update.
I'm glad the HX711 is working on your hardware.
Martin

Post Reply