Can I use Arduino HX711 Library in ESP-IDF?
Posted: Mon Mar 01, 2021 6:38 pm
Hi,
I am moving from Arduino to ESP-IDF and I was wondering if its possible to use Bogde library instead of UncleRus for ESP-IDF.
Arduino Bogde: https://github.com/bogde/HX711
ESP-IDF UncleRus: https://github.com/UncleRus/esp-idf-lib ... ents/hx711
I was able to get some raw ADC data using UncleRus Library using the sample code, but it seems easier to use Bodge because there are already methods for tare, calibration, etc. I already have this working in Arduino. Whereas if I use UncleRus library I will have to create these functions.
Any tips/ideas for easiest path moving forward?
Edit: Maybe its better to stick with the ESP-IDF library by UncleRus. Are there examples of how I can calibrate to get accurate weight data and how to implement functions to Tare?
I am moving from Arduino to ESP-IDF and I was wondering if its possible to use Bogde library instead of UncleRus for ESP-IDF.
Arduino Bogde: https://github.com/bogde/HX711
ESP-IDF UncleRus: https://github.com/UncleRus/esp-idf-lib ... ents/hx711
I was able to get some raw ADC data using UncleRus Library using the sample code, but it seems easier to use Bodge because there are already methods for tare, calibration, etc. I already have this working in Arduino. Whereas if I use UncleRus library I will have to create these functions.
Any tips/ideas for easiest path moving forward?
Edit: Maybe its better to stick with the ESP-IDF library by UncleRus. Are there examples of how I can calibrate to get accurate weight data and how to implement functions to Tare?