Hello,
I’m trying to interface a scp1000 pressure sensor via arduino spi.
I look at the post http://www.arduino.cc/cgi-bin/yabb2/YaB … 1213217330.
But, before running the code, I’d like to know how to connect the SCP Breakout Board (from Sparkfun SEN-08161, http://www.sparkfun.com/commerce/produc … ts_id=8161) to the Arduino.
Breakout Board pins are : GND, 3.3V, SCK, MOSI, MISO, CSB, DRDY
From the code, pins are defined as follow
#define SLAVESELECT 10
#define SPICLOCK 13
#define DATAOUT 11 //MOSI
#define DATAIN 12 //MISO
I wired the SCP Breakout Board to the Arduino as follow :
SCK to Pin 13
MOSI to Pin 11
MISO to Pin 12
How do I connect Pin 10 (SLAVESELECT) ? To which SCP Breakout Board pin ?
Mersing.