diff --git a/.gitignore b/.gitignore index ae342d8..df0bf16 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .ipynb_checkpoints __pycache__ - +*.st +/espidf diff --git a/firmware/partitions_custom.csv b/firmware/partitions_custom.csv index 4dd161c..f0d0a9b 100644 --- a/firmware/partitions_custom.csv +++ b/firmware/partitions_custom.csv @@ -3,6 +3,6 @@ nvs, data, nvs, 0x9000, 0x4000, otadata, data, ota, , 0x2000, phy_init, data, phy, , 0x1000, -ota_0, 0, ota_0, , 0x110000, -ota_1, 0, ota_1, , 0x110000, -spiffs, data, spiffs, , 0x110000, +ota_0, 0, ota_0, , 0x120000, +ota_1, 0, ota_1, , 0x120000, +spiffs, data, spiffs, , 0x1B0000, diff --git a/hardware/calibration.txt b/hardware/calibration.txt index ed30f93..3744898 100644 --- a/hardware/calibration.txt +++ b/hardware/calibration.txt @@ -3,4 +3,6 @@ Old load cell 1kg ~= 700 => overflow at 93 kg - +New load cell + const int CONFIG_VALUE_DIVIDER = 8; + 1 kg ~= 1100 diff --git a/hardware/datasheets/ESP32-DevKitC-V4_SCH_20180607A.pdf b/hardware/datasheets/ESP32-DevKitC-V4_SCH_20180607A.pdf new file mode 100644 index 0000000..6f3ccf1 Binary files /dev/null and b/hardware/datasheets/ESP32-DevKitC-V4_SCH_20180607A.pdf differ diff --git a/hardware/datasheets/HX711_Datasheet.pdf b/hardware/datasheets/HX711_Datasheet.pdf new file mode 100644 index 0000000..fb7bb65 Binary files /dev/null and b/hardware/datasheets/HX711_Datasheet.pdf differ diff --git a/hardware/datasheets/esp32-wrover-e_esp32-wrover-ie_datasheet_en.pdf b/hardware/datasheets/esp32-wrover-e_esp32-wrover-ie_datasheet_en.pdf new file mode 100644 index 0000000..aeec6bf Binary files /dev/null and b/hardware/datasheets/esp32-wrover-e_esp32-wrover-ie_datasheet_en.pdf differ diff --git a/hardware/datasheets/full_hx711_board_SparkFun_HX711_Load_Cell_v11.pdf b/hardware/datasheets/full_hx711_board_SparkFun_HX711_Load_Cell_v11.pdf new file mode 100644 index 0000000..a303497 Binary files /dev/null and b/hardware/datasheets/full_hx711_board_SparkFun_HX711_Load_Cell_v11.pdf differ diff --git a/hardware/datasheets/voltage_regulator_1912111437_Slkor-SLKORMICRO-Elec-AMS1117-3-3_C426566.pdf b/hardware/datasheets/voltage_regulator_1912111437_Slkor-SLKORMICRO-Elec-AMS1117-3-3_C426566.pdf new file mode 100644 index 0000000..149348d Binary files /dev/null and b/hardware/datasheets/voltage_regulator_1912111437_Slkor-SLKORMICRO-Elec-AMS1117-3-3_C426566.pdf differ