| View previous topic :: View next topic |
| Author |
Message |
stoyanoff
Joined: 20 Jul 2011 Posts: 375
|
|
Posted: Tue May 01, 2012 9:21 am |
|
|
It`s not 3 to 5. 18F66J60 works on 3.3V.
I connected PIN_C2(33) to pin 1 of the SD card through pull up resistor.
PIN_C3(34) => pin 5
PIN_C4(35) => pin 7
PIN_C5(36) => pin 2
PINs 3 and 6 of the card to GRD. PIN 4 to Vcc. Pins 8 and 9 through pull up to Vcc.
I think this must be fine. |
|
 |
Ttelmah
Joined: 11 Mar 2010 Posts: 20161
|
|
Posted: Tue May 01, 2012 9:29 am |
|
|
You need pull up resistors on the CS line, and the data_out line as well. Also pin 12 on the SD card (/WP), or you won't be able to write....
GND should go to pins 3,6,11,13, and to the shield pins.
Best Wishes |
|
 |
stoyanoff
Joined: 20 Jul 2011 Posts: 375
|
|
Posted: Tue May 01, 2012 10:36 am |
|
|
| I have pull-ups on 5, 2 and 7. I didn't connect pins CD, COM and WP. I didn't think I need them because the sd card has only 9 pins. I'll connect them and see what's going to happen. |
|
 |
|