Home/Support/Support Forum/How can I connect an Xbee to an absolute encoder using SPI bus?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How can I connect an Xbee to an absolute encoder using SPI bus?

+1 vote
Hi,

Recently, I would like to connect an XBee to an absolute encoder (AMT-20) which uses SPI bus.
According to the XBee manual, Xbees (S2C, S6, S8) only support SPI slave mode, but I want to make the XBee to be a SPI master to offer clock signal, MISO, MOSI, and SS signals so that the XBee and the encoder combination will send the encoder position information to another Arduino or computer.

Is it possible or not?

In that case, just make a port to generate clock signal, two ports to be a digital input or output for MISO and MOSI, last port to be a digital output for selecting the slave SPI which is the encoder.

Am I right?

Thanks,

Bonghun
asked May 10, 2017 in Other/Legacy by altair92 New to the Community (1 point)
edited May 10, 2017 by altair92

Please log in or register to answer this question.

...