Pages: [1]   Go Down
Author Topic: Micro SD and LCD display  (Read 824 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 83
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i am trying to build a robot with 2 servo, 3 sensors, an lcd display and a micro sd breakout board for data logging. my problem is i am not sure how to connect both my display and sd card since the appear to use the same pins
Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

same pins? as in...

if they are SPI there should be a enable pin for each device, turn on the one you want to talk to and your good
if they are i2c then the whole thing happens as an address request
Logged


Offline Offline
Jr. Member
**
Karma: 0
Posts: 83
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

both are spi
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 83
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

micro sd has these pins - 5v, 3v, GND, CLK, DO, D1, CS, CD

128x32 SPI OLED has these pins- GND, 3.3v, VIN, DATA, CLK, D/C< RST, CS
Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

CS = chip select, they go to different outputs of the arduino to select which device your talking to
Logged


Offline Offline
Jr. Member
**
Karma: 0
Posts: 83
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

so i would be able to tell the arduino which device is on what pin for chip select?
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 83
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

and do i need a special shield for my i2c line sensor?
Logged

Pages: [1]   Go Up
Jump to: