Microcontroller and SD Card Based Standalone Data Logging System using SPIand I2C Protocols for Industrial Application

The low cost micro SD card based Data Logging System (DLS) for the measurement of parameters such as temperature, load current, load voltage and power have been designed and developed. These parameters are the time varying signals that are sensed by respective sensors. The sensor values are read by on-chip ADC and it is used for further process. The micro secured digital (SD) card is interfaced with PIC18F45K22 microcontroller in Serial Peripheral Interface (SPI) mode of Master Synchronous Serial Port (MSSP) for DLS design. The RTC is also interfaced to the microcontroller using I2C protocol to provide time stamping. The designed DLS has been tested with the application program developed in MPLAB X IDE which can write data into SD card at the rate of 5 samples / second.