3
« on: July 11, 2015, 08:20:58 AM »
Hi,
first of all, thank for taking care to document everything about this tach.
I have a mill bought in May 2015, and think I have got the one with the protocol change.
I have wired up an arduino and I started with "communication error 1".
I have then added some debug lines and I have noticed that the cycle usually get 69 bits and sometimes also 70.
This obviously lead to the communication error.
Here the sample from the serial output I have added on the second part of the cycle ( when it get the error )
( the first number is "packet_bits_pos" the last two bits gets from the 69 end 70 ( when it's there ) bits )
( This are collected with the spindle stopped )
69-10000000: 001110000 00001111: 000010100 11101000: 000111110 10101000: 010111110- 10
69-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
69-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
69-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
69-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
69-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
69-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
69-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
70-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
69-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
70-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
69-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
69-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
69-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
69-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
69-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
69-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
69-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
Now from the spindle rotating:
70-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
70-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
70-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
69-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
69-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
69-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
69-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
69-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
70-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
69-11000000: 000111000 00000111: 100001010 01110100: 000011111 01010100: 001011111- 01
When the spindle is rotating, sometimes I get a "Communication error 2" but haven't still got some output from there. I'll do this this evening.
I'm waiting to receive a SALEAE clone ( I know, I should have bought the original but being that I think I will use it just few times.... ) and as soosn as I can get it up and runinng I will take some snapshot for you.
Pigi