background image

Overview

AT89C51SND1 Reference Design User Guide

2-6

4207B–MP3–04/07

2.2

Quickstart

This procedure allows you to quickly play an MP3 song stored in the mass storage sys-
tem. If the mass storage is empty or not formatted, see the following section regarding
MP3 upload (“USB Mode”).

4.

If the player is battery powered, push the ON button. If the player is powered by 
USB, plug the USB cable into your computer.
All LEDs flash to confirm the power is ON.
After a few seconds, depending of the mass storage type and size, LED n°1 is 
ON: indicating Song Mode is selected.

5.

Push the Play/Pause button to play the first MP3 song of the mass storage 
medium.
LED n°1 blinks during music play.

6.

If the player is battery powered, after 1 minute of inactivity (no music), the player 
will be automatically turned off.

2.2.1

Power ON/OFF

Press the ON button to power the player. Power off is automatic after one minute of
inactivity (no music, no button pressed). When the player is connected to a PC using the
dedicated USB cable, the player is powered by the USB power line and the battery is
useless (and will not be discharged). Disconnecting USB cable will automatically switch
supply to the battery without stopping the operation.

2.3

Main Functions

Main functions are the first meaning of the buttons:

Play/Pause: this button means Play/Pause or Select or Record

Function: to change the current mode or alternate function

Plus/Minus: to change a music track or change a control level

ON: to power on the player using the battery

2.4

Mode Functions

After power ON and initialization (step 1 of the previous section), there are 4 basic func-
tions called “modes”, assigned to a dedicated LED:

LED n°1: Song Mode, to play the MP3 files of the embedded mass storage system

LED n°2: Voice Mode, to play or record short “wav” messages (phone quality)

LED n°3: USB Mode, to upload or download files to the embedded storage system

LED n°4: Erase Mode, to format the mass storage system

By pressing the Function key sequentially, the user will switch between these modes
(mode 1, 2, 3, 4, 1...). The LED ON indicates the current mode.

To validate one of these modes, press the Play/Pause button. For instance, if LED n°1
is ON, the current mode is “Song Mode”. The Play/Pause button will start the MP3
music.

Summary of Contents for AT89C51SND1

Page 1: ...MP3 Player Reference Design Based on AT89C51SND1 Microcontroller User Guide ...

Page 2: ...rview 3 2 1 User Interface 4 2 2 Quickstart 6 2 2 1 Power ON OFF 6 2 3 Main Functions 6 2 4 Mode Functions 6 2 5 Alternate Functions 7 2 6 Special Information 7 Section 3 Overview of Modes 8 3 1 Song Mode 8 3 2 Voice Mode 8 3 3 USB Mode 8 3 4 Erase Mode 10 Section 4 In System Programming ISP 11 4 1 Using Hardware Conditions 11 4 2 Using Software Condition 11 ...

Page 3: ...the following features Upload and Download of Files Through a USB Interface Plays or Records Songs Adjustable Volume Treble Medium and Bass Record Voice Through a Microphone in WAV Format 1 1 Web Site download 1 Connect to https www atmel nantes fr mp3 at8xc51snd1c User Name is atmelmp3 Password is snd3pass 2 Copy the at8xc51snd1c zip file to your PC 3 Unzip the package to your local hard drive ...

Page 4: ...1SND1 Reference Design User Guide 1 2 4207B MP3 04 07 1 2 Abbreviations AT89C51SND1 the MP3 microcontroller ISP In System Programming MP3 MPEG layer 3 a standard music format PC Personal Computer USB Universal Serial Bus ...

Page 5: ...AT89C51SND1 Reference Design User Guide 2 3 Rev 4207B MP3 04 07 Section 2 Overview Figure 2 1 Reference Design Top view There are two connectors Earphone stereo jack Mini B USB connector ...

Page 6: ...igure 2 2 Reference Design bottom view The battery is a standard 1 5V battery type AAA The mass storage system on the board is a 64 MB NAND Flash memory 2 1 User Interface The user interface has 4 LEDs and 5 push buttons Play Pause Function Previous Minus Next Plus ON Pwr ...

Page 7: ...face Overview Each LED may be OFF Flashing ON during less than 1 second and only one time Slow blinking continuously Fast blinking continuously ON microphone headphone connector Play Pause ON Pwr LED n 1 LED n 2 LED n 3 LED n 4 AT89C51SND1 Function Func USB connector Next Plus Previous Minus ...

Page 8: ...wered by the USB power line and the battery is useless and will not be discharged Disconnecting USB cable will automatically switch supply to the battery without stopping the operation 2 3 Main Functions Main functions are the first meaning of the buttons Play Pause this button means Play Pause or Select or Record Function to change the current mode or alternate function Plus Minus to change a mus...

Page 9: ...nus to decrease or Next Plus to increase the control level A bar graph lights up for the corresponding control when one of these buttons are pressed and during the adjustment the control ranges from all LED OFF minimum level to all LED ON maximum level If no buttons are pressed for 3 seconds the alternate functions setup ends and the LED corresponding to the current mode blinks slowly Play informa...

Page 10: ...e wav file is reached When the maximum size is reached the player will go back to its initial state 3 3 USB Mode This mode will allow users to connect the player to a PC running under Linux Win dows 2000 XP Me and MacOS 9 without driver or Windows 98 with a driver The Data Storage Flash will then be seen as a removable disk drive and copying from any PC storage media to the player memory will be p...

Page 11: ...the Play Pause button must be pressed Do not disconnect the cable before leaving USB Mode 3 4 Erase Mode When this mode is validated by pressing Play Pause button all LEDs are OFF during the erasing and reformatting of the full on board mass storage system LED n 4 will be ON when this operation is performed ...

Page 12: ...stem Programming FLIP software To enter by software in the ISP bootloader of the player press the Function button while the USB cable is plugged into the PC the ISP software condition is checked only during power ON Reset A driver has to be installed the first time See FLIP installation note This driver is deliv ered with Atmel FLIP software available on the Atmel Web site When connected a new dev...

Page 13: ...rkway San Jose CA 95131 USA Tel 1 408 441 0311 Fax 1 408 487 2600 Regional Headquarters Europe Atmel Sarl Route des Arsenaux 41 Case Postale 80 CH 1705 Fribourg Switzerland Tel 41 26 426 5555 Fax 41 26 426 5500 Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon Hong Kong Tel 852 2721 9778 Fax 852 2722 1369 Japan 9F Tonetsu Shinkawa Bldg 1 24 8 Shinkawa Chuo ku Tokyo 104 00...

Reviews: