1 / 9

Txt Msg DJ – Software Design

Txt Msg DJ – Software Design. By: Kyle Brown

benson
Download Presentation

Txt Msg DJ – Software Design

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Txt Msg DJ – Software Design By: Kyle Brown Abstract: Everyone wants to dance to their favorite songs at a party, but rarely do guests have much say in song selections and playlists. The Txt Msg DJ aims to make song selection at a party a more democratic process. The Txt Msg DJ is a standalone unit that creates and maintains a party playlist based on song requests sent from party guests via SMS. Guests can send text messages containing song names and the Txt Msg DJ will automatically parse messages, sort requests, and play the most popular. In addition to playing the song audio, the Txt Msg DJ will strobe lights in sync with the beat of the currently playing song. In order to maintain control of the party, users will be able to insert an SD card with predefined whitelisted and blacklisted songs.

  2. Raspberry Pi Software Considerations • UART RasPi Communication – Send/receive asynchronous commands and song requests • Track Identification – Quickly and accurately determine what the user “meant” to request • Track Playback – Retrieve songs from an online service, maintain a queue • Station Generation – Retrieve songs similar to recently played songs

  3. Raspberry Pi Software Solutions • UART RasPi Communication – Python and modified miniterm • Track Identification – Last.fm API track.search • Track Playback – MPlayer and Grooveshark, via gsclient plugin • Station Generation – Last.fm API track.getSimilar

  4. Microcontroller Software Considerations • GSM Module – Send/receive asynchronous SMS messages • DMX512/LED – Control lights in real-time with music • SD Card – Read config files once, on bootup • LCD Screen – Display current track information, as well as queue information

  5. Microcontroller Solutions • GSM Module – Interrupt driven (UART from GSM module) • DMX512/LED – Interrupt driven using timer • SD Card – Run on initialization • LCD Screen – Interrupt driven (UART from Raspberry Pi)

  6. SMS Flow

  7. Light Flow

  8. SD Card Flow

  9. LCD Screen Flow

More Related