Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
arduino_boards:rs232_controller [2018/10/18 16:16] admin created |
arduino_boards:rs232_controller [2018/10/18 16:36] admin [RS232 Controller] |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== RS232 Controller ==== | ===== RS232 Controller ==== | ||
- | An Arduino based RS232 controller for two Waveplayer8 | + | An Arduino based RS232 controller for two [[http://www.waveplayer-systems.de/|Waveplayer8]].\\ |
+ | {{:arduino_boards:waveplayer_control.jpg?600|}} | ||
+ | |||
+ | ---- | ||
+ | ==== Paper PCB ==== | ||
+ | {{:arduino_boards:dual_rs232_controller_01.jpg?400|}}\\ | ||
+ | {{ :arduino_boards:dual_rs232_controller_01.zip |}}\\ | ||
+ | |||
+ | ---- | ||
+ | ==== 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\\ | ||
+ | {{:arduino_boards:reverse_rs232.jpg?600|}}\\ | ||
+ | Arduino Code:\\ | ||
+ | {{ :arduino_boards:waveplayer8_20.zip |}}\\ | ||
+ | To customize the 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 the individual length of each track in seconds:\\ | ||
+ | unsigned long length_of_tracks[] = {11, 12, 13, 14, 15, 16, 17, 18}; | ||
+ | |||
+ | ---- |