0
mantouboji

SPI on OrangePi One Success

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0