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 Do not work
-
- Posts: 11
- http://meble-kuchenne.info.pl
- Joined: Fri Dec 04, 2020 2:15 pm
- Been thanked: 5 times
-
- Matrix Staff
- Posts: 1922
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 623 times
- Been thanked: 645 times
Re: HX711 Do not work
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.
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
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 503 times
- Been thanked: 686 times
Re: HX711 Do not work
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Re: HX711 Do not work
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
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
Re: HX711 Do not work
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
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 162 times