View previous topic :: View next topic |
Author |
Message |
Dasat
Joined: 07 Feb 2012 Posts: 5
|
SD Card |
Posted: Wed Feb 08, 2012 5:35 am |
|
|
Pls i am new to this, i want to read dat into my sd card using a PIC 18F4520
I'm not to sure if the syntaxes to use in initializing and sending information to the SD card, i have an MMC driver that I'm to use.
Pls i need help, don't mind my ignorance _________________ Believe and u would see |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9226 Location: Greensville,Ontario
|
|
Posted: Wed Feb 08, 2012 6:26 am |
|
|
Rule number one. Be sure to use proper logic level conversion chip between the 5 volt PIC and the 3 volt SD card.
Unless you have the correct hardware, your program will never work.
Rule number two. Learn to use the 'search' function of this forum. There are dozens of 'SD card' related topics.99% of all the problems you have will already be answered !
Rule number three. Never forget rule #1 and rule #2 !! |
|
|
Dasat
Joined: 07 Feb 2012 Posts: 5
|
|
Posted: Wed Feb 08, 2012 8:22 am |
|
|
Believe me I've done number 2 but didn't get the basics I need to start. I don't mind a book or a small tutorial. What i want to do is do an adc conversion: store the various for a number of samples in the card and the print it on a Nokia lcd screen. I can now work with the Nokia screen. But for the cards, I'm not sure of which functions to invoke first, how to view the result so far in my code, etc. _________________ Believe and u would see |
|
|
arunb
Joined: 08 Sep 2003 Posts: 492 Location: India
|
RE: |
Posted: Thu Feb 09, 2012 12:39 am |
|
|
Hi,
Study the CCS code examples in the PICC folder. See the various functions procedures used, the initialisation of the card is most important part without which the card will not work properly. The CCS code drivers have all the functions/procedures for reading and writing to the card.
Before all this get the hardware ready, as pointed out by temtronic, logic level conversion is very important here.
There are numerous projects in internet, just Google for it.
Please post the datasheet for the Nokia LCD screen...
thanks
a |
|
|
asmallri
Joined: 12 Aug 2004 Posts: 1634 Location: Perth, Australia
|
Re: SD Card |
Posted: Fri Feb 10, 2012 3:01 am |
|
|
Dasat wrote: | Pls i am new to this, i want to read dat into my sd card using a PIC 18F4520
I'm not to sure if the syntaxes to use in initializing and sending information to the SD card, i have an MMC driver that I'm to use.
Pls i need help, don't mind my ignorance |
A PIC18F4520 can be used for this however you might want to consider using a PIC with more RAM such as a pin compatible PIC18F4620.
You will find examples for electrically integrating an SD/MMC card with a 5 volt PIC. _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
|
|