Interfacing of PIC12F675 with (i2c based) 24LC64 EEPROM (code + Proteus simulation)

This post provides the code for interfacing 24LC64 EEPROM with PIC12F675 microcontroller. This 24LC64 EEPROM has i2c based interface and PIC12F675 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 at the bottom of this page. It is assumed that yo ...

Read more

Extend PIC Microcontroller‘s RAM by without using EMI

Introduction Virtually all PIC microcontrollers have some banking mechanism to extend addressing to additional memory space. But this external data memory is not directly addressable (except in some high versions of PIC18 devices, which include PIC18F8520, PIC18F6620, etc.). In this post we describe easy to implement external memory interface for PIC microcontrollers. Theoretically most of the PIC microcont ...

Read more

Solar Recorder using PIC18F458 microcontroller

The device used for measuring daily insolation has been developed. The device was built with a PIC18F458 and the 128MB Multimedia Memory Card, MMC. The solar radiation is measured by a calculator solar cell. The PIC chip interfaces the MMC using SPI mode. The interval between samples is set to one minute. The firmware detects the memory card, assignes the file name and begins recording automatically. The LC ...

Read more

GPS to SD-Card Data Logger using PIC16F819 microcontroller

Description This project combines a GPS receiver module, a MicrochipPIC microcontroller and a Secure Digital memory card to make a GPS data logger. With a large capacity and reasonably long battery life it is a very useful device for logging GPS position for example for mapping with OpenStreetMap. In this picture the complete GPS data logger can be seen. On the top right hand side from front to back are: Th ...

Read more

PIC12F1840 + I2C 24FC1025 EEPROM

The 24FC1025 is a serial I2C EEPROM memory fabricated by microchip, it has 1024Kbits (128KB) of memory space and it is divided in two parts each one of 512Kbits (64KB); the first part goes from address 0x0000 to 0xFFFF and the second part goes from 0x10000 to 0x1FFFF. Features: 128KB of memory space 2-Wire serial interface (I2C) Compatibility with 100 KHz, 400 KHz and 1.0 MHz clocks 2 hardware address bits ...

Read more

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 at the bottom of this page. It is assumed that yo ...

Read more

Ways to Select a Best Microcontroller for Microcontroller based Projects

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 easily start your own embedded system design. Engineers m ...

Read more

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 the rev-1 device with various changes, documentation is for the rev-2). The Hardware SD socke ...

Read more

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 SD (Secure Digital) and high capacity SDHC (Secure Digital High Capacit ...

Read more

DIY Datalocker

How to turn and ordinary external harddrive into a datalocker using only a PIC microcontroller, a keypad and some various other components. Step 1: Parts The parts you need: - 3.5" SATA harddrive enclosure - 2.5" SATA harddrive NOTE: This will not work with a 3.5" IDE enclosure and a 2.5" IDE drive without a special adapter, they have different connectors. - LED with resistor to power it from 5 Volts - 3x4 ...

Read more
Scroll to top