====== SD GPS Track Logger ====== Why? This is why:[[:gps:bicycling]] [[:projects:electronics:microchip#icsp_connector|ICSP Connector]] Need a PIC18 chip with more memory, I'm using the PIC18F4685 with 96Kbytes of program memory. [[http://www.microchip.com/msd/|Microchip Mass Storage Class Firmware]] {{:projects:electronics:sdgpslogger:sdlogger_revb_2.jpg?600|Still not working}} Still not working. Might be software or hardware, I'll need to check it on a digital oscilloscope. {{:projects:electronics:sdgpslogger:tek0005.jpg|}} Correct clock rate (less than 400KHz). {{:projects:electronics:sdgpslogger:sdo_data.jpg|}} {{:projects:electronics:sdgpslogger:prodmanualsdcardv1.9.pdf|}} [[http://forum.microchip.com/tm.aspx?m=294073&mpage=1|MDD File System V1.00 with PIC18F working?]] - Microchip forum post ---- ===== Hardware ===== ==== DM163025 PicDEM USB Demo Board ==== {{:projects:electronics:sdgpslogger:picdem_fs_usb_demonstration_board_users_guide.pdf|}} Will be useful for future projects, however the included processor, the PIC18F4550 does not have enough memory for the filesystem library from Microchip. ==== AC164122 PICtail Board for SD & MMC ==== {{ :projects:electronics:sdgpslogger:ac164122_front.jpg?100|}} {{ :projects:electronics:sdgpslogger:ac164122_back.jpg?100|}} {{:projects:electronics:sdgpslogger:sd_and_mmc_cards_pictail_daughter_board_info_sheet.pdf|SD and MMC Cards PICtail Daughter Board Info Sheet}} ^Function^I/O^Pin^Description^ |SCK|O|RB1|SPI Clock Out| |SDI|I|RB0|SPI Data In| |SDO|O|RC7|SPI Data Out| |CD|I|RB4|Physical Card Insertion Detect Signal| |WD|I|RA4|Physical Write-Protect Switch Status Signal| |CS|O|RB3|Low Asserting SPI Chip Select| Activity LED is tied to Chip Select line.
===== Datasheets ===== {{:projects:electronics:sdgpslogger:pic18f2620.pdf|PIC18F2620}} {{:projects:electronics:sdgpslogger:sn74ahc125.pdf|SN74AHC125N QUAD BUS BUFF GATE 3ST}} ===== Reference ===== * [[http://www.topografix.com/gpx.asp|GPX Reference]] * [[http://ww1.microchip.com/downloads/en/DeviceDoc/39626d.pdf|PIC18F2620 Datasheet]] * [[http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1824&appnote=en532040|AN1045 Implementing File I/O Functions Using Microchip?s Memory Disk Drive File System Library ]] * Filesystem IC [[http://www.saelig.com/miva/merchant.mvc?Screen=PROD&Product_Code=FF004&Category_Code=FF|uALFAT3]], $14 * [[http://www.sparkfun.com/commerce/product_info.php?products_id=7955]] {{tag>[PIC GPS SD project microcontroller]}} Notes: [[http://home.teleport.com/~brainy/fat16.htm]] [[http://www.lvr.com/access_flash_drives_with_a_microcontroller.htm]] [[http://www.amazon.ca/exec/obidos/ASIN/1931448043/ref=nosim/janaxelsonslakev|USB Mass Storage book from Amazon]] [[http://elm-chan.org/fsw/ff/00index_e.html|FAT File System Module]] [[http://forum.microchip.com/tm.aspx?m=220591]] [[http://forum.microchip.com/printable.aspx?m=237453]] Other projects online * [[http://www.gedanken.demon.co.uk/gps-sd-logger/|GPS to SD-Card Data Logger]] - Does **not** use the FAT filesystem * [[http://www.k9spud.com/sdcard/|SD Card Interface Example]] * [[http://www.captain.at/electronics/pic-mmc/|PIC - MMC (Multi Media Card) Flash Memory Extension]] * [[http://www.teuthis.com/daisy/index.html|Daisy mp3 project]]