I2S Help! #18587
Unanswered
nick1802
asked this question in
Support request
I2S Help!
#18587
Replies: 1 comment
-
Maybe this fixes your issue #18793 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
hopfully im putting this in the right spot.
i have a generic Esp32. says ESP32-WROOM-32D on the main chip.
i have complied custom build using latest build from here in vis code with PlatformIO
im using DHT22 (SI78021), IRSend (IRHvac) and I2S with MAX98357A board from Adafruit. (I2S to 4ohm 3 watt amp)
so far DHT22 is working. havbe yet to move it into a room to test the IRSend.
but im stuck on the I2S at the moment.
only output im getting is static.
when i do i2ssay, nothing comes out but the static stops for a few sec's.
when i do i2splay +/d.mp3 i get a small pop then no static for a 1/10 sec after. (the track that is loaded is 11 secs long.)
below is my user_config_override.h
`
/*
user_config_override.h - user configuration overrides my_user_config.h for Tasmota
Copyright (C) 2021 Theo Arends
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.
*/
#ifndef USER_CONFIG_OVERRIDE_H
#define USER_CONFIG_OVERRIDE_H
/*****************************************************************************************************\
*****************************************************************************************************/
/*
Examples :
// -- Master parameter control --------------------
#undef CFG_HOLDER
#define CFG_HOLDER 4617 // [Reset 1] Change this value to load SECTION1 configuration parameters to flash
// -- Setup your own Wifi settings ---------------
#undef STA_SSID1
#define STA_SSID1 "YourSSID" // [Ssid1] Wifi SSID
#undef STA_PASS1
#define STA_PASS1 "YourWifiPassword" // [Password1] Wifi password
// -- Setup your own MQTT settings ---------------
#undef MQTT_HOST
#define MQTT_HOST "your-mqtt-server.com" // [MqttHost]
#undef MQTT_PORT
#define MQTT_PORT 1883 // [MqttPort] MQTT port (10123 on CloudMQTT)
#undef MQTT_USER
#define MQTT_USER "YourMqttUser" // [MqttUser] Optional user
#undef MQTT_PASS
#define MQTT_PASS "YourMqttPass" // [MqttPassword] Optional password
// You might even pass some parameters from the command line ----------------------------
// Ie: export PLATFORMIO_BUILD_FLAGS='-DUSE_CONFIG_OVERRIDE -DMY_IP="192.168.1.99" -DMY_GW="192.168.1.1" -DMY_DNS="192.168.1.1"'
#ifdef MY_IP
#undef WIFI_IP_ADDRESS
#define WIFI_IP_ADDRESS MY_IP // Set to 0.0.0.0 for using DHCP or enter a static IP address
#endif
#ifdef MY_GW
#undef WIFI_GATEWAY
#define WIFI_GATEWAY MY_GW // if not using DHCP set Gateway IP address
#endif
#ifdef MY_DNS
#undef WIFI_DNS
#define WIFI_DNS MY_DNS // If not using DHCP set DNS IP address (might be equal to WIFI_GATEWAY)
#endif
#ifdef MY_DNS2
#undef WIFI_DNS2
#define WIFI_DNS2 MY_DNS2 // If not using DHCP set DNS IP address (might be equal to WIFI_GATEWAY)
#endif
// !!! Remember that your changes GOES AT THE BOTTOM OF THIS FILE right before the last #endif !!!
*/
#ifndef USE_I2S_AUDIO
#define USE_I2S_AUDIO // Add support for I2S audio output
#endif
#ifndef USE_IR_REMOTE_FULL
#define USE_IR_REMOTE_FULL // Add support for I2S audio output
#endif
#ifndef USE_ADC_VCC
#define USE_ADC_VCC
#endif
#ifndef USE_DHT
#define USE_DHT
#endif
#ifdef USE_IR_RECEIVE
#undef USE_IR_RECEIVE
#endif
#endif // USER_CONFIG_OVERRIDE_H
`
Beta Was this translation helpful? Give feedback.
All reactions