Comments (7)
It looks like you have the diodes mounted in reverse.
For testing you could do without the reset circuit.
First step is to get rid of the error messages. Are you sure that the GND of the VS1053 is tightly connected to the GND of the ESP?
While not playing, ringbuf 0, stream 0 is okay (no streem, nothing buffered).
During playing the ringbuf is mostly filled up to 20000 bytes and the stream should also have some bytes in it.
from esp-radio.
Hi Ed, i got rid of some errors; Slow SPI is working, but the Fast SPI test still fails as below
CPU is set to 160MHz, not sure where the speed issue comes from. the ESP-12 that i am using is quite old, maybe a hardware issue, i'll buy a new one to try. or any other ideas?
Thanks a lot- Tom
D: Reset VS1053...
D: End reset VS1053...
D: Slow SPI,Testing VS1053 read/write registers...
D: Fast SPI, Testing VS1053 read/write registers again...
D: VS1053 error retry SB:07E9 R1:07E9 R2:0000
D: VS1053 error retry SB:13E9 R1:13E9 R2:0000
D: VS1053 error retry SB:17A9 R1:17A9 R2:0000
D: VS1053 error retry SB:1929 R1:1929 R2:0000
D: VS1053 error retry SB:1AA9 R1:1AA9 R2:0000
D: VS1053 error retry SB:1C29 R1:1C29 R2:0000
D: VS1053 error retry SB:1DA9 R1:1DA9 R2:0000
D: VS1053 error retry SB:2FA9 R1:2FA9 R2:0000
D: VS1053 error retry SB:3009 R1:3009 R2:0000
D: VS1053 error retry SB:3069 R1:3069 R2:0000
D: VS1053 error retry SB:37E9 R1:37E9 R2:0000
D: VS1053 error retry SB:38A9 R1:38A9 R2:0000
D: VS1053 error retry SB:3A29 R1:3A29 R2:0000
D: VS1053 error retry SB:3BA9 R1:3BA9 R2:0000
D: VS1053 error retry SB:3EA9 R1:3EA9 R2:0000
D: VS1053 error retry SB:43E9 R1:43E9 R2:0000
D: VS1053 error retry SB:47A9 R1:47A9 R2:0000
D: VS1053 error retry SB:4929 R1:4929 R2:0000
D: VS1053 error retry SB:4AA9 R1:4AA9 R2:0000
D: VS1053 error retry SB:4C29 R1:4C29 R2:0000
D: endFillByte is 0
from esp-radio.
Looks like an SPI problem.
Did you check the ground connections?
You may try to run the ESP on 80 MHz, change line 1382 to:
system_update_cpu_freq ( 80 ) ; // Set to 80/160 MHz.
You may also try to disconnect the TFT display, it shares the SPI bus and maybe there is something wrong there.
from esp-radio.
Hi Ed,
It seems i have identified the cause of the problem: the VS1053 i am using is an Arduino shield, with a SD card, and when an SD card is inserted, it interferes with the SPI. As soon as i unplug the SD card, it works without a glitch! I tried pulling the chip select of the SD card high but that does not solve it. Maybe you have any ideas?
Thanks a lot for this great project.
from esp-radio.
Yes, that makes sense. Maybe you can find out what GPIO is used for the SD card and then redefine the pins used in the project.
Have you noticed the new version of Esp_radio (with MQTT and new configuration setup)?
from esp-radio.
hi Ed, all working fine now with the new version, without display, one button on GPIO0 for next station. It seems the next station function does not check for the number of defined stations so it just keeps going up, trying even when there's no presets - is this easy to fix?
Another note; the code as GPIO0 as INPUT_PULLUP so the 10K resistor in the schematics is not necessary, right?
And in the VS1053.begin, the test for slow SPI says 2MHz in the comments but the number is 200,000 so that is rather 200kHz, right?
from esp-radio.
tomtobback:
1 - Will return to preset 0 now after highest preset.
2 - Pull-up not necessary (but doesn't harm).
3- Slow SPI test is at 200 kHz indeed.
Current version has some loose ends, as I am trying to make uploads more stable and I am busy to support stand-alone mp3 files.
from esp-radio.
Related Issues (20)
- Migrate to Platformio HOT 1
- Newbie needing help with TFT colours and fonts HOT 6
- another compilation problem HOT 1
- I2C LCD 2004 support
- Chunked m3u playlist
- "Test" command crash if the stream is stopped (i.e. when mp3client == NULL)
- Display with driver ST7735 V2. 0 HOT 2
- Cannot connect to home wifi HOT 5
- Setting up the 128x160 display HOT 5
- Issues with radio station HOT 2
- Feature request: Redirect for stream URl
- Stations with redirect will not work when SPIRAM enabled HOT 7
- Playlist m3u next - prev function (similar to esp32 radio) HOT 1
- Can't upload data to ESP8266 HOT 1
- Extremely Low Volume Audio Levels
- list of ip addresses for streaming radio stations and other sources
- No Longer Connects To WiFi HOT 1
- The board keeps restarting, instead of the website only "sorry" appears HOT 4
- Play / Pause function on physical button
- Buttons favorit
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp-radio.