Storage Projects

AVR SD Card set up

Interfacing SD Card with AVR Microcontroller Using Atmega

This project explains how to interface the SD card with an AVR microcontroller. In this project an ATMEGA16 microcontroller is used. The microcontroller runs on 5V power supply with a built in crystal frequency of 8 MHz. A 2GB SDSC card from Transcend is used in this particular project, but the code will work with most of the SD …

Interfacing SD Card with AVR Microcontroller Using Atmega Read More »

SD card logger library

SD card logger library with log rotation that fits on ATmega8

This library implements an SD card Data Logger that runs on ATmega. It has a small footprint, so it can be loaded on an ATmega8, leaving space for user code. It supports SD and microSD cards formatted with FAT16. It also features log rotation. The “Petit FAT File System Module” by ChaN (http://elm-chan.org/fsw/ff/00index_p.html) it is used to write on SD card. I’ve …

SD card logger library with log rotation that fits on ATmega8 Read More »

Connect Memory Card

Connect Memory Card using PIC18F4520 Code

The Multi Media Card (MMC) is a Flash memory card standard. MMC cards are currently available in sizes up to and including 32 GB and are used in cellular phones, digital audio players, digital cameras and PDA’s. mikroC PRO for PIC provides a library for accessing data on Multi Media Card via SPI communication. This library also supports …

Connect Memory Card using PIC18F4520 Code Read More »

SD Memory Card Interface (1)

SD Memory Card Interface using pic microcontroller

SD memory cards, especially the ones under 1GB are cheap, relatively easy to interface and provide vast amounts of memory for imbedded control. This device lets you ‘talk’ to sd cards through your serial port. Communication is in ASCII so you just need a terminal program to access it. (Note: the photos shown are of …

SD Memory Card Interface using pic microcontroller Read More »

Microcontroller

Ways to Select a Best Microcontroller for Microcontroller based Projects using Pic

Do you know how to select the best microcontroller for microcontroller based projects? Selecting the proper microcontroller for a given application is one of the most critical decisions, which controls the success or failure of the task. There are different types of microcontrollers available and if you have decided on which series is to use, you can …

Ways to Select a Best Microcontroller for Microcontroller based Projects using Pic Read More »

Interfacing of PIC16F84A with i2c based 24LC64 EEPROM (1)

Interfacing of PIC16F84A with (i2c based) 24LC64 EEPROM (Code + Proteus simulation)

This post provides the code for interfacing 24LC64 EEPROM with PIC16F84A microcontroller. This 24LC64 EEPROM has i2c based interface and PIC16F84A doesn’t have any built in i2c modules, so software i2c module is created in the code. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the ‘Downloads‘ section …

Interfacing of PIC16F84A with (i2c based) 24LC64 EEPROM (Code + Proteus simulation) Read More »