aricneto / TwistyTimer

Twisty Timer is a material design twisty puzzle timer for Android. It uses the TNoodle library to generate scramble sequences for all current official speedsolving puzzles.
GNU General Public License v3.0
241 stars 53 forks source link

Stackmat Timer support #70

Open tsyw opened 7 years ago

tsyw commented 7 years ago

Recording time via speedstacks timer will be a good feature, I think.

aricneto commented 7 years ago

I currently have no plans for supporting stackmat timers since I don't have one to develop and test with.

freundTech commented 7 years ago

I recently got a Stackmat Timer and will try to implement it. It seems to be quite complex though.
Here are some technical details:

  1. Hardware:
    You need a 2.5mm to 3.5mm jack adapter and a Mic+Headphones Y-cable (Connecting the timer to a phone without the Y cable will not work)

  2. Software:
    The Timer sends It's signal using RS232 at 1200Hz. Most android devices can't record at 1200Hz, so the app has to record sound at 44100Hz and then in software skip all x out of y samples. There is an Open Source implementation in coffeescript, which can be used as a reference.

freundTech commented 7 years ago

Update: I managed to read the timer value and state on android. I'm currently working on refactoring ChronometerMilli.java, so it can also display times read from the external timer. Expect a PR in the next few days.

pedrofracassi commented 6 years ago

Is this still a thing? Would love to use it.