General Category > SX2/CN2 Tachometer Discussion

Receiving "communication Error 1" when trying to use the Arduino Sketch

<< < (2/3) > >>

Macpod:
Glad you got it working Thomas,

I don't think this will help with the other individual's mills as they definitely show indications of a protocol change. They are also directly connecting into the speed adjuster board vs through that port.

Regarding your mill's wiring, my knee-jerk reaction to it is to say you have a defective mill. I know multiple other individuals have made arduino tachometers so I'm pretty sure that image is correct (otherwise surely one person would have emailed me about it over the 3 years it has been published!), but now I will have to go through and triple check again for my sanity :)

kwilliam:
I have a SX2P and purchased a Sieg tacho for it.

Well it didn't work - Think it just gave 000000 display so I returned it.

If they have changed the protocol it seems Sieg has shot themselves in the foot then.

Have you had any luck getting your kit working on a SX2P?

Thanks Malcolm

Macpod:
Hi kwilliam,

Yes, my kit has worked with the newer protocols installed on these mills. That is quite a surprise that the official tachometer doesn't work with them. It makes me wonder if there is a problem with the wiring inside of your mill.

Pigi:
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


Pigi:
I have read on your news page about the change of protocolo, but do you mind to indicate the differences.please ?

Thx

Pigi

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version