RSS News Feed Reader

RSS News Feed Reader

The RSS News Feed Reader will allow user to download the RSS feed from the Internet and have it read out aloud through a speaker. The device will first connect to the Internet through an Ethernet cable and start downloading RSS feed into local buffer. The news will then show on the text LCD screen for user to choose from. Using a RPG, the users will be able to select a line of news that they want to hear. The device will use the Google text-to-speech API to convert the news into mp3 file and store it into a micro SD card for the speaker to play it out.

mbed Peripherals

  • Test LCD Display
    • For Displaying news
  • Ethernet Connection
    • For reading RSS news and using the Google text-to-speech API
  • Micro SD Card/Card Reader
    • For saving the text-to-speech mp3 file
  • VS1053 mp3 Decoding chip
    • For decoding mp3 file and playing it through the speaker
  • Speaker
    • Read the news
  • RPG
    • For users to select and play the news

User Instructions

1. Wait for the mbed to complete its Ethernet setup. Once the mbed successfully connects to the Internet, news number will show up on the LCD screen. 2. Use the RPG to scroll through the news and press the button on the RPG to select the news. Once a line of news is selected, the speaker will read it out.

Connection

SD card board connection:

MicroSDmbed
CSP8
DIP11
VCC3.3V
SCKP13
GNDGND
DOP12
CDNC

mp3 decoder board connection:

mp3mbed
Vin3.3V
RSTP15
DREQP16
GPIO 2NC
GPIO 3NC
BSYNCP17
TXNC
RXNC
GNDGND
RIGHTNC
GBUFGND of speaker
LEFTVcc of speaker
GPIO 1NC
GPIO 0NC
SOP6
SIP5
SCLKP7
CSP14

RPG Connection:

RPGmbed
PushbuttonP25
RPG signal1P26
RPG signal2P27

Ethernet breakout board connection:

Ethernetmbed
P1TD+
P2TD-
P7RD+
P8RD-

Text LCD display connection

Text LCDmbed
GNDGND
Vcc5V
V0to GND via 1k resistor
RSP10
RWGND
EP18
D0NC
D1NC
D2NC
D3NC
D4P24
D5P23
D6P22
D7P21

Program

Import programlab3-News_Reader1

News_Reader

Problem encountered

Only one mp3 can be downloaded at one time. At first we thought it was due to the http formatting issue. Then suspect it was a mechanism Google employed to defend against abusing usage. But eventually it turns out to be the buffer was limited, only one or two mp3 can be stored at a time. To solve this problem, the buffer is cleared every single news title is read from the RSS feed source.

Future plans

Enable the device to read from multiple RSS new feed sources.

References

https://mbed.org/users/benglish6/notebook/universal-translator/

https://mbed.org/users/4180_1/notebook/news-lcd-display/

https://mbed.org/cookbook/MP3-Player


Please log in to post comments.