Új hozzászólás Aktív témák
-
dane
senior tag
Összeállt végre az egész rendszer amit építeni akartam. Egy JAMO E8 CEN hangfalba építem be az egészet. Amiket használtam: YoRadio, ESP32 board, SH1106, I2S DAC PCM5102, TPA-3110 2x15 class D erősítő, 2x 18650 akksiról meg az egész amit egy BMS kezel. Minden tökéletes de lenne néhány kérdésem.
Utólagosan hogy tudok pl MQTT konfigot csinálni? mqttoptions.h file-t fel lehet tölteni simán a board-ra vagy újra kell fordítanom az egészet és csinálhatok minden a nulláról?
Létezik-e megoldás arra, hogy a kijelző automatikusan kikapcsoljon, vagy levegye a fényerőt egy idő után?
Hangerő (előerősítés) maximalizálására van lehetőség? A hangerő tartomány 15%-át használom ki és jó lenne haz ez lenne a vége a hangerő állításnak.
Esetleg létezik valami komplexebb hangszínszabályzó megoldás hozzá?
-
dane
senior tag
Sziasztok,
többször is és több gépen is próbáltam feltölteni a sketch-et egy esp-wroom-32-re.
A sketch feltöltésénél és ellenőrzésénél egy sor hibát kapok. A szükséges library-kat letöltöttem.Arduino: 1.8.19 (Windows 10), Board: "ESP32 Dev Module, Disabled, Enabled, Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, Core 1, Core 1, None, Enabled, Disabled"
In file included from c:\users\name\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-12.2.0_20230208\xtensa-esp32-elf\include\c++\12.2.0\unordered_map:40,
from c:\users\name\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-12.2.0_20230208\xtensa-esp32-elf\include\c++\12.2.0\functional:61,
from C:\Users\nameAppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0\cores\esp32/HardwareSerial.h:49,
from C:\Users\name\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0\cores\esp32/Arduino.h:200,
from C:\Arduino\yoRadio\yoRadio.ino:18:
c:\users\name\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-12.2.0_20230208\xtensa-esp32-elf\include\c++\12.2.0\bits\allocator.h:46:10: fatal error: bits/c++allocator.h: No such file or directory
46 | #include <bits/c++allocator.h> // Define the base class to std::allocator.
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board ESP32 Dev Module.
In file included from C:\Users\name\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-442a798083/esp32/include/driver/deprecated/driver/i2s.h:23,
from C:\Arduino\yoRadio\src\audioI2S\AudioEx.h:23,
from C:\Arduino\yoRadio\src\core\player.h:6,
from C:\Arduino\yoRadio\yoRadio.ino:22:
C:\Users\name\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-442a798083/esp32/include/driver/deprecated/driver/adc.h:19:2: warning: #warning "legacy adc driver is deprecated, please migrate to use esp_adc/adc_oneshot.h and esp_adc/adc_continuous.h for oneshot mode and continuous mode drivers respectively" [-Wcpp]
19 | #warning "legacy adc driver is deprecated, please migrate to use esp_adc/adc_oneshot.h and esp_adc/adc_continuous.h for oneshot mode and continuous mode drivers respectively"
| ^~~~~~~
C:\Users\name\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-442a798083/esp32/include/driver/deprecated/driver/i2s.h:27:2: warning: #warning "This set of I2S APIs has been deprecated, please include 'driver/i2s_std.h', 'driver/i2s_pdm.h' or 'driver/i2s_tdm.h' instead. if you want to keep using the old APIs and ignore this warning, you can enable 'Suppress leagcy driver deprecated warning' option under 'I2S Configuration' menu in Kconfig" [-Wcpp]
27 | #warning "This set of I2S APIs has been deprecated, \
| ^~~~~~~
C:\Arduino\yoRadio\src\core\player.h:42:17: error: reference to 'byte' is ambiguous
42 | void setVol(byte volume, bool inside);
| ^~~~
In file included from c:\users\name\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-12.2.0_20230208\xtensa-esp32-elf\include\c++\12.2.0\cmath:42,
from c:\users\nameappdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-12.2.0_20230208\xtensa-esp32-elf\include\c++\12.2.0\math.h:36,
from C:\Users\name\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0\cores\esp32/esp32-hal.h:30,
from C:\Users\name\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0\cores\esp32/Arduino.h:36,
from C:\Arduino\yoRadio\yoRadio.ino:18:
c:\users\name\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-12.2.0_20230208\xtensa-esp32-elf\include\c++\12.2.0\bits\cpp_type_traits.h:406:30: note: candidates are: 'enum class std::byte'
406 | enum class byte : unsigned char;
| ^~~~
C:\Users\name\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0\cores\esp32/Arduino.h:149:17: note: 'typedef uint8_t byte'
149 | typedef uint8_t byte;
| ^~~~
C:\Arduino\yoRadio\src\core\player.h:42:17: error: 'byte' has not been declared
42 | void setVol(byte volume, bool inside);
| ^~~~
C:\Arduino\yoRadio\src\core\player.h:43:5: error: reference to 'byte' is ambiguous
43 | byte volToI2S(byte volume);
| ^~~~
c:\users\name\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-12.2.0_20230208\xtensa-esp32-elf\include\c++\12.2.0\bits\cpp_type_traits.h:406:30: note: candidates are: 'enum class std::byte'
406 | enum class byte : unsigned char;
| ^~~~
C:\Users\name\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0\cores\esp32/Arduino.h:149:17: note: 'typedef uint8_t byte'
149 | typedef uint8_t byte;
| ^~~~
In file included from C:\Arduino\yoRadio\src\displays\tools\l10n.h:14,
from C:\Arduino\yoRadio\src\displays\displaySH1106.h:8,
from C:\Arduino\yoRadio\src\displays\dspcore.h:18,
from C:\Arduino\yoRadio\src\core\display.h:9,
from C:\Arduino\yoRadio\yoRadio.ino:23:
C:\Arduino\yoRadio\locale\displayL10n_en.h:40:86: error: reference to 'oct' is ambiguous
40 | const char* const mnths[] PROGMEM = { jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec };
| ^~~
In file included from c:\users\name\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-12.2.0_20230208\xtensa-esp32-elf\include\c++\12.2.0\ios:42,
from c:\users\name\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-12.2.0_20230208\xtensa-esp32-elf\include\c++\12.2.0\ostream:38,
from c:\users\name\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-12.2.0_20230208\xtensa-esp32-elf\include\c++\12.2.0\bits\unique_ptr.h:41,
from c:\users\name\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-12.2.0_20230208\xtensa-esp32-elf\include\c++\12.2.0\memory:76,
from C:\Users\name\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0\libraries\FS\src/FS.h:24,
from C:\Users\nameAppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0\libraries\SPIFFS\src/SPIFFS.h:17,
from C:\Arduino\yoRadio\src\core\config.h:6,
from C:\Arduino\yoRadio\yoRadio.ino:20:
c:\users\name\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-12.2.0_20230208\xtensa-esp32-elf\include\c++\12.2.0\bits\ios_base.h:1071:3: note: candidates are: 'std::ios_base& std::oct(ios_base&)'
1071 | oct(ios_base& __base)
| ^~~
C:\Arduino\yoRadio\locale\displayL10n_en.h:34:12: note: 'const char oct [8]'
34 | const char oct[] PROGMEM = "october";
| ^~~
C:\Arduino\yoRadio\locale\displayL10n_en.h:40:96: error: reference to 'dec' is ambiguous
40 | const char* const mnths[] PROGMEM = { jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec };
| ^~~
c:\users\name\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-12.2.0_20230208\xtensa-esp32-elf\include\c++\12.2.0\bits\ios_base.h:1055:3: note: candidates are: 'std::ios_base& std::dec(ios_base&)'
1055 | dec(ios_base& __base)
| ^~~
C:\Arduino\yoRadio\locale\displayL10n_en.h:36:12: note: 'const char dec [9]'
36 | const char dec[] PROGMEM = "december";
| ^~~
In file included from C:\Arduino\yoRadio\yoRadio.ino:24:
C:\Arduino\yoRadio\src\core\network.h:33:8: error: 'Network' does not name a type
33 | extern Network network;
| ^~~~~~~
In file included from C:\Arduino\yoRadio\yoRadio.ino:26:
C:\Arduino\yoRadio\src\core\controls.h:28:6: error: variable or field 'irNum' declared void
28 | void irNum(byte num);
| ^~~~~
C:\Arduino\yoRadio\src\core\controls.h:28:12: error: reference to 'byte' is ambiguous
28 | void irNum(byte num);
| ^~~~
c:\users\name\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-12.2.0_20230208\xtensa-esp32-elf\include\c++\12.2.0\bits\cpp_type_traits.h:406:30: note: candidates are: 'enum class std::byte'
406 | enum class byte : unsigned char;
| ^~~~
C:\Users\name\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0\cores\esp32/Arduino.h:149:17: note: 'typedef uint8_t byte'
149 | typedef uint8_t byte;
| ^~~~
C:\Arduino\yoRadio\yoRadio.ino: In function 'void setup()':
yoRadio:39:3: error: 'network' was not declared in this scope; did you mean 'Network'?
39 | network.begin();
| ^~~~~~~
| Network
C:\Arduino\yoRadio\yoRadio.ino: In function 'void loop()':
yoRadio:65:7: error: 'network' was not declared in this scope; did you mean 'Network'?
65 | if (network.status == CONNECTED) {
| ^~~~~~~
| Network
Multiple libraries were found for "SD.h"
Used: C:\Users\name\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0\libraries\SD
Not used: C:\Program Files (x86)\Arduino\libraries\SD
Not used: C:\Arduino\libraries\SD
Multiple libraries were found for "WiFi.h"
Used: C:\Users\name\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0\libraries\WiFi
Not used: C:\Arduino\libraries\WiFiEspAT
Not used: C:\Program Files (x86)\Arduino\libraries\WiFi
exit status 1
'network' was not declared in this scope; did you mean 'Network'?
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Új hozzászólás Aktív témák
- Linux felhasználók OFF topikja
- Úgy állhat le a 16 GB-os GeForce RTX 5060 Ti gyártása, hogy közben nem áll le
- Hivatalos a OnePlus 13 startdátuma
- Samsung Galaxy S25 Ultra - titán keret, acélos teljesítmény
- A fociról könnyedén, egy baráti társaságban
- NVIDIA GeForce RTX 5070 / 5070 Ti (GB205 / 203)
- Call of Duty: Black Ops 7
- Víz- gáz- és fűtésszerelés
- MW2 - MW3 játékosok baráti köre
- Telekom otthoni szolgáltatások (TV, internet, telefon)
- További aktív témák...
- OnePlus 12 5G 256GB, Kártyafüggetlen, 1 Év Garanciával
- GYÖNYÖRŰ iPhone 13 Mini 128GB Green- 1 ÉV GARANCIA -Kártyafüggetlen, MS4200
- ÁRGARANCIA!Épített KomPhone Ryzen 7 5700X 32/64GB RAM RX 7800 XT 16GB GAMER PC termékbeszámítással
- AZONNALI SZÁLLÍTÁSSAL Eladó Windows 8 / 8.1 Pro
- Bomba ár! Dell Vostro 5490 - i5-10GEN I 16GB I 256SSD I 14" FHD I HDMI I Cam I W11 I Gari!
Állásajánlatok
Cég: Laptopszaki Kft.
Város: Budapest
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest


