Interfacing SD-card with e-Tracker

Hi Everyone, in this post I will show you how to prepare the e-Tracker board to work with an SD card. The e-Tracker board contains a SIM808 GSM module. The board utilizes the capability of SIM808 module for interfacing the SD card.  That allows more program memory of Atmega328 in the e-tracker to be used for other purposes.

Previously we have posted how to interface SD card with SIM800 GSM modem.

img_3793

To prepare the e-Tracker for SD card interface follow the below steps.

Things you need

  1. A PC or Laptop
  2. USB to TTL (you can buy one from here).
  3. Serial monitoring software like Putty.
  4. SD card formatted as FAT32 partition.

Insert the SD card in the SD card slot on the bottom side of the e-Tracker. Then power up the board.

img_3795

Connect the Tx of SIM808 in e-Tracker to the Rx of USB to TTL and Rx of SIM808 in e-Tracker to Tx of USB to TTL. Also connect the Ground pins of both boards together.

You can access the UART pin of SIM808 on the e-Tracker as shown in the below figure

serial_sim808

Now connect the USB to TTL converter to the PC/Laptop and open the COM port using Putty

putty

Now in the terminal type

AT+SDMODE=1;&W

And press “Enter”

The module will reply with “OK”

Then restart the module by typing

AT+CFUN=1,1

Now wait for a few seconds for the modem to restart.

Now type the following AT command to check whether the module has detected the SD card

AT+FSMEM

You will get a reply showing the Memory size of the Default memory (C: drive) and The SD card (Probably as D: drive).

Now you are done. The e-Tracker is prepared for interfacing SD card.

All other AT commands for SD card operation are similar to that of SIM800. You can get an idea about these commands from here.

For more details about the e-Tracker visit our wiki here.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s