Skip to main content

Posts

Showing posts with the label MikroC EEPROM

AVR EEPROM Tutorial

 EEPROM EEPROM ( E lectrically E rasable P rogrammable R ead- O nly M emory ) is a type of non-volatile memory which can be programmed, erased, and re-programmed electrically while it is on the circuit board. A majority of AVR microcontrollers come with some built-in EEPROM which is a great place to store data that should not be lost when the system is powered down . This tutorial explains the MikroC EEPROM library with example MikroC EEPROM Library EEPROM data memory is available with a number of AVR family. The mikroC PRO for AVR includes a library for comfortable work with MCU's internal EEPROM.   Important : EEPROM Library functions implementation is MCU dependent, consult the appropriate MCU datasheet for details about available EEPROM size and address range. Library Routines EEPROM_Read EEPROM_Write EEPROM_Read Prototype unsigned short EEPROM_Read( unsigned int address); Returns Byte from the specified address. Description R...

PIC 16F877A Microcontroller Based Electronic Lock 16x2LCD 4x3 Keypad

 Circuit Diagram Security is a prime concern in our day-today life. Everyone wants to be as much secure as possible. An access control for doors forms a vital link in a security chain. The microcontroller based digital lock for Doors is an access control system that allows only authorized persons to access a restricted area. An electronic lock or digital lock is a device which has an electronic control assembly attached to it. They are provided with an access control system. This system allows the user to unlock the device with a password. The password is entered by making use of a keypad. The user can also set his password to ensure better protection. The major components include a Keypad, LCD and the controller PIC16F877A. This article describes the making of an electronic code lock using the 16F877A microcontroller. The system is fully controlled by the 8 bit microcontroller 16F877A which has a 8Kbytes of ROM for the program memory. The password is stored in...