(Created page with "=Introduction= {{Box|type=l_green_light|text= In this tutorial we will interface a EEPROM chip, AT24HC16 with the 8051 micrcontroller. 8051 does not have a permanent storage m...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
=Introduction=
 
=Introduction=
 
{{Box|type=l_green_light|text=
 
{{Box|type=l_green_light|text=
In this tutorial we will interface a EEPROM chip, AT24HC16 with the 8051 micrcontroller. 8051 does not have a permanent storage memory in built, hence it makes sense to interface it, it can be used numerous applications, wherein the system keeps parameters, values in the system permanently. These parameters may remain same or be updated over a period of time while the system is functioning. The important point is data remains in this memory even after it is powered off!
+
In this tutorial we will interface a EEPROM chip, AT24HC04 with the 8051 micrcontroller. 8051 does not have a permanent storage memory in built, hence it makes sense to interface it, it can be used numerous applications, wherein the system keeps parameters, values in the system permanently. These parameters may remain same or be updated over a period of time while the system is functioning. The important point is data remains in this memory even after it is powered off!
 
}}
 
}}
  
=The Basics of AT24HC16=
+
=The Basics of AT24C04=
 
{{Box|type=l_green_light|text=
 
{{Box|type=l_green_light|text=
AT24HC16 works on I2C. Since 8051 does not have inbuilt hardware to support the protocol, we bit bang it. If you've not covered the ground on basics of I2C, check the tutorial [[Serial_protocol_I2C| basics of I2C]]
+
AT24HC04 works on I2C. Since 8051 does not have inbuilt hardware to support the protocol, we bit bang it. If you've not covered the ground on basics of I2C, check the tutorial [[Serial_protocol_I2C| basics of I2C]]
 
+
  
 
}}
 
}}
 +
 +
=Schematic=
 +
 +
[[File:8051 EPROM Interface.PNG|thumbnail|x440px|EEPROM Interface with 8051]]

Latest revision as of 14:58, 1 February 2014

Introduction

In this tutorial we will interface a EEPROM chip, AT24HC04 with the 8051 micrcontroller. 8051 does not have a permanent storage memory in built, hence it makes sense to interface it, it can be used numerous applications, wherein the system keeps parameters, values in the system permanently. These parameters may remain same or be updated over a period of time while the system is functioning. The important point is data remains in this memory even after it is powered off!

The Basics of AT24C04

AT24HC04 works on I2C. Since 8051 does not have inbuilt hardware to support the protocol, we bit bang it. If you've not covered the ground on basics of I2C, check the tutorial basics of I2C

Schematic

EEPROM Interface with 8051