Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Internet radio working on the WebMite with VS1053
Page 2 of 3 | |||||
Author | Message | ||||
Pluto Guru Joined: 09/06/2017 Location: FinlandPosts: 358 |
Some stations play ok. E.g.: name$(1)="Classic FM" host$(1)="ice-the.musicradio.com" page$(1)="/ClassicFMMP3" name$(6)="SR P3" host$(6)="http-live.sr.se" page$(6)="/p3-mp3-192" mp3 192K Other stations go silent for a few seconds and play again for a few seconds: name$(11)="Santana" 'https://vtuner.com/ host$(11)="streaming.exclusive.radio" page$(11)="/er/santana/icecast.audio" 'mp3 128K name$(22)="YLE VEGA osterbotten" 'vtuner.com host$(22)="icecast.live.yle.fi" page$(22)="/radio/YleVegaOsterbotten/icecast.audio" 'AAC 160K Thought it had something to do with the buffer (buff%()) size. Tried with both smaller buff%(2047) and larger up to buff%(8000), but it did not seem to improve the situation at all. Are there some settings I have not found for selecting mp3, AAC and streaming rate? Or will the VS1053 code and the chip itself detect type and rate? Pluto |
||||
Octatron Newbie Joined: 01/04/2015 Location: United KingdomPosts: 26 |
I had been thinking of putting together a web radio for some time and I saw these posts and thought go for it, simple, but I'm having problems. I've checked the program and connections to the V1053 board numerous time and can't find a problem. This is the fault I'm getting:- > run [18] Play stream buff%(),r%,w% Error : VS1053 read failure > Anyone any ideas as to the problem? |
||||
Pluto Guru Joined: 09/06/2017 Location: FinlandPosts: 358 |
Did you set the option for VS1053? In my set I have the following: OPTION AUDIO VS1053 GP10,GP11,GP12,GP9,GP8,GP7,GP6', ON PWM CHANNEL 5 WebMite manual p. 45 and 75: Pluto |
||||
Octatron Newbie Joined: 01/04/2015 Location: United KingdomPosts: 26 |
Yes I set those. here is my list of Options:- OPTION COLOURCODE ON OPTION WIFI BT-XCA6FM, **************, PICOE6614C311B6 OPTION TCP SERVER PORT 80, 10000 OPTION AUDIO VS1053 GP10,GP11,GP12,GP9,GP8,GP7,GP6', ON PWM CHANNEL 5 Also checked the conections were correct many times. |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6787 |
Is keyboard enabled? By default it will grab GP8 and GP9. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Octatron Newbie Joined: 01/04/2015 Location: United KingdomPosts: 26 |
Thanks Mick for your help. No keyboard isn't enabled, Pico board was a new board with a fresh install. I'm begining to wonder if the V1053 board is faulty. |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4233 |
Maybe stupid suggestion. You are using the correct pins? Gp8 is not pin 8 of the pico. Does the module have power? Measure with voltmeter. Does the wiring actually connect (broken wire) Volhout Edited 2024-01-28 19:15 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6787 |
Your settings for the VS1053 on SPI2 look fine to me. It grabbing PWM 5 is right so it looks like the option is correct. I've no idea about the Webmite though, never had one. Note that the VS1053 uses 5V for its supply, not 3V3. Edited 2024-01-28 19:32 by Mixtel90 Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Pluto Guru Joined: 09/06/2017 Location: FinlandPosts: 358 |
Are you using the same board as Matherp in first post of this thread? I am using that and it worked well. Pluto |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9115 |
This one is important - it definitely doesn't work at 3.3V |
||||
Pluto Guru Joined: 09/06/2017 Location: FinlandPosts: 358 |
Seen from the component side of the VS1053 board: OPTION AUDIO VS1053 GP10,GP11,GP12,GP9,GP8,GP7,GP6 Pluto |
||||
Octatron Newbie Joined: 01/04/2015 Location: United KingdomPosts: 26 |
Thanks for all your responces. Answers to questions. Maybe stupid suggestion.(All suggestions accepted) You are using the correct pins? Gp8 is not pin 8 of the pico. Yep, correct pins used. Does the module have power? Measure with voltmeter. Yep and requlators giving correct voltage Does the wiring actually connect (broken wire) Yes just checked that out Are you using the same board as Matherp in first post of this thread? No it's slightly different, see photo. This one is important - it definitely doesn't work at 3.3V Initially I had it on 3V3 but then noticed on the V1053 board it said 5V so swapped it over to VBUS 5V. |
||||
Pluto Guru Joined: 09/06/2017 Location: FinlandPosts: 358 |
Is it VS1053 or VS1003 chip onboard? My earlier checks on AliExpress indicated thet the boards looking like yours are VS1003. |
||||
Octatron Newbie Joined: 01/04/2015 Location: United KingdomPosts: 26 |
I think I have found the problem. The chip on the board is a VS10033 not a VS1053 and according to VLSI's website there are differences. https://www.vlsi.fi/fileadmin/app_notes/migrate03to53.pdf |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6787 |
Your wiring looks right. if you have a multimeter, have you checked through from the VS1053 to the actual Pico pin - just in case it's a faulty connection on the breadboard? Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Pluto Guru Joined: 09/06/2017 Location: FinlandPosts: 358 |
The VS1053 is slightly more expesive than VS1003. Hopefully you have better luck than me when you order VS1053. Ordered from AliExp early november and not yet arrived. Meanwhile I ordered an other one that arrived in 14 days. Pluto |
||||
Octatron Newbie Joined: 01/04/2015 Location: United KingdomPosts: 26 |
New VS1053 board has arrived connected it up and it works, wonderful. Previous board was sold as a VS1053 but it had a VS10033 chip (should have spotted it earlier), now on the way back to the supplier for a re-fund. So I'm up and running, thanks for the help. |
||||
Andrew_G Guru Joined: 18/10/2016 Location: AustraliaPosts: 847 |
Hi Folks, Sorry to be a pain again by asking for help but . . . I have a VS1053 running based on Peter's above code and I am trying to adopt Pluto's idea of assembling the GET message from name, host and page. OK the name is cosmetic. Can anyone explain how the local-to-me radio station such as: http://radio.menu/stations/abc-net-au-abc-local-radio-774-melbourne-mp3/httpver/ would end up as a message to request an MP3 feed? Has anyone managed to access ABC Classic (I'm getting used to UK presenters' accents) and ABC News? Cheers, Andrew |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6098 |
Andrew: GET /3FMW/mp3/; HTTP/1.1 Host: live-radio01.mediahubaustralia.com That's for classicFM I will try for news next if you can confirm that this one does work for you. They tend to make life difficult for us. The full request as captured by wireshark Jim Edit Try this one It should be News Radio. Note the radio2 instead if radio1 in the url http://live-radio02.mediahubaustralia.com/PBW/mp3/ Edited 2024-02-18 17:30 by TassyJim VK7JH MMedit MMBasic Help |
||||
Andrew_G Guru Joined: 18/10/2016 Location: AustraliaPosts: 847 |
Hi Jim, Thanks I get some sound out of it but it sounds like a cracked record (with digital squeaks & squawks over background music) and very much like a crossed line (some talking over music with multiple voices)? There hasn't been a station ID announcement yet to confirm it is the ABC. The UK Classic FM was fairly clean. (As you may have guessed I'm mostly interested in ABC classic and news etc). Cheers, Andrew |
||||
Page 2 of 3 |
Print this page |