Moderator: igrr
RX(serialRX) -> 270 ohm resistor -> Base
esp8266 Ground -> Emitter
Speaker (-) -> Collector
Speaker (+) -> +5V
And still i get:
ets Jan 8 2013,rst cause:4, boot mode:(3,6)
wdt reset
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v4ceabea9
~ld
Exception (0):
epc1=0x4000e25d epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
ctx: cont
sp: 3fff0250 end: 3fff0460 offset: 01a0
>>>stack>>>
3fff03f0: 00000007 00000007 00000001 4022d08d
3fff0400: 3ffeedfc 00000000 3fff1c3c 4020cb42
3fff0410: 00000000 00000000 3fff1c3c 4020fc8c
3fff0420: 3ffeedfc 00000000 3fff1c3c 4020cc90
3fff0430: feefeffe 00000000 3fff1c3c 4020c1c6
3fff0440: 3fffdad0 00000000 3ffef430 4020eab0
3fff0450: feefeffe feefeffe 3ffef440 40100710
<<<stack<<<
ets Jan 8 2013,rst cause:4, boot mode:(3,6)
wdt reset
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v4ceabea9
~ld
ets Jan 8 2013,rst cause:4, boot mode:(3,6)
wdt reset
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v4ceabea9
~ld
Exception (0):
epc1=0x4000e25d epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
ctx: cont
sp: 3fff0250 end: 3fff0460 offset: 01a0
>>>stack>>>
3fff03f0: 00000007 00000007 00000001 4022d08d
3fff0400: 3ffeedfc 00000000 3fff1c3c 4020cb42
3fff0410: 00000000 00000000 3fff1c3c 4020fc8c
3fff0420: 3ffeedfc 00000000 3fff1c3c 4020cc90
3fff0430: feefeffe 00000000 3fff1c3c 4020c1c6
3fff0440: 3fffdad0 00000000 3ffef430 4020eab0
3fff0450: feefeffe feefeffe 3ffef440 40100710
<<<stack<<<
ets Jan 8 2013,rst cause:4, boot mode:(3,6)
wdt reset
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v4ceabea9
~ld
When using this sketch:
#include <Arduino.h>
#include "AudioFileSourceSPIFFS.h"
#include "AudioGeneratorMP3.h"
#include "AudioOutputI2SNoDAC.h"
AudioGeneratorMP3 *mp3;
AudioFileSourceSPIFFS *file;
AudioOutputI2SNoDAC *out;
void setup()
{
Serial.begin(115200);
delay(1000);
SPIFFS.begin();
file = new AudioFileSourceSPIFFS("/ring1.wav");
out = new AudioOutputI2SNoDAC();
mp3 = new AudioGeneratorMP3();
mp3->begin(file, out);
}
void loop()
{
if (mp3->isRunning()) {
if (!mp3->loop()) mp3->stop();
} else {
Serial.printf("MP3 done\n");
delay(1000);
}
}
ets Jan 8 2013,rst cause:4, boot mode:(3,6)
wdt reset
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v4ceabea9
~ld
Exception (0):
epc1=0x4000e25d epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
ctx: cont
sp: 3fff0250 end: 3fff0460 offset: 01a0
>>>stack>>>
3fff03f0: 00000007 00000007 00000001 4022d08d
3fff0400: 3ffeedfc 00000000 3fff1c3c 4020cb42
3fff0410: 00000000 00000000 3fff1c3c 4020fc8c
3fff0420: 3ffeedfc 00000000 3fff1c3c 4020cc90
3fff0430: feefeffe 00000000 3fff1c3c 4020c1c6
3fff0440: 3fffdad0 00000000 3ffef430 4020eab0
3fff0450: feefeffe feefeffe 3ffef440 40100710
<<<stack<<<
ets Jan 8 2013,rst cause:4, boot mode:(3,6)
wdt reset
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v4ceabea9
~ld
Note i . still have both my Serial wires to my programmer plugged into pins TX & RX when doing this. I doubt that's the issue though, wanted to note it.