Jump to content

SPI on OrangePi One Success


mantouboji

Recommended Posts

After some hack,  I use the SPI port on OPi One to connect with a MAX6675 board. 

 

The SPI port on One is SPI0,  so armbianEnv.txt should include these:

 

overlays=spi-spidev
param_spidev_spi_bus=0
param_spidev_spi_cs=0

 

the MAX6675 connects to OPi One as:

 

MAX6675                       One GPIO

------------------------------------------

VCC                                 PIN17

GND                                PIN20

SCK                                 PIN23

CS                                   PIN24

SO                                  PIN21

 

 

Then use the attachment program to read from MAX6675

readmax6675.c

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines