Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
arduino_boards:rs232_controller [2018/10/18 16:36] admin [RS232 Controller] |
arduino_boards:rs232_controller [2020/06/11 22:13] (current) |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ---- | ---- | ||
| ==== Paper PCB ==== | ==== Paper PCB ==== | ||
| + | If an external trigger is needed there is a connector on Pin2.\\ | ||
| + | |||
| + | |||
| {{:arduino_boards:dual_rs232_controller_01.jpg?400|}}\\ | {{:arduino_boards:dual_rs232_controller_01.jpg?400|}}\\ | ||
| {{ :arduino_boards:dual_rs232_controller_01.zip |}}\\ | {{ :arduino_boards:dual_rs232_controller_01.zip |}}\\ | ||
| Line 10: | Line 13: | ||
| ---- | ---- | ||
| ==== Code ==== | ==== Code ==== | ||
| - | For the code I needed a little bit of reverse engineering. A CRC control byte is send, too. The polynom that is used is: 0xD5. The code for that was in the manual\\ | + | For the code I needed a little bit of reverse engineering.\\ |
| - | {{:arduino_boards:reverse_rs232.jpg?600|}}\\ | + | {{:arduino_boards:reverse_rs232.jpg?400|}}\\ |
| - | Arduino Code:\\ | + | To control the Waveplayer8 one has to send a CRC control byte. The polynom that is used is: 0xD5. The code to calculate the CRC byte was in the [[http://www.waveplayer-systems.de/WavePlayer8%20Beschreibung%20V3.pdf|manual]]\\ |
| + | The controller plays random files and pauses depending on the value of a potentiometer.\\ | ||
| + | |||
| + | === Arduino Code === | ||
| {{ :arduino_boards:waveplayer8_20.zip |}}\\ | {{ :arduino_boards:waveplayer8_20.zip |}}\\ | ||
| - | To customize the code one can change the length of the pause in seconds:\\ | + | === Customize the Arduino Code === |
| + | One can change the length of the pause (in seconds):\\ | ||
| unsigned long longest_pause = 100; | unsigned long longest_pause = 100; | ||
| The track number:\\ | The track number:\\ | ||
| int number_of_tracks = 8; // number of all tracks | int number_of_tracks = 8; // number of all tracks | ||
| - | And in an array the individual length of each track in seconds:\\ | + | And in an array one can write the individual length of each track (in seconds):\\ |
| unsigned long length_of_tracks[] = {11, 12, 13, 14, 15, 16, 17, 18}; | unsigned long length_of_tracks[] = {11, 12, 13, 14, 15, 16, 17, 18}; | ||
| + | |||
| + | ---- | ||
| + | ==== License ==== | ||
| + | |||
| + | The RS232 Controller was designed by **Wolfgang Spahn** 2018.\\ | ||
| + | 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> | ||
| ---- | ---- | ||