Table of Contents

RS232 Controller

An Arduino based RS232 controller for two Waveplayer8.


Paper PCB

If an external trigger is needed there is a connector on Pin2.


dual_rs232_controller_01.zip


Code

For the code I needed a little bit of reverse engineering.

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 manual
The controller plays random files and pauses depending on the value of a potentiometer.

Arduino Code

Customize the Arduino Code

One can change the length of the pause (in seconds):

 unsigned long longest_pause = 100;

The track number:

 int number_of_tracks = 8;  // number of all tracks

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};