advice/guidance on my new project

Hi,
I have a synchro to digital chip I need to interface to an arduino. It outputs a 14bit word which i will use 14 digital inputs to read the data with the following bit weighting. See attached sheet. I then need to output the decoded input as float of 0 to 360 degrees.

SD.pdf (175 KB)

Can you use a parallel to serial converter to reduce your IO pin count?

Weedpharma

weedpharma:
Can you use a parallel to serial converter to reduce your IO pin count?

Weedpharma

As long as I don't lose the resolution of 14bit then yes.

737nut:
read the data with the following bit weighting. See attached sheet.

That table just over complicates matters. The values are normal powers of 2. Just treat the number as a 14bit binary number. The max value will be 2^14 - 1 or 16383. That will be equivalent to 360 deg and 0 will equal 0 deg.

...R

Use two 74HC165 to capture the parallel data, and then read in using 2 SPI.transfer commands.