1 / 17

MP3 player on PC using PIC controller via USB.

MP3 player on PC using PIC controller via USB. Supervisor: Dmitry Sokolik Performed by: Yoav Gershoni Shachar Faigenblat. Project Overview. Playing MP3 files that located in the PC Controlling the song selection using the PIC. Establish a USB based connection for control.

mei
Download Presentation

MP3 player on PC using PIC controller via USB.

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. MP3 player on PC using PIC controller via USB. Supervisor: Dmitry Sokolik Performed by: Yoav Gershoni Shachar Faigenblat

  2. Project Overview • Playing MP3 files that located in the PC • Controlling the song selection using the PIC. • Establish a USB based connection for control. • Enable friendly user interface (LCD, switches).

  3. Block diagram PIC board

  4. Project Specification • Components: • PIC 18F452 evaluation board. • DLP 245. • Power supply: • 5v for the evaluation board, PIC and USB bus. • Interfaces: • USB bus between the PIC board and the PC

  5. Software Architecture • PC Main function COM Port functions USB Driver and Bus

  6. Software Architecture • PIC Main function LCD Driver functions DLP Driver functions LCD Display USB Bus

  7. Software Development Tools • PIC: • MCC18 compiler on MPLAB IDE. • PC: • Code in C, with Visual Studio compiler. • USB protocol: • USB Inspector.

  8. DLP 245 – USB Device • Provides parallel interface to USB bus. • Easy to handle. • No USB protocol knowledge required. • PC Driver are Virtual COM Port.

  9. DLP 245 – PIC connection PIC DLP 245

  10. DLP 245 – PIC connection

  11. LCD • 2x16 Characters. • LCD controller provide easy handling. • Parallel bus to LCD controller.

  12. LCD Pinout

  13. LCD BUS Waveform Since the LCD has only 4 bits the E line has to toggle twice for each Data/command transaction.

  14. LCD Commands

  15. LCD Initialization proccess It appears that the initialization process of the LCD module isn't strait forward as one would think.

  16. Conclusions • Every thing works this time!! • Datasheets don’t always have all the information needed to make things work. (LCD) • HW doesn’t always work as you intended it would (Philips). • The Internet provides a useful knowledge base, with the experience of many skilled people.

  17. The End

More Related