Project-Alpaca / Alpaca-FW

Teensyduino-based firmware for Alpaca project
13 stars 0 forks source link

Support for 837-15275 (stock touch slider) #11

Open dogtopus opened 5 years ago

dogtopus commented 5 years ago

Protocol is documented here (Japanese): http://ryun.halfmoon.jp/touchslider/slider_protocol.html

Logic analyzer captures found on the previous page (converted to sigrok format): slider_cap.zip

Seems to be another SEGA hardware that uses JVS-esque protocol but with 0xff, 0xfd as the sync and escape word instead of the regular 0xe0, 0xd0. This is probably an attempt to avoid protocol overhead caused by frequently escaping bytes in the touch/LED reports.

The signaling is RS232. An RS232-UART adapter would be required.

The protocol itself is simple enough, although ensure proper timing might still be a challenge (takes ~8.7 ms for the host to push out a complete LED report, which would stall the scanning task badly if using naive timing).