Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
arduino_boards:ogg_player_board [2014/07/22 20:47]
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. ​Based on the [[http://​www.vlsi.fi/​en/​products/​vs1000module.html|VS1000 Audio Module]] of [[http://​www.vlsi.fi/​en/​home.html|VSLI Solution]].\\+
 {{ :​arduino_boards:​ogg-player-board.jpg?​400 |}}\\ {{ :​arduino_boards:​ogg-player-board.jpg?​400 |}}\\
-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 11: Line 10:
 {{:​arduino_boards:​ogg-player-board_back.jpg?​200|}}\\ {{:​arduino_boards:​ogg-player-board_back.jpg?​200|}}\\
  
 +----
 +====Commands ====
 +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.\\
  
 +----
 +====Example Code ====
 +{{:​arduino_boards:​ogg_player_01.zip|}}
  
 +----
 +==== Paper-PCB ====
 +{{:​arduino_boards:​ogg-player-board_11.jpg?​200|}}\\
 +{{:​arduino_boards:​ogg-player-board_11.xcf.zip|}}\\
  
 +----
 +==== Parts ====
 +  * VS100 Audio Module
 +  * reset button
 +  * LED
 +  * capacitor 100nF
 +  * resistors: 10kOhm, 4.7kOhm, 2kOhm
 +  * chinch and/or jack sockets
 +  * jumper
 +  * 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>​
 +
 +----