SD Card Data Readable Anywhere Using Arduino

SD Card Data Readable Anywhere

This project started as many of mine usually do, as a honey-do. We have compiled an extensive list of our book and movie collections on our computer at home, but my wife wanted to be able to scan the list from the video store (yes, we still go to the video store).

So I created a hand held device that allows us to scroll through text files stored on an SD card. I have my video collection and science fiction book collection organized by title and saved to this card. Not having to rely on my own fading memory about what we’ve already read or seen, now we can reference our entire collection while we are in the book or video store.

The solution I came up with was to use a 20×4 LCD display and an SD card to hold the text files and display each record in four lines on the LCD. I programmed an ATMega328 to read a text line from the SD card and display it on the LCD. It’s all wired to a small circuit board.SD Card Data Readable Anywhere

I kept the text files small by dividing the contents by author for the books and by title for movies (authors starting with the letter A will be located in the text file Books-A.txt).

The device has five switches: power, reset, menu, up and down, LCD display and SD card reader. When the menu button is pressed, the main menu is displayed. This allows us to choose File-Selector, Delay Change, Credits, Read Book List, or Read Movie List.

The ATMega328 and other components are placed on a PCB (Mega is socketed), according to schematic below. The LCD is connected to the PCB via IDE cable. The SD card is soldered right to the PCB in a position that allows the opening to be access through the box. Finally, the SD board is connected to the ATMega via shorting wires.

I wrote the code for the Arduino but it does use the tinyFAT code that was written by someone else and then included in the Arduino library as of version 022.

Part List

Qty.
Part Description Mfr. Part No.
1
PCB (2×3 should be big enough) 21-225
1
ATMega328 ATMEGA328P-PU
4
Momentary SPST PB Switches GPB001-R
1
On/Off SPDT Switch TPC11FGRA2
1
SD Card Reader U10-00062
1
Standard Regulator 5V LM7805
1
9V Battery Clip A104-R
1
Green LED LTL-307G
1
LCD Display (I used 20×4) NHD-0420DZ-FLYBW
2
10µF Electrolytic Capacitors R10/50
2
22pF Capacitors DC22
1
16MHz Crystal CY16
2
Low Forward Resistance Diodes HSMS-2860-BLKG
3
10K Resistors CF1/4W103JRC
1
1K Resistor CF1/4W102JRC
2
220Ω Resistors CF1/4W221JRC
1
Enclosure (dictated by size of LCD – I used 5×2.75×1.5) H2853-R
1
9V Battery Holder (metal ‘U’ clip fits best) GBH-1009-R
1
ALK 9V 522 9V Battery
1
SD Memory Card (2GB)
1
Minimalist Arduino Circuit Kit BB-ARDUINO
1
ZIF Socket 28-52610
1
IDE Cable (cable dictated by LCD pin count) 2102-218

Note: The ATMega328 was programmed via Jameco’s Minimalist Arduino Circuit Kit with one change. The socket in the kit was replaced with a ZIF so that ICs programmed on the breadboard can easily be removed and placed into a socket on a PCB.SD Card Data Readable schematic

Project Notes:

Almost any method may be used to connect the LCD to the PCB. I used an old IDE cable so that I could remove the lid entirely while I worked on soldering up the switches.

Read more: SD Card Data Readable Anywhere

 

Leave a Comment

Your email address will not be published. Required fields are marked *