Skip to content

Releases: olkal/HX711_ADC

v1.2.2

22 Sep 19:30
Compare
Choose a tag to compare

v1.2.1

24 May 11:08
Compare
Choose a tag to compare
  • Bugfix: Issue with tare timeout in startMultiple() (@alejo9719 #39)

v1.2.0

18 Apr 18:23
Compare
Choose a tag to compare
  • New function: refreshDataSet()
    fills the dataset up with new conversions (this function is blocking once started)

  • New function: getDataSetStatus()
    returns 'true' when the whole dataset has been filled up with conversions after a reset/restart

  • New function: getNewCalibration(float known_mass)
    returns and sets a new calibration value (calFactor) based on a known mass input

  • New function: getSignalTimeoutFlag()
    returns 'true' if it takes longer time then 'SIGNAL_TIMEOUT' for the dout pin to go low after a new conversion is started

  • New function: start(unsigned int t, bool dotare)
    start with or without tare

  • New function: startMultiple(unsigned int t, bool dotare)
    start with or without tare

  • Calibration example sketch improvements:
    Tare offset is now initiated as a seperate step before you place the known mass
    New function getNewCalibration(float known_mass) implemented
    New function refreshDataSet() implemented
    A simplified description of the calibration procedure now included on top

  • Interrupt example sketch improvements:
    Some changes in ISR and loop()

  • All example sketches:

    • Method for calling functions 'getData()' and 'update()' changed:
      Set variable 'serialPrintInterval' to '0' to print any new data imidiately, or set a higher value to slow down the terminal print activity
    • EEPROM ESP specifics changed from #if defined(ESP8266) to #if defined(ESP8266) || defined(ESP32)
    • I/O pins declared before constructor, HX711_dout/HX711_sck
    • Serial bitrate changed to 57600
    • There are also some other minor changes and cleaning, to clarefy things mostly

v1.1.7

08 Apr 11:49
Compare
Choose a tag to compare
  • Added information in readme.md and config.h about sck delay for ESP32 (@christian172 #35)

v1.1.6

21 Nov 20:49
Compare
Choose a tag to compare
  • fixed bug in the function start() for single load cell (@MigSanc #32 )

v1.1.5

09 May 21:01
Compare
Choose a tag to compare
  • Breaking change: The tare offset value is now calculated differently
  • Breaking change: The 1 microsecond SCK pin delay that was included in previous versions is now disabled as default. The delay can now be enabled from the config.h file if required
  • New functions: setSamplesInUse(int samples) and getSamplesInUse() makes it possible to manipulate/override the number of samples in use at the time to a lower value than defined in the config.h file. This can be used to manipulate smoothing avarage resolution and settling time. Note that the memory usage will not be reduced by using this function. (@rafaellehmkuhl @jpk73 #12
  • Timeout in startMultiple() implemented (@nightflyer88 #23)
  • Removed functions not in use getSingleConversion() and getSingleConversionRaw() that was still listed in the HX711_ADC.h file (@jpk73 #25)
  • Keyword correction (@kbickham #27)
  • From the config.h file you can now disable interrupts in a section of the code to avoid HX711 "power down" mode. This can be useful if you have other time consuming (>60μs) interrupt routines that could be triggered while the sck pin is high
  • Rename ISR function and add "digitalPinToInterrupt" in example file "Read_1x_load_cell_interrupt_driven.ino" (@Jodaille #26)

v1.1.4

28 Mar 22:19
Compare
Choose a tag to compare
  • Allowing 1 sample only in data set, so it's now possible to read out single conversions without average/smoothing of data (@Luigi94100 - #24 )
  • Removed the functions getSingleConversion() and getSingleConversionRaw() (not working as intended)

v1.1.3

05 Jan 14:42
Compare
Choose a tag to compare
  • Included bugfix startMultiple function (@xoration - #22)
  • Included yield in startMultiple function (ESP8266)
  • Corrected EEPROM.begin() in example files (ESP8266)

v1.1.2

26 Dec 21:47
Compare
Choose a tag to compare
  • Included example with use of interrupt. This can be usefull if you experience long settling time due to other time consuming code in the loop().

v1.1.1

26 Dec 20:43
Compare
Choose a tag to compare
  • Tare timeout bugfix