Merge pull request #27 from KollegeChris/main
Optimizations for ESP32S3
This commit is contained in:
4 files changed
+4
-4
No files matched your search
Binary file not shown.
+2
-2
@@ -18,8 +18,8 @@ const uint8_t PN532_RESET = 33;
|
||||
// ***** HX711 (Waage)
|
||||
// HX711 circuit wiring
|
||||
#if CONFIG_IDF_TARGET_ESP32S3
|
||||
const uint8_t LOADCELL_DOUT_PIN = 19;
|
||||
const uint8_t LOADCELL_SCK_PIN = 20;
|
||||
const uint8_t LOADCELL_DOUT_PIN = 5;
|
||||
const uint8_t LOADCELL_SCK_PIN = 6;
|
||||
#else
|
||||
const uint8_t LOADCELL_DOUT_PIN = 16;
|
||||
const uint8_t LOADCELL_SCK_PIN = 17;
|
||||
|
||||
+1
-1
@@ -261,7 +261,7 @@ bool deepSearchScale() {
|
||||
// without pull-up resistor (10k) on LOADCELL_DOUT_PIN the hx711 lib functions
|
||||
// are not reliable in detecting a missing chip
|
||||
// these tests work even without pull-up resistor
|
||||
const uint32_t timeout = 1000;
|
||||
const uint32_t timeout = 1000; // 1 second timeout for waiting for the chip to respond
|
||||
const int samples = 10;
|
||||
|
||||
pinMode(LOADCELL_DOUT_PIN, INPUT);
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ void wifiSettings() {
|
||||
|
||||
// Maximale Sendeleistung. 17dBm war ein Kompromiss gegen Hitzeprobleme,
|
||||
// führte bei marginalem Empfang aber zu AP-seitigen Auth-/Assoc-Kicks
|
||||
// (reason=2/4/9/202). Bei Verdacht auf Überhitzung wieder auf 17dBm zurück.
|
||||
// (reason=2/4/9/202). Bei Verdacht auf Überhitzung wieder auf 17dBm zurück. Bei Problemen mit dem ESP32-S3 können 8.5dBm getestet werden.
|
||||
WiFi.setTxPower(WIFI_POWER_19_5dBm);
|
||||
|
||||
// Hinweis: Kein esp_wifi_set_rssi_threshold() mehr.
|
||||
|
||||
Reference in new issue
Block a user