Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
arduino_boards:ogg_player_board [2014/07/22 21:03] admin |
arduino_boards:ogg_player_board [2020/06/11 22:13] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ---- | + | ===== OGG-Player-Board ===== |
- | **OGG-Player-Board** | + | |
- | ---- | + | A simple OGG Player for the Arduino. It's based 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 like the module.\\ |
- | 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 |}}\\ | {{ :arduino_boards:ogg-player-board.jpg?400 |}}\\ | ||
- | And because it's controlled over serial protocol it's super simple to run with Arduino.\\ | + | One needs an SD Card, upload the ogg-files and because it's controlled over serial protocol it's super simple to control it with the Arduino.\\ |
Front:\\ | Front:\\ | ||
Line 12: | Line 11: | ||
---- | ---- | ||
- | Comands:\\ | + | ====Commands ==== |
- | The continuous playing mode understands the following single-byte commands: | + | The continuous playing mode understands the following single-byte commands:\\ |
- | + | * f - switch to file play mode | |
- | * f - switch to file play mode | + | * c - switch to continuous play mode |
- | * c - switch to continuous play mode | + | * C - cancel play, return to play loop, responds with c |
- | * C - cancel play, return to play loop, responds with c | + | * + - volume up, responds with two-byte current volume level |
- | * + - volume up, responds with two-byte current volume level | + | * - - volume down, responds with two-byte current volume level |
- | * - - volume down, responds with two-byte current volume level | + | * = - pause on, responds with = |
- | * = - pause on, responds with = | + | * > - play (normal speed), responds with > |
- | * > - play (normal speed), responds with > | + | * » (0xbb) - faster play, responds with the new play speed |
- | * (0xbb) - faster play, responds with the new play speed | + | * n - next song, responds with n |
- | * n - next song, responds with n | + | * p - previous song, responds with p |
- | * p - previous song, responds with p | + | * ? - info, returns play seconds (4 bytes, high byte first), and one-byte file left indicator (255 to 0). |
- | * ? - 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.\\ |
- | * In file play mode files are not played automatically. | + | The file play mode commands are single-line commands ending with the newline character (0x0a).\\ |
- | * To change into file play mode, send f, then you can send C to cancel playback. | + | The following commands are currently implemented:\\ |
- | * The file play mode commands are single-line commands | + | * OFF\n - powers down |
- | * ending with the newline character (0x0a). | + | * c\n - switch to continuous play mode |
- | * The following commands are currently implemented: | + | * L\n - list files |
- | * | + | * PFILENAMEOGG\n - play file by name, must be 8.3-character uppercase name without the ”.” |
- | * OFF\n - powers down | + | * pnumber\n - play file by number |
- | * c\n - switch to continuous play mode | + | Continuous play mode commands are available during the playing of the song.\\ |
- | * 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. | + | |
+ | ---- | ||
+ | ====Example Code ==== | ||
+ | {{:arduino_boards:ogg_player_01.zip|}} | ||
---- | ---- | ||
- | **Paper-PCB:**\\ | + | ==== Paper-PCB ==== |
{{:arduino_boards:ogg-player-board_11.jpg?200|}}\\ | {{:arduino_boards:ogg-player-board_11.jpg?200|}}\\ | ||
{{:arduino_boards:ogg-player-board_11.xcf.zip|}}\\ | {{:arduino_boards:ogg-player-board_11.xcf.zip|}}\\ | ||
---- | ---- | ||
- | **Components:**\\ | + | ==== Parts ==== |
* VS100 Audio Module | * VS100 Audio Module | ||
* reset button | * reset button | ||
Line 57: | Line 55: | ||
* USB socket | * USB socket | ||
+ | ---- | ||
+ | ==== License ==== | ||
+ | |||
+ | The OGG-Player-Board was designed by **Wolfgang Spahn** 2012-14.\\ | ||
+ | It is licensed under a [[http://creativecommons.org/licenses/by-nc-sa/4.0/"|Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License]]. | ||
+ | |||
+ | <html> | ||
+ | <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a> | ||
+ | </html> | ||
+ | |||
+ | ---- |