Data Logger Ascii mode with date/time

<< Click to Display Table of Contents >>

Navigation:  STM32F4 Target > Demos > Standard Peripherals Demos > SDIO > Data Logger >

Data Logger Ascii mode with date/time

Previous pageReturn to chapter overviewNext page

Demo File:  data_logger_ascii_rtc_demo.mdl

sdio_datalogger_mdl_demo2

sdio_datalogger_mdl_demo3

Description

1. Data Logger will log 3 ADC data with 0.5 second per packet (Sample time is 0.5).

2. LED indicator,

2.1 PD12 (Green) blinking 5Hz for success status.

2.2 PD13 (Red) blinking 5Hz for Error status.

3. Date/ Time also add to a logging packet of data.

Hardware setup

1. aMG F4Connect 2

2. F4DISCOVERY board

3. SD Card, insert to SD card socket.

amg_sdio_demo_ascii_hw1

4. Connect aMG High precision RTC for Date/Time to the F4Connect board (I2C1 pin B6/B7). See Date/Time configuration for date and time setting.

Testing

1. Setup hardware ready for data logger (include Date/Time setting).

2. Build demo model into F4DISCOVERY board.

3. Now data logger is running, wait about 10 seconds then remove SD card.

4. Insert card to card reader of Desktop or Laptop PC. Open file data.csv to view data.

sdio_datalogger_mdl_demo2_testing