Differences
This shows you the differences between two versions of the page.
arduino_boards:ogg_player_board [2014/07/22 21:05] admin |
arduino_boards:ogg_player_board [2020/06/11 22:13] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ---- | ||
- | **OGG-Player-Board** | ||
- | ---- | ||
- | A simple OGG Player for the Arduino. It isased on the [[http://www.vlsi.fi/en/products/vs1000module.html|VS1000 Audio Module]] of [[http://www.vlsi.fi/en/home.html|VSLI Solution]].The Board provide all pins for headphone and line out.\\ | ||
- | {{ :arduino_boards:ogg-player-board.jpg?400 |}}\\ | ||
- | And because it's controlled over serial protocol it's super simple to run with Arduino.\\ | ||
- | |||
- | Front:\\ | ||
- | {{:arduino_boards:ogg-player-board_front.jpg?200|}}\\ | ||
- | Back…\\ | ||
- | {{:arduino_boards:ogg-player-board_back.jpg?200|}}\\ | ||
- | |||
- | ---- | ||
- | Comands:\\ | ||
- | The continuous playing mode understands the following single-byte commands:\\ | ||
- | * f - switch to file play mode | ||
- | * c - switch to continuous play mode | ||
- | * C - cancel play, return to play loop, responds with c | ||
- | * + - volume up, responds with two-byte current volume level | ||
- | * - - volume down, responds with two-byte current volume level | ||
- | * = - pause on, responds with = | ||
- | * > - play (normal speed), responds with > | ||
- | * (0xbb) - faster play, responds with the new play speed | ||
- | * n - next song, responds with n | ||
- | * p - previous song, responds with p | ||
- | * ? - info, returns play seconds (4 bytes, high byte first), and one-byte file left indicator (255 to 0). | ||
- | \\ | ||
- | In file play mode files are not played automatically. To change into file play mode, send f, then you can send C to cancel playback.\\ | ||
- | The file play mode commands are single-line commands ending with the newline character (0x0a).\\ | ||
- | The following commands are currently implemented:\\ | ||
- | * OFF\n - powers down | ||
- | * c\n - switch to continuous play mode | ||
- | * L\n - list files | ||
- | * PFILENAMEOGG\n - play file by name, must be 8.3-character uppercase name without the ”.” | ||
- | * pnumber\n - play file by number | ||
- | Continuous play mode commands are available during the playing of the song.\\ | ||
- | |||
- | |||
- | ---- | ||
- | **Paper-PCB:**\\ | ||
- | {{:arduino_boards:ogg-player-board_11.jpg?200|}}\\ | ||
- | {{:arduino_boards:ogg-player-board_11.xcf.zip|}}\\ | ||
- | |||
- | ---- | ||
- | **Components:**\\ | ||
- | * VS100 Audio Module | ||
- | * reset button | ||
- | * LED | ||
- | * capacitor 100nF | ||
- | * resistors: 10kOhm, 4.7kOhm, 2kOhm | ||
- | * chinch and/or jack sockets | ||
- | * jumper | ||
- | * USB socket | ||