Your calibration factor may be very positive or very negative. TheĬalibration factor will be significantly different but it will be linearly related to lbs (1 lbs = 0.453592 kg). If you prefer kilograms, change the Serial.print(" lbs") line to kg. Use this calibration_factor on the example sketch Press +/- or a/z to adjust the calibration_factor until the output readings match the known weight Once readings are displayed place the weight on the scale Setup your scale and start the sketch WITHOUT a weight on the scale Outputs the zero_factor useful for projects that have a permanent mass on the scale in between power cycles. Use it to determine the calibration_factor that the main example uses. License: This code is public domain but you buy me a beer if you use this and we meet someday (Beerware license). language:cĮxample using the SparkFun HX711 breakout board with a scale The first thing you will want to work with is the calibration code " SparkFun_HX711_Calibration.ino" from the SparkFun examples.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |