Display for Stackmat timer

Hi. I want create DISPLAY for Stackmat timer for Rubiks Cube.

It use 2.5 audio jack and 3.5.for computer where is microfon separete from headplugs jack.


I will go with:

  • TM1637 6-digit display(0.56"),
  • Arduino Nano,
  • Audio jack attached to arduino.

It working with pulses which sending from timer? Is that hard to do with code?

I found some examples, but not for 1637, found for MAX7219.

Main example:

Other examples:

http://robojax.com/node/1295

According to a link on the page you linked to:

The "stackmat signal" is essentially just a RS232 serial signal (1200 baud, 8 databits, no parity bits, one stop bit). This signal is converted to TTL level (5V/0V) by the MAX232 level shifter IC, so the Atmel microprocessor can understand it.

The payload is transmitted in 9 byte packets:
1: command byte as ASCII character ('I','A','S','L','R','C' or ' ')
2-6: time in ASCII chars (2:34:56)
7: checksum (64 + sum of time digits)
8: CR (carriage return, ASCII code 0x0D)
9: LF (line feed, ASCII code 0x0A)
Example:
S02527P[CR][LF]
time: 0:25:27
checksum: 64 + 0 + 2 + 5 + 2 + 7 = 64 + 16 = 80 = 'P' (chechsuk OK)
Command bytes:
'I': timer initialized and reset to 0 (both hand pads open)
'A': timer ready to begin, both hand-pads covered
' ': timer running/counting (both hand-pads open)
'S': timing complete (both hand-pads open)
'L': left hand-pad covered (overrides 'I', ' ', 'S')
'R': right hand-pad covered (overrides 'I', ' ', 'S')
'C': both hand-pads covered (overrides 'I', ' ', 'S')

I would suggest to begin using a software serial library to read the data from the timer and echo it to serial monitor. When you have that working, you can think about updating your display.

1 Like