- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 10.26mb
- Update:
- 2015-06-08
- Downloads:
- 1 Times
- Uploaded by:
- 庄载椿
Description: I’ve made a GPS data tracker using STM32F4-Discovery board. Project uses GPS device ebay (UBLOX NEO-6M) and USB flash drive to store data onto.
Project
Project works with STM32F4- or STM32F429-Discovery boards. It was tested on F4-Discovery, because it has more LEDs than F429.
For indication, all 4 leds are in use:
BLUE: If turned on, USB flash key is detected by USB stack
RED: If turned on, we received first data GPS, so we know that GPS receiver works and has correct baudrate
ORANGE: If turned on, GPS signal is valid
GREEN: If turned on, USB flash key is mounted OK
For mount/unmount control, button is in use:
LONG PRESS: File for GPS will be deleted usb key and system will reset to start new measurements
SHORT PRESS: File will be closed, USB key unmounted and prepared for user to remove discovery board
All leds will blink when you are ready to remove USB flash key
Data is formatted in CSV format, which allows you to use this in Google fusion tables to show you
To Search:
File list (Check if you may need any files):
PROJECT-04-GPS_LOGGER
.....................\00-STM32F429_LIBRARIES
.....................\......................\attributes.h
.....................\......................\fatfs
.....................\......................\.....\00readme.txt
.....................\......................\.....\diskio.c
.....................\......................\.....\diskio.h
.....................\......................\.....\drivers
.....................\......................\.....\.......\fatfs_sd.c
.....................\......................\.....\.......\fatfs_sd.h
.....................\......................\.....\.......\fatfs_sd_sdio.c
.....................\......................\.....\.......\fatfs_sd_sdio.h
.....................\......................\.....\.......\fatfs_usb.c
.....................\......................\.....\.......\fatfs_usb.h
.....................\......................\.....\ff.c
.....................\......................\.....\ff.h
.....................\......................\.....\ffconf.h
.....................\......................\.....\history.txt
.....................\......................\.....\integer.h
.....................\......................\.....\option
.....................\......................\.....\......\cc932.c
.....................\......................\.....\......\cc936.c
.....................\......................\.....\......\cc949.c
.....................\......................\.....\......\cc950.c
.....................\......................\.....\......\ccsbcs.c
.....................\......................\.....\......\syscall.c
.....................\......................\.....\......\unicode.c
.....................\......................\tm_stm32f4_button.c
.....................\......................\tm_stm32f4_button.h
.....................\......................\tm_stm32f4_delay.c
.....................\......................\tm_stm32f4_delay.h
.....................\......................\tm_stm32f4_disco.c
.....................\......................\tm_stm32f4_disco.h
.....................\......................\tm_stm32f4_fatfs.c
.....................\......................\tm_stm32f4_fatfs.h
.....................\......................\tm_stm32f4_general.c
.....................\......................\tm_stm32f4_general.h
.....................\......................\tm_stm32f4_gpio.c
.....................\......................\tm_stm32f4_gpio.h
.....................\......................\tm_stm32f4_gps.c
.....................\......................\tm_stm32f4_gps.h
.....................\......................\tm_stm32f4_usart.c
.....................\......................\tm_stm32f4_usart.h
.....................\......................\tm_stm32f4_usb_msc_host.c
.....................\......................\tm_stm32f4_usb_msc_host.h
.....................\......................\usb_msc_host
.....................\......................\............\usbh_conf.h
.....................\......................\............\usbh_core.c
.....................\......................\............\usbh_core.h
.....................\......................\............\usbh_def.h
.....................\......................\............\usbh_hcs.c
.....................\......................\............\usbh_hcs.h
.....................\......................\............\usbh_ioreq.c
.....................\......................\............\usbh_ioreq.h
.....................\......................\............\usbh_msc_bot.c
.....................\......................\............\usbh_msc_bot.h
.....................\......................\............\usbh_msc_core.c
.....................\......................\............\usbh_msc_core.h
.....................\......................\............\usbh_msc_scsi.c
.....................\......................\............\usbh_msc_scsi.h
.....................\......................\............\usbh_stdreq.c
.....................\......................\............\usbh_stdreq.h
.....................\......................\......