Dear community,
I'm new and still learning, please bear.
(I've read the other thread about the MicroSD, but this one was not relevant to mine).
Recently I started a project on my own. My idea was to make some image compression unit. I've experimented with several exsisting compression algorithms on formats such as .jpg (lossy), .png (lossless).
To start off I want to keep things simple and compress a simple .txt file which resides on a microSD.
This is what I will be using: http://www.gravitech.us/micaad.html
Also, I will be using an 8gb (c4) microSD.
I've read some articles about file formats, sending data, how microSDs can be acessed and how information is stored, but I'm still learning.
I found this page to be very helpful: www.pjrc.com/tech/8051/ide/fat32.html
Also I downloaded a FAT32 file system library which I want to be using once I interfaced the adapter to my PIC.
source: ultra-embedded.com/?fat_filelib
It might sound stupid, but I'm kind of noob interfacing peripherals to PICs.
I hope to get some enlightment here on how I can set up my PIC to send some data (either raw or in FAT32) to the microSD.
I especially would like to know which pins I should/could use to connect the adapter. Because the adapter's pinouts state for example a SCK, so can I for example make any pin act as a clock or only those which got SCK or CLK asigned to them.
And for example the TX and RX pins on this PIC's Cport, must I use these to create some MISO MOSI communication?
I've got some other smaller questions as well, but I don't want to make the opening post too long.
I'm using a predefined pcb so some pins are already being used. But I can change a few things here and there.
The schematic of this pcb can be found in a thread I opened earlier:
http://forum.allaboutcircuits.com/showthread.php?t=63667
(3rd post)
Please let me know if anything is unclear.
Some help or advice would be greatly appreciated.
Thanks for your time/help.
I'm new and still learning, please bear.
(I've read the other thread about the MicroSD, but this one was not relevant to mine).
Recently I started a project on my own. My idea was to make some image compression unit. I've experimented with several exsisting compression algorithms on formats such as .jpg (lossy), .png (lossless).
To start off I want to keep things simple and compress a simple .txt file which resides on a microSD.
This is what I will be using: http://www.gravitech.us/micaad.html
Also, I will be using an 8gb (c4) microSD.
I've read some articles about file formats, sending data, how microSDs can be acessed and how information is stored, but I'm still learning.
I found this page to be very helpful: www.pjrc.com/tech/8051/ide/fat32.html
Also I downloaded a FAT32 file system library which I want to be using once I interfaced the adapter to my PIC.
source: ultra-embedded.com/?fat_filelib
It might sound stupid, but I'm kind of noob interfacing peripherals to PICs.
I hope to get some enlightment here on how I can set up my PIC to send some data (either raw or in FAT32) to the microSD.
I especially would like to know which pins I should/could use to connect the adapter. Because the adapter's pinouts state for example a SCK, so can I for example make any pin act as a clock or only those which got SCK or CLK asigned to them.
And for example the TX and RX pins on this PIC's Cport, must I use these to create some MISO MOSI communication?
I've got some other smaller questions as well, but I don't want to make the opening post too long.
I'm using a predefined pcb so some pins are already being used. But I can change a few things here and there.
The schematic of this pcb can be found in a thread I opened earlier:
http://forum.allaboutcircuits.com/showthread.php?t=63667
(3rd post)
Please let me know if anything is unclear.
Some help or advice would be greatly appreciated.
Thanks for your time/help.