SPI breakout connection labels


#1

breakout labelled as 3.3v ,Gnd, MISO, MOSI, SCLK, CE0 … I want to connect 3.3v and GND, SCL and SDA. So maybe SCLK is equivalent of SCL but where has SDA gone ?

Can anyone clarify please ?

I’m connecting an AM2315 temp & humidity sensor.

Thanks in advance … David


#2

Have you got a link to this device?


#3

#4

That’s SPI not i2c.
MOSI is GPIO 10, physical pin 19 on the GPIO
MISO is GPIO 9, physical pin 21 on the GPIO
SCLK is GPIO 11, physical pin 23 on the GPIO


#5

Whoops, my misunderstanding then. I feel a right wally now :-(

Overnight I connected directly to pins 2 & 4 of the Pi Zero GPIO and the sensor works fine …

Many thanks for helping me …


#6

Should say pins 3 & 5 (obviously)


#7

No problem glad I could help. Yeah, 3 and 5. I’ve used the Protozero https://shop.pimoroni.com/products/protozero to do stuff like that. And the Proto Hat https://shop.pimoroni.com/products/adafruit-perma-proto-hat-for-pi-mini-kit
I just use a stacking header and put it between my Pi and pHat or Hat. That gets you easy access to the GPIO pins. ![DSCF

0988|666x500]